Bug 40495

Summary: r300 performance is slower on sleep resume
Product: Mesa Reporter: Jean-François Fortin Tam <nekohayo>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 7.11   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg log
dmesg
glxinfo
files requested in bug 39714 comment 4

Description Jean-François Fortin Tam 2011-08-30 09:22:20 UTC
I have the following on a Thinkpad T43p:

jeff@kuze:~$ glxinfo |grep OpenGL
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV380
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20
OpenGL extensions:


When starting a fresh boot with a couple of windows open, gnome shell is fluid. Keeping the same amount of windows open, suspending then resuming, the performance when toggling the overview mode seems to have degraded significantly.

Demonstration: http://jeff.ecchi.ca/public/gnome-shell-657664.webm
Comment 1 Michel Dänzer 2011-08-30 10:36:17 UTC
Reminds me of bug 39714.

Please attach the full Xorg.0.log and the output of dmesg and glxinfo.
Comment 2 Jean-François Fortin Tam 2011-08-30 18:48:39 UTC
Created attachment 50736 [details]
Xorg log
Comment 3 Jean-François Fortin Tam 2011-08-30 18:48:54 UTC
Created attachment 50737 [details]
dmesg
Comment 4 Jean-François Fortin Tam 2011-08-30 18:49:27 UTC
Created attachment 50738 [details]
glxinfo

As requested.
Comment 5 Michel Dänzer 2011-08-31 06:45:16 UTC
Please follow the same investigation steps as in bug 39714, e.g. see if restarting just gnome-shell restores full performance, and capture some files before and after suspend/resume.
Comment 6 Jean-François Fortin Tam 2011-08-31 11:26:16 UTC
Created attachment 50758 [details]
files requested in bug 39714 comment 4

/sys/kernel/debug/dri/0/radeon_*_mm
/proc/mtrr

But not /sys/kernel/debug/x86/pat_memtype_list, as the file was not present.

I have some doubts that maybe this might be unrelated to suspend/resume, but instead related to the amount of windows open and/or general bugs/corruption... I've noticed that after a short while (maybe after opening a couple of browser windows), not only does performance decrease a lot, but there are weird visual glitches: font glyphs missing, colors changing in Getting Things GNOME, text shadows or colors in various apps (gedit, browser windows) going black, scrollbars going black, etc.
Comment 7 Tomasz P. 2013-01-11 21:10:36 UTC
Is it still a issue with current mesa and kernel ??

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.