After resume on sleep or hibernate system freezes with black screen. No interaction possible.

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

After resume on sleep or hibernate the system freezes with a black screen. No interaction whatsoever is possible. The resume seems to be starting normally, then only one line (1cm) of graphics appears, it freezes for a few seconds, shows a little output text and after that the screen goes completely black. The fan of the GPU is working full power, no interaction is possible, only hard power-off with pressing the power key for a longer time. It is not possible to use shortcuts on the keyboard of any kind, except the hardware keybord-light and monitor on/off.

The problem appeared after a clean installation of OpenSUSE 13.2.

Reproducible: Always

Steps to Reproduce:
1.have two GPU-s and nvdidia driver 340.76
2.put system to sleep or hibernate
3.resume

MY SYSTEM:
Lenovo Y500 laptop with TWO Nvidia Geforce GT650M GPU-s
I am running the newest Nvidia driver 340.76 configured to use SLI

I cannot resolve this.

In my opinion I’ve tried everything accessible to me:

  • disabling screen locker
  • disabling PowerManagement
  • enabling/disabling SLI
  • trying to reconfigure pm-utils in ways found by various Bug-reports
  • disabled hardware virtualization in UEFI
  • enabled/disabled S3 in UEFI (—> actually by playing with this only 1 (!!) single time it resumed properly… the seond try was again a crash, I am not able to reproduce this)

I did not try to install another driver like nouveau because it has no sense since I need SLI (running with two GPU-s).
Iit persists even when pm-utils is disabled (PowerManagement disabled).
After I disabled PowerManagement I still have to care NEVER to close the lid of my laptop while running, because it goes to sleep by default Kernel settings.

I repeat, I am myself no expert on the field but i really tried everything suggested which I could find in similar Bug reports on the Web and which is accessible to me. There are ideas in the web to configure the resume in a way that the graphic card is not wakened until a given time etc… but I am not able to do this myself, it is beyond my possibilities.

After uninstall of the packages suspend and pm-utils the problem still persists. After installing the newest kernel and also the latest marked as stable, the problem still persists.

After contacting the OpenSUSE developers via Bugzilla, they told me that they cannot help me because it’s impossible to debug with the only binary not open source nvidia driver.

Does anyone have a solution to this?
nvidia-bug-report.log.gz (570 KB)

Your dmesg doesn’t have any Xid errors, but do you see/get them?

I have the same issue but I get an error message on the console:

[40279.151972] NVRM: Xid (PCI:0000:01:00): 56, CMDre 00000001 00000080 00000000 00000005 0000000b
[40279.152077] NVRM: Xid (PCI:0000:01:00): 56, CMDre 00000002 00000080 00000000 00000005 0000000b
[40279.166077] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 1 Error
[40279.166186] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 2 Error
[40279.166291] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 3 Error
[40279.166393] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 4 Error
[40279.166488] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 9 Error
[40279.166597] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 11 Error
[40279.166688] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 18 Error
[40279.166781] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x405840=0xa2040a1e
[40279.166888] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ChID 0003, Class 00009197, Offset 00002390, Data 00000000
[40279.275762] NVRM: Xid (PCI:0000:01:00): 56, CMDre 00000001 00000080 00000000 00000005 0000000b
[40279.275864] NVRM: Xid (PCI:0000:01:00): 56, CMDre 00000002 00000080 00000000 00000005 0000000b
[40279.276703] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 0: SAVE_RESTORE_ADDR_OOB
[40279.276800] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x500900=0x80000001

[40279.276918] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ChID 0004, Class 00009197, Offset 000023a8, Data 00000000
[40279.299329] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 1 Error
[40279.299427] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 2 Error
[40279.299514] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 3 Error
[40279.299600] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 4 Error
[40279.299684] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 9 Error
[40279.299769] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 18 Error
[40279.299854] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x405840=0xa204021e
[40279.299954] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ChID 000f, Class 00009197, Offset 00002390, Data 00000007

I also opened Ubuntu bug report with more system info: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-346/+bug/1450748

Xid error 56 means you’re f*cked: I’ve been having this problem for two years already - it looks like a hardware error which NVIDIA is unable to fix in software.

Well, damn.

SomJura, I see log :

Jul 20 10:26:59 linux-u4w1 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.76 Thu Jan 22 12:11:08 PST 2015
Jul 20 10:27:24 linux-u4w1.site kernel: NVRM: Your system is not currently configured to drive a VGA console
Jul 20 10:27:24 linux-u4w1.site kernel: NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
Jul 20 10:27:24 linux-u4w1.site kernel: NVRM: requires the use of a text-mode VGA console. Use of other console
Jul 20 10:27:24 linux-u4w1.site kernel: NVRM: drivers including, but not limited to, vesafb, may result in
Jul 20 10:27:24 linux-u4w1.site kernel: NVRM: corruption and stability problems, and is not supported.

Please replace/add kernel parameter : vga=0 rdblacklist=nouveau nouveau.modeset=0 and then test.

sandipt

i tried your suggestions. the problem still persists. after adding these kernel parameters, the line of graphics which usually appeared shortly before the black screen is not appearing any more. but everything else is the same.