Secondary display in dual display setup randomly disabled when resuming from sleep

I’m on Tumbleweed, KDE x11. My GPU is a Nvidia card using the G06 drivers, 550 version to avoid the other widespread sleep issue.

The displays are daisy-chained with the secondary plugged into the primary, which is plugged into the GPU. They work fine, but sometimes the secondary gets disabled upon sleep.

When the secondary display fails to wake up I have press its power button to remove it from the power saving state as it’ll have reentered it after getting no signal from the OS, then re-enable it in the settings and drag it back into position.

xrandr --query

Screen 0: minimum 8 x 8, current 4480 x 1080, maximum 32767 x 32767
DP-0.8 connected primary 1920x1080+2560+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  60.00    59.94    50.00    23.98  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-0.1 connected 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm
   2560x1080     59.98 +  74.99*   50.00  
   1920x1080     74.91    60.00    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      59.96  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

xrandr --listproviders

Providers: number : 1
Provider 0: id: 0x1b7; cap: 0x1 (Source Output); crtcs: 4; outputs: 6; associated providers: 0; name: NVIDIA-0
    output DP-0.8
    output DP-0.1
    output DVI-D-0
    output HDMI-0
    output DP-0
    output DP-1

Unlikely to be the cause since the display issue precedes this one, but connected: I thought the downgrade to 550 went through well enough, but no.

nvidia-gl-G06 isn’t installing successfully, and as a result I’m getting errors in software using OpenGL acceleration:

Could not initialize GLX

I’m trying to downgrade to the 550.144.03-30.1 nvidia drivers. I get this conflict when installing the GL package:


Checking for file conflicts: ....................................................................................................................[error]
Detected 2 file conflicts:

File /usr/lib64/libnvidia-egl-gbm.so.1
  from install of
     nvidia-gl-G06-550.144.03-30.1.x86_64 (repo-non-free)
  conflicts with file from package
     libnvidia-egl-gbm1-1.1.2-7.1.x86_64 (@System)

File /usr/share/egl/egl_external_platform.d/15_nvidia_gbm.json
  from install of
     nvidia-gl-G06-550.144.03-30.1.x86_64 (repo-non-free)
  conflicts with file from package
     libnvidia-egl-gbm1-1.1.2-7.1.x86_64 (@System)

Any tips on solving them? I tried all libnvidia-egl-gbm versions available and they conflict with the GL package.


S  | Name                     | Type    | Version   | Arch   | Repository
---+--------------------------+---------+-----------+--------+--------------------
i+ | libnvidia-egl-gbm1       | package | 1.1.2-7.1 | x86_64 | repo-non-free
v  | libnvidia-egl-gbm1       | package | 1.1.2-2.2 | x86_64 | openSUSE:Tumbleweed
v  | libnvidia-egl-gbm1       | package | 1.1.2-2.2 | x86_64 | repo-oss

550 versions tried to far:

  • 550.144.03-30.1
  • 550.142-30.1
  • 550.135-28.1
  • 550.67-20.1

All nvidia-gl-G06 available at the moment:

S  | Name                | Type    | Version         | Arch   | Repository
---+---------------------+---------+-----------------+--------+--------------
v  | nvidia-gl-G06       | package | 570.86.16-31.1  | x86_64 | repo-non-free
i+ | nvidia-gl-G06       | package | 550.144.03-30.1 | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.142-30.1    | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.135-28.1    | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.127.05-27.1 | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.120-28.1    | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.120-27.1    | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.107.02-26.1 | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.100-25.1    | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.90.07-23.1  | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.78-22.1     | x86_64 | repo-non-free
v  | nvidia-gl-G06       | package | 550.67-20.1     | x86_64 | repo-non-free

I’m in a pickle here. 570 crashes horribly every sleep, 550 either doesn’t run programs I need to work, or runs them not very well using export QT_XCB_GL_INTEGRATION=xcb_egl to at least be able to start the programs.

Relevant System Specs

Operating System: openSUSE Tumbleweed 20250211
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.1-1-default (64-bit)
Graphics Platform: X11

@ciello Maybe this post will help? https://forums.opensuse.org/t/i-am-going-crazy-with-nvidia-and-suspend/182545/4

Sadly, no.

I was in the midst of reinstalling the 570 driver and trying the latest proposed solution in that exact thread when you posted, despite already having s2idle [deep] when running a cat /sys/power/mem_sleep check before starting.

No luck. But I have a few additional data points that could be interesting: The same secondary monitor that doesn’t wake up with older drivers helps in nudging the system to wake up with 570.

After resuming and being met by a full black screen, no cursor, turning the second display off and back on possibly crashes and restarts the nvidia driver (or it’s already crashed and just restarts), unstucking the system. It doesn’t make it usable, I can log in but the daemon and/or plasmashell will have crashed and will refuse to restart. But I can access the terminal and peek at the dmesg.

Before sleeping there’s this message of note:

[   61.025279] [ T2017] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership

Ubuntu 21.10 - "Failed to grab modeset ownership" with 495.44 - #37 by amrits - Linux - NVIDIA Developer Forums claims it’s nothing to worry about.

After sleeping and resuming:

[   72.103569] [ T2369] warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[  337.562118] [ T1444] wlp6s0: deauthenticating from 04:95:e6:80:c4:84 by local choice (Reason: 3=DEAUTH_LEAVING)
[  345.660279] [ T3702] PM: suspend entry (deep)
[  365.329196] [ T3702] Filesystems sync: 19.669 seconds
[  365.457889] [ T3702] Freezing user space processes
[  365.458933] [ T3702] Freezing user space processes completed (elapsed 0.001 seconds)
[  365.458936] [ T3702] OOM killer disabled.
[  365.458937] [ T3702] Freezing remaining freezable tasks
[  365.459924] [ T3702] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[  365.459961] [ T3702] printk: Suspending console(s) (use no_console_suspend to debug)
[  365.478980] [ T3717] sd 3:0:0:0: [sdb] Synchronizing SCSI cache
[  365.479115] [ T3719] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[  365.479289] [  T461] ata4.00: Entering standby power mode
[  365.480375] [  T459] ata3.00: Entering standby power mode
[  365.621465] [ T3702] ACPI: PM: Preparing to enter system sleep state S3
[  365.624444] [ T3702] ACPI: PM: Saving platform NVS memory
[  365.624667] [ T3702] Disabling non-boot CPUs ...
[  365.626539] [ T3702] smpboot: CPU 3 is now offline
[  365.629929] [ T3702] smpboot: CPU 2 is now offline
[  365.633802] [ T3702] smpboot: CPU 1 is now offline
[  365.638082] [ T3702] ACPI: PM: Low-level resume complete
[  365.638122] [ T3702] ACPI: PM: Restoring platform NVS memory
[  365.638809] [ T3702] Enabling non-boot CPUs ...
[  365.638833] [ T3702] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  365.641374] [ T3702] CPU1 is up
[  365.641391] [ T3702] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  365.644363] [ T3702] CPU2 is up
[  365.644378] [ T3702] smpboot: Booting Node 0 Processor 3 APIC 0x6
[  365.647398] [ T3702] CPU3 is up
[  365.648361] [ T3702] ACPI: PM: Waking up from system sleep state S3
[  367.054522] [ T3702] OOM killer enabled.
[  367.054529] [ T3702] Restarting tasks ... done.
[  367.055990] [ T3702] random: crng reseeded on system resumption
[  367.061245] [ T3702] PM: suspend exit
[  367.119796] [  T451] ata2: SATA link down (SStatus 4 SControl 300)
[  367.119836] [  T461] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  367.119865] [  T446] ata1: SATA link down (SStatus 4 SControl 300)
[  367.120690] [  T463] ata5: SATA link down (SStatus 4 SControl 300)
[  367.122934] [  T459] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  367.124335] [  T465] ata6: SATA link down (SStatus 4 SControl 300)
[  367.124507] [  T155] sd 3:0:0:0: [sdb] Starting disk
[  367.125221] [  T461] ata4.00: configured for UDMA/133
[  367.138503] [  T155] sd 2:0:0:0: [sda] Starting disk
[  367.157926] [  T459] ata3.00: configured for UDMA/133
[  397.646809] [    C3] watchdog: BUG: soft lockup - CPU#3 stuck for 26s! [nvidia-sleep.sh:3805]
[  397.646812] [    C3] Modules linked in: udp_diag tcp_diag inet_diag uinput snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm ccm af_packet ipt_REJECT xt_owner nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip6table_filter ip6_tables qrtr nf_tables cmac libcrc32c algif_hash algif_skcipher af_alg bnep iptable_filter intel_rapl_msr nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(POE) nvidia(POE) iTCO_wdt intel_pmc_bxt iTCO_vendor_support ee1004 mei_hdcp mei_pxp iwlmvm intel_rapl_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp mac80211 snd_soc_avs libarc4 coretemp snd_hda_codec_realtek kvm_intel snd_soc_hda_codec snd_hda_codec_generic snd_hda_ext_core iwlwifi snd_soc_core snd_hda_scodec_component snd_compress snd_hda_codec_hdmi snd_pcm_dmaengine kvm snd_hda_intel
[  397.646848] [    C3]  snd_intel_dspcfg btusb snd_intel_sdw_acpi btrtl nls_iso8859_1 btintel snd_hda_codec pcspkr i2c_i801 nls_cp437 cfg80211 snd_hda_core btbcm intel_wmi_thunderbolt btmtk i2c_smbus i2c_mux vfat snd_hwdep bluetooth fat mei_me snd_pcm mei snd_timer rfkill drm_ttm_helper ttm snd soundcore fan thermal intel_pmc_core intel_vsec pmt_telemetry pmt_class acpi_pad joydev tiny_power_button nvme_fabrics nvme_keyring nvme_core nvme_auth loop fuse efi_pstore dm_mod configfs nfnetlink dmi_sysfs ip_tables x_tables ext4 mbcache jbd2 hid_generic usbhid uas usb_storage crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 aesni_intel gf128mul crypto_simd cryptd ahci libahci libata sd_mod scsi_dh_emc scsi_dh_rdac xhci_pci xhci_hcd scsi_dh_alua video sg wmi scsi_mod usbcore scsi_common button msr i2c_dev efivarfs
[  397.646888] [    C3] CPU: 3 UID: 0 PID: 3805 Comm: nvidia-sleep.sh Tainted: P           OE      6.13.1-1-default #1 openSUSE Tumbleweed aecab2fb601a0aa0a459c99dfb6b0df70b26249d
[  397.646892] [    C3] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[  397.646893] [    C3] Hardware name: Gigabyte Technology Co., Ltd. H170N-WIFI/H170N-WIFI-CF, BIOS F21 03/07/2017
[  397.646894] [    C3] RIP: 0010:_nv000443rm+0x0/0x50 [nvidia]
[  397.647301] [    C3] Code: 87 6c 48 0e 31 c0 e8 af 14 37 ff 48 83 c4 08 e9 36 0a 00 00 66 0f 1f 44 00 00 31 c0 66 89 05 2f 8c 37 00 48 83 c4 08 c3 66 90 <48> 83 ec 08 48 c7 c0 00 15 2a c2 8d 74 37 ff 90 48 8b 50 08 48 85
[  397.647303] [    C3] RSP: 0018:ffff9d4b508b3a38 EFLAGS: 00000282
[  397.647304] [    C3] RAX: ffffffffc20b2a20 RBX: ffffffffc22a1550 RCX: 0000000000010000
[  397.647305] [    C3] RDX: 00000000000031b3 RSI: 0000000000000001 RDI: 00000000000c31b2
[  397.647306] [    C3] RBP: ffff88d8eb642bb0 R08: 00000000000031b2 R09: 0000000000000004
[  397.647307] [    C3] R10: 0000000000000086 R11: 0000000000000001 R12: ffff88d8eb642bfc
[  397.647308] [    C3] R13: ffff88d8eb642bf8 R14: 000000000000c000 R15: ffffffffc22a1580
[  397.647310] [    C3] FS:  00007f68ae698600(0000) GS:ffff88dde6d80000(0000) knlGS:0000000000000000
[  397.647311] [    C3] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  397.647312] [    C3] CR2: 00007ff4e9884b00 CR3: 000000029db1a002 CR4: 00000000003726f0
[  397.647313] [    C3] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  397.647314] [    C3] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  397.647315] [    C3] Call Trace:
[  397.647317] [    C3]  <IRQ>
[  397.647319] [    C3]  ? watchdog_timer_fn.cold+0x3d/0xa1
[  397.647323] [    C3]  ? __pfx_watchdog_timer_fn+0x10/0x10
[  397.647326] [    C3]  ? __hrtimer_run_queues+0x12f/0x2a0
[  397.647330] [    C3]  ? hrtimer_interrupt+0xff/0x230
[  397.647332] [    C3]  ? __sysvec_apic_timer_interrupt+0x52/0x100
[  397.647334] [    C3]  ? sysvec_apic_timer_interrupt+0x6c/0x90
[  397.647336] [    C3]  </IRQ>
[  397.647337] [    C3]  <TASK>
[  397.647337] [    C3]  ? asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  397.647341] [    C3]  ? _nv000446rm+0x30/0x30 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.647684] [    C3]  ? _nv058099rm+0x50/0x50 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.648022] [    C3]  _nv000444rm+0x12/0x30 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.648330] [    C3]  _nv000873rm+0x7e/0x150 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.648639] [    C3]  _nv044100rm+0x236/0x300 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.648947] [    C3]  _nv021162rm+0x4ce/0x580 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.649254] [    C3]  _nv050997rm+0x1ae/0x1c0 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.649736] [    C3]  _nv053126rm+0x3f3/0x500 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.650218] [    C3]  _nv015034rm+0x424/0x680 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.650503] [    C3]  _nv051150rm+0x69/0xd0 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.650814] [    C3]  _nv013393rm+0x83/0xa0 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.651097] [    C3]  _nv000631rm+0x5e/0x70 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.651380] [    C3]  rm_kernel_rmapi_op+0x167/0x273 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.651714] [    C3]  nvkms_call_rm+0x4a/0x80 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651736] [    C3]  _nv003104kms+0x42/0x50 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651763] [    C3]  ? _nv003150kms+0x2f/0x40 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651785] [    C3]  ? _nv002873kms+0x1ee/0x220 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651805] [    C3]  ? _nv000729kms+0x69/0xb0 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651822] [    C3]  ? nvKmsResume+0xa1/0xb0 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651838] [    C3]  ? nvkms_resume+0x1f/0x50 [nvidia_modeset 44fcd82a43147263b23f9c98db8f638952606471]
[  397.651854] [    C3]  ? nv_set_system_power_state+0x110/0x480 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.652088] [    C3]  ? security_capable+0x87/0x150
[  397.652090] [    C3]  ? nv_procfs_write_suspend+0xef/0x170 [nvidia 2cfcbcea33a422d43964c00b6763cce370a54c6a]
[  397.652326] [    C3]  ? proc_reg_write+0x57/0xa0
[  397.652329] [    C3]  ? vfs_write+0xf5/0x410
[  397.652330] [    C3]  ? syscall_exit_to_user_mode+0x37/0x1d0
[  397.652332] [    C3]  ? do_syscall_64+0x8e/0x160
[  397.652335] [    C3]  ? ksys_write+0x64/0xe0
[  397.652337] [    C3]  ? do_syscall_64+0x82/0x160
[  397.652338] [    C3]  ? __x64_sys_fcntl+0x94/0xe0
[  397.652340] [    C3]  ? syscall_exit_to_user_mode+0x37/0x1d0
[  397.652342] [    C3]  ? do_syscall_64+0x8e/0x160
[  397.652344] [    C3]  ? entry_SYSCALL_64_after_hwframe+0x76/0x7e
[  397.652348] [    C3]  </TASK>
[  416.389663] [ T1444] wlp6s0: authenticate with 04:95:e6:80:c4:84 (local address=e4:a7:a0:20:fc:d8)
[  416.391067] [ T1444] wlp6s0: send auth to 04:95:e6:80:c4:84 (try 1/3)
[  416.403900] [ T3778] wlp6s0: authenticated
[  416.404543] [ T3778] wlp6s0: associate with 04:95:e6:80:c4:84 (try 1/3)
[  416.415592] [ T3778] wlp6s0: RX AssocResp from 04:95:e6:80:c4:84 (capab=0x411 status=0 aid=4)
[  416.417281] [ T3778] wlp6s0: associated
[  416.440684] [ T3783] wlp6s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 04:95:e6:80:c4:84

The very interesting parts besides the trace:

[  397.646809] [    C3] watchdog: BUG: soft lockup - CPU#3 stuck for 26s! [nvidia-sleep.sh:3805]
[  397.646812] [    C3] Modules linked in: (snip) nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(POE) nvidia(POE) 
[  397.646888] [    C3] CPU: 3 UID: 0 PID: 3805 Comm: nvidia-sleep.sh Tainted: P           OE      6.13.1-1-default #1 openSUSE Tumbleweed aecab2fb601a0aa0a459c99dfb6b0df70b26249d

A later post in that nvidia thread suggest the nvidia_drm.fbdev=1 param to simply hide the “Failed to grab modeset ownership” message.

It does hide it, and interestingly it also hides the CPU lock up message and trace. The system still crashes with the 570, but I’m under the impression it bounces back from the resume freeze a bit faster. No idea why.

Dsmeg with fbdev:

[  117.291532] [   T1452] wlp6s0: deauthenticating from 04:95:e6:80:c4:84 by local choice (Reason: 3=DEAUTH_LEAVING)
[  123.425292] [   T2917] PM: suspend entry (deep)
[  130.577120] [   T2917] Filesystems sync: 7.151 seconds
[  130.706670] [   T2917] Freezing user space processes
[  130.707973] [   T2917] Freezing user space processes completed (elapsed 0.001 seconds)
[  130.707976] [   T2917] OOM killer disabled.
[  130.707977] [   T2917] Freezing remaining freezable tasks
[  130.709211] [   T2917] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[  130.709249] [   T2917] printk: Suspending console(s) (use no_console_suspend to debug)
[  130.728388] [     T11] sd 3:0:0:0: [sdb] Synchronizing SCSI cache
[  130.728543] [    T465] ata4.00: Entering standby power mode
[  130.729481] [   T2925] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[  130.751525] [    T452] ata3.00: Entering standby power mode
[  130.867940] [   T2917] ACPI: PM: Preparing to enter system sleep state S3
[  130.870852] [   T2917] ACPI: PM: Saving platform NVS memory
[  130.871077] [   T2917] Disabling non-boot CPUs ...
[  130.872968] [   T2917] smpboot: CPU 3 is now offline
[  130.876527] [   T2917] smpboot: CPU 2 is now offline
[  130.880522] [   T2917] smpboot: CPU 1 is now offline
[  130.885248] [   T2917] ACPI: PM: Low-level resume complete
[  130.885288] [   T2917] ACPI: PM: Restoring platform NVS memory
[  130.885981] [   T2917] Enabling non-boot CPUs ...
[  130.886004] [   T2917] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  130.888954] [   T2917] CPU1 is up
[  130.888971] [   T2917] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  130.891956] [   T2917] CPU2 is up
[  130.891971] [   T2917] smpboot: Booting Node 0 Processor 3 APIC 0x6
[  130.894976] [   T2917] CPU3 is up
[  130.895937] [   T2917] ACPI: PM: Waking up from system sleep state S3
[  132.263308] [   T2917] OOM killer enabled.
[  132.263315] [   T2917] Restarting tasks ... done.
[  132.265790] [   T2917] random: crng reseeded on system resumption
[  132.269151] [   T2917] PM: suspend exit
[  132.326202] [    T452] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  132.326239] [    T446] ata2: SATA link down (SStatus 4 SControl 300)
[  132.327792] [    T437] ata1: SATA link down (SStatus 4 SControl 300)
[  132.327840] [    T465] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  132.328586] [   T2990] sd 3:0:0:0: [sdb] Starting disk
[  132.328700] [    T468] ata5: SATA link down (SStatus 4 SControl 300)
[  132.329226] [    T465] ata4.00: configured for UDMA/133
[  132.337475] [    T473] ata6: SATA link down (SStatus 4 SControl 300)
[  132.341779] [     T58] sd 2:0:0:0: [sda] Starting disk
[  132.361197] [    T452] ata3.00: configured for UDMA/133
[  137.897419] [   T1452] wlp6s0: authenticate with 04:95:e6:80:b2:b4 (local address=e4:a7:a0:20:fc:d8)
[  137.898771] [   T1452] wlp6s0: send auth to 04:95:e6:80:b2:b4 (try 1/3)
[  137.912421] [   T2986] wlp6s0: authenticated
[  137.913531] [   T2986] wlp6s0: associate with 04:95:e6:80:b2:b4 (try 1/3)
[  137.927848] [   T2986] wlp6s0: RX AssocResp from 04:95:e6:80:b2:b4 (capab=0x411 status=0 aid=5)
[  137.930335] [   T2986] wlp6s0: associated
[  137.969790] [   T2986] wlp6s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 04:95:e6:80:b2:b4

@ciello can you post the output from inxi -GSaz please.

System:
  Kernel: 6.13.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.13.1-1-default
    root=UUID=efb41f9a-a22f-4cbc-acc5-8964afb060b5 splash=verbose quiet
    nvidia_drm.fbdev=1 security=apparmor mem_sleep_default=deep
    mitigations=auto
  Desktop: KDE Plasma v: 6.3.0 tk: Qt v: N/A info: frameworks v: 6.10.0
    wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20250211
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 570.86.16
    alternate: nouveau,nvidia_drm non-free: 550/565.xx+ status: current (as of
    2025-01; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 2 link-max: lanes: 16
    ports: active: none off: DP-2,DP-3 empty: DP-1,DVI-D-1,HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:1c03 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting,vesa
    alternate: fbdev,nouveau,nv gpu: nvidia,nvidia-nvswitch display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 4480x1080 s-dpi: 81 s-size: 1405x343mm (55.31x13.50")
    s-diag: 1446mm (56.94")
  Monitor-1: not-matched mapped: DP-0.1 pos: left res: N/A
    size: 798x334mm (31.42x13.15") modes: N/A
  Monitor-2: not-matched mapped: DP-0.8 pos: primary,right res:
    mode: 1920x1080 hz: 60 scale: 100% (1) 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
    surfaceless: drv: nvidia x11: drv: nvidia inactive: gbm,wayland
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.86.16 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
    memory: 5.86 GiB
  API: Vulkan v: 1.4.304 layers: 2 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1060 6GB driver: N/A device-ID: 10de:1c03 surfaces: xcb,xlib
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

(that with fbdev from my latest tries still on, I didn’t restart yet)

@ciello So the GPU is Pascal… on it’s way to be Legacy…

My Nvidia GPU is only used for prime render offload and is Turing, so runs the open driver… Plus I don’t sleep/suspend.

I use fbdev=1 nvidia_drm.modeset=1 here for boot options.

Check the /etc/modprobe.d/ directory for nvidia config options, some may need disabling.

Yeah, I know. :sweat_smile: I intend to upgrade the system in the upcoming months, GPU included. It’s still supported by the drivers for now; I feel the entire issue is down to a bad mix of beta drivers and kernel.

I tried both fbdev=1 nvidia_drm.modeset=1 earlier but they just suppress the warnings, or in the modeset case, when alone, doubles the “failed to grab” one.

My /etc/modprobe.d/ contains only an empty 50-yast.conf.

It increasingly looks like the best course of action here is to stay at 570, fully disable sleep, and hope for a new stable driver. That way I can still work at least, hah.

An offhand comment in another thread made me realize something: My iGPU was disabled. Enabling it makes the system with the 570 driver more stable.

Normally I keep it enabled and control the GPUs through switcherootctl, but I lost my bios config a couple of months ago and forgot to reenable the iGPU. It was reset to Auto, therefore disabled when there’s a dGPU.

I reenabled it and put the OS to sleep. It promptly resumed when I woke it up, I could log in fine, but it had lost the session. No freezes.

The second time around it still woke up immediately, but I got the classic black screen with a cursor, the one in which you can still login if you know the password input position. The session wasn’t lost, but plasmashell crashed like before. It did recover though and the system isn’t lagging. I can keep using it if I want.

The dmesg also changed, instead of a soft lock and a trace I get:

[ 3350.045317] [   T8478] eglinfo[8478]: segfault at 8 ip 00007f05c6ed6ee9 sp 00007ffd5c69dc80 error 4 in libgallium-24.3.4.so[d6ee9,7f05c6eb0000+169b000] likely on CPU 0 (core 0, socket 0)

That’s Mesa-gallium I think, which is up to date.

Information for package Mesa-gallium:
-------------------------------------
Repository     : packman
Name           : Mesa-gallium
Version        : 24.3.4-1699.405.pm.5
Arch           : x86_64
Vendor         : http://packman.links2linux.de
Installed Size : 85.1 MiB
Installed      : Yes
Status         : up-to-date
Source package : Mesa-drivers-24.3.4-1699.405.pm.5.src
Upstream URL   : https://www.mesa3d.org
Summary        : Mesa Gallium GPU drivers
Description    : 
    This package contains Mesa Gallium drivers for 3D acceleration.

inxi -GSaz after the iGPU:

System:
  Kernel: 6.13.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.13.1-1-default
    root=UUID=efb41f9a-a22f-4cbc-acc5-8964afb060b5 splash=verbose quiet
    security=apparmor mem_sleep_default=deep mitigations=auto
  Desktop: KDE Plasma v: 6.3.0 tk: Qt v: N/A info: frameworks v: 6.10.0
    wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20250211
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Gigabyte driver: i915 v: kernel
    arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: none
    empty: DP-1, HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:1912 class-ID: 0380
  Device-2: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 570.86.16
    alternate: nouveau,nvidia_drm non-free: 550/565.xx+ status: current (as of
    2025-01; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 2 link-max: lanes: 16
    ports: active: none off: DP-3,DP-4 empty: DP-2,DVI-D-1,HDMI-A-4
    bus-ID: 01:00.0 chip-ID: 10de:1c03 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: vesa
    alternate: fbdev,intel,nouveau,nv dri: iris gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1080 s-dpi: 80 s-size: 1422x343mm (55.98x13.50")
    s-diag: 1463mm (57.59")
  Monitor-1: not-matched mapped: DP-0.1 pos: left res: N/A
    size: 798x334mm (31.42x13.15") modes: N/A
  Monitor-2: not-matched mapped: DP-0.8 pos: primary,right res:
    mode: 1920x1080 hz: 60 scale: 100% (1) 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
    surfaceless: drv: nvidia x11: drv: nvidia inactive: gbm,wayland
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.86.16 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
    memory: 5.86 GiB
  API: Vulkan v: 1.4.304 layers: 2 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1060 6GB driver: N/A device-ID: 10de:1c03 surfaces: xcb,xlib
    device: 1 type: integrated-gpu name: Intel HD Graphics 530 (SKL GT2)
    driver: N/A device-ID: 8086:1912 surfaces: xcb,xlib
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

switcherooctl

Device: 0
  Name:        NVIDIA Corporation GP106 [GeForce GTX 1060 6GB]
  Default:     yes
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only

Device: 1
  Name:        Intel® HD Graphics 530
  Default:     no
  Environment: DRI_PRIME=pci-0000_00_02_0

Enabling the iGPU is not a fix, but any extra stability is an improvement. And the original issue of the secondary display failing to wake up… so far with the new driver + iGPU it didn’t fail to wake up, but I have to put it to sleep more times to be sure.

@ciello Set the iGPU (Intel) to default device and see if it changes.

Yes, that did the trick! Even the second displays seems to be behaving.:metal:

I’ll have to keep testing during normal usage to be sure, but in a series of quick tests the system promptly woke up without needing to resort to tricks, without crashing anything, no lags.

I’m getting a few messages dmesg, and that segfault from the previous post actually happens pre-sleep, but otherwise the OS is behaving as expected, so just for posterity…

Sleeping:

[  139.232985] [   T1546] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
[  142.258170] [   T1546] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1
[  641.878137] [   T1546] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset.  Error code: -22
[  641.878173] [   T1546] [drm:__nv_drm_connector_detect_internal [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to detect display state
[  641.878185] [   T1546] [drm:__nv_drm_connector_detect_internal [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to detect display state
[  641.878194] [   T1546] [drm:__nv_drm_connector_detect_internal [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to detect display state
[  641.878209] [   T1546] [drm:__nv_drm_connector_detect_internal [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to detect display state
[  641.878374] [   T1546] [drm:__nv_drm_connector_detect_internal [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to detect display state
[  641.878390] [   T1546] [drm:__nv_drm_connector_detect_internal [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to detect display state
[  648.204870] [   T4728] PM: suspend entry (deep)

Waking up:

[  701.999091] [   T1546] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
[  705.006846] [   T1546] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1

@ciello So some progress :wink: I see your comment in another thread, so check if intel-opencl and libvulkan_intel are installed…

libvulkan_intel is installed, intel-openCL is not. Should I install the second?

My struggle with OpenCL happens when attempting to downgrade to the nvidia 550 drivers due the conflicts. On 570 I’ve not seen anything wrong yet, it was just the sleep issue.

@ciello I would remove libvulkan_intel as well and it should just use the Nvidia device. If 570 is working, leave it be?

Have you tried switch your desktop to Gnome as seen a lot of people on here with problems like this & the common theme seems to be they are all using the latest KDE Desktop, which with a brief search seems to causing lots of problems across different distros.

Yeah, I’m tempted to leave it at 570. It’s good so far, and while I don’t like the idea of wasting RAM with the iGPU I think I can hold out for a stable driver.

I’m not a fan of Gnome, could only make the switch to Linux after trying KDE, and it goes out of the way to offer support for artists.

Minor update

Reverted to Nvidia GPU as default after noticing using the iGPU as default causes minor stuttering and freezes when using OpenGL accelerated programs like Krita. Using switerooctl to run Krita on the GPU didn’t help.

I updated the kernel to 6.13.2 to see if it helped with with the stutters or sleep issue but no. It doesn’t hurt to try though.

Also, I still had some instances of the secondary display failing to wake up or forgetting its configuration and either duplicating or overlapping the primary display when using the iGPU as default. It was just rarer.


I ended up also not uninstalling libvulkan_intel because it’s required for wine-staging. I no longer remember why I’m using the staging package, but some program didn’t work correctly without resorting to an experimental feature from it.

@ciello Add a /etc/environment file and in that file add a line containing MESA_VK_DEVICE_SELECT="10de:1c03" then it will use the Nvidia GPU.

The stuttering is likely on the Intel GPU because it’s legacy…

Wait, who will use the Nvidia GPU? I looked the variable up but I’m none wiser.

If it’s about the vulkan package and wine, I suspect it’s a req simply because it’s a staging package, not because my system uses it.

Out of curiosity I tried export the var and running the program in wine that requires GPU and without switcherooctl it still uses iGPU when it’s the default GPU.

And 100% agree with iGPU being old (and weak!) is the cause.

It needs to be set before login hence the environment file. Set and reboot check it’s used from the inxi output.