From dc6743d0703a9b8d9839e62f449ce303abd63525 Mon Sep 17 00:00:00 2001 From: Bromine1 Date: Sat, 27 Aug 2022 17:56:52 -0400 Subject: [PATCH 1/3] Add instructions for setting up nvidia cards --- pages/Nvidia/_index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/Nvidia/_index.md b/pages/Nvidia/_index.md index ffc3ba2..2e0645c 100644 --- a/pages/Nvidia/_index.md +++ b/pages/Nvidia/_index.md @@ -14,6 +14,14 @@ Install the `nvidia-dkms` driver and add it to your initramfs & kernel parameters. Follow the information available here: [https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting](https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting) +### Arch Specific Instructions +in `/etc/mkinitcpio.conf` add `nvidia nvidia_modeset nvidia_uvm nvidia_drm` to your `MODULES` + + +run `# mkinitcpio --config /etc/mkinitcpio.conf --generate /boot/initramfs-custom.img` + +add a new line to `/etc/modprobe.d/nvidia.conf` (make it if it does not exist) and add the line options nvidia-drm modeset=1` + {{< hint >}}If your GPU is listed as supported by the `nvidia-open-dkms` driver, use that one instead. {{< /hint >}} From 1d866792b1aff474f70ad3132c625be010fddd5b Mon Sep 17 00:00:00 2001 From: bromine1 <70975324+bromine1@users.noreply.github.com> Date: Sat, 27 Aug 2022 17:58:44 -0400 Subject: [PATCH 2/3] Remove unnecessary header I added --- pages/Nvidia/_index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/Nvidia/_index.md b/pages/Nvidia/_index.md index 2e0645c..df59a2c 100644 --- a/pages/Nvidia/_index.md +++ b/pages/Nvidia/_index.md @@ -14,7 +14,6 @@ Install the `nvidia-dkms` driver and add it to your initramfs & kernel parameters. Follow the information available here: [https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting](https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting) -### Arch Specific Instructions in `/etc/mkinitcpio.conf` add `nvidia nvidia_modeset nvidia_uvm nvidia_drm` to your `MODULES` From 1b5967c04e6afa89c61a2873954d4025040157e0 Mon Sep 17 00:00:00 2001 From: bromine1 <70975324+bromine1@users.noreply.github.com> Date: Sat, 27 Aug 2022 18:16:34 -0400 Subject: [PATCH 3/3] Fix errors in formating --- pages/Nvidia/_index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/Nvidia/_index.md b/pages/Nvidia/_index.md index df59a2c..212f1b2 100644 --- a/pages/Nvidia/_index.md +++ b/pages/Nvidia/_index.md @@ -16,10 +16,9 @@ parameters. Follow the information available here: in `/etc/mkinitcpio.conf` add `nvidia nvidia_modeset nvidia_uvm nvidia_drm` to your `MODULES` - run `# mkinitcpio --config /etc/mkinitcpio.conf --generate /boot/initramfs-custom.img` -add a new line to `/etc/modprobe.d/nvidia.conf` (make it if it does not exist) and add the line options nvidia-drm modeset=1` +add a new line to `/etc/modprobe.d/nvidia.conf` (make it if it does not exist) and add the line `options nvidia-drm modeset=1` {{< hint >}}If your GPU is listed as supported by the `nvidia-open-dkms` driver, use that one instead.