You are not logged in.

#1 2014-08-24 18:18:07

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Chrome gives occasional gpu hang with "ring hung" for Intel drm

I have had chrome give a GPU hang with "ring hung" after updating my system in the last few days.

Reported at

https://bugs.archlinux.org/index.php?do … k_id=41678

https://bugzilla.kernel.org/show_bug.cgi?id=83141

If anyone is seeing similar problems please add further diagnostics to the bug report to give the maximum data to the developers.


Mike C

Offline

#2 2014-08-24 23:04:13

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

For what it's worth, I am using the same version of google-chrome with the same intel graphics (rev 09 also) on Arch X64 and have never seen that, although I am using GNOME3.

Offline

#3 2014-08-25 08:49:16

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

OK I don't know if it is KDE specific and might also be triggered by particular web site graphics. It has happened to me about 4 times in a couple of days but when it happened then chrome is unrecoverable unless the processes are killed.  At least the journal log is clear about what happened and there is a good error log generated so hopefully this will be enough to give the developers sufficient information to find where the code failed.


Mike C

Offline

#4 2014-08-25 09:28:47

okubax
Member
From: Kent, UK.
Registered: 2010-04-24
Posts: 210
Website

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

Offline

#5 2014-08-25 09:34:53

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

Thanks - those two bug reports look possibly related - I will add the links in a comment to the fly spray report and kernel bug.


Mike C

Offline

#6 2014-08-25 12:39:38

rasertux
Member
From: Florianópolis, Brazil
Registered: 2012-03-03
Posts: 51

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

Offline

#7 2014-08-25 22:42:05

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

rasertux wrote:

For workaround use UXA over SNA

OP, note also to my comment above that I have been using glamor acceleration, not sna or uxa.

Offline

#8 2014-08-26 07:40:22

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

Interesting!  I will have to look up how to set the system to use glamour accel and see if it makes a difference.


Mike C

Offline

#9 2014-08-26 13:08:20

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

mcloaked wrote:

Interesting!  I will have to look up how to set the system to use glamour accel and see if it makes a difference.

Changing from the default sna to uxa or glamour is trivial. See http://wiki.archlinux.org/index.php/Intel#SNA_issues. By default, sna gives me (and probably you with the same graphics) jittery window scaling animation unless I set the TearFree option. Glamor does not need TearFree.

Offline

#10 2014-08-26 14:55:53

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

I've been using the default sna accel for quite a while and it's generally been OK.  I see that there is a new upstream version of chrome stable today so I will wait and try the new version when the aur package updates and if I still see any hangs I will switch to glamor as I have never tried it before. Having said that I have not had chrome crash since reporting the issue on my machine! I have also updated to pull in the new xorg-init a short time ago and rebooted so will test over a period and see if I get further problems - mostly it's fine though there are some issues with highlight colouring on the same machine in chrome (and Thunderbird though I am not using stock but have been in Aurora channel for quite a while).

Last edited by mcloaked (2014-08-26 14:58:17)


Mike C

Offline

#11 2014-08-26 14:58:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

mcloaked wrote:

I've been using the default sna accel for quite a while and it's generally been OK.

Many of us have - but a somewhat recent update of the mesa/intel-dri drivers has killed SNA for very many intel users.  I've seen countless issues solved over the past month by switching to uxa.  It is a known upstream issue with the recent SNA acceleration which allegedly has a patch ready that should be incorporated soon.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2014-08-26 17:09:37

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

Thanks you for the additional information, Trilby. Hopefully the patch you refer to will get into the released packages soon.


Mike C

Offline

#13 2014-08-26 23:20:07

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

mcloaked wrote:

Thanks you for the additional information, Trilby. Hopefully the patch you refer to will get into the released packages soon.

mcloaked, I suspect many people haven't consciously noticed the window scaling issues currently exhibited by default sna. Bring up a heap of large windows and switch in and out of the GNOME overview. Then try glamor, or uxa, (or sna + TearFree) and you may notice like on my similar system that the window scaling in and out of the overview is much smoother than default sna.

Offline

#14 2014-08-27 08:51:36

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: Chrome gives occasional gpu hang with "ring hung" for Intel drm

bulletmark wrote:
mcloaked wrote:

Thanks you for the additional information, Trilby. Hopefully the patch you refer to will get into the released packages soon.

mcloaked, I suspect many people haven't consciously noticed the window scaling issues currently exhibited by default sna. Bring up a heap of large windows and switch in and out of the GNOME overview. Then try glamor, or uxa, (or sna + TearFree) and you may notice like on my similar system that the window scaling in and out of the overview is much smoother than default sna.

I guess that is worth trying if you are a gnome user but I only use kde so maybe the graphics issues are different.


Mike C

Offline

Board footer

Powered by FluxBB