Plasma6 Wayland + Nvidia drivers Problem

Hello,

OS: OpenMandriva Lx rome 24.07 x86_64
Kernel: Linux 6.10.0-desktop-gcc-1omv2490
Packages: 2685 (rpm)
Display (AAA): 1366x768 @ 60Hz
DE: KDE Plasma 6.1.3
WM: KWin (X11)
WM Theme: Breeze
Theme: Breeze (Light) [Qt], Breeze [GTK2/3]
Icons: breeze [Qt], breeze [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: Breeze_Light (24px)
Terminal: konsole 24.5.2
Terminal Font: Liberation Mono (11pt)
CPU: AMD Ryzen 7 2700X (16) @ 3.70 GHz
GPU: NVIDIA GeForce GTX 1080 [Discrete]

My problem is: Black screen with only cursor when I boot to Wayland session. I searched on the net and found solutions which didnt work for me so I decided to ask here. I can run Konsole on Wayland session when I move cursor up left and than type konsole to run it, I can run Yandex.Browser to, Dolphin, dnfdragora and YumEx but it cant remove or install any package.

I am desperate to solve this… Need help.

Edit:

[stefanm@Draguljche-PC ~]$ journalctl /usr/bin/plasmashell -f 2> plasmashell.log
Jul 19 17:04:47 Draguljche-PC plasmashell[6739]: kf.plasma.quick: Applet preload policy set to 1
Jul 19 17:04:47 Draguljche-PC plasmashell[6739]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Jul 19 17:04:47 Draguljche-PC plasmashell[6739]: Toolbox not loading, toolbox package is either invalid or disabled.
Jul 19 17:04:47 Draguljche-PC plasmashell[6739]: [destroyed object]: error 7: importing the supplied dmabufs failed
Jul 19 17:04:47 Draguljche-PC plasmashell[6739]: The Wayland connection broke. Did the Wayland compositor die?
Jul 19 17:04:48 Draguljche-PC plasmashell[6875]: kf.plasma.quick: Applet preload policy set to 1
Jul 19 17:04:48 Draguljche-PC plasmashell[6875]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Jul 19 17:04:48 Draguljche-PC plasmashell[6875]: Toolbox not loading, toolbox package is either invalid or disabled.
Jul 19 17:04:48 Draguljche-PC plasmashell[6875]: [destroyed object]: error 7: importing the supplied dmabufs failed
Jul 19 17:04:48 Draguljche-PC plasmashell[6875]: The Wayland connection experienced a fatal error: Protocol error

Welcome to OpenMandriva and our forum. This forum is for users of OpenMandriva Linux operating systems.

OpenMandriva Forums are primarily users helping other users.

You are welcome to talk to our developers at OpenMandriva Chat.

Users with a problem need to read How to get better results when posting about problems before reporting any issue or problem. The article is not too long and Do Read.

When a new user has an issue please look in the documentation for OMLx. OpenMandriva wiki, Forum Resources guide and the “Search” function of the forum.

If you don’t find what you are looking for, try an Internet search. One can find out a lot from documentation or forum posts at other Linux distros. If user finds something written for another distro but you have some doubt ask at OpenMandriva Chat.

For serious technical issues and package/feature requests please file a bug report here.

Note: We are a small group. All the contributors and developers here are unpaid volunteers.
You can make OpenMandriva grow and improve by getting involved

Any help with testing would be appreciated whether one is technically proficient or a very non-technical user. The more people and more hardware we can get involved the better we can make OMLx releases and packaging. We do a lot of testing in VM’s as well. Developers tend to use Qemu, most user level testers use VirtualBox.

We probably need more details to problem solve this. Does system boot using X11? That would be first thing to try. Booting the Plasma6 Wayland iso? Booting an installed system using Wayland? If installed system is it existing system recently upgraded or fresh install? Which nvidia drivers in use? How was Wayland installed? the plasmashell lines in journal look like there is some software missing.

Your post implies you are on hardware. If you are trying to use Wayland in VirtualBox it is unlikely that will work. Probably same for VMWare but I do not know much about VMWare.

Edit: Is there any information in wayland-session.log (in /home/yourusername/.local/share/sddm)? You can post that log here as a .txt file. Also post:

journalctl -b > journal-wayland-boot-fail.txt

And post the file created here.

If you boot to terminal (console mode shown here):

login as user and type startplasma-wayland what does it say?

check command on boot :

inxi -Fza
sudo journalctl -b0 
cat /sys/module/nvidia_drm/parameters/modeset

https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting
you will need this nvidia_drm.modeset=1 and nvidia_drm.fbdev=1

1 Like

Thx for answers.

I already tried everithing from Archlinux Wiki.

I will try that tonight or tomorow. Right now Im busy. I installed .run file from Nvidia Driver Version: 555.58.02. It is the same as Driver from OM repos, and its working. On wayland and X11. On wayland no black screen and everithing seems to work fine, I didnt try gaming yet. It would be better if OM Nvidia driver from Repos work…

Thanks for reporting this issue. What this problem really needs is a bug report so developers can dig in to why this happened. The workaround you used by installing the driver from nvidia.com is great but won’t solve the issue for other OM users. But the fact you did that and it works helps with problem solving.

What iso did you use to install, if possible what is the build ID number? There may be some problems with the Wayland iso itself.

Or if you installed the X11 iso and added wayland what command did you use to do that? What command did you use to install OM nvidia driver?

Edit: I just went through testing of ROME Plasma6 Wayland iso #3247 and I do not believe there would be anything on the iso that would cause a problem related to @Draguljche’s issue. Unless there is some package missing from the install or something I am not knowledgable enough to see. This should, as far as I know, apply to earlier ROME Wayland isos. We still need to know if install was from Wayland or X11 iso and what command used to install OM nvidia drivers.

1 Like

Yeah it is earlier ISO, I cant remember what I was downloaded Build 3200 or Build 3156. This is wayland only ISOs. I tried with YumEx and with command line. And I installed nvidia-dkms-kmod which installs all other deps for Nvidia.

Edit: Command linue means sudo dnf install nvidia-dkms-kmod. And yeah I installed dkms package as well.

I do not have nVidia hw and can not test beyond whether packages will install. I do not know if nvidia-dkms-kmod works properly, as I recall I have read people saying it does not. You might try instead sudo dnf in nvida or this:

Which looks like it is running sudo dnf in nvidia or something close. It would install these packages:

In OM wiki ROME Errata page it does not tell user how to install nvidia drivers but if I remember correctly either installing from OM Welcome or sudo dnf in nvidia is what works. Which means that the nvidia package has to be updated for new kernel installation. I know OM devs have seemed to be more diligent in seeing that the nvida packages are updated with new kernel updates.

We would like to know if either of these methods work. Also we always need help if anyone with nvidia hw wants to help with building or testing these drivers.

I installed Latest Rome iso from 24.07. Ill try now that, but if I remmember correctly I already tried all of that on Builds I mentioned before.

This is konsole output


  Installing       : nvidia-modprobe-555.58.02-2.x86_64                                                 11/13 
  Running scriptlet: nvidia-persistenced-555.58.02-2.x86_64                                             12/13 
groupadd: invalid group ID '/usr/bin/nvidia-persistenced'
useradd: invalid user ID '/usr/bin/nvidia-persistenced'

  Installing       : nvidia-persistenced-555.58.02-2.x86_64                                             12/13 
warning: user nvidia-persistenced does not exist - using root
warning: group nvidia-persistenced does not exist - using root

  Installing       : nvidia-555.58.02-2.x86_64                                                          13/13 
  Running scriptlet: nvidia-555.58.02-2.x86_64                                                          13/13 
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
login.defs specifies UID allocation range 101–999 that is different than the built-in defaults (1–999)
login.defs specifies GID allocation range 101–999 that is different than the built-in defaults (1–999)
Creating group 'nvidia-persistenced' with GID 976.
Creating user 'nvidia-persistenced' (NVIDIA persistent software state) with UID 976 and GID 976.

Installed:
  lib64crypto1.1-1.1.1m-1.x86_64                            lib64nvidia-egl-wayland1-1.1.13-2.x86_64          
  libx11_6-1.8.9-1.x86_64                                   libxau6-1.0.11-1.x86_64                           
  libxcb1-1.17.0-1.x86_64                                   libxdmcp6-1.1.5-1.x86_64                          
  libxext6-1:1.3.6-1.x86_64                                 nvidia-555.58.02-2.x86_64                         
  nvidia-32bit-555.58.02-2.x86_64                           nvidia-kmod-common-555.58.02-2.noarch             
  nvidia-kmod-desktop-555.58.02-2_6.10.0_1.x86_64           nvidia-modprobe-555.58.02-2.x86_64                
  nvidia-persistenced-555.58.02-2.x86_64                   

Complete!

Aaand its same. Black screen like before I mention in first place.

[stefanm@Draguljche-PC ~]$ inxi -Fza
System:
  Kernel: 6.10.0-desktop-1omv2490 arch: x86_64 bits: 64 compiler: clang
    v: 18.1.8 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@boot/vmlinuz-6.10.0-desktop-1omv2490
    root=UUID=2c93c1c3-3480-4056-8a01-51eb7c4469f6 ro rootflags=subvol=@
    nouveau.modeset=0 nvidia-drm.modeset=1 nvidia-drm.fbdev=1 quiet splash
    logo.nologo audit=0 rd.timeout=120 dm_mod.use_blk_mq=1
    rd.systemd.show_status=0 systemd.show_status=0
  Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A info: frameworks v: 6.4.0
    wm: kwin_wayland vt: 2 dm: SDDM Distro: OpenMandriva Lx 24.07 ROME
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 5602 date: 07/14/2020
CPU:
  Info: model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ gen: 2
    level: v3 note: check built: 2018-21 process: GF 12nm family: 0x17 (23)
    model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 2372 high: 3700 min/max: 2200/3700 boost: enabled
    scaling: driver: acpi-cpufreq governor: ondemand cores: 1: 2200 2: 2200
    3: 2200 4: 2200 5: 2200 6: 1957 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
    12: 2200 13: 3700 14: 2200 15: 3700 16: 2200 bogomips: 118176
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: Safe RET
  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; STIBP:
    disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: Micro-Star MSI
    driver: nvidia v: 555.58.02 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none off: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1
    bus-ID: 07:00.0 chip-ID: 10de:1b80 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.1
    compositor: kwin_wayland driver: N/A display-ID: 0
  Monitor-1: HDMI-A-1 res: 1366x768 size: N/A 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 wayland:
    drv: nvidia x11: drv: swrast inactive: device-1
  API: OpenGL v: 4.5 vendor: mesa v: 24.1.4 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: llvmpipe (LLVM 18.1.8 256 bits)
    device-ID: ffffffff:ffffffff memory: 15.2 GiB unified: yes
    display-ID: :0.0
  API: Vulkan v: 1.3.278 layers: 2 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1080 driver: nvidia v: 555.58.02
    device-ID: 10de:1b80 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 18.1.8 256 bits) driver: mesa llvmpipe
    v: 24.1.4 (LLVM 18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 07:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 09:00.3
    chip-ID: 1022:1457 class-ID: 0403
  API: ALSA v: k6.10.0-desktop-1omv2490 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.1 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: off 3: wireplumber
    status: active tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK RTL8111H 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: down mac: <filter>
  Device-2: Realtek RTL8192EU 802.11b/g/n WLAN Adapter driver: rtl8xxxu
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2
    chip-ID: 0bda:818b class-ID: 0000 serial: <filter>
  IF: wlp8s0f3u1 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Broadcom Bluetooth 2.0+eDR dongle driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-2.1:4
    chip-ID: 0a5c:2100 class-ID: fe01 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.0
    lmp-v: 3 sub-v: 430e hci-v: 3 rev: 4000 class-ID: 7c0104
  Info: acl-mtu: 1017:8 sco-mtu: 64:0 link-policy: rswitch hold sniff park
    link-mode: peripheral accept service-classes: rendering, capturing, object
    transfer, audio, telephony
Drives:
  Local Storage: total: 4.77 TiB used: 5.47 GiB (0.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWE140 size: 3.64 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: FP1R scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD10EZEX-75M2NA0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A01 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: Biostar model: S100-240GB
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: V4.9 scheme: GPT
Partition:
  ID-1: / raw-size: 222.57 GiB size: 222.57 GiB (100.00%)
    used: 5.47 GiB (2.5%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
  ID-2: /boot raw-size: 222.57 GiB size: 222.57 GiB (100.00%)
    used: 5.47 GiB (2.5%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
  ID-3: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 652 KiB (0.1%) fs: vfat dev: /dev/sdc1 maj-min: 8:33
  ID-4: /home raw-size: 222.57 GiB size: 222.57 GiB (100.00%)
    used: 5.47 GiB (2.5%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
  ID-5: /var/log raw-size: 222.57 GiB size: 222.57 GiB (100.00%)
    used: 5.47 GiB (2.5%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
  ID-6: /var/tmp raw-size: 222.57 GiB size: 222.57 GiB (100.00%)
    used: 5.47 GiB (2.5%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.78 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 58.9 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.57 GiB used: 1.9 GiB (12.2%)
  Processes: 392 Power: uptime: 1m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.17 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 target: graphical (5)
    default: graphical tool: systemctl
  Packages: pm: rpm pkgs: N/A note: see --rpm tools: dnf pm: flatpak pkgs: 0
    Compilers: clang: de8de27d427f6dcc619bd0785d9aa3d9e8d6545c alt: 18
    gcc: 14.1.0 Shell: Bash v: 5.2.26 running-in: konsole inxi: 3.3.35
[stefanm@Draguljche-PC ~]$ sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

journal-wayland-boot-fail.txt (337,9 KB)

Edit: wayland-session.log file is empty.

When I do startplasma-wayland like u said, it is the same black screen.

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