Compiz fails to run when not using fglrx, if the fglrx package is installed

Bug #98940 reported by Tim Fisken
4
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

When trying to run compiz with the i810 driver and AIGLX, but also with xorg-driver-fglrx installed, compiz fails, reporting that non-power-of-two textures are not supported. The problem here seems to be that xorg-driver-fglrx replaces libGL.so.1.2 with its own version, that does not support non-power-of-two textures; removing xorg-driver-fglrx solves the problem.

 However, this solution is not immediately obvious, and it would be good if the compiz wrapper script was updated to use the correct version of libGL.so.1.2 . The wrapper script currently only checks if /usr/lib/fglrx/libGL.so.1.2.xlibmesa (i.e., the version with non-power-of-two texture support) exists if it is being run under Xgl; but it ought to check if this file exists in any case, because one might have xorg-driver-fglrx installed even though one wasn't actually using the fglrx drivers and Xgl (I imagine it is particularly likely that people using the open source radeon drivers would also have the fglrx drivers installed). I attach a patch (it's trivial) to the compiz wrapper that checks for /usr/lib/fglrx/libGL.so.1.2.xlibmesa whether or not one is running under Xgl.

The wrapper also checks for Xgl before checking for libraries redirected by the nvidia drivers; possibly, the check for Xgl should be removed in this case, too.

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

3D will not work at all if you use the open source driver but have fglrx installed. Well, as you've seen it'll work if you do LD_PRELOAD tricks but you'd have to do that for every single 3D app. This is not a supported configuration.

Changed in compiz:
status: Unconfirmed → Rejected
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.