Nvidia 545.29.06 drivers won't work with Wayland

My Desktop (AMD 3700x, Nvidia 3070, Samsung G7 monitor connected via DisplayPort) stays black if I try to login to KDE Wayland session, login and using X11 works fine?

garuda-inxi
System:
Kernel: 6.7.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=5e516bea-8b4f-4eb1-a16d-e0ea74e81fbb rw rootflags=subvol=@
quiet resume=UUID=70f8141f-59be-49eb-b01a-c9a9be45be87 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME X570-P v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 5003
date: 10/07/2023
CPU:
Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701030
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3734 high: 4314 min/max: 2200/4426 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4313 2: 3902
3: 3862 4: 3600 5: 3600 6: 3593 7: 3591 8: 3600 9: 3491 10: 4314 11: 4028
12: 3600 13: 3584 14: 3600 15: 3474 16: 3600 bogomips: 114989
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: Gigabyte driver: nvidia
v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
(as of 2023-10; EOL~2026-12-xx) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: none off: DP-2 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 09:00.0 chip-ID: 10de:2484 class-ID: 0300
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 152 s-size: 642x361mm (25.28x14.21")
s-diag: 737mm (29")
Monitor-1: DP-2 note: disabled model: Samsung LS28AG700N serial: <filter>
built: 2022 res: 3840x2160 dpi: 97536 gamma: 1.2 size: 1x1mm (0.04x0.04")
diag: 734mm (28.9") ratio: 16:9 modes: max: 3840x2160 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
memory: 7.81 GiB
API: Vulkan v: 1.3.276 layers: 11 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 3070 driver: nvidia v: 545.29.06
device-ID: 10de:2484 surfaces: xcb,xlib
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 09:00.1 chip-ID: 10de:228b class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0b:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Razer USA BlackShark V2 Pro
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-3:4 chip-ID: 1532:0528 class-ID: 0300
API: ALSA v: k6.7.2-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.1 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Microsoft XBOX ACC driver: mt76x2u type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:5 chip-ID: 045e:02fe
class-ID: 0000 serial: <filter>
IF: wlp4s0u4 state: up mac: <filter>
Device-3: ASUSTek AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek
MT7610U] driver: mt76x0u type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
mode: 2.0 bus-ID: 3-2:3 chip-ID: 0b05:17d1 class-ID: 0000 serial: <filter>
IF: wlp6s0f1u2 state: down mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
Device-1: ASUSTek Broadcom BCM20702A0 Bluetooth driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:4
chip-ID: 0b05:17cb class-ID: fe01 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
lmp-v: 6 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 931.51 GiB used: 399.25 GiB (42.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: WDS100T2B0C-00PXH0 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 211070WD temp: 37.9 C scheme: GPT
Partition:
ID-1: / raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 399.25 GiB (44.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 399.25 GiB (44.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 399.25 GiB (44.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 399.25 GiB (44.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.23 GiB used: 4 MiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.35 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 44.8 C mobo: N/A gpu: nvidia temp: 51 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
Processes: 383 Uptime: 23m wakeups: 0 Memory: total: 32 GiB
available: 31.23 GiB used: 4.72 GiB (15.1%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 2001 libs: 569 tools: octopi,pamac,paru,yay
Shell: fish v: 3.7.0 running-in: konsole inxi: 3.3.31
Garuda (2.6.22-1):
System install date:     2024-01-10
Last full system update: 2024-01-30
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

Hi there, welcome to the forum.
With Wayland try using the following kernel boot parameter:
nvidia-drm.modeset=1
e.g. with:

sudo cp /etc/default/grub /etc/default/grub.bak && sudo sed '/^GRUB_CMDLINE_LINUX_DEFAULT=/s/"$/ nvidia-drm.modeset=1 "/g' -i /etc/default/grub && sudo update-grub

but please be aware that there are endless discussions on Nvidia issues recently.
Just give a look at this long thread (not necessarily covering your issue):

3 Likes

I added nvidia-drm.modeset=1 in the grub but no change, still black screen in Wayland.
Thank you for effort anway, I 'll use x11 until next Nvidia downgrade / upgrade.

I’m on an AMD CPU with a 3070 connected to monitors via DP. Works here.

There was an issue a while back about going from X11 → Wayland in terms of the kscreen getting f’ed when doing so. The solution was to delete the kscreen configuration in your home directory. (I believe this is supposed to be fixed in Plasma / Gear / FW 6.)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.