Bug 522312

Summary: Radeon Test Day: fast cube rotation crashes compiz on HD3200 [1002:9610]
Product: [Fedora] Fedora Reporter: Stefan Becker <chemobejk>
Component: xorg-x11-drv-atiAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: awilliam, dcbw, luinnar, ploujj, robert, seanlkml, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.smolts.org/client/show/pub_aca10945-08f6-4f63-8b44-3a4892d089fa
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-27 08:07:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
X server log
none
dmesg log
none
dmesg log
none
xrandr --query --verbose log
none
X session error log none

Description Stefan Becker 2009-09-10 03:29:39 UTC
Created attachment 360410 [details]
X server log

Description of problem:

Fedora 12 Radeon Test Day 2009-09-09 with i686 LiveCD

GLX Test: frantic cube dragging with mouse crashes compiz

Version-Release number of selected component (if applicable):
kernel-2.6.31-0.219.rc9.git2.fc12.i686
xorg-x11-drv-ati-6.13.0-0.3.20090908git651fe5a47.fc12.i686
libdrm-2.4.12-0.9.fc12.i686
mesa-libGL-7.6-0.11.fc12.i686
compiz-0.8.2-14.fc12.i686

How reproducible:
always

Additional info:
smolt profile attached as URL.
No xorg.conf in use.

Comment 1 Stefan Becker 2009-09-10 03:30:06 UTC
Created attachment 360411 [details]
dmesg log

Comment 2 Stefan Becker 2009-09-10 03:30:32 UTC
Created attachment 360412 [details]
dmesg log

Comment 3 Stefan Becker 2009-09-10 03:31:03 UTC
Created attachment 360413 [details]
xrandr --query --verbose log

Comment 4 Stefan Becker 2009-09-10 03:32:51 UTC
Created attachment 360415 [details]
X session error log

Log shows crashes from 2 tries:

compiz: radeon_cs_gem.c:121: cs_gem_write_reloc: Assertion `bo->space_accounted' failed.
compiz: radeon_cs_gem.c:121: cs_gem_write_reloc: Assertion `bo->space_accounted' failed.

Comment 5 Dan Williams 2009-09-11 00:18:33 UTC
Does latest mesa make a difference:

http://koji.fedoraproject.org/koji/buildinfo?buildID=131131

that fixed this error for me on an r100-based T42...

Comment 6 Michael Ploujnikov 2009-09-11 02:43:08 UTC
(In reply to comment #5)
> Does latest mesa make a difference:
> 
> http://koji.fedoraproject.org/koji/buildinfo?buildID=131131
> 
> that fixed this error for me on an r100-based T42...  

I've experienced the same compiz crash while participating in the Radeon Test Day, but my rawhide LiveCD (http://adamwill.fedorapeople.org/20090909_test_day_images/testday-20090909-x86_64.iso) doesn't even have a mesa package installed (`rpm -q mesa` says "package mesa is not installed"). Should I still try installing this mesa package? Do I need to restart X to make the it take effect?

Comment 7 Stefan Becker 2009-09-11 02:57:33 UTC
(In reply to comment #6)
> I've experienced the same compiz crash while participating in the Radeon Test
> Day, but my rawhide LiveCD
> (http://adamwill.fedorapeople.org/20090909_test_day_images/testday-20090909-x86_64.iso)
> doesn't even have a mesa package installed (`rpm -q mesa` says "package mesa is
> not installed").

Try "rpm -qa mesa* glx*".

Comment 8 Stefan Becker 2009-09-11 03:02:04 UTC
(In reply to comment #5)
> Does latest mesa make a difference:
> 
> http://koji.fedoraproject.org/koji/buildinfo?buildID=131131

ID           131131
Package Name mesa
Version	     7.6
Release      0.11.fc12
...
mesa-libGL-7.6-0.11.fc12.i686.rpm

That's the same version as on the 20090909 LiveCD. This version just makes GLX work at all on r6xx.

Comment 9 Robert Laverick 2009-09-18 17:35:34 UTC
I see this error too, with rawhide x86_64 fully updated.

compiz: radeon_cs_gem.c:121: cs_gem_write_reloc: Assertion `bo->space_accounted' failed.

smolt: http://www.smolts.org/client/show/pub_3885987d-0be7-4cd3-9acf-adb1786960aa

crash report submitted: https://bugzilla.redhat.com/show_bug.cgi?id=524291

mesa-libGL-7.6-0.11.fc12.x86_64

Comment 10 Robert Laverick 2009-09-18 17:38:45 UTC
*** Bug 524291 has been marked as a duplicate of this bug. ***

Comment 11 Robert Laverick 2009-09-18 18:19:15 UTC
Still present with new mesa build:

mesa-libGLU-7.6-0.12.fc12.x86_64

Also doesn't seem to need "frantic cube dragging" on mine, just drag the cube up (mouse up) to view the bottom of the cube, crash occurs exactly when desktop rotates totally out of view

Comment 12 Adam Williamson 2009-09-21 15:56:38 UTC
*** Bug 523204 has been marked as a duplicate of this bug. ***

Comment 13 Robert Laverick 2009-09-26 15:46:41 UTC
This seems to have now been resolved as it no-longer occurs in my local copy of rawhide, neither viewing the bottom of the cube, nor alt tab causes the crash for me.

libdrm-2.4.14-1.fc12.i686
libdrm-2.4.14-1.fc12.x86_64
mesa-libGL-7.6-0.13.fc12.x86_64
compiz-0.8.2-15.fc12.x86_64
kernel-2.6.31-40.fc12.x86_64
mesa-libGL-7.6-0.13.fc12.i686
kernel-2.6.31-23.fc12.x86_64
kernel-2.6.31-33.fc12.x86_64

Comment 14 Stefan Becker 2009-09-27 08:07:40 UTC
Retested with

kernel-2.6.31.1-48.fc12.i686
xorg-x11-drv-ati-6.13.0-0.4.20090908git651fe5a47.fc12.i686
libdrm-2.4.14-1.fc12.i686
mesa-libGL-7.6-0.13.fc12.i686
mesa-dri-drivers-experimental-7.6-0.13.fc12.i686

GLX works nicely now.