Created attachment 111401 [details]
While playing a YouTube video, either via mpv or directly into Google Chrome Stable, the compositor Compton stops working.
If I try to restart it, or even play something again with mpv, I get this error:
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
intel_do_flush_locked failed: Input/output error
Google Chrome Stable instead seems to fall back to CPU decoding.
I have to reboot to turn on the compositor again, play videos with mpv.
Created attachment 111402 [details]
dmesg after the error
Created attachment 111403 [details]
I have precisely the same issue. Supplementing Gianguido's attachment's with my i915_error_state.
I'm currently running the 3.14.27 LTS kernel on Arch, but I only switched to that from 3.17 in the hopes that it would resolve this issue. I'm running KDE with kwin (4.11.14) and chromium 39.0.2171.95. My screen goes black when the gpu hangs but I can get back my desktop with just sleep/resume, though like Gianguido I can't use gl or xv until I reboot.
Created attachment 111595 [details]
GM965 error state after youtube in Chrome
Same problem here, can confirm this bug.
I suspect this may be another duplicate of the bug 80568, fixed (worked-around) by this commit:
Author: Kenneth Graunke <email@example.com>
Date: Sat Jan 17 23:21:15 2015 -0800
i965: Work around mysterious Gen4 GPU hangs with minimal state changes.
Gen4 hardware appears to GPU hang frequently when using Chromium, and
also when running 'glmark2 -b ideas'. Most of the error states contain
3DPRIMITIVE commands in quick succession, with very few state packets
between them - usually VERTEX_BUFFERS/ELEMENTS and CONSTANT_BUFFER.
I trimmed an apitrace of the glmark2 hang down to two draw calls with a
glUniformMatrix4fv call between the two. Either draw by itself works
fine, but together, they hang the GPU. Removing the glUniform call
makes the hangs disappear. In the hardware state, this translates to
removing the CONSTANT_BUFFER packet between the two 3DPRIMITIVE packets.
Flushing before emitting CONSTANT_BUFFER packets also appears to make
the hangs disappear. I observed a slowdown in glxgears by doing it all
the time, so I've chosen to only do it when BRW_NEW_BATCH and
BRW_NEW_PSP are unset (i.e. we haven't done a CS_URB_STATE change or
already flushed the whole pipeline).
I'd much rather understand the problem, but at this point, I don't see
how we'd ever be able to track it down further. We have no real tools,
and the hardware people moved on years ago. I've analyzed 20+ error
states and read every scrap of documentation I could find.
Signed-off-by: Kenneth Graunke <firstname.lastname@example.org>
Acked-by: Matt Turner <email@example.com>
Cc: "10.4 10.3" <firstname.lastname@example.org>
It's in git, and backports are in Mesa 10.4.x for x > 3. Please try upgrading to >10.4.3. If it's resolved by such an upgrade, please mark as a duplicate of bug 80568.
No reply. Marking as duplicate.
*** This bug has been marked as a duplicate of bug 80568 ***