major performance regression in combination with 3D Apps

Bug #871640 reported by Achim
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 11.10
Release: 11.10

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
compiz:
  Installiert: 1:0.9.6+bzr20110929-0ubuntu3
  Kandidat: 1:0.9.6+bzr20110929-0ubuntu3
  Versionstabelle:
 *** 1:0.9.6+bzr20110929-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status
     1:0.9.6+bzr20110929-0ubuntu2vv1 0
        500 http://ppa.launchpad.net/vanvugt/compiz/ubuntu/ oneiric/main amd64 Packages
unity:
  Installiert: 4.22.0-0ubuntu3
  Kandidat: 4.22.0-0ubuntu3
  Versionstabelle:
 *** 4.22.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
3D Apps should run much faster in window mode and fullscreen mode.
In my case I use ioquake3 because I can use it very well as benchmark.

4) What happened instead
3D Apps don't hit the refreshrate of 60FPS, before Oneiric they did.
They run approximately 20% slower. I am going to attach a graph that compares different environments with each other.
Also very noticeable is a delay in mouse cursor movement in 3D apps. This affects for example Revenge of the Titans, World Of Goo, XBMC. It looks like compositing is somehow slow. I also tried disabling sync to vblank in compiz but that had no positive effect.
On the contrary I would say that the apps where running even slower.

Environment FPS
Oneiric unity-2D 60.2
Oneiric unity-3D 47.6
Natty unity-3D 60.1
Gnome-Shell Oneiric 59.6

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.22.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: 13741649d6b2dd56d757d58c3d964436
CheckboxSystem: da9af3b901b5569a389df6337f3d812f
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,regex,gnomecompat,snap,animation,place,grid,imgpng,vpswitch,move,workarounds,mousepoll,resize,session,expo,wall,ezoom,fade,scale,unityshell]
CompositorRunning: compiz
Date: Mon Oct 10 10:19:44 2011
DistUpgraded: Log time: 2011-09-24 10:32:25.138728
DistroCodename: oneiric
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. Device [1462:7521]
   Subsystem: Micro-Star International Co., Ltd. Device [1462:7521]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110906)
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7521
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=0afe1514-67e2-4345-b7a2-b7df2fc0ad41 ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: Upgraded to oneiric on 2011-09-30 (9 days ago)
dmi.bios.date: 03/30/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V4.6
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: G45M Digital (MS-7521)
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 2.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.version: 2.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV4.6:bd03/30/2010:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7521:pvr2.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnG45MDigital(MS-7521):rvr2.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr2.0:
dmi.product.name: MS-7521
dmi.product.version: 2.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu3
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Achim (ach1m) wrote :
Revision history for this message
IKT (ikt) wrote :

Is there any chance of confirming whether the performance regressions are caused by unity, compiz, 3d drivers or the kernel?

Very similar bug report:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/861061

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Achim (ach1m) wrote :

I am quite sure that this is no kernel or driver bug.
As you can see from my graph only compiz regressed but not mutter or unity 2d.

The fps that I get look like compiz is doing fullscreen updates instead of partial screen updates. But that is only a guess.

Changed in unity:
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 861061, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.