Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "GPU hung" error after system update, X unusable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MF_Luder
n00b
n00b


Joined: 20 Jul 2014
Posts: 6

PostPosted: Sun Jul 20, 2014 4:20 pm    Post subject: [SOLVED] "GPU hung" error after system update, X u Reply with quote

Yesterday I ran "emerge -avuDN world" for the first time in a few months, which is longer than I normally go without doing that. Since then, I have been having horrible video problems. X will not run if I have an ~/.xinitrc script. It will exit immediately as if it has finished running the script, no matter what is in the script. Without an ~/.xinitrc script, it will start, but wherever the screen changes, whether it's because a window is moving or resizing or because the contents of a window are changing, the change lags noticeably behind the input that causes it, and happens very slowly, a few pixels at a time. The effect is more dramatic in some instances than in others, but the only thing that seems to be completely unaffected is the cursor.

There doesn't seem to be anything unusual in /var/log/Xorg.0.log, but the bottom of dmesg looks like this:

Code:

[ 1104.594401] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1151.035429] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1164.588727] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1170.749687] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1195.945223] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1201.962247] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1207.983271] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1226.646044] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 1232.958926] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 2015.795817] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 2305.796409] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27674.623734] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27700.954712] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27706.975737] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27712.953996] Watchdog[16419]: segfault at 0 ip 00007f81d1c08dde sp 00007f81c17ce770 error 6 in chrome[7f81cdce2000+51d2000]
[27723.623501] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27729.680508] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27735.693535] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27741.710558] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[27753.706062] Watchdog[16445]: segfault at 0 ip 00007f880ef32dde sp 00007f87feaf8770 error 6 in chrome[7f880b00c000+51d2000]
[53117.082643] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[53335.418678] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[53341.831508] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[53345.712402] Watchdog[21957]: segfault at 0 ip 00007f509d57cdde sp 00007f508d142770 error 6 in chrome[7f5099656000+51d2000]
[59626.729652] hda-intel: Unstable LPIB (65496 >= 8192); disabling LPIB delay counting
[60358.503629] Watchdog[25052]: segfault at 0 ip 00007ff469fd2dde sp 00007ff459b98770 error 6 in chrome[7ff4660ac000+51d2000]
[60368.514522] Watchdog[30317]: segfault at 0 ip 00007f08636fcdde sp 00007f08532c2770 error 6 in chrome[7f085f7d6000+51d2000]


I'm using the HD3000 graphics on my Intel i7-2700K. Searching the forums, the only suggestion I was able to find that seemed like it might apply to me was to change the value of VIDEO_CARDS in make.conf and emerge -uDN world. I have always had it set to "intel". Today I've tried "i965" and "intel i965", which is what I still have it set to. It doesn't seem to make any difference.
Back to top
View user's profile Send private message
MF_Luder
n00b
n00b


Joined: 20 Jul 2014
Posts: 6

PostPosted: Mon Jul 21, 2014 10:50 am    Post subject: Solution Reply with quote

The solution to this problem was to downgrade x11-drivers/xf86-video-intel. I added ">=x11-drivers/xf-video-intel-2.99.912" to /etc/portage/package.mask and emerged version 2.99.911-r1, and problem solved. I had tried to do this yesterday and masking that package seemed to have no effect on the version that was emerged. Maybe that was the result of a typo or something like that, or maybe there had been something overriding package.mask. I've changed a lot of things in the past 48 hours, so I don't know what the deal with that was.

Apparently one difference between VIDEO_CARDS="intel" and VIDEO_CARDS="i965" is that VIDEO_CARDS="intel" causes things to depend on x11-drivers/xf86-video-intel and VIDEO_CARDS="i965" does not. Normally replacing "intel" with "i965" and running "emerge -uDN world" and "emerge --depclean" would have removed xf86-video-intel, but in my case I have installed it explicitly at some point, and so --depclean didn't remove it. Once it was removed, the video problem was gone, but xrandr wasn't working. With an older version of it installed, everything works. Currently I have VIDEO_CARDS set to "intel i965".

I was still having some trouble with my .xinitrc script, but I eventually sorted that out via trial and error. It seems to me like there is something different about the way that this script it run now, but unfortunately I've changed it so much in my attempts to get it to work that I don't remember exactly what it originally looked like, or how my current one is different from my old one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum