FS#33160 - [linux] 3.7 GPU hangs, patch attached

Attached to Project: Arch Linux
Opened by Hugo Osvaldo Barrera (hobarrera) - Saturday, 22 December 2012, 05:19 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 07 March 2013, 15:25 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Since linux 3.7, after using my laptop for a while, the screen turns of. Connecting an external screen has the same result. This may happen after a few minutes, or several hours, regardless of activity. (It has happened while I'm AFK).

The only fix is to do a reboot (I can do this via SSH, which is how I got this dmesg).

I'm attaching my dmesg, and can provide any additional information that may be relevant.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 07 March 2013, 15:25 GMT
Reason for closing:  Fixed
Comment by Jan Alexander Steffens (heftig) - Friday, 28 December 2012, 21:59 GMT Comment by Jan Alexander Steffens (heftig) - Thursday, 10 January 2013, 07:56 GMT
https://bugs.freedesktop.org/show_bug.cgi?id=55984#c122

Applying the patch from comment 122 helps greatly. It's not perfect, but the rate of hangs goes down from one every couple hours to one every few days.
This also requires a patch to xf86-video-intel, namely 736b895 upstream:

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/patch/?id=736b89504a32239a0c7dfb5961c1b8292dd744bd
Comment by Tobias Powalowski (tpowa) - Saturday, 12 January 2013, 09:55 GMT
Kernel patch added, xorg driver needs to be patched, added JGC to assigned people.
Comment by Philip Müller (philm) - Saturday, 12 January 2013, 22:25 GMT
That added patch is Version 2. There is a Version 3 which was sent to Linus Torvalds and is tagged as stable.
According to this: https://lkml.org/lkml/2013/1/11/400 you have to add followed patches instead:

http://git.manjaro.org/packages-sources/basis/blobs/raw/master/linux37/linux37/3.7.2-drm-i915-Revert-shrinker-changes-from-Track-unbound-pages.patch
http://git.manjaro.org/packages-sources/basis/blobs/raw/master/linux37/linux37/3.7.2-drm-Only-evict-the-blocks-required-to-create-the-req.patch

xf86-video-intel 2.20.17 should be fine with this. Adding commit 736b895 to it might not be needed but won't hurt since it will get into 2.20.18 anyway.


Comment by Jan Alexander Steffens (heftig) - Saturday, 12 January 2013, 22:31 GMT
There's no difference between v2 and the v3 you posted. I've not seen the other patch yet. Maybe it only concerns ILK (I've got SNB).
Comment by Jan de Groot (JGC) - Thursday, 07 March 2013, 10:40 GMT
Is this still an issue?
Comment by Hugo Osvaldo Barrera (hobarrera) - Thursday, 07 March 2013, 15:23 GMT
No, this has been fixed upstream, the issue can be closed. Thanks.

Loading...