mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
Merge pull request #15 from bromine1/main
Add instructions to enable Nvidia cards
This commit is contained in:
commit
7f55debe71
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ Install the `nvidia-dkms` driver and add it to your initramfs & kernel
|
||||||
parameters. Follow the information available here:
|
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)
|
[https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting](https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting)
|
||||||
|
|
||||||
|
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,
|
{{< hint >}}If your GPU is listed as supported by the `nvidia-open-dkms` driver,
|
||||||
use that one instead.
|
use that one instead.
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
Loading…
Reference in a new issue