From c9f68d3f933b408092d0dacac2d145b88fad5c47 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Sun, 13 Jun 2021 18:43:11 +0200 Subject: [PATCH] arch linux: extended guides for nvidia setup --- wiki/linux/arch-linux/installation.md | 23 ++++++++++++++++++----- wiki/linux/nvidia.md | 20 ++++++++++++++++++++ wiki/linux/x11.md | 10 ++++++++-- 3 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 wiki/linux/nvidia.md diff --git a/wiki/linux/arch-linux/installation.md b/wiki/linux/arch-linux/installation.md index 6d5f690..9d367d5 100644 --- a/wiki/linux/arch-linux/installation.md +++ b/wiki/linux/arch-linux/installation.md @@ -1,7 +1,9 @@ # Arch installation with LUKS encryption and LVM -This is the English version of the [German installation guide on rvbg.eu](https://wiki.rvbg.eu/#arch/installation.md). -This guide is based upon a [german arch wiki entry](https://wiki.archlinux.de/title/Moderne_Installation_mit_UEFI_und_Verschlüsselung). +This is the English version of the +[German installation guide on rvbg.eu](https://wiki.rvbg.eu/#arch/installation.md). +This guide is based upon a +[german arch wiki entry](https://wiki.archlinux.de/title/Moderne_Installation_mit_UEFI_und_Verschlüsselung). At the end of this guide a fully functional Arch Linux will be installed. @@ -52,7 +54,7 @@ The swap partition will be created later under lvm. - `↵ Enter` - Confirm first sector - `↵ Enter` - Confirm last sector - `↵ Enter` - Confirm partition type -- `P` - Show created partitions +- `p` - Show created partitions - `W` - Save all changes - `Y` - Confirm saving changes @@ -180,6 +182,10 @@ en_US.UTF-8 UTF-8 ## 11. Finishing base installation - `passwd` - set password for the root account +- `systemctl enable NetworkManager.service` + +## 12. Finish the setup + - `exit` - exit the installed system - `umount /mnt/{boot,}` - unmount all partitions - `shutdown now` - shutdown device @@ -188,6 +194,13 @@ en_US.UTF-8 UTF-8 If the system is installed in a virtual environment or a system with deactivated UEFI, don't forget to enable the EFI option, otherwise the system won't boot. + +## 13. Further steps and graphical environment + Now you can follow my larbs installation script -(`curl -o larbs.sh https://raw.githubusercontent.com/tiyn/larbs/master/larbs.sh` -or go on to other guides. +(`curl -o larbs.sh https://raw.githubusercontent.com/tiyn/larbs/master/larbs.sh`) +this will install a bunch of useful software including a graphical environment. +You can go on to other guides aswell. + +Additionally if you have a NVidia Graphics Cards you should read +[the NVidia entry](../nvidia.md) too. diff --git a/wiki/linux/nvidia.md b/wiki/linux/nvidia.md new file mode 100644 index 0000000..c8c7740 --- /dev/null +++ b/wiki/linux/nvidia.md @@ -0,0 +1,20 @@ +# NVidia + +NVidia is a vendor for graphics cards. + +## Setup NVidia GPU + +### Arch Linux + +For NVidia GPUs to work install the `nvidia` and the `nvidia-utils` package. +If you want to easily configure the monitors as described in a later section of +this file you can also install `nvidia-settings`. + +There is no initial setup in for of a `xorg.conf` in `/etc/X11` needed +(except for a multiple GPU/APU setup). + +## Change monitor configuration + +After running `sudo nvidia-setting` can drag and drop the monitors to your +liking. +After that you have to save the configuration to the `/etc/X11/xorg.conf`. diff --git a/wiki/linux/x11.md b/wiki/linux/x11.md index b61dbe4..56480d5 100644 --- a/wiki/linux/x11.md +++ b/wiki/linux/x11.md @@ -1,8 +1,14 @@ # X11 -## Intel Graphics +## Change Keyboardlayout -### Screen Tearing +To temporarily change the layout of the keyboard just run +`setxkbmap `. +For a permanent change run `localectl set-x11-keymap `. + +## Screen Tearing + +### Intel Graphics Linux can sometimes have problems with screen tearing. To get this working you need to change the `/etc/X11/xorg.conf.d/20-intel.conf` to: