Ubuntu

Comment 0 for bug 741284

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