Bug 34514 - plasmashell crash when restoring from suspend with Nvidia 570 driver
Summary: plasmashell crash when restoring from suspend with Nvidia 570 driver
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard: MGA9TOO
Keywords:
: 34515 (view as bug list)
Depends on: 34523
Blocks:
  Show dependency treegraph
 
Reported: 2025-07-27 10:10 CEST by Cyril Levet
Modified: 2025-08-06 09:09 CEST (History)
6 users (show)

See Also:
Source RPM: nvidia-current-570.172.08-2.mga9.nonfree.src.rpm
CVE:
Status comment:


Attachments
Journal of the crash (418.72 KB, text/plain)
2025-07-27 10:10 CEST, Cyril Levet
Details

Description Cyril Levet 2025-07-27 10:10:12 CEST
Description of problem: 
Plasmashell process crash with core dump when restoring session from suspend with 570 Nvidia driver. 

Version-Release number of selected component (if applicable):
dkms-nvidia-current-570.172.08-2.mga9.nonfree

How reproducible:
Always

Steps to Reproduce:
1. Suspend your computer
2. Restore the session.
Comment 1 Cyril Levet 2025-07-27 10:10:41 CEST
Created attachment 15051 [details]
Journal of the crash
Comment 2 Leon Goldman 2025-07-27 12:13:30 CEST
My system also experiences the same issue. Graphics fail to wake from  sleep or hibernate mode after upgrade to 570.172.08.  Must force a reboot to get system back.

Operating System: Mageia 9
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.7
Kernel Version: 6.6.93-desktop-1.mga9 (64-bit)
Graphics Platform: X11
Processors: 28 × Intel® Core™ i7-14700K
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z790 AORUS ELITE AX ICE

CC: (none) => leon244

Comment 3 Cyril Levet 2025-07-27 12:53:15 CEST
Bug 34511 is probably linked.
Stéphane Pontier 2025-07-27 13:56:14 CEST

CC: (none) => stephane.pontier

Comment 4 Leon Goldman 2025-07-28 19:41:18 CEST
per doktor5000 at the Mageia forum (https://forums.mageia.org/en/viewtopic.php?f=23&t=15717&p=91658#p91658) I added the following to my /etc/modprobe.d/display-driver.conf file and the problem was fixed:

options nvidia-drm fbdev=0

After doing this I was able to go into sleep mode and wake from it and go into X without a problem
Comment 5 Cyril Levet 2025-07-28 20:11:51 CEST
(In reply to Leon  Goldman from comment #4)
> per doktor5000 at the Mageia forum
> (https://forums.mageia.org/en/viewtopic.php?f=23&t=15717&p=91658#p91658) I
> added the following to my /etc/modprobe.d/display-driver.conf file and the
> problem was fixed:
> 
> options nvidia-drm fbdev=0
> 
> After doing this I was able to go into sleep mode and wake from it and go
> into X without a problem

Thanks, it fixes this bug with suspend. 
However, does not fix all bugs coming from this driver, like Steam unable to launch games
Comment 6 Morgan Leijström 2025-07-29 10:54:03 CEST
Thank you for the reports Cyril and Leon, and doktor5000 for the workaround.

I see you test this on mga9, but there are other reports on problems on Cauldron too.

Assigning to maintainer

---

I think I will add a note to errata9 about the problem and workaround, link to and describe it in https://wiki.mageia.org/en/Setup_the_graphical_server#Nvidia_proprietary_drivers

Assignee: bugsquad => kernel
Version: Cauldron => 9
Whiteboard: (none) => MGA9TOO
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=34511, https://bugs.mageia.org/show_bug.cgi?id=34512
CC: (none) => fri
Keywords: (none) => FOR_ERRATA9

Morgan Leijström 2025-07-29 10:56:47 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=34515

Comment 7 Morgan Leijström 2025-07-29 10:59:05 CEST
Generally, you users of Nvidia are *much* welcome to join QA to test Nvidia driver updates *before* we release!

:-)
Comment 8 Florian Hubold 2025-07-29 12:22:04 CEST
@Giuseppe:
Maybe you can take a look at /etc/modprobe.d/display-driver.conf as at least the default values for nvidia-drm for fbdev option have changed (fbdev=1 was experimental before, is now the default), so our config might need to also be updated.

CC: (none) => doktor5000, ghibomgx

Comment 9 Giuseppe Ghibò 2025-07-29 12:54:20 CEST
> @Giuseppe:
> Maybe you can take a look at /etc/modprobe.d/display-driver.conf as at least
> the default values for nvidia-drm for fbdev option have changed (fbdev=1 was
> experimental before, is now the default), so our config might need to also
> be updated.

Yes, we can align the comment to the new default value, for instance like:

# Disable the framebuffer device
#options nvidia-drm fbdev=0

though for this bug it wouldn't have effect, since it's a comment. The default fbdev-> 1 has changed upstream since 560.35 or something near that.

If using fbdev=0 is providing a smoother experience everywhere we might revert the default to 0, however what about Wayland? does it work with fbdev=0 and Wayland?
Comment 10 Mike Rambo 2025-07-29 17:20:16 CEST
(In reply to Giuseppe Ghibò from comment #9)
> 
> If using fbdev=0 is providing a smoother experience everywhere we might
> revert the default to 0, however what about Wayland? does it work with
> fbdev=0 and Wayland?

This is about Mageia 9. Is Wayland an issue here?

CC: (none) => mhrambo3501

Comment 11 Giuseppe Ghibò 2025-07-29 17:28:38 CEST
(In reply to Mike Rambo from comment #10)

> (In reply to Giuseppe Ghibò from comment #9)
> > 
> > If using fbdev=0 is providing a smoother experience everywhere we might
> > revert the default to 0, however what about Wayland? does it work with
> > fbdev=0 and Wayland?
> 
> This is about Mageia 9. Is Wayland an issue here?

No, it's working, but we need to be sure that if we change the default it doesn't cause issues with fbdev=0 under Wayland, as in the past upstream there was something related to requirement about fbdev=1 for Wayland.
Comment 12 Cyril Levet 2025-07-29 19:09:16 CEST
I confirm that forcing the option nvidia-drm fbdev=0 by uncomment the line in /etc/modprobe.d/display-driver.conf fix the suspend bug, it does not fix Bug 34511 which seems related to Vulkan.
Leon Goldman 2025-07-29 19:11:30 CEST

CC: leon244 => (none)

Comment 13 Giuseppe Ghibò 2025-07-30 23:29:50 CEST
There is new version 570.172.08-2.mga9.nonfree, which uses fbdev=0 as default and should address latest problems.
Comment 14 Giuseppe Ghibò 2025-07-30 23:31:57 CEST
(In reply to Giuseppe Ghibò from comment #13)

> There is new version 570.172.08-2.mga9.nonfree, which uses fbdev=0 as
> default and should address latest problems.

Sorry new version is 570.172.08-3.mga9.nonfree in updates_testing.
Comment 15 Didier Le Gloanic 2025-07-31 07:59:21 CEST
(In reply to Giuseppe Ghibò from comment #14)

I confirm that the revision 3 of 570.172.08 do not crash vkd3d games.(bug 34511).
A bug that i forgot to mention, plymouth being weird : smaller size in the top left corner instead of fullscreen, is also gone.
I had not experienced some of the bugs reported so i can't vouch for those but as far i could tell everything seem fine.

CC: (none) => dag42

Comment 16 Giuseppe Ghibò 2025-07-31 09:05:55 CEST
(In reply to Didier Le Gloanic from comment #15)

> (In reply to Giuseppe Ghibò from comment #14)
> 
> I confirm that the revision 3 of 570.172.08 do not crash vkd3d games.(bug
> 34511).
> A bug that i forgot to mention, plymouth being weird : smaller size in the
> top left corner instead of fullscreen, is also gone.

I guess plymouth would probably need a refresh (at least in cauldron) to support that fbdev
Morgan Leijström 2025-08-01 00:30:59 CEST

Depends on: (none) => 34523

Comment 17 Mike Rambo 2025-08-03 21:48:43 CEST
*** Bug 34515 has been marked as a duplicate of this bug. ***
Comment 18 Mike Rambo 2025-08-03 21:52:56 CEST
Tested version 570.172.08-3. I cannot easily test the old Vivaldi but for me everything else that I have been having trouble with has been fixed by the new version. I have been running it for about 4 hours and have tested with steam and most of the common things I usually do, including suspend and resume. It all looks good to me at this point.
Comment 19 Morgan Leijström 2025-08-05 11:34:50 CEST
If I understand this correctly the restore from suspend per this bug description is fixed by Bug 34523 - Update request: nvidia-current-570.172.08-3.mga9.nonfree

If you still experience that problem please reopen.

Of other problems please open a fresh bug.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Morgan Leijström 2025-08-06 09:09:05 CEST

Keywords: FOR_ERRATA9 => (none)


Note You need to log in before you can comment on or make changes to this bug.