I followed the following steps:
- edit /etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
then sudo mkinitcpio -P
- add the kernel flag with grub, you have to edit /etc/default/grub by running sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"
then sudo grub-mkconfig -o /boot/grub/grub.cfg
symptom:
logout x11 then login wayland work fine, now logout and login wayland the 2nd or 3rd time, i got black screen, still access krunner to launch app but seems plasma shell is not working.
system info:
OS: Manjaro 23.0.0 Uranos
Kernel: x86_64 Linux 6.4.12-1-MANJARO
Packages: 2351
Shell: zsh 5.9
Resolution: 6976x2560
DE: KDE 5.109.0 / Plasma 5.27.7
WM: KWin
GTK Theme: Adwaita-dark [GTK2/3]
Icon Theme: Papirus-Dark
Disk: 291G / 945G (33%)
CPU: 12th Gen Intel Core i7-12700K @ 20x 4.9GHz [39.0°C]
GPU: NVIDIA GeForce RTX 4090
RAM: 4746MiB / 31836MiB
Moderator edit: Removed useless, blurry photos.
Note: Each image uploaded to the server makes forum database backups larger. Search engines cannot read screenshots and one cannot copy and paste from them without an OCR program.