← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 371279] Re: CPU spin OR ioctl() freeze in xorg when visiting http://mundoplus.tv/ using -ati driver

 

I've mirrored their entire site and tried the files one by one, the offending item is:
http://mundoplus.tv/tpl/v3/panBR.png
Most likely because it's because this image has a pretty large height (8K pixels).

I've also kept a copy of that file (in case they change they site we can still run the repro:
http://pages.minimum.se/crashers/ddx_stressers/panBR.png

Further, I've also found that adding:
Option "EXANoUploadToScreen" "true"
in the device section of xorg.conf makes the bug go away. This means we can rule out the other EXA hooks (less lines of code in the driver to search in)

Finally, otaylor over at red hat confirmed this bug on a r500 chipset
running Fedora 10 so the range of affected hardware is most likely all
radeon r100 up to r500. F10 still dont have radeon-rewrite branch bits
so they couldn't record the GPU command buffer contents though.

** Description changed:

  -ati driver freezes (CPU spinning in X or an ioctl GPU lockup depending
  on whether compiz is OFF/ON).
  
  REPRO STEPS:
  1. (using firefox) visit website http://mundoplus.tv/
  
  Note: This bug goes away completely when you set "DRI" "off" or if you
- use "AccelMethod" "XAA".
+ use "AccelMethod" "XAA" or if you set "EXANoUploadToScreen" "true". The
+ bug also repros on Fedora10.
  
  When compiz is ON, this results in a GPU freeze, xorg bt shows it's
  permanently blocking on ioctl() and it takes 0% CPU.
  
  When compiz is OFF, this results in 100% CPU spin in xorg (Note: for dual machines this will show up as 50% CPU or 25% CPU for quad core), in this case repeated xorg bt sampling shows:
  #1  0xb7d35ea9 in ioctl () from /lib/tls/i686/cmov/libc.so.6
  #2  0xb7b30a6d in drmDMA () from /usr/lib/libdrm.so.2
  #3  0xb7aa1948 in .....SOME_FUNCTION_HERE...
  (and basically if you put breakpoints on these three top most stackframes it hits 1 and 2 but not ....SOME_FUNCTION... even though it seems that ....SOME_FUNCTION.... is different from different systems.
  
  Confirmed affected hardware:
  01:00.0 VGA compat: ATI Technologies Inc RV516 [Mobility Radeon
  X1350] (jlpino)
  01:00.0 VGA compat [0300]: ATI Technologies Inc RV350 AP [Radeon
  9600] [1002:4150] (mnemo, Tomasz Czapiewski)
  01:00.0 VGA compat [0300]: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro] [1002:4e48] (Luc Vigato)
  01:00.0 VGA compat [0300]: ATI Technologies Inc Radeon Mobility X1400 [1002:7145] (Thomas Lauckner, juhuu)
  01:00.0 VGA compat [0300]: ATI Technologies Inc M56P [Radeon Mobility X1600] [1002:71c5] (aya)
  01:00.0 VGA compat [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50] (Gobnuts on kubuntu)
  01:05.0 VGA compat [0300]: ATI Technologies Inc Radeon
  XPRESS 200M 5955 (PCIE) [1002:5955] (Wolfgang Jeltsch)
  01:00.0 VGA compat [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50] (doomsword)
+ also confirmed on radeon r500 chipset
  
  [ORIGINAL BUG REPORT]
  
  Binary package hint: xserver-xorg-video-ati
  
  In Ubuntu 8.10 I haven't problems with the 3D aceleration, but since I
  upgrade tu Jaunty my PC usually lockup and it don't answer when I press
  the keys (for example I cant access ttyN with ctrl+alt+N), however I can
  continue using the mouse  although pointer moves too slowly.
  
  This problem happens when I play some games (Supertuxkarts and Planet
  Penguin Rancer) but not with all (OpenArena works fine), and when I
  visit some websites like mundoplus.tv (I think that happens in this site
  because it uses jquery, with flash desactivated it happens too).
  
  My graphic card is X1350.
  pino@pino-hp6820s:~$ lspci | grep Radeon
  01:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Mobility Radeon X1350]
  
  I use radeon's module:
  pino@pino-hp6820s:~$ lsmod | grep radeon
  radeon                342816  3 
  drm                    96296  4 radeon
  
  
  Sorry for my bad English.

-- 
CPU spin OR ioctl() freeze in xorg when visiting http://mundoplus.tv/ using -ati driver
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu-X,
which is the registrant for xserver-xorg-driver-ati.