Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166078 > unrolled thread

X hangs due to 'render ring' issue after suspend/closed lid

Started byAlle Meije Wink <a.m.wink@gmail.com>
First post2016-03-29 21:20 +0200
Last post2016-03-31 21:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  X hangs due to 'render ring' issue after suspend/closed lid Alle Meije Wink <a.m.wink@gmail.com> - 2016-03-29 21:20 +0200
    Re: X hangs due to 'render ring' issue after suspend/closed lid Sven Arvidsson <sa@whiz.se> - 2016-03-31 21:50 +0200

#166078 — X hangs due to 'render ring' issue after suspend/closed lid

FromAlle Meije Wink <a.m.wink@gmail.com>
Date2016-03-29 21:20 +0200
SubjectX hangs due to 'render ring' issue after suspend/closed lid
Message-ID<ri7lg-2gu-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I am running Jessie on a toshiba laptop with these specs

Hardware: i7 5500u
Graphics: Intel HD graphics 5500
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)
x86_64 GNU/Linux

I had to turn of power saving options (the screen can still be blanked
after a few minutes but hibernate etc is out of the question) because after
waking up from s suspended session/hibernation, the keyboard and mouse are
completely unresponsive. The screen is partly restored (some windows are
semi-transparent for effect) and I cannot go to single-user mode via key
presses either.

Posted this on debian-laptop a while ago
https://lists.debian.org/debian-laptop/2016/01/msg00027.html but that does
not appear to be a very active list. Besides, The one suggestion that was
very kindly offered involved using the keyboard, so I'm still stuck.

The problem seems to be with the Intel graphics driver. I filed a bug
report about what happens when I suspend - resume at bugzilla.org
https://bugs.freedesktop.org/show_bug.cgi?id=93868 but not sure whether
this bug is now considered solved, active or left to its own devices?

After a reboot there is nothing for me to do but hold down the power button
for 3s. After that I check the old log file (Xorg.0.log.old) and this seems
to be the offending section:

[drm] stuck on render ring
[drm] GPU HANG: ecode 0:0x00dff888, in Xorg [751], reason: Ring hung,
action: reset
[drm] GPU hangs can indicate a bug anywhere in the entire gfx stack,
including userspace.
[drm] Please file a _new_ bug report on bugs.freedesktop.org against
DRI -> DRM/Intel
[drm] drm/i915 developers can then reassign to the right component if
it's not a kernel issue.
[drm] The gpu crash dump is required to analyze gpu hangs, so please
always attach it.
[drm] GPU crash dump saved to /sys/class/drm/card0/error
[drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off

The post to BugZilla also includes a -GZipped- file
/sys/class/drm/card0/error from right after the fact whose first 13 lines
are:

GPU HANG: ecode 0:0x00dff888, in Xorg [751], reason: Ring hung, action:
reset
Time: 1453805023 s 872139 us
Kernel: 3.16.0-4-amd64
Active process (on ring render): Xorg [751]
Reset count: 0
Suspend count: 1
PCI ID: 0x1616
EIR: 0x00000000
IER: 0x00000000
PGTBL_ER: 0x00000000
FORCEWAKE: 0x00010001
DERRMR: 0x2070ef2f
CCID: 0x028f510d

... and the total no. of lines is 151,075. None of which make sense to me...

One solution offered in BugZilla (
https://bugs.freedesktop.org/show_bug.cgi?id=91152) that lies within my
linux knowledge I tried: adding the option
 intel_iommu=igfx_off
to the boot parameters in grub.cfg.

Unfortunately that makes no difference in my case. If I close the lid and
open it again after everything's gone quiet - nothing

Does anyone in this group know of a working and
understandable-by-limited-time-enthusiast solution?
As said I have all the power-saving options off, but if the lid is closed
it still continues to hang.

Many thanks, happy to send more details.

[toc] | [next] | [standalone]


#166137

FromSven Arvidsson <sa@whiz.se>
Date2016-03-31 21:50 +0200
Message-ID<riQLo-1p2-13@gated-at.bofh.it>
In reply to#166078

[Multipart message — attachments visible in raw view] — view raw

On Tue, 2016-03-29 at 19:54 +0100, Alle Meije Wink wrote:
> I am running Jessie on a toshiba laptop with these specs
> 
> Hardware: i7 5500u
> Graphics: Intel HD graphics 5500
> Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)
> x86_64 GNU/Linux
> 
> I had to turn of power saving options (the screen can still be
> blanked
> after a few minutes but hibernate etc is out of the question) because
> after
> waking up from s suspended session/hibernation, the keyboard and
> mouse are
> completely unresponsive. The screen is partly restored (some windows
> are
> semi-transparent for effect) and I cannot go to single-user mode via
> key
> presses either.

The very short answer is that new hardware tends to require new
software. 

Try upgrading to new kernel/Xorg driver/mesa. (You might want to try
out using a live cd/usb first). 

You might also need new microcode updates, I'm not sure if they are
pushed for the updates for jessie.

The same thing goes for bug reports, if you can't reproduce the problem
with the latest software they tend to not be very interested.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5



[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web