This is called "the hard way" because installing via zypp is easier.Ĭreate a system snapshot to rollback to if needed. Installing NVIDIA's proprietary driver using their installer (.run) is desired. 3.6 Xorg Configuration for Optimus Setups.3.5 Uninstall and use modesetting or nouveau DDX.3.3 GRUB2 and virtual terminal resolution.2.5.2 Kernel updates and driver compatibility.There is no fix for this other than using the nouveau driver, which sadly doesn't perform as well as the propietary nvidia drivers. If it still doesn't work, your GPU might not support Wayland on the proprietary NVIDIA drivers. You should be able to use wayland! Just reboot and you should be able to log into a wayland session Once you went through all the steps, meaning you: Rules in /etc/udev/rules.d/ should overwrite rules in /usr/lib/udev/rules.d (which are shipped by the package itself and managed by your package manager).Īnd after that, reboot and GNOME Wayland should be working! Rebooting This command should symlink GDM's udev rules to nothing. sudo ln -s /dev/null /etc/udev/rules.d/les If you want to force-enable Wayland, run this command. GDM uses some chipset dependent udev rules to see if it should force Xorg usage instead of letting you use Wayland. These udev rules can be disabled by running this command: Removing the gdm udev that disables wayland This will generate the grub config and save it to /boot/grub/grub.cfg Extra steps for GNOME and onyx Once you add the kernel parameter, you want to regenerate the grub config to reflect the kernel flag changes, to do this you have to run sudo grub-mkconfig -o /boot/grub/grub.cfg Just like with the mkinitcpio modules, to save and quit you'll have to first press CTRL+O and then CTRL+X You'll have to append nvidia-drm.modeset=1 to that line, so that it would look like this: GRUB_CMDLINE_LINUX_DEFAULT= "loglevel=3 quiet nvidia_drm.modeset=1" To add the kernel flag with grub, you have to edit /etc/default/grub by running sudo nano /etc/default/grub, you should find a line that looks like this: GRUB_CMDLINE_LINUX_DEFAULT= "loglevel=3 quiet" Now you want to generate the initramfs: sudo mkinitcpio - P Adding the kernel flag To save the file you have to press CTRL+O and to quit CTRL+X You want to add the modules in the parentheses, the module names are seperated by spaces, in the end the line should look like this: MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) In that file there should be a line that looks like this: MODULES=() To add the required nvidia modules nvidia nvidia_modeset nvidia_uvm nvidia_drm to the mkinitcpio modules you'll have to edit /etc/nf by running sudo nano /etc/nf Wayland requires the nvidia gpu to have modesetting enabled, to do that you have to add the nvidia drivers to the mkinitcpio modules and add the nvidia-drm.modeset=1 kernel flag Adding the nvidia mkinitcpio modules On this page Adding the nvidia mkinitcpio modules Adding the kernel flag Extra steps for GNOME and onyx Removing the gdm udev that disables wayland Rebooting How to make Wayland work on an NVIDIA GPU
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |