Black windows with Xwayland + nVidia 470

I have Wayland itself running fine on my desktop, but anything that runs under Xwayland simply displays a black screen/window. I still get sound from those applications, though, just no display. xorg-xwayland, libxcb and egl-wayland are all installed, nvidia drm is running.
Here’s my inxi output.

System:
  Kernel: 5.13.5-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=dd7c128e-50da-4902-ae15-befe3b9ee6f4 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 nvidia-drm.modeset=1 
  Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 wm: kwin_wayland vt: 2 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG CROSSHAIR VII HERO v: Rev 1.xx 
  serial: <filter> UEFI: American Megatrends v: 3004 date: 12/16/2019 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 31.26 GiB used: 1.74 GiB (5.6%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 16-Core (2-Die) model: AMD Ryzen 9 3950X bits: 64 type: MT MCP MCM 
  arch: Zen 2 family: 17 (23) model-id: 71 (113) stepping: 0 
  microcode: 8701013 cache: L2: 8 MiB bogomips: 224086 
  Speed: 3599 MHz min/max: 2200/3500 MHz boost: enabled Core speeds (MHz): 
  1: 3599 2: 2133 3: 2798 4: 4086 5: 1988 6: 1915 7: 2410 8: 2036 9: 3599 
  10: 2058 11: 2010 12: 2057 13: 2057 14: 1992 15: 3839 16: 3597 17: 2010 
  18: 2192 19: 2195 20: 2200 21: 2207 22: 2201 23: 2200 24: 2053 25: 2203 
  26: 2194 27: 2026 28: 3841 29: 3648 30: 2031 31: 2196 32: 2070 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni 
  skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp 
  succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl 
  v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave 
  xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: eVga.com. 
  driver: nvidia v: 470.57.02 alternate: nouveau,nvidia_drm bus-ID: 09:00.0 
  chip-ID: 10de:1b06 class-ID: 0300 
  Display: wayland server: X.Org 1.21.1.2 compositor: kwin_wayland driver: 
  loaded: nvidia display-ID: :1 screens: 1 
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") 
  s-diag: 777mm (30.6") 
  Monitor-1: XWAYLAND0 res: 2560x1440 hz: 60 dpi: 108 
  size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
  OpenGL: renderer: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.57.02 direct render: Yes 
Audio:
  Device-1: YUAN High-Tech Development driver: N/A bus-ID: 04:00.0 
  chip-ID: 12ab:0380 class-ID: 0480 
  Device-2: NVIDIA GP102 HDMI Audio vendor: eVga.com. driver: snd_hda_intel 
  v: kernel bus-ID: 09:00.1 chip-ID: 10de:10ef class-ID: 0403 
  Device-3: AMD Starship/Matisse HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus-ID: 0c:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Device-4: GYROCOM C&C FiiO USB DAC-E07K type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-1:2 chip-ID: 1852:50d1 
  class-ID: 0102 
  Sound Server-1: ALSA v: k5.13.5-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.32 running: yes 
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel 
  port: e000 bus-ID: 05:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: e000 
  bus-ID: 07:00.0 chip-ID: 8086:24f3 class-ID: 0280 
  IF: wlp7s0 state: down mac: <filter> 
  IF-ID-1: wgivpn state: unknown speed: N/A duplex: N/A mac: N/A 
  IP v4: <filter> scope: global 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 
  bus-ID: 5-4.4:5 chip-ID: 0bda:8771 class-ID: e001 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 1.82 TiB used: 578.23 GiB (31.0%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 960 EVO 1TB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: 3B7QCXE7 temp: 44.9 C scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital 
  model: WDS100T2B0B-00YS70 size: 931.51 GiB block-size: physical: 512 B 
  logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 30WD 
  scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) 
  used: 235.12 GiB (25.7%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: dd7c128e-50da-4902-ae15-befe3b9ee6f4 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: C9DE-52F5 
  ID-3: /home/<filter>/Data raw-size: 931.51 GiB size: 915.89 GiB (98.32%) 
  used: 343.11 GiB (37.5%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: Data 
  uuid: bc0f00a7-ab6b-4161-8d44-358809f3b634 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-8:2 info: EzKEY USB Gaming Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 0518:5111 class-ID: 0300 
  Device-2: 1-9:3 info: ASUSTek AURA LED Controller type: HID 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 0b05:1872 class-ID: 0300 serial: <filter> 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 5-1:2 info: GYROCOM C&C FiiO USB DAC-E07K type: HID,Audio 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1 
  speed: 12 Mb/s power: 100mA chip-ID: 1852:50d1 class-ID: 0102 
  Device-2: 5-2:3 info: Razer USA Gaming Mouse [Basilisk Ultimate Wired] 
  type: Mouse,Keyboard driver: razermouse,usbhid interfaces: 3 rev: 2.0 
  speed: 12 Mb/s power: 500mA chip-ID: 1532:0086 class-ID: 0301 
  serial: <filter> 
  Hub-6: 5-4:4 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 rev: 2.1 
  speed: 480 Mb/s chip-ID: 0451:8142 class-ID: 0900 
  Device-1: 5-4.4:5 info: Realtek Bluetooth Radio type: Bluetooth 
  driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA 
  chip-ID: 0bda:8771 class-ID: e001 serial: <filter> 
  Hub-7: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-8: 6-4:2 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 rev: 3.0 
  speed: 5 Gb/s chip-ID: 0451:8140 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 60.8 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 509 Uptime: 23m wakeups: 0 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1438 lib: 398 
  flatpak: 0 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

Edit: Re-ran inxi while actually under wayland

From:

https://community.kde.org/KWin/Wayland

Wayland support in the KDE Plasma Workspaces is in a tech-preview state.

So, file a bug upstream

:crossed_fingers:

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