Bug 61533

Summary: [r600g][lockup] kernel 3.8-3.12 caused by Opera browser hardware accelerated rendering
Product: Mesa Reporter: Eugene <ken20001>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: high CC: b.bellec, ken20001
Version: 9.2   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: syslog file with GPU lockups

Description Eugene 2013-02-26 23:19:49 UTC
Just upgraded kernel to version 3.8 on my system and several GPU lockups uccured when I opened pastebin link in Opera browser. (Here is expample link: http://paste.ubuntu.com/5568971/ or http://paste.ubuntu.com/5568954/). Several times I opened such several links in Opera and one time it caused GPU lockup and other times it even freezes. After turning off Opera Hardware Acceleration there was no lokups. And the thing is that with kernel 3.5 no lockups occured even with hardware acceleration turned on.

Software:
Kubuntu 12.10 x86_64
Linux 3.8.0-7-generic #16~lp1084783v1
KDE 4.10, desktop effects enabled.

OpenGL version string: 3.0 Mesa 9.2-devel (git-533dc3b quantal-oibaf-ppa)
libdrm-radeon1: 2.4.42+git1302251607.41fc2c~gd~q
xserver-xorg-video-radeon: 1:7.1.0+git1302220944.f1059e~gd~q
xserver-xorg-core: 2:1.13.0-0ubuntu6.1

Hardware:
Intel C2D 7200
ASUS P5B Deluxe
AMD Radeon HD 2600 XТ
Comment 1 Eugene 2013-02-26 23:21:16 UTC
Created attachment 75606 [details]
syslog file with GPU lockups
Comment 2 Alex Deucher 2013-02-26 23:44:22 UTC
Can you bisect?
Comment 3 Alex Deucher 2013-02-26 23:46:06 UTC
Does setting the env var R600_HYPERZ=0 help?  I suspect this might actually be a bug in the 3D driver and you only see it with 3.8 since newer mesa features require newer kernels.
Comment 4 Anton Petrov 2013-03-02 13:57:02 UTC
Maybe i have the same problem. After upgrading kernel to 3.8 i started to get some random lockups while playing minecraft. Sometimes everything just freezes and i can't do anything but hard reboot my notebook. I have HD4330(RV710). Mesa, drm and driver are from git, kernel is 3.8.1. Everything was just fine with 3.7. Syslog says nothing.
Comment 5 Eugene 2013-03-02 19:10:04 UTC
(In reply to comment #2)
> Can you bisect?

No, I don't know even what does it mean.
Comment 6 Eugene 2013-03-02 19:38:39 UTC
(In reply to comment #3)
> Does setting the env var R600_HYPERZ=0 help?  I suspect this might actually
> be a bug in the 3D driver and you only see it with 3.8 since newer mesa
> features require newer kernels.

No, that evironment variable in /etc/environment file after rebooting doesn't helped.
Comment 7 romulasry 2013-05-15 22:17:09 UTC
Same issue in kernel 3.9 with a different browser: chrome.
Comment 8 Alex Deucher 2013-05-16 12:38:21 UTC
This is most likely a mesa issue; there are several new features in mesa that are only enabled with a 3.8 kernel.  Can one of you use git to bisect mesa to see what commit broke things?  bisecting is a feature of git that allows you to easily narrow down what commit to a project caused the breakage.  You might also try mesa from the 9.1 branch.  Also, if you are using the llvm backend in the r600 driver, you might try disabling that.
Comment 9 Eugene 2013-05-16 13:39:41 UTC
(In reply to comment #8)
> This is most likely a mesa issue; there are several new features in mesa
> that are only enabled with a 3.8 kernel.  Can one of you use git to bisect
> mesa to see what commit broke things?  bisecting is a feature of git that
> allows you to easily narrow down what commit to a project caused the
> breakage.  You might also try mesa from the 9.1 branch.  Also, if you are
> using the llvm backend in the r600 driver, you might try disabling that.

I'm sorry, but I don't know how to.
Comment 10 Anton Petrov 2013-05-24 18:01:32 UTC
Looks like what my problem disappeared after some of the latest commits (glsl related?). Two days ago i disabled HyperZ via env vars and lockups in minecraft gone. But today i updated from git and enabled HyperZ to see if that happens again, but everything is good. If it necessary i can try to figure out what commit fixed this. Still have some quite rare hangups in some cases but it's not critical as they quickly gone. Strange. Thank you anyway.
Comment 11 Eugene 2013-10-07 20:12:10 UTC
The problem still is. Sometimes it freezes, sometimes screen becomes garbage (covered with artifacts).
Linux: 3.12RC3
xserver-xorg-video-radeon: 7.2.0
MESA: 9.2.1

Could anyone of developers try itself installing Opera and turning on "Enable Hardware acceleration" option in User Prefs section of opera:config (type it in browser address field) ?
Comment 12 Benjamin Bellec 2014-03-15 12:34:36 UTC
Do you still have the issue?
Comment 13 Eugene 2014-05-13 16:53:32 UTC
>Do you still have the issue?
There are differend kind of arefacts still present but the system it seems remains stable.
Comment 14 Benjamin Bellec 2014-05-13 16:58:04 UTC
Have you upgraded your software packaged ? Mesa 9.2 is not supported anymore.
Comment 15 Eugene 2014-05-19 11:14:28 UTC
(In reply to comment #14)
> Have you upgraded your software packaged ? Mesa 9.2 is not supported anymore.

Yes, now I'm using:
OpenGL version string: 3.0 Mesa 10.3.0-devel (git-5646319 trusty-oibaf-ppa)
Comment 16 Eugene 2014-12-04 19:57:39 UTC
I think this report can be closed at least as deprecated.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.