Bug 71134

Summary: AMD Radeon 7790 (BONAIRE Sea Islands) rendering, stability, performance issues
Product: Mesa Reporter: Tom <neatnoise>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: nehalmistry, nicolas.laplante
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: dmesg
Xorg.0.log
scrolling_websites_rendering
dpm_enabled
mesa_src_config.log
gpu lockup log

Description Tom 2013-11-01 17:57:17 UTC
Created attachment 88495 [details]
dmesg

Hello, I would like to report a list of issues I've run into after some time of using mesa gallium driver for AMD Radeon 7790 (BONAIRE Sea Islands chip).

Used components:

OS: Gentoo
User space packages:
media-libs/mesa git
sys-devel/llvm git
x11-libs/libdrm git
x11-libs/glamor git
x11-drivers/xf86-video-ati git
x11-base/xorg-server 1.14.3

Linux Kernel: 3.12.0-rc7

Rendering issues (tested with window managers: metacity and compiz):
- rendering corruption while scrolling web pages even if inbrowser hardware acceleration is disabled (in Chrome as well as in Firefox). There is kind of pixel offset on the diagonal of rendered web page and corruption of images, borders (it happens only while scrolling).
- Taking screenshot and using gksu (I'm using gnome 2 environment) results in huge rendering slow down (about 1 fps). I have to reload a window manager to fix this issue.
- Introduced dpm to Sea Islands in 3.12 kernel (while enabled) leads to image corruption when moving windows, playing videos (in a browser and a video player), scrolling websites. The corrupted image shows as flickering and messing around parts of the screen. The rendered image is ok only if nothing happens on the screen.
- anisotropic filtering doesn't seem to work (tested in sauerbraten game). After applaying there is no visual difference between bilinear filtering and anisotropic filtering.

Stability issues:
- Any use of OpenGL hardware acceleration after few minutes leads to GPU lockup (from basic OpenGL games like sauerbraten, inbrowser hardware acceleration, to compiz window manager). Glamor + metacity seems to work without GPU lockups.
- Playing videos in mplayer (VO: [vdpau]) also leads to a GPU lockup from time to time. The same happens in firefox browser while playing youtube videos in uvd decoding + flash 

Performance issues:
- I get much less fps compared to my old card - Radeon 4850 (r600g driver) even if the clocks are manually set to a maximal frequency.
- Compiz with basic effects is sometimes not fluent - drops to less than 30 fps especially when there are more windows opened.

I would like attach any GPU lockup logs but dmesg doesn't leave any trace. More than half of lockups are not recoverable and I have to reboot the computer.

Screens and logs are in the attachments.

Thank you for any help in resolving these issues.
Comment 1 Tom 2013-11-01 17:59:02 UTC
Created attachment 88496 [details]
Xorg.0.log
Comment 2 Tom 2013-11-01 17:59:47 UTC
Created attachment 88497 [details]
scrolling_websites_rendering
Comment 3 Tom 2013-11-01 18:00:39 UTC
Created attachment 88498 [details]
dpm_enabled
Comment 4 Tom 2013-11-01 18:01:21 UTC
Created attachment 88499 [details]
mesa_src_config.log
Comment 5 Tom 2013-11-01 19:17:54 UTC
Created attachment 88503 [details]
gpu lockup log

oh, I've realeased how to get a lockup log, here you go.
Comment 6 Tom 2013-11-12 00:14:16 UTC
Update

After updating packages to the latest versions (kernel to 3.12.0-next-20131111) gpu lockups and dramatic slow downs seem to be resolved.

I've uploaded 2 videos which describe existing problems.

pixel offset on diagonal (which appears to be in opengl apps too): http://youtu.be/jTnI446eD-Q

dpm issue: http://youtu.be/52ZlliTfqYI
Comment 7 Michel Dänzer 2013-11-12 03:12:20 UTC
(In reply to comment #6)
> 
> pixel offset on diagonal (which appears to be in opengl apps too):
> http://youtu.be/jTnI446eD-Q

If you mean the diagonal tearing visible on the stairs while moving, there's currently no way to avoid that with glamor other than running in fullscreen with page flipping enabled.
Comment 8 Tom 2014-11-06 14:40:16 UTC
On November 2014 on updated Arch distro driver's performance is good, no lockups, no graphics artifacts. Thanks to dev team for fixing issues.

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.