ati R580 - Aug 2009 & compiz still does not work for me

Bug #399451 reported by Alexander Sack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Invalid
Unknown
compiz (Ubuntu)
Invalid
High
Unassigned
metacity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

Gnome Appearence refuses to switch to compiz.

when starting compiz manually on console, I see complains about software rasterizer; i forced compiz once, but that didnt help (ended up with 1 frame in 10 seconds or so); so here the console output:

Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1920x1200) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: present.
Software rasterizer detected, abortingaborting and using fallback: /usr/bin/metacity

ProblemType: Bug
Architecture: amd64
Date: Tue Jul 14 21:38:20 2009
DistroRelease: Ubuntu 9.10
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 003: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
 Bus 002 Device 002: ID 046d:c404 Logitech, Inc. TrackMan Wheel
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Package: xserver-xorg-video-ati 1:6.12.99+git20090709.43db263d-0ubuntu0sarvatt
ProcCmdLine: root=UUID=df6060e2-dc67-4838-a3b4-7e95dfe2c71d ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-2.17-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090714.59155f70-0ubuntu0sarvatt
 libdrm2 2.4.11+git20090710.3f3c5be6-0ubuntu0sarvatt2
 xserver-xorg-video-intel 2:2.7.99.902+git20090713.82905c7c-0ubuntu0sarvatt
 xserver-xorg-video-ati 1:6.12.99+git20090709.43db263d-0ubuntu0sarvatt
SourcePackage: xserver-xorg-video-ati
Uname: Linux 2.6.31-2-generic x86_64
dmi.bios.date: 12/07/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: KN9(NF-MCP55 series)
dmi.board.vendor: http://www.abit.com.tw/
dmi.board.version: 1.x
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd12/07/2006:svn:pn:pvr:rvnhttp//www.abit.com.tw/:rnKN9(NF-MCP55series):rvr1.x:cvn:ct3:cvr:
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-2-generic

Revision history for this message
Alexander Sack (asac) wrote :
summary: - ati R580 - Jul 2009 & compiz still does not work for me
+ ati R580 - Aug 2009 & compiz still does not work for me
Revision history for this message
Bryce Harrington (bryce) wrote :

I see in the Xorg.0.log that AIGLX is turned off:

(**) Option "AIGLX" "off"
(II) Module glx: vendor="X.Org Foundation"
 compiled for 1.6.2, module version = 1.0.0
 ABI class: X.Org Server Extension, version 2.0
(**) AIGLX disabled
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so

AIGLX is much better supported in -ati than -fglrx, so you should not need to disable it. In fact, this may be what is causing the sw rasterizer to be picked. Please test by moving aside your xorg.conf and restarting X, so it uses the built in defaults, and then attach your Xorg.0.log from that.

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexander Sack (asac) wrote :
Revision history for this message
Alexander Sack (asac) wrote :
Download full text (9.5 KiB)

Desktop effects still dont work, but output of compize has changed:

compiz
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1920x1200) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0

(metacity:32582): atk-bridge-WARNING **: NOATBRIDGE: (null)
damage_screen (XSR): 1 rects, bounds: 0,0 (1920,1200)
expose_area (XSR): 1 rects, bounds: 1319,25 (601,821)
expose_area (XSR): 1 rects, bounds: 0,846 (1920,329)
expose_area (XSR): 1 rects, bounds: 0,1175 (1920,25)
expose_area (XSR): 1 rects, bounds: 636,0 (1284,25)
expose_area (XSR): 1 rects, bounds: 636,25 (683,379)
expose_area (XSR): 1 rects, bounds: 0,404 (1319,442)
expose_area (XSR): 1 rects, bounds: 0,0 (636,404)
repair_win (XSR): 1 rects, bounds: 0,0 (1920,1200)
repair_win (XSR): 1 rects, bounds: -9,1168 (1938,43)
repair_win (XSR): 1 rects, bounds: -9,-7 (1938,43)
configure notify 0 1 1
 extents (XSR): null
 xy (0 25), wh (1329 850)
no extents to damage !
resize_win (XSR): 1 rects, bounds: -9,18 (1347,868)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (1347,868)
 xy (0 25), wh (1329 850)
Inexplicable intersection with new extents!
resize_win (XSR): 1 rects, bounds: -9,18 (1347,868)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (1347,868)
 xy (0 25), wh (1329 850)
Inexplicable intersection with new extents!
resize_win (XSR): 1 rects, bounds: -9,18 (1347,868)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (1347,868)
 xy (0 25), wh (1329 850)
Inexplicable intersection with new extents!
resize_win (XSR): 1 rects, bounds: -9,18 (1347,868)
repair_win (XSR): 1 rects, bounds: -109,-107 (19,19)
configure notify 0 1 1
 extents (XSR): null
 xy (0 25), wh (646 433)
no extents to damage !
resize_win (XSR): 1 rects, bounds: -9,18 (664,451)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (664,451)
 xy (0 25), wh (646 433)
Inexplicable intersection with new extents!
resize_win (XSR): 1 rects, bounds: -9,18 (664,451)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (664,451)
 xy (0 25), wh (646 433)
Inexplicable intersection with new extents!
resize_win (XSR): 1 rects, bounds: -9,18 (664,451)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (664,451)
 xy (0 25), wh (646 433)
Inexplicable intersection with new extents!
resize_win (XSR): 1 rects, bounds: -9,18 (664,451)
configure notify 0 1 1
 extents (XSR): 1 rects, bounds: -9,18 (664,451)
 xy (5 49), wh (646 433)
Inexplicable intersection with...

Read more...

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

Awesome thanks. What's going on here is that previously when you had AIGLX off, the system was using software rendering, which works but is very slow (and probably processor intensive) since it is all done in software. Compiz refuses to run with software rendering just as a matter of principle, so that's why it wasn't working. 3D games may work but will be *very* slow.

Now, you've got hardware acceleration enabled, but for some reason it is buggy. Now the compiz wrapper script actually allows the compiz.real binary to start, but it craps out due to a (real) driver bug. You may find other 3D applications also fail during startup.

The good news is now we have something we can forward upstream.

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

In chatting with upstream we've found a workaround and also identified it as not an X bug but rather a metacity bug that compiz is not working around properly.

<agd5f> asac: accoridng to google others fixed that problem by disabling metacity compositer
 gconftool-2 --type bool --set /apps/metacity/general/compositing_manager false
<asac> rock & roll ;) thanks guys
<otaylor> bryce: metacity bug, actually.
<Sarvatt> watch out for this bug if you're calling something with --replace on karmic with metacity the default WM asac: https://bugs.edge.launchpad.net/ubuntu/+source/metacity/+bug/389686
<otaylor> bryce: when it's asked to unmanage the screen it sets the selection owner of the compositor selection to None with a timestamp of CurrentTime, which is newer than the timestamp that compiz is trying to use to replace the window manager and compositing manager selections
<bryce> otaylor, wild, ok thanks.
<otaylor> See section 2.3.1 of the icccm for the specific recommendation that to give up ownership of a selectio you should use the timestamp you used to acquire it
<otaylor> bryce: http://bugzilla.gnome.org/show_bug.cgi?id=530702

affects: xserver-xorg-video-ati (Ubuntu) → compiz (Ubuntu)
Changed in compiz (Ubuntu):
importance: Undecided → High
status: Incomplete → New
Changed in xserver-xorg-driver-ati:
status: Unknown → Invalid
Revision history for this message
Travis Watkins (amaranth) wrote :

How is this a bug in compiz, exactly? Unlike other problems compiz might have with other programs metacity can be fixed and it should be pretty easy to do so. The only thing I can think of compiz could do here is use a timestamp sometime in the distant future but that hardly seems proper.

Revision history for this message
Travis Watkins (amaranth) wrote :

It looks like at this point this bug is actually the same as bug 178953 which I've actually got a fix for. Marking as dupe.

Changed in compiz (Ubuntu):
status: New → Invalid
Changed in metacity (Ubuntu):
status: New → Invalid
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.