Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566102 - >=sys-kernel/gentoo-sources-4.1.6 - gpu ring hung with intel i915 driver while watching videos in browsers
Summary: >=sys-kernel/gentoo-sources-4.1.6 - gpu ring hung with intel i915 driver whil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-18 09:50 UTC by Daniele
Modified: 2017-03-03 10:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emerge_info.txt,17.55 KB, text/plain)
2015-11-18 09:51 UTC, Daniele
Details
Output of dmesg after the ring hang (dmesg.txt,989 bytes, text/plain)
2015-11-18 09:52 UTC, Daniele
Details
GPU Crash Dump from /sys/class/drm/card0/error (card0error.lzma,104.58 KB, application/x-lzma)
2015-11-18 10:00 UTC, Daniele
Details
Dmesg Output on another Ring Hang (file_566102.txt,714 bytes, text/plain)
2015-11-18 10:21 UTC, Daniele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele 2015-11-18 09:50:05 UTC
Since when I updated from Gentoo-Sources-4.1.6, while I watch a video (Usually on Youtube) the screen freezes, allowing only the mouse cursor to work and refusing any keyboard input. Audio keeps running normally.
At times the freeze lasts a few seconds, allowing me to regain control of my system, but the video frame in the web page is frozen and audio keeps playing normally.
Some other times the freeze lasts till I shut down the system forcibly.
This happens with QuteBrowser and Firefox, the only browsers i tried.

After the partial freeze, dmesg reports a ring hung in the GPU.

If i'm using other applications with the video in background (for example to listen to a song) I noticed some graphical glitches in the windows, like scroll bars changing textures.
My laptop uses Radeon/Intel hybrid technology with open source drivers.

This is the only way I can reproduce the issue, but it happens at times while I'm doing GPU-intensive activities.

Reproducible: Always

Steps to Reproduce:
1. Update to a kernel more recent than 4.1.6
2. Use a browser to play a video on Youtube
Actual Results:  
Full system freeze, forcing me to shut down the system at times.
Or the system freezes for 5 to 10 seconds, gets back in control and the video frame is frozen.

Expected Results:  
The video got played
Comment 1 Daniele 2015-11-18 09:51:43 UTC
Created attachment 417272 [details]
Output of emerge --info

Using attachments since the output is too long for the comment window.
Comment 2 Daniele 2015-11-18 09:52:45 UTC
Created attachment 417274 [details]
Output of dmesg after the ring hang
Comment 3 Daniele 2015-11-18 10:00:03 UTC
Created attachment 417276 [details]
GPU Crash Dump from /sys/class/drm/card0/error
Comment 4 Daniele 2015-11-18 10:08:28 UTC
Changing Video acceleration in Xorg.conf.d from "sna" to "uxa" makes SLiM crash immediately after starting, error: No Screens Found.

Changing video acceleration in Xorg.conf.d from "sna" to "ilo" makes no difference.

Using intel_pstates=disabled on the grub command line makes no difference.

Using the option "NoAccel" in Xorg.conf.d makes slim crash as with the "uxa" acceleration option.

Trying to set the "DRI" option to "3" in Xorg.conf.d doesn't have any effect.
Comment 5 Daniele 2015-11-18 10:21:45 UTC
Created attachment 417278 [details]
Dmesg Output on another Ring Hang

Dmesg of a ring hang happened in the same session as the one i posted before.
New graphical glitches happened: some characters missing from words in Skype
Comment 6 Michael Palimaka (kensington) gentoo-dev 2015-11-22 18:18:02 UTC
I've run into similar issues.
Comment 7 Daniele 2015-11-22 22:01:28 UTC
I've tried to update to the latest version in the 4.1 branch, currently 4.1.13. The issue is not occurring in this version.
Comment 8 charles17 2015-11-30 16:33:24 UTC
(In reply to Daniele from comment #5)
> Created attachment 417278 [details]
> Dmesg Output on another Ring Hang
> 
> Dmesg of a ring hang happened in the same session as the one i posted before.
> New graphical glitches happened: some characters missing from words in Skype

Got that error https://bugs.gentoo.org/show_bug.cgi?id=566982#c7 even with gentoo-sources:4.1.12
Comment 9 Daniele 2015-11-30 21:20:59 UTC
(In reply to charles17 from comment #8)
> (In reply to Daniele from comment #5)
> > Created attachment 417278 [details]
> > Dmesg Output on another Ring Hang
> > 
> > Dmesg of a ring hang happened in the same session as the one i posted before.
> > New graphical glitches happened: some characters missing from words in Skype
> 
> Got that error https://bugs.gentoo.org/show_bug.cgi?id=566982#c7 even with
> gentoo-sources:4.1.12

I'm not having any issues with kernel 4.1.13, only with 4.2+
Comment 10 Dan Goodliffe 2016-03-02 12:47:16 UTC
[  218.283215] [drm] GPU HANG: ecode 6:-1:0x00000000, reason: Kicking stuck semaphore on render ring, action: continue

On the face it, happens completely at random but with no obvious side effects other than a brief pause. Problem occurs with 4.1.15-r1, 4.3.3-r1 and 4.4.3 for me.
Comment 11 Mike Pagano gentoo-dev 2017-03-01 18:17:35 UTC
Is this still an issue with recent kernels?
Comment 12 Daniele 2017-03-03 10:50:33 UTC
This is not an issue with more recent kernels. Signing it as Solved + Fixed.