Bug 25882

Summary: Cannot enable compiz with rv100 and KMS with Linux 2.6.32.2
Product: xorg Reporter: Chris Rankin <rankincj>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: cornogle
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Chris Rankin 2010-01-04 03:35:21 UTC
This is with F12 userspace and the stock 2.6.32.2 kernel:

[drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0 needs 250880 bytes but is 4096
[drm:r100_cs_track_texture_print] *ERROR* pitch                      5120
[drm:r100_cs_track_texture_print] *ERROR* use_pitch                  1
[drm:r100_cs_track_texture_print] *ERROR* width                      1280
[drm:r100_cs_track_texture_print] *ERROR* width_11                   2048
[drm:r100_cs_track_texture_print] *ERROR* height                     49
[drm:r100_cs_track_texture_print] *ERROR* height_11                  2048
[drm:r100_cs_track_texture_print] *ERROR* num levels                 0
[drm:r100_cs_track_texture_print] *ERROR* depth                      0
[drm:r100_cs_track_texture_print] *ERROR* bpp                        4
[drm:r100_cs_track_texture_print] *ERROR* coordinate type            0
[drm:r100_cs_track_texture_print] *ERROR* width round to power of 2  0
[drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 0
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Compiz does not run.
Comment 2 Chris Rankin 2010-01-11 13:59:27 UTC
(In reply to comment #1)
> Can you try mesa from git master or the 7.7 branch?  Dave fixed some issues
> there:

OK, but is mesa-git compatible with F12's libdrm-2.4.15-8.fc12.i686 package, please? Or do I need to upgrade both libdrm and xf86-drv-ati as well?

The machine with an r100 in is not mine, and I'd rather not create a mess that will be too painful to repair ;-).
Comment 3 Chris Rankin 2010-01-13 14:54:16 UTC
(In reply to comment #1)
> Can you try mesa from git master or the 7.7 branch?  Dave fixed some issues
> there:

I patched these one-liners into Fedora's SRPM, and still couldn't enable compiz. The dmesg errors were identical, too. Mind you, one patch was only for radeon_tcl.c, and my rv100 card doesn't have hardware TCL. And the other patch seemed to be fixing the non-KMS path, and I have KMS enabled.

Oh well...
Comment 4 Chris Rankin 2010-01-23 11:54:25 UTC
I have now successfully enabled compiz with the following configuration:

Stock Linux kernel 2.6.32.5

And Fedora 12 packages:
mesa-dri-drivers-7.7-2.fc12.i686
mesa-libGL-7.7-2.fc12.i686
libdrm-2.4.17-1.fc12.i686
xorg-x11-drv-ati-6.13.0-0.20.20091221git4b05c47ac.fc12.i686

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.