Slow graphics after resume from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Expired
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When resume from suspend the desktop loads but Unity runs very slow.
-------
General Info:
-->lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
-->uname -a
Linux myBox 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
-->apt-cache policy unity
unity:
Installed: 5.12-0ubuntu1
Candidate: 5.12-0ubuntu1
Version table:
*** 5.12-0ubuntu1 0
500 http://
100 /var/lib/
5.
500 http://
-->apt-cache policy compiz
compiz:
Installed: 1:0.9.7.8-0ubuntu1
Candidate: 1:0.9.7.8-0ubuntu1
Version table:
*** 1:0.9.7.8-0ubuntu1 0
500 http://
100 /var/lib/
1:
500 http://
-->dpkg -s Xorg | grep Version
Version: 1:7.6+12ubuntu1
-->glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER
OpenGL version string: 2.1 Mesa 8.0.2
OpenGL shading language version string: 1.20
-->lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series] [1002:68b8]
Hardware
Motherboard: Gigabyte GA-P55A-UD4P
Processor: Intel Core i7-870 Processor
Graphics: Gigabyte ATI Radeon HD 5770 GV-R577UD-1GD (Batmobile)
Memory: 16GB (4 x 4GB) G.SKILL Ripjaws Series 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) F3-12800CL9D-8GBRL
SSD Drive: Crucial 64GB m4 2.5-inch SATA 6GB/s
Monitor: 2x Samsung P2770
Discussion link:
http://
-------
Fresh boot; before suspend
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.440 FPS
300 frames in 5.0 seconds = 59.968 FPS
300 frames in 5.0 seconds = 59.966 FPS
300 frames in 5.0 seconds = 59.970 FPS
300 frames in 5.0 seconds = 59.967 FPS
300 frames in 5.0 seconds = 59.968 FPS
After suspend
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
188 frames in 5.0 seconds = 37.560 FPS
194 frames in 5.0 seconds = 38.670 FPS
196 frames in 5.0 seconds = 39.068 FPS
198 frames in 5.0 seconds = 39.599 FPS
201 frames in 5.0 seconds = 40.198 FPS
200 frames in 5.0 seconds = 39.868 FPS
After compiz --replace
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.457 FPS
299 frames in 5.0 seconds = 59.797 FPS
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.998 FPS
299 frames in 5.0 seconds = 59.798 FPS
It doesn't look like it is only affecting Launcher performance when suspend was used. I'm not sure if this would be a separate issue so decided to include it here for now. Here is some more details.
Fresh boot; suspend not used
At first all looks good. Launcher opens and closes quickly but after few minutes of regular use I can see performance degradation when using Launcher. Everything else still works good.
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.245 FPS<= Launcher closed
299 frames in 5.0 seconds = 59.798 FPS
301 frames in 5.0 seconds = 60.002 FPS
298 frames in 5.0 seconds = 59.596 FPS
299 frames in 5.0 seconds = 59.799 FPS
102 frames in 5.1 seconds = 20.030 FPS<= pressing “Super”; Launcher slowly opens
30 frames in 5.2 seconds = 5.780 FPS
30 frames in 5.2 seconds = 5.759 FPS
30 frames in 5.2 seconds = 5.780 FPS
31 frames in 5.2 seconds = 5.962 FPS
32 frames in 5.2 seconds = 6.172 FPS
31 frames in 5.2 seconds = 5.984 FPS
30 frames in 5.2 seconds = 5.788 FPS
105 frames in 5.0 seconds = 20.984 FPS<= pressing ESC; Launcher slowly closes
299 frames in 5.0 seconds = 59.600 FPS
299 frames in 5.0 seconds = 59.600 FPS
298 frames in 5.0 seconds = 59.595 FPS
301 frames in 5.0 seconds = 60.001 FPS
300 frames in 5.0 seconds = 59.996 FPS
293 frames in 5.0 seconds = 58.597 FPS
49 frames in 5.2 seconds = 9.438 FPS<= pressing “Super”; Launcher slowly opens
31 frames in 5.2 seconds = 5.961 FPS
34 frames in 5.2 seconds = 6.529 FPS
30 frames in 5.2 seconds = 5.791 FPS
29 frames in 5.2 seconds = 5.595 FPS
33 frames in 5.2 seconds = 6.305 FPS
105 frames in 5.0 seconds = 20.984 FPS<= pressing ESC; Launcher slowly closes
299 frames in 5.0 seconds = 59.799 FPS
300 frames in 5.0 seconds = 59.998 FPS
298 frames in 5.0 seconds = 59.599 FPS
300 frames in 5.0 seconds = 59.996 FPS
Everything seems to be very slow when Launcher is open and comes back to normal after Launcher is closed.
Replacing compiz windows:
-->compiz --replace
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.494 FPS<= Launcher closed
298 frames in 5.0 seconds = 59.598 FPS
299 frames in 5.0 seconds = 59.797 FPS
291 frames in 5.0 seconds = 58.199 FPS<= pressing “Super”; Launcher quickly opens
299 frames in 5.0 seconds = 59.799 FPS
298 frames in 5.0 seconds = 59.515 FPS
299 frames in 5.0 seconds = 59.679 FPS
300 frames in 5.0 seconds = 59.999 FPS<= pressing ESC; Launcher quickly closes
299 frames in 5.0 seconds = 59.798 FPS
297 frames in 5.0 seconds = 59.315 FPS
298 frames in 5.0 seconds = 59.395 FPS
297 frames in 5.0 seconds = 59.399 FPS<= pressing “Super”; Launcher quickly opens
296 frames in 5.0 seconds = 59.089 FPS
This will work good for some time (10 maybe 20 minutes) and will go back to degraded performance again.
description: | updated |
description: | updated |
affects: | compiz-core → unity |
gnome-classic is also affected. It is not as bad as Unity but still.
-->echo $DESKTOP_SESSION
gnome-classic
-->apt-cache policy gnome-shell us.archive. ubuntu. com/ubuntu/ precise/universe amd64 Packages dpkg/status
gnome-shell:
Installed: 3.4.1-0ubuntu2
Candidate: 3.4.1-0ubuntu2
Version table:
*** 3.4.1-0ubuntu2 0
500 http://
100 /var/lib/
Before suspend
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.477 FPS
300 frames in 5.0 seconds = 59.999 FPS
299 frames in 5.0 seconds = 59.797 FPS
296 frames in 5.0 seconds = 59.200 FPS
298 frames in 5.0 seconds = 59.599 FPS
300 frames in 5.0 seconds = 59.995 FPS
297 frames in 5.0 seconds = 59.399 FPS
298 frames in 5.0 seconds = 59.596 FPS
299 frames in 5.0 seconds = 59.789 FPS
300 frames in 5.0 seconds = 59.811 FPS
297 frames in 5.0 seconds = 59.396 FPS
299 frames in 5.0 seconds = 59.796 FPS
301 frames in 5.0 seconds = 60.004 FPS
299 frames in 5.0 seconds = 59.774 FPS
After suspend
-->glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
257 frames in 5.0 seconds = 51.341 FPS
272 frames in 5.0 seconds = 54.218 FPS
272 frames in 5.0 seconds = 54.398 FPS
283 frames in 5.0 seconds = 56.597 FPS
240 frames in 5.0 seconds = 47.839 FPS
253 frames in 5.0 seconds = 50.428 FPS
274 frames in 5.0 seconds = 54.778 FPS
275 frames in 5.0 seconds = 54.830 FPS
274 frames in 5.0 seconds = 54.619 FPS
284 frames in 5.0 seconds = 56.799 FPS
273 frames in 5.0 seconds = 54.599 FPS
273 frames in 5.0 seconds = 54.421 FPS
272 frames in 5.0 seconds = 54.394 FPS
280 frames in 5.0 seconds = 56.000 FPS