NVIDIA Proprietary Driver unable to resume KDE Plasma Wayland Session from Suspend state

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Robur
Posts: 7
Joined: Thu Aug 31, 2023 6:10 pm

NVIDIA Proprietary Driver unable to resume KDE Plasma Wayland Session from Suspend state

#1 Post by Robur »

A known issue seems to exist where with NVIDIA Proprietary Driver, upon placing a computer in Suspension state, it is not possible to resume a KDE Plasma Wayland Session.

The problem is documented here.

My DMESG:

Code: Select all

 1807.979427] PM: suspend exit
[ 1808.088374] NVRM: GPU at PCI:0000:01:00: GPU-464cce0f-728e-6205-bb38-39c9d91c3ca6
[ 1808.088380] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 1 Error
[ 1808.088387] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 2 Error
[ 1808.088391] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 3 Error
[ 1808.088395] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 9 Error
[ 1808.088399] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 18 Error
[ 1808.088405] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x405840=0xa204020e
[ 1808.088416] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x405848=0x80000000
[ 1808.088837] NVRM: Xid (PCI:0000:01:00): 13, pid=3520, name=kwin_wayland, Graphics Exception: ChID 0020, Class 0000c197, Offset 000034a4, Data 00000174
[ 1808.096718] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 11 Error
[ 1808.096728] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 18 Error
[ 1808.096736] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x405840=0xa2040800
[ 1808.096748] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x405848=0x80000000
[ 1808.097228] NVRM: Xid (PCI:0000:01:00): 13, pid=3648, name=plasmashell, Graphics Exception: ChID 0098, Class 0000c197, Offset 00002390, Data 00000000
[ 1808.103292] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 1 Error
[ 1808.103301] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 2 Error
[ 1808.103305] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 3 Error
[ 1808.103310] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 9 Error
[ 1808.103314] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: Shader Program Header 18 Error
[ 1808.103319] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x405840=0x8204020e
[ 1808.103331] NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x405848=0x80000000
[ 1808.103777] NVRM: Xid (PCI:0000:01:00): 13, pid=3562, name=Xwayland, Graphics Exception: ChID 0070, Class 0000c197, Offset 00001b0c, Data 1000f010
A workaround seems to be pressing Ctrl-Alt-Backspace to start a new session.

NB: A default X11 session resumes fine.

My QSI can be found below.
Last edited by Robur on Sat Sep 02, 2023 3:43 am, edited 1 time in total.

Robur
Posts: 7
Joined: Thu Aug 31, 2023 6:10 pm

Re: NVIDIA Proprietary Driver unable to resume KDE Plasma Wayland Session from Suspend state

#2 Post by Robur »

Nor happening in openSUSE Tumbleweed, where NVIDIA Driver is 535.86.05.

Code: Select all

user@2c4d5450c76f:~> cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.86.05  Fri Jul 14 20:46:33 UTC 2023
GCC version:  gcc version 13.2.1 20230803 [revision cc279d6c64562f05019e1d12d0d825f9391b5553] (SUSE Linux)

Code: Select all

Operating System: openSUSE Tumbleweed 20230828
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2

Also modeset is on by default:

Code: Select all

user@2c4d5450c76f:~> sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

User avatar
Eadwine Rose
Administrator
Posts: 15346
Joined: Wed Jul 12, 2006 2:10 am

Re: NVIDIA Proprietary Driver unable to resume KDE Plasma Wayland Session from Suspend state

#3 Post by Eadwine Rose »

Please post your QSI in each topic where you request help. Thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Robur
Posts: 7
Joined: Thu Aug 31, 2023 6:10 pm

Re: NVIDIA Proprietary Driver unable to resume KDE Plasma Wayland Session from Suspend state

#4 Post by Robur »

QSI:

Code: Select all

System:
  Kernel: 6.4.0-1mx-ahs-amd64 [6.4.4-1~mx23+1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_wayland vt: 8 dm: SDDM Distro: MX-23_KDE_x64 Libretto
    June 15 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: STRIX Z270H GAMING v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1501 date: 07/13/2021
CPU:
  Info: model: Intel Core i7-7700K bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
    microcode: 0xF2
  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: 2925 high: 4200 min/max: 800/4700 scaling: driver: intel_pstate
    governor: powersave cores: 1: 4200 2: 4200 3: 800 4: 800 5: 4200 6: 4200 7: 4200 8: 800
    bogomips: 67200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  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 mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  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: IBRS, IBPB: conditional, STIBP: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: none empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:5912 class-ID: 0380
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Gigabyte driver: nvidia v: 525.125.06
    non-free: 530.xx+ status: current (as of 2023-03) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none off: DP-1
    empty: DVI-D-1, HDMI-A-3, HDMI-A-4, HDMI-A-5 bus-ID: 01:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Device-3: Creative Live! Cam Sync 1080p type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-4:2
    chip-ID: 041e:409f class-ID: 0102 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_wayland
    driver: X: loaded: nvidia gpu: i915,nvidia display-ID: 0
  Monitor-1: DP-1 res: 2560x1440 size: N/A modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.125.06 renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    direct-render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 1-4:2 bus-ID: 00:1f.3 chip-ID: 041e:409f chip-ID: 8086:a2f0 class-ID: 0102
    serial: <filter> class-ID: 0403
  Device-2: NVIDIA GP107GL 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:0fb9 class-ID: 0403
  Device-3: Creative Live! Cam Sync 1080p type: USB driver: snd-usb-audio,uvcvideo
  API: ALSA v: k6.4.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.65 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: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 7.28 TiB used: 17.48 GiB (0.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: MSI model: M450 1TB size: 931.51 GiB block-size:
    physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: EJFM32.0
    temp: 34.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST6000VN0033-2EE110 size: 5.46 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: SC60 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EAVS-32D7B1 size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1A01
    scheme: MBR
Partition:
  ID-1: / raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 17.45 GiB (18.3%) fs: ext4
    dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 32.5 MiB (33.9%) fs: vfat
    dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 3.91 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p7
    maj-min: 259:7
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2776 libs: 1532 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-multimedia.list
    1: deb https://www.deb-multimedia.org/ bookworm main non-free
    2: deb https://www.deb-multimedia.org/ bookworm-backports main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free
    3: deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://ftp.rnl.tecnico.ulisboa.pt/pub/mxlinux-packages/mx/repo/ bookworm main non-free
    2: deb https://ftp.rnl.tecnico.ulisboa.pt/pub/mxlinux-packages/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/qgis.sources
    1: deb deb-src [arch=amd64] https://qgis.org/debian bookworm main
Info:
  Processes: 265 Uptime: 14m wakeups: 2 Memory: 31.09 GiB used: 2.2 GiB (7.1%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Post Reply

Return to “MX KDE Official Release”