[i965gme] severe 2D performance degradation after upgrade to Maverick

Bug #741284 reported by bijwaard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xorg

I recently upgraded to Maverick and since then the graphics performance of certain 2D programs severely degraded. Especially programs that use wxMathplot with real-time plot updates are affected and show very high CPU on the xorg process and much lower responsiveness of the application.
When I run the same program within Xephyr, the CPU load is much less, also when I run it under ms-windows in VirtualBox. I have tried the stable ppa update for xorg-intel, but this didn't make much difference.

I have done performance analysis with oprofile (on my own applications that uses 10 wxMathplot plots) and found that the the kernel (55%) and libdrm_intel (15%) are eating most of the CPU time.

I created a slightly modified version of sample3 of wxMathplot that shows the CPU impact of 2D operations. Directly under X, CPU usage is as follows: 53% for Xorg and 14% for mpSample3. Under Xephyr, CPU usage is 10% for xorg, 15% for mpSample3 and 11% for Xephyr. I'll attach the source of this modified sample, and if required more of the oprofile log.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: AP///////wAGr+wgAAAAAAESAQOAIhN4CldVnFpUnSYaUFQAAAABAQEBAQEBAQEBAQEBAQEBEhtWQlAAJjAgGDQAWMEQAAAYAAAADwAAAAAAAAAAAAAAAAAgAAAA/gBBVU8KICAgICAgICAgAAAA/gBCMTU2WFcwMiBWMCAKAF8=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1680x1050 1680x1050 1280x1024 1280x1024 1440x900 1440x900 1280x960 1152x864 1024x768 1024x768 832x624 800x600 800x600 800x600 640x480 640x480 720x400
 edid-base64: AP///////wAebXdWUEUDAAMUAQNqMSB46q7FoldKnCUSUFSna4CVD5UAgYCBQHFPAQEBAQEBfC6QoGAaHkAwIDYA2igRAAAaITmQMGIaJ0BosDYA2igRAAAcAAAA/QA4Sx5TDwAKICAgICAgAAAA/ABXMjI0MgogICAgICAgAK4=
Date: Wed Mar 23 21:13:46 2011
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
MachineType: Hewlett-Packard Compaq 610
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-28-generic root=UUID=72a7f734-513b-40d0-9cbe-cc16ffb4239a ro quiet splash
ProcEnviron:
 LC_TIME=nl_NL.UTF-8
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
 LC_PAPER=A4
SourcePackage: xorg
Symptom: display
dmi.bios.date: 12/17/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PVU Ver. F.0D
dmi.board.name: 308A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 26.08
dmi.chassis.asset.tag: CNU0064GLG
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PVUVer.F.0D:bd12/17/2009:svnHewlett-Packard:pnCompaq610:pvrF.0D:rvnHewlett-Packard:rn308A:rvrKBCVersion26.08:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: Compaq 610
dmi.product.version: F.0D
dmi.sys.vendor: Hewlett-Packard
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-28-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller [8086:2a12] (rev 0c) (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:308a]
---
Architecture: i386
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1600x900
 edid-base64: AP///////wBMo0tUAAAAAAATAQOQJhV4ClYlnVtTmigXUFQAAAABAQEBAQEBAQEBAQEBAQEBpSVAiGCEFjAwIBUAftcQAAAapSVAiGCEFjAwIBUAftcQAAAaAAAA/gBKMTNKWIAxNzNLVAogAAAAAAAAAAAAAAAAAAIBCiAgAAI=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
MachineType: Dell Inc. Inspiron 1750
Package: xserver-xorg-video-intel 2:2.12.0-1ubuntu5.2
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-28-generic root=UUID=b6febf30-792b-41a0-9ea3-ad863ac30117 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Tags: ubuntu-une maverick maverick
Uname: Linux 2.6.35-28-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/23/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 08D7FG
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd10/23/2009:svnDellInc.:pnInspiron1750:pvr:rvnDellInc.:rn08D7FG:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1750
dmi.sys.vendor: Dell Inc.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-28-generic
---
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: None
CurrentDmesg:
 [ 23.457434] EXT4-fs (sda7): re-mounted. Opts: commit=600
 [ 30.592055] eth1: no IPv6 routers present
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1600x900
 edid-base64: AP///////wBMo0tUAAAAAAATAQOQJhV4ClYlnVtTmigXUFQAAAABAQEBAQEBAQEBAQEBAQEBpSVAiGCEFjAwIBUAftcQAAAapSVAiGCEFjAwIBUAftcQAAAaAAAA/gBKMTNKWIAxNzNLVAogAAAAAAAAAAAAAAAAAAIBCiAgAAI=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DistUpgraded: Log time: 2011-04-28 20:59:39.737222
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: ubuntu
DkmsStatus: bcmwl, 5.60.48.36+bdcom, 2.6.38-8-generic, i686: installed
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0406]
   Subsystem: Dell Device [1028:0406]
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
MachineType: Dell Inc. Inspiron 1750
NonfreeKernelModules: wl
Package: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=b6febf30-792b-41a0-9ea3-ad863ac30117 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Renderer: Unknown
Tags: natty ubuntu
Uname: Linux 2.6.38-8-generic i686
UpgradeStatus: Upgraded to natty on 2011-04-29 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/23/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 08D7FG
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd10/23/2009:svnDellInc.:pnInspiron1750:pvr:rvnDellInc.:rn08D7FG:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1750
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
bijwaard (bijwaard) wrote :
Revision history for this message
bijwaard (bijwaard) wrote :
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
bugbot (bugbot) wrote :

Hey bijwaard,

Thanks for your interest in Ubuntu.

Thanks for testing maverick during its development period. Unfortunately it looks like this bug report didn't get attention during the maverick development period. But I see there's not been more comments on the bug since the release, which makes me wonder if this is still an issue for you?

If you've not seen this issue since maverick's release yourself, it may have been solved by kernel or X or other updates that occurred late in the release; if so, would you mind please closing the bug for us? Go to the URL mentioned in this bug report, click the yellow icon(s) in the status column and set to 'Fix Released'.

If you no longer have the hardware needed to reproduce the problem, or otherwise feel the bug no longer needs tracked in Launchpad, you can set the status to 'Invalid'.

If you are the original reporter and still have this issue, just reply to this email saying so. (Or set the bug status to Confirmed.) If you are able to re-test this against 11.04 Natty Narwhal (our current development focus) and find the issue still affects Natty, please also run 'apport-collect <bug-number>' while running natty, which will add fresh logs and debug data, and flag it for the Ubuntu-X development team to look at.

bugbot (bugbot)
description: updated
bugbot (bugbot)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
bugbot (bugbot)
summary: - severe 2D performance degradation after upgrade to Maverick
+ [i965gme] severe 2D performance degradation after upgrade to Maverick
Revision history for this message
bijwaard (bijwaard) wrote :

This issue is still present in the Maverick release, I'm fully updated with all patches. Do you expect updating to Ubuntu 11.04 will make a difference in graphic performance, since I already tried the latest stable ppa on Maverick?

Kind regards,
Dennis Bijwaard

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
bijwaard (bijwaard) wrote :

Just tried the same comparison between Xephyr and native X on another laptop with ubuntu maverick and slightly different intel card. I see the similar difference in speed, although this laptop stays more responsive:
- with Xephyr: my GUI with 10xmathplot 23%, Xephyr 22%, Xorg 4%, CPU
- native X: my GUI with 10xmathplot 7%, Xorg 96% CPU

I'll upgrade this laptop to natty and see if there is any difference. I'll run apport-collect first for this bug-number.

tags: added: apport-collected
description: updated
Revision history for this message
bijwaard (bijwaard) wrote : BootDmesg.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : CurrentDmesg.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Dependencies.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GdmLog.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GdmLog1.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GdmLog2.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Lspci.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Lsusb.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : PciDisplay.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : ProcInterrupts.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : ProcModules.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : UdevDb.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : UdevLog.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : XorgLog.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : XorgLogOld.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Xrandr.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : monitors.xml.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : peripherals.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : setxkbmap.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : xdpyinfo.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : xkbcomp.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote :

Just installed Natty Narwall, here are the updated performance numbers
- with Xephyr: my GUI with 10xmathplot 28%, Xephyr 24%, Xorg 7%, CPU
- native X: my GUI with 10xmathplot 10%, Xorg 97% CPU

I'll run apport-collect for this bug-number now the laptop is upgraded to natty.

tags: added: natty ubuntu
description: updated
Revision history for this message
bijwaard (bijwaard) wrote : BootDmesg.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Dependencies.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GconfCompiz.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GdmLog.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GdmLog1.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : GdmLog2.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Lspci.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Lsusb.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : ProcInterrupts.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : ProcModules.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : UdevDb.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : UdevLog.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : UnitySupportTest.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : XorgLog.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : XorgLogOld.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : Xrandr.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : monitors.xml.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : peripherals.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : xdpyinfo.txt

apport information

Revision history for this message
bijwaard (bijwaard) wrote : xinput.txt

apport information

Revision history for this message
Chris Wilson (ickle) wrote :

Fixed in raring.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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