IBM Thinkpad T40 - Video ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

Bug #353996 reported by Rolando Blanco
2
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
Undecided
Bryce Harrington

Bug Description

Binary package hint: xorg

Hi, well this is my second time, trying to migrate to Jaunty 9.04. But still having the same problem, the IBM Thinkpad T40 - Video ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] is not working properly, in fact it's very slow, and use the Xorg process between 20% to 99% of my CPU.

In Intrepid 8.10 it works perfectly, now I will attach some files than may be can help.

Please let me know how can I help to fix it.

----
rolando@defiant:~$ lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 81)
--

Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :

rolando@defiant:~$ iostat
Linux 2.6.28-11-generic (defiant) 02/04/09 _i686_ (1 CPU)

avg-cpu: %user %nice %system %iowait %steal %idle
          33,23 1,08 8,02 2,45 0,00 55,52

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 9,98 251,25 166,82 950598 631168
sda1 0,30 18,42 0,03 69682 120
sda2 6,26 202,46 133,00 766006 503208
sda3 0,01 0,47 0,24 1768 904
sda4 3,40 29,82 33,55 112822 126936
sr0 0,01 0,29 0,00 1080 0
---
rolando@defiant:~$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r b swpd free buff cache si so bi bo in cs us sy id wa
 6 0 920 87976 72024 364140 0 0 124 83 435 971 34 8 55 2
---
rolando@defiant:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
---
rolando@defiant:~$ uname -a
Linux defiant 2.6.28-11-generic #39-Ubuntu SMP Thu Apr 2 03:00:35 UTC 2009 i686 GNU/Linux
---

Revision history for this message
Bryce Harrington (bryce) wrote :

> Please let me know how can I help to fix it.

Hi Rolando,

Thanks for your willingness to help improve things. Thanks for attaching lspci info, however with X bugs what is really needed is the Xorg.0.log. Also, I tend to prefer 'lspci -vvnn' data since it includes all of the info in a nicely ordered format; however we can piece together all of the pci info from what you've posted, so that's good to go.

More importantly, I notice you mention high CPU usage by the Xorg process. Ironically, high X cpu usage usually indicates a bug in something *other* than X. The X process is just a server so is responding to actions from some other client program. If it misbehaves and has a poor algorithm that drives X too hard, it shows up as a high X cpu load but it is really the client program, not X, that is to blame.

See https://wiki.ubuntu.com/X/Troubleshooting/HighCPU for more details about this. Meantime, I am unassigning xorg as the bugged package. You can follow the guidance in that document to determine which program is causing the load.

affects: xorg (Ubuntu) → ubuntu
Ed ODonnell (edodonnell)
affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Rolando Blanco (rolando) wrote : Re: [Bug 353996] Re: IBM Thinkpad T40 - Video ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
Download full text (4.1 KiB)

Hi!, thanks for answer, well i found it

I saw that the CPU still very hig, then check with top and found it:

--
top - 22:08:28 up 1:19, 2 users, load average: 2.58, 1.75, 1.31
Tasks: 138 total, 1 running, 137 sleeping, 0 stopped, 0 zombie
Cpu(s): 44.9%us, 12.6%sy, 41.5%ni, 0.0%id, 0.0%wa, 0.3%hi, 0.7%si,
0.0%st
Mem: 1026036k total, 984660k used, 41376k free, 34612k buffers
Swap: 3020212k total, 1604k used, 3018608k free, 429696k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
14593 rolando 39 19 75612 16m 7696 S 47.9 1.6 0:01.62
gnome-video-thu
 3485 root 20 0 146m 41m 9.8m S 28.1 4.2 7:19.20
Xorg
---

Please, see how the Process 14593 take 47% of the CPU, and make that Xorg
goes to 29%

I did check the 14593 with a pstree I found it:
---

rolando@defiant:~$ pstree
init─┬─NetworkManager─┬─dhclient
     │ └─{NetworkManager}
     ├─acpid
     ├─atd
     ├─avahi-daemon───avahi-daemon
     ├─bluetoothd
     ├─bonobo-activati───{bonobo-activati}
     ├─clamd───{clamd}
     ├─compiz───compiz.real───sh───compiz-decorato───gtk-window-deco
     ├─console-kit-dae───63*[{console-kit-dae}]
     ├─cron
     ├─cupsd
     ├─2*[dbus-daemon]
     ├─dbus-launch
     ├─dd
     ├─exim4
     ├─fast-user-switc
     ├─firefox───9*[{firefox}]
     ├─freshclam
     ├─gconfd-2
     ├─gdm───gdm─┬─Xorg
     │ └─x-session-manag─┬─bluetooth-apple
     │ ├─gnome-do───gnome-do───3*[{gnome-do}]
     │ ├─gnome-panel
     │
├─nautilus─┬─gnome-video-thu───2*[{gnome-vid+
     │ │ └─2*[{nautilus}]
     │ ├─nm-applet
     │ ├─4*[python]
     │ ├─seahorse-agent
     │ ├─ssh-agent
     │ ├─tracker-applet
     │ ├─trackerd
     │ ├─update-notifier
     │ ├─vino-server
     │ └─{x-session-manag}
     ├─6*[getty]
     ├─gnome-keyring-d
     ├─gnome-netstatus
     ├─gnome-power-man
     ├─gnome-screensav
     ├─gnome-settings-───{gnome-settings-}
     ├─gnome-terminal─┬─bash───pstree
     │ ├─gnome-pty-helpe
     │ └─{gnome-terminal}
     ├─gvfs-fuse-daemo───4*[{gvfs-fuse-daemo}]
     ├─gvfs-gphoto2-vo
     ├─gvfs-hal-volume───{gvfs-hal-volume}
     ├─gvfsd
     ├─gvfsd-burn
     ├─gvfsd-trash
     ├─hald───hald-runner─┬─hald-addon-acpi
     │ ├─hald-addon-cpuf
     │ ├─hald-addon-gene
     │ ├─hald-addon-inpu
     │ ├─hald-addon-ipw-
     │ ├─hald-addon-leds
     │ └─hald-addon-stor
     ├─klogd
     ├─mdadm
     ├─mixer_applet2───{mixer_applet2}
     ├─nm-system-setti
     ├─notify-osd
     ├─pulseaudio─┬─gconf-helper
     │ └─2*[{pulseaudio}]
     ├─sshd
     ├─syslogd
     ├─system-tools-ba
     ├─tracker-indexer
     ├─3*[transmission]
     ├─transmission───{transmission}
     ├─udevd
   ...

Read more...

Revision history for this message
Rolando Blanco (rolando) wrote :
Download full text (10.9 KiB)

Well I did check and found that the process than was elevated use, I saw
that I did have open a window that have a some videos downloading. Then when
it refresh, this proccess goes up.

I did close it, but then now is the Xorg that goes Up, when use the compiz
effects

--
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
 3485 root 20 0 150m 47m 9464 R 81.4 4.7 21:13.17
Xorg
--

init─┬─NetworkManager─┬─dhclient
     │ └─{NetworkManager}
     ├─acpid
     ├─atd
     ├─avahi-daemon───avahi-daemon
     ├─bluetoothd
     ├─bonobo-activati───{bonobo-activati}
     ├─clamd───{clamd}
     ├─compiz───compiz.real───sh───compiz-decorato───gtk-window-deco
     ├─console-kit-dae─┬─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ├─{console-kit-dae}
     │ ...

Revision history for this message
Bryce Harrington (bryce) wrote :

Why did you reassign this back to xorg, when you have identified what causes the high cpu in your comment #7?

Bryce Harrington (bryce)
Changed in xorg (Ubuntu):
status: New → Won't Fix
Revision history for this message
Rolando Blanco (rolando) wrote :

Sorry Bryce, but I wasn't I did not change it, in fact, I'm updating my
system to update this case.

2009/4/10 Bryce Harrington <email address hidden>

> ** Changed in: xorg (Ubuntu)
> Status: New => Won't Fix
>
> --
> IBM Thinkpad T40 - Video ATI Technologies Inc Radeon Mobility M7 LW [Radeon
> Mobility 7500]
> https://bugs.launchpad.net/bugs/353996
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Saludos Fraternos Ubunteros!
________________________________________________________________
"No pases la vida tratando de hacer trabajar a tu computador,...
  ...haz que tu computador trabaje para ti, usa GNU/LINUX"
________________________________________________________________
Rolando F. Blanco C:. (Ubuntu Member)
User: 399645 (GNU) Ubuntu: 3715
http://www.blanco.net.ve/
Ubuntu 8.10 (Intrepid)
OpenPGP keys: C8AE2B70, B2B9CB3C, 52B9C66F
_______________________________________________________________
ubuntu | ウブントゥ | اُبونتو | उबुन्तु |

Revision history for this message
Rolando Blanco (rolando) wrote :

Hi,

Today I did receive my Jaunty Disk, well, then I did try to install it in my computer again, but when I did finish, I saw that the same BUG still there.

I'm attaching the Xorg.0.log file and will read all about https://wiki.ubuntu.com/X/Troubleshooting/HighCPU for more details

Revision history for this message
Rolando Blanco (rolando) wrote :

rolando@rolando:~$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20061018 AGP 4x x86/MMX/SSE2 TCL

Attaching the OLD file of the Xorg.0.log.old

Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :
Revision history for this message
Rolando Blanco (rolando) wrote :

Hi, I did disable the Compiz and try again with the wallpaper change and have the same problem

Changed in xorg (Ubuntu):
status: Won't Fix → New
Rolando Blanco (rolando)
tags: added: 7500 ati ibm inc lw m7 mobility radeon t40 technologies thinkpad video
Rolando Blanco (rolando)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Rolando Blanco (rolando)
Changed in xserver-xorg-video-ati (Ubuntu):
assignee: nobody → Andreas Mendyk (ubuntu-x)
assignee: Andreas Mendyk (ubuntu-x) → Bryce Harrington (bryceharrington)
Revision history for this message
Rolando Blanco (rolando) wrote :

I did try to fix the xorg.conf but nothing help yet, I will post the last Xorg.0.log

Revision history for this message
Rolando Blanco (rolando) wrote :

Well. Finally I found the way to make works it.

I did change the /etc/X11/xorg.conf file, Now it's working fine

Let me show you: with this configuration the system is working like with Intrepid.

Section "Device"
 Identifier "Configured Video Device"
 Boardname "ATI Radeon"
 Busid "PCI:1:0:0"
 Driver "radeon"
 Screen 0
 Vendorname "ATI"
 Option "MergedFB" "off"
 Option "AccelMethod" "EXA"
 Option "EXANoComposite" "false"
 Option "FBTexPercent" "50"
 Option "MigrationHeuristic" "greedy"
 Option "DRI" "true"
 Option "GARTSize" "256"
 Option "AGPMode" "4"
 Option "Colortiling" "On"
EndSection

Section "DRI"
 Mode 0666
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 screen 0 "Default Screen" 0 0
 Option "AIGLX" "true"
EndSection

Section "Extensions"
 Option "Composite" "Enable"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

Revision history for this message
Rolando Blanco (rolando) wrote :

I did change the xorg.conf with this configuration (attached) and all works fine

Changed in xserver-xorg-video-ati (Ubuntu):
assignee: Bryce Harrington (bryceharrington) → Rolando F. Blanco C:. (rolando)
status: New → Fix Committed
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Forwarding this bug from Ubuntu:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/353996

[Problem]
Poor performance with Xorg process CPU load between 20%-99%. Resolved after setting AGPMode 4 (and a few other things... see xorg.conf).

[Original Report]
Binary package hint: xorg

Hi, well this is my second time, trying to migrate to Jaunty 9.04. But still having the same problem, the IBM Thinkpad T40 - Video ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] is not working properly, in fact it's very slow, and use the Xorg process between 20% to 99% of my CPU.

In Intrepid 8.10 it works perfectly, now I will attach some files than may be can help.

Please let me know how can I help to fix it.

<later>
Well. Finally I found the way to make works it.

I did change the /etc/X11/xorg.conf file, Now it's working fine

Let me show you: with this configuration the system is working like with Intrepid.

Section "Device"
 Identifier "Configured Video Device"
 Boardname "ATI Radeon"
 Busid "PCI:1:0:0"
 Driver "radeon"
 Screen 0
 Vendorname "ATI"
 Option "MergedFB" "off"
 Option "AccelMethod" "EXA"
 Option "EXANoComposite" "false"
 Option "FBTexPercent" "50"
 Option "MigrationHeuristic" "greedy"
 Option "DRI" "true"
 Option "GARTSize" "256"
 Option "AGPMode" "4"
 Option "Colortiling" "On"
EndSection

Section "DRI"
 Mode 0666
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 screen 0 "Default Screen" 0 0
 Option "AIGLX" "true"
EndSection

Section "Extensions"
 Option "Composite" "Enable"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

----
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=28232)
Xorg.0.log

Revision history for this message
In , Bryce Harrington (bryce) wrote :

I notice in -ati's AGPMode quirk table that this hostbridge already has a number of quirks against it, so am guessing that setting in his xorg.conf is fairly necessary; setting the migrationmode to greedy probably also helped considerably in restoring the performance but that's a separate issue.

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=28233)
109_quirk_agpmode_m7_intel.patch

This patch is against 6.12.99+git20090629.f39cafc5.

[I'd commit myself, but I'm still waiting on bug 20373 to get access.]

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
assignee: Rolando F. Blanco C:. (rolando) → Bryce Harrington (bryceharrington)
status: Fix Committed → In Progress
Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , agd5f (agd5f) wrote :

committed:
e3659ed06fc5bb8817f1dbd7c2d6bc94c67b30f7

As for the performance issues with EXA on cards with limited vram, see:
f564460e94c9d0f1cf3ff4b8535481b2b8b4e9c1

Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

I included a quirk patch for this bug in the most recent -ati update in karmic.

Changed in xserver-xorg-video-ati (Ubuntu):
status: In Progress → Fix Released
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
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.