Cannot use Wayland with KDE on Nvidia?

Just installed Manjaro and when it launched it was running on Wayland, but when I installed latest proprietary Nvidia driver I wasn’t able to change resolution from 102x768 to any other. So on logon screen I switched to X11 which was working normally, but Wayland is not working anymore. Every time I select it I get black sreen right after logging in. I tried to follow “Plasma/Wayland/Nvidia” guide from KDE Wiki (I wanted to paste a link but I can’t do it here) and looks like everything in my system meets requirements from it, but Wayland still doesn’t work.

inxi -zv8:

System:
  Kernel: 6.9.2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
    root=UUID=e047511d-02a4-4a33-94b0-ddcf26d7a611 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.2.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: Aquarius product: Aquarius Pro, Std, Elt Series v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: B85M-E v: Rev X.0x serial: <superuser required>
    part-nu: All uuid: <superuser required> UEFI: American Megatrends v: 3602
    date: 04/04/2018
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 16 GiB available: 15.52 GiB used: 2.34 GiB (15.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 4 modules: 4 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: KHX1600C10D3/4G serial: <filter>
  Device-2: ChannelA-DIMM1 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: KHX1600C10D3/8G serial: <filter>
  Device-3: ChannelB-DIMM0 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: KHX1600C10D3/4G serial: <filter>
  Device-4: ChannelB-DIMM1 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: KHX1600C10D3/8G serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Xeon E3-1270 v3 bits: 64 type: MT MCP arch: Haswell
    level: v3 note: check built: 2013-15 process: Intel 22nm family: 6
    model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1549 high: 3900 min/max: 800/3900 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 3492 2: 1000 3: 800
    4: 800 5: 800 6: 3900 7: 800 8: 800 bogomips: 55888
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid lahf_lm lm mca mce md_clear mmx
    monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
    rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GM206 [GeForce GTX 960] vendor: Gigabyte driver: nvidia
    v: 550.78 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2024-04; EOL~2026-12-xx) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-2019 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none off: HDMI-A-1 empty: DP-1,DVI-D-1,DVI-I-1
    bus-ID: 01:00.0 chip-ID: 10de:1401 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_x11 driver: X: loaded: N/A failed: nvidia
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
    s-diag: 610mm (24")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 960/PCIe/SSE2
    memory: 3.91 GiB
  API: Vulkan v: 1.3.279 layers: 10 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 960 driver: nvidia v: 550.78 device-ID: 10de:1401
    surfaces: xcb,xlib
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: NVIDIA GM206 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0fba class-ID: 0403
  API: ALSA v: k6.9.2-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK P8 series driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager,systemd-timesyncd
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 0bda:8771
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.26 TiB used: 226.93 GiB (17.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Apacer model: AS340 240GB
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1A0 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD10EALX-009BA0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s tech: N/A serial: <filter> fw-rev: 1H15
    scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 model: SSD 128GB size: 119.24 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter>
    fw-rev: XKR scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Move Speed model: SD size: 14.65 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s
    lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: 5.00 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 118.95 GiB size: 116.52 GiB (97.96%)
    used: 47.37 GiB (40.7%) fs: ext4 dev: /dev/sdc2 maj-min: 8:34 label: N/A
    uuid: e047511d-02a4-4a33-94b0-ddcf26d7a611
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/sdc1 maj-min: 8:33 label: N/A
    uuid: B928-8A85
  ID-3: /run/media/varg/8761c504-7871-46af-aaf3-d8bf21cd28bd
    raw-size: 931.51 GiB size: 931.51 GiB (100.00%) used: 179.56 GiB (19.3%)
    fs: btrfs dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: 8761c504-7871-46af-aaf3-d8bf21cd28bd
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 100 MiB fs: vfat label: N/A
    uuid: 746B-42E5
  ID-2: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/sda3 maj-min: 8:3 size: 222.69 GiB fs: ntfs label: N/A
    uuid: 3692747492743B07
  ID-4: /dev/sda4 maj-min: 8:4 size: 780 MiB fs: ntfs label: N/A
    uuid: 361AE7A41AE75F7D
  ID-5: /dev/sdd1 maj-min: 8:49 size: 3.57 GiB fs: iso9660
  ID-6: /dev/sdd2 maj-min: 8:50 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: 36BC-DF40
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
  Hub-3: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8008
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-5:2 info: Logitech Corded Keyboard K280e type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 98mA
    chip-ID: 046d:c328 class-ID: 0300
  Device-2: 3-6:3 info: A4Tech XL-730K / XL-747H XL-750BK XL-755BK Mice
    type: keyboard,mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 09da:9090 class-ID: 0301
  Device-3: 3-7:4 info: LogiLink UDisk flash drive type: mass storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 100mA chip-ID: abcd:1234 class-ID: 0806
    serial: <filter>
  Device-4: 3-10:5 info: Realtek Bluetooth Radio type: bluetooth
    driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 500mA chip-ID: 0bda:8771 class-ID: e001 serial: <filter>
  Hub-6: 4-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A gpu: nvidia temp: 39 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 41%
Repos:
  Packages: pm: pacman pkgs: 1377 libs: 445 tools: pamac pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    2: https://mirror.koddos.net/manjaro/stable/$repo/$arch
    3: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 280
  1: cpu: 11.6% command: brave pid: 7672 mem: 216.3 MiB (1.3%)
  2: cpu: 9.3% command: brave pid: 7739 mem: 228.5 MiB (1.4%)
  3: cpu: 4.8% command: brave pid: 1240 mem: 449.2 MiB (2.8%)
  4: cpu: 3.2% command: brave pid: 1277 mem: 226.2 MiB (1.4%)
  5: cpu: 3.1% command: brave pid: 1840 mem: 229.2 MiB (1.4%)
  Memory top: 5 of 280
  1: mem: 449.2 MiB (2.8%) command: brave pid: 1240 cpu: 4.8%
  2: mem: 394.0 MiB (2.4%) command: plasmashell pid: 827 cpu: 1.0%
  3: mem: 229.2 MiB (1.4%) command: brave pid: 1840 cpu: 3.1%
  4: mem: 228.5 MiB (1.4%) command: brave pid: 7739 cpu: 9.3%
  5: mem: 226.2 MiB (1.4%) command: brave pid: 1277 cpu: 3.2%
Info:
  Processes: 280 Power: uptime: 20m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.18 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Compilers: gcc: 14.1.1 Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.34

I’d really like to use Wayland because in X11 every animation feels so laggy and this drives me crazy.

post the output of

echo $XDG_SESSION_TYPE && glxinfo | grep server

and btw. nvidia and wayland doesn’t work properly.

1 Like

x11 server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions:

:point_up: i think this is a point you should focus. your governor drives the cores @800MHz, no wonder that it lags.
https://wiki.archlinux.org/title/Scaling_governor

1 Like

which governor should I use? Performance, ondemand or conservative?

it’s an old lady, use ondemand and performance. also check how to edit the cpuconfig to edit the minimum frequency. but try ondemand and performance first and think about renewing the thermal paste of this cpu, while it’s known for heating and sweating and therefor throtteling.

Changed to perfomance, now all cores run 3900MHz. Looks like most of the animations became smooth, but minimizing and maximizing fullscreen windows still feels quite choppy. I changed thermal paste few months ago, so there must be no throttling for the time being

yes, several users reported this and i can agree, same here. it became a little bit smoother with an update some days ago but it seems to be plasma-related. nevertheless try if there are some newer updates avaiable.

sudo pacman -Syu

if you’ve installed something from aur run also

pamac update -a --force-refresh

Maybe this help:

3 Likes

Looks like this is actual fix for me! But i’m a bit concerned that in MODULES= i have no other nvidia modules like in example. Are they useful or I can skip them?

Also on wayland I can see some glitches in browser while typing this so now i’m asking myself: was it worth it? :upside_down_face:

Im fine with X11 on my nvidia PC. My AMD Laptop has terrible desktop performance with X11 under KDE.

Its up to you, if you want to use it.

Same for me and many other’s… you can also use LTS Kernel 6.6, where you probably can skip this. Your choice.

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