Is there any specific reason you're on nVidia? Can't you sell your card and get an AMD instead?
Arch Linux
The beloved lightweight distro
This is not a good answer to whats asked tho. Youre now asking me to sell what i already have?
First of all, it wasn't an answer, it was a question. I was genuinely curious if OP had a legitimate reason to use nVidia.
Second, it makes sense to use hardware that's best compatible with Linux - and avoid ones known to cause issues. Even two seconds of googling would show you how notorious nVidia is on Linux, heck, even Linus Torvalds had some less than polite things to say about nVidia.
And what's wrong with selling? People buy not-fit-for-purpose things all the time, or people's requirements may change, and what was once useful may not be ideal any more. There's no law saying you need to use something you buy for the rest of your life.
I already own the 3070ti because it was just what I had before switching to Linux. It works great and I'm not keen on trying to swap cards until I can afford one that is a reasonably large step up. Plus when I do upgrade I plan making this one a dedicated transcoding\ai card so I don't want to sell it. I do intend on never buying nVidia ever again after living through tons of driver bs while my other AMD system is a very smooth experience. Generally it seems to me the idea of selling the card and buying another when it's not needed is sorta throwing the baby out with the bathwater kind of situation.
Linus is absolutely right on Nvidia. The thing is: The graphics server should work with the card, not the other way round.
Why replace functioning, not broken hardware just because the software can't handle it?
Honestly, you can probably just wait it out. The problem comes about from lack of explicit sync compatibility, and that's just been merged in to Wayland and Kwin. Once the nvidia-beta drivers with the feature are released (a month or two?) then most nvidia/Wayland problems should go away
Its working since months, so I guess you have the drivers installed. For me I needed the „wayland-protocols“ package to work on my RTX3070
And the obvious once others have pointed out, the kernel parameters
This should work for all Nvidia user working with Plasma6 on Arch, Garuda etc:
Edit /etc/mkinitcpio.conf
MODULES=()
Change the Line and add the Nvidia Modules:
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
Save the File and create the initramfs:
sudo mkinitcpio -P
Now Add the Kernelflags to Grub: nano /etc/default/grub
There is a line like this:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
add this to the line:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"
Now generate the new Grub config:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Reboot and have fun with wayland. Maybe you have to install: xorg-xwayland
Sorry it took me so long to test this all out, thanks a bunch, this seems to have solved the issue. I guess I did indeed miss a step. There are certainly some weird bugs I'm getting right now with flickery apps and such but that's sorta what I expected. HDR even works which is very nice to see. Regardless, I appreciate you taking the time to assist me here, I will have a play around and get my Waydroid config all sorted now.
Thank you!
I'm guessing you forgot to add DRM kernel mode setting. What you need to do is create /etc/modprobe.d/nvidia.conf
, and add
options nvidia_drm modeset=1
blacklist nouveau
then edit /etc/mkinitcpio.conf
to have
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
and ensure /etc/mkinitcpio.conf
also has the modconf
hook
HOOKS=(... modconf ...)
then run mkinitcpio -P
, restart, and enjoy Wayland.