PDA

View Full Version : openSUSE 10.1 + ATI + compiz


imnotpc
November 12th, 2006, 10:29 PM
I'm doing a fresh install and trying to install compiz from source but i've come to a dead end and need some advice. I've installed the ATI fglrx driver and got it running fine. I downloaded compiz with git and configured it using the autogen script without any additional parameters. Compiz builds and installs without errors. I've installed xgl from the openSUSE factory repository.

When I try to start compiz from the command line I get the error: "No composite extension". So I edited my xorg.conf and added composite to the extensions section. Now compiz complains: "GLX_EXT_texture_from_pixmap is missing. When I run glxinfo it reports that Mesa is the renderer, there is no acceleration and, there is no GLX_EXT_texture_from_pixmap listed.

I've previously had the distro's xgl and compiz working just fine using this hardware and driver so that doesn't appear to be a problem. Any ideas what I need to do here?

openSUSE 10.1
x86_64
ATI Radeon X1300
fglrx 8.30.3
openSUSE factory xgl
current compiz source

cyberorg
November 13th, 2006, 04:50 AM
If you are using Xgl, then you need to build compiz by static link to mesa's libGL.a

Get the src.rpm from our repository: http://software.opensuse.org/download/X11:/XGL and see how its done.

Cheers!

-J

imnotpc
January 10th, 2007, 01:58 PM
I'm back working on this again but this time I'm using the svn sources on openSUSE 10.2. Still having the same issue though. I've tried various combinations of configure flags trying to get the static link to libGL.a to work without success. I'm not experienced with this and I could use another hint.

RYX
January 10th, 2007, 02:21 PM
Only to make it sure: Did you run the Xgl-server first and tried to launch compiz within Xgl? Maybe the gentoo XGL howto (http://gentoo-wiki.com/HOWTO_XGL) may help you ... (it's a little outdated).

:)

imnotpc
January 10th, 2007, 02:40 PM
XGL is installed and my setup works fine with packaged versions of compiz. I didn't check to see if xgl was running this try, but my display was very slow and in the past this has been a sign that xgl is running without compiz.

RYX
January 10th, 2007, 02:51 PM
It can be that you need to configure the installation with "configure --prefix=/usr". By default, the source install goes into /usr/local while nearly all packaged versions go into /usr ... I had trouble with that once before ...

If "ls /usr/share/compiz" AND "ls /usr/local/share/compiz" both give results, you most likely have two different and conflicting installations. In that case, simply run "make uninstall" on the source release and install again (with "configure --prefix=/usr ...")

(And I think I remember that Xgl had to run on DISPLAY=1 to make it work, at least on my laptop ...)

Hope that helps ...

:)

imnotpc
January 10th, 2007, 03:09 PM
It can be that you need to configure the installation with "configure --prefix=/usr".
Yeah, I'm doing that. I'll check to see if there are any other versions installed and delete them, but compiz --version gives me the correct svn version. I think my issue is that I'm not creating the static link to Mesa correctly in my configure statement and I've tried every combination I can think of.