Cheers,
this is what worked for me. I am on X11 and the 6.12 Kernel. Before you start, use a tool like Timeshift, Snapper, or make a full system backup! If you are not able to restore your system without a GUI, don’t try this.
- Update and back up your system
- Find your currently installed NVIDIA packages and remove them:
pacman -Qs nvidia | grep 570
note: libxnvctrl works with the 575 driver
sudo pacman -Rdd nvidia-utils
sudo pacman -Rdd nvidia-dkms
sudo pacman -Rdd nvidia-settings
sudo pacman -Rdd lib32-opencl-nvidia
- Install the NVIDIA Open Beta driver (still proprietary):
yay -S nvidia-open-beta-dkms opencl-nvidia-beta lib32-opencl-nvidia-beta nvidia-settings-beta nvidia-utils-beta lib32-nvidia-utils-beta
- Add
nvidia_drm.modeset=1
to the kernel command line in GRUB, and rebuild GRUB - Optional: delete xorg.conf
- Reboot
- If it didn’t work:
First place to look:
# sudo dmesg | grep nvidia
This is how my ouptut looks:
[ 4.562097] nvidia: loading out-of-tree module taints kernel.
[ 4.562104] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 4.653015] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 4.655133] nvidia 0000:2b:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 4.711148] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64 575.51.02 Release Build (archlinux_builder@archlinux)
[ 4.716715] [drm] [nvidia-drm] [GPU ID 0x00002b00] Loading driver
[ 6.652760] [drm] Initialized nvidia-drm 0.0.0 for 0000:2b:00.0 on minor 0
[ 6.652850] nvidia 0000:2b:00.0: vgaarb: deactivate vga console
[ 6.805776] fbcon: nvidia-drmdrmfb (fb0) is primary device
[ 7.079707] nvidia 0000:2b:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Or check
# lsmod | grep nvidia
Mine are:
nvidia_uvm 4022272 0
nvidia_drm 147456 16
nvidia_modeset 2191360 23 nvidia_drm
drm_ttm_helper 16384 2 nvidia_drm
video 81920 1 nvidia_modeset
nvidia 12972032 373 nvidia_uvm,nvidia_modeset
Good Luck!