Bug 90092

Summary: Screen Hangs Displaying Black and White Rectangles After Resuming from Suspend
Product: xorg Reporter: Jean-Marc <jean-marc>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg (kernel_log.txt)
none
lspci-vvv
none
modinfo nouveau none

Description Jean-Marc 2015-04-18 22:23:49 UTC
Created attachment 115184 [details]
dmesg (kernel_log.txt)

I got the same problem than the one described in the bug 89186.
(https://bugs.freedesktop.org/show_bug.cgi?id=89186)

A black and white mosaic displayed on my screen after resuling from suspend.

I also tried a 3.19 kernel without success.


I first reported to Debian (the distro I use).
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781337


The maintainers told me it is mainly a kernel problem.

They also asked to report it upstream to help.
Comment 1 Jean-Marc 2015-04-18 22:24:52 UTC
Created attachment 115185 [details]
lspci-vvv
Comment 2 Jean-Marc 2015-04-18 22:25:25 UTC
Created attachment 115186 [details]
modinfo nouveau
Comment 3 Jean-Marc 2015-05-18 21:27:10 UTC
hi,

Something I noticed it never happens if I keep the screen switched on.

I got this when I suspend my PC switching off the screen too.
Comment 4 Ilia Mirkin 2015-05-18 21:34:19 UTC
[ 1013.446964] nouveau E[    PBUS][0000:02:00.0] MMIO write of 0x00000000 FAULT at 0x103d94

That indicates that PCRYPT is somehow not coming up on resume. And we use it for faster copies on those GPUs, so it makes sense you'd be getting funny rectangles. You can disable it with

nouveau.config=PCRYPT=0

which should cause it to use M2MF instead. It's *highly* surprising that you'd be getting that sort of issue though... no clue why that would happen. A few boards are missing PCRYPT, but in that case, it *never* works (including logging similar mmio faults on boot). Perhaps something messed up in the VBIOS init tables?

BTW, in newer kernels, this will become PCIPHER instead of PCRYPT (for the nouveau.config line above).
Comment 5 Jean-Marc 2015-05-18 22:19:08 UTC
Strange. I got this MMIO error everytime my system resume.

4 times today without getting the other PGRAPH errors and the messed screen.

And no error messages regarding VBIOS init tables.
Comment 6 Martin Peres 2019-12-04 08:58:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/182.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.