View Full Version : Compiz on FC5
sirkware
16th February 2006, 10:46 AM
Anybody have successfully installed compiz on fc5? It will really be cool running this on fc5..
dishkuvek
17th February 2006, 04:06 AM
I would like to try and start working on it... However, I have the flu right now and can't be bothered, Have you done anything as of this point?
sirkware
17th February 2006, 09:09 AM
I have successfully compiled it. I have installed all xorg libs including their devel packages. Also installed, libXcomposite, libXdamage, libXfixes, startup-notification, libICE and other required packages including their devel packages. However, no gnome-window-decorator and kde-window-decorator was compiled. Dont know what packages I am still missing. I am still searching how can I run it under KDE as its default window manager.
borgi2008
17th February 2006, 11:34 AM
Hello,
you could even try the redhat accelerated Xserver (Xair), you should look in the fedora-test-list there are instructions for the use of the application called "bling!". But i don't even get it to run perhaps because of my NVIDIA graphics card.
Borgi2008
sirkware
20th February 2006, 02:21 AM
Got this error when running compiz under KDE konsole:
./compiz: GLX_EXT_texture_from_pixmap is missing
./compiz: Failed to manage screen: 0
./compiz: No managable screens found on display :0.0
I have seen this error posted on other linux forums (Ubuntu forums), dont know how to fix this under fedora.
Templer
20th February 2006, 04:14 PM
have you looked in the gentoo Xgl howto? There is something in the troubleshooting section about it.
http://gentoo-wiki.com/XGL
tmccubbin
20th February 2006, 05:12 PM
Got this error when running compiz under KDE konsole:
./compiz: GLX_EXT_texture_from_pixmap is missing
./compiz: Failed to manage screen: 0
./compiz: No managable screens found on display :0.0
I have seen this error posted on other linux forums (Ubuntu forums), dont know how to fix this under fedora.
texture_from_pixmap is a required GLX extension for compiz to work...i'm looking for the exact place i read this, but i did...
i am currently trying to get the Xgl/compiz stack up on a FC4 box...i'll report as the compiles go fwd...
sirkware
21st February 2006, 02:13 AM
Hello,
you could even try the redhat accelerated Xserver (Xair), you should look in the fedora-test-list there are instructions for the use of the application called "bling!". But i don't even get it to run perhaps because of my NVIDIA graphics card.
Borgi2008
AIGLX already released..i think this is the application bling, right? Anybody have tried this on gnome? I am using kde so dont know if this will work too..
Here's the link..
http://www.linuxedge.org/
xynewboy
21st February 2006, 04:37 AM
I have tried bling, actually it's a little slow and can not be use in production env. I think it can only use ATI open source driver.
borgi2008
24th February 2006, 07:02 PM
Hello,
i got XGL running but it is very buggy with the closed source nvidia drivers because XV does not work. but it is kindly cool
Borgi2008
sirkware
28th February 2006, 01:55 AM
Can you please outline the steps you did to run xgl. I still got errors compiling xgl. I downloaded xserver-xorg at freedesktop.org and my compilation gives me this error:
checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto printproto xkbfile xfont xau fontenc xdmcp) were not met:
No package 'xkbfile' found
No package 'xfont' found
No package 'fontenc' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
tmccubbin
28th February 2006, 03:25 AM
I will post more details but to get Xgl & compiz up it is quite a bit of work on FC4 where i remain for the time being. That said, if you have a decent machine that you can leave compiling over night, it is very doable. Many of the things i did on FC4 will not be needed for FC5. So what did i do:
First, you need to follow the modular building instructions for Xorg which can be found at:
http://xorg.freedesktop.org/wiki/ModularDevelopersGuide
The important note is when checking out the xorg server component to use the tag xgl-0-0-1 or you will be getting the wrong server. You also need the latest Mesa source from CVS @sourceforge.
Ok make a build dir:
cd ~/usr/src/Xorg-devel
mkdir depends
cd depends
cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa login
cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa co Mesa
cd Mesa/
# make the thing CHANGE TARGET for your machine
make linux-x86
#now copy libs to Mesa lib area
# this is needed by compiz @ runtime
mkdir -p /opt/Xorg-devel/lib/Mesa
cp lib/* /opt/Xorg-devel/lib/Mesa/.
# ok lets grap the proper Xorg stuff
cd ../../
cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg login
cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg co app data doc driver font lib proto util
# get the correct version of Xgl
cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg co -r xgl-0-0-1 xserver
Now follow the instructions to build the myriad of libs, fonts, etc in the entire build. I used the build script format so for me this was:
./util/modular/build.sh -m /full/path/to/Mesa/CVS/Root -s /usr/bin/sudo /opt/Xorg-devel
MAKE SURE YOU HAVE THE LATEST GLITZ/CAIRO AND DEVEL PKGS OR XGL WILL NOT BE BUILT
Sorry to yell. Go have cofee, tea, whiskey, or whatever floats your boat.
The errors cited above re: missing reqs like
checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto printproto xkbfile xfont xau fontenc xdmcp) were not met:
No package 'xkbfile' found
No package 'xfont' found
No package 'fontenc' found
stem from not having all the stuff you need either installed or failing to have your PKG_CONFIG_PATH updated to reflect where these libs are found.
For me:
export PKG_CONFIG_PATH=/opt/Xorg-devel/lib/pkgconfig:$PKG_CONFIG_PATH.
Ok say everything worked and all the stuff installed. Getting closer :)
Make sure there is a /opt/Xorg-devel/bin/Xgl installed. If not, you likely don't have the latest cairo/glitz combo or their -devel packages. if not, install them, cd to xserver/xorg, run configure w/ the proper switches (you figure that out because you didn't listen above )
Ok, were getting close.
If you are still lagin' back on FC4, you will need a garnome or other update to your system to a recent gnome desktop that uses cairo for rendering. I used garnome2.12.3, and after a few easily solved problems had a gnome 2.12 desktop.
Ok, now you can get compiz:
cd ~/usr/src/Xorg-devel/
cvs -d :pserver:anonymous@cvs.freedesktop.org:/cvs/xorg login
cvs -d :pserver:anonymous@cvs.freedesktop.org:/cvs/xorg co compiz
cd compiz
./autogen.sh --prefix=/opt/Xorg-devel
# the output at the end will indicate if it found everything you need to build both
# the composite mgr and the gnome-window-decorator
make
sudo make install
You may need to adjust PATH, PKG_CONFIG_PATH, and LD_LIBRARY_PATH depending on your target dir. If anyone has ?'s about this, post and i'll clarify. Any daring sole doing this should probably already understand these things...check man/info pages :)
Ok, now you can log out to test. (if garnome make sure you use a different user as the settings in Gnome 2.10 will NOT work for 2.12+! )
console log in as the root user and init to level 3:
init 3
#or
telinit 3
Ok, become the new user or console login in another vty and try something like this:
# update PATH, LD_LIBRARY_PATH
export PATH=/opt/Xorg-devel/bin:$PATH
export LD_LIBRARY_PATH=/opt/Xorg-devel/lib:$LD_LIBRARY_PATH
xinit /path/to/gnome-session -- /opt/Xorg-devel/bin/Xgl :0
# You need to add the appropriate settings after the :0 depending on your video card
# for me (NVIDIA 6800) the line looked like:
xinit /opt/garnome/bin/gnome-session -- /opt/Xorg-devel/bin/Xgl -fullscreen -ac -accel glx:pbuffer -accel xv:pbo :0
#then start the compiz daemon making sure it finds the MESA LIBS!~!!
LD_LIBRARY_PATH=/opt/Xorg-devel/lib/Mesa:$LD_LIBRARY_PATH compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher
# if it doesn't find out where Mesa is it won't find the GL_EXT_texture_from_pixmap which is only available in the latest source!!!
#finally
gnome-window-decorator
Ok, this was from memory, and CTRL-R'ing the command line. There were some small bugs along the way, and likely small ommisions above...but the way-cool results are worth the effort - if you like fast fonts, and wicked cool effects and have some evenings to burn.
So when you run into problems post em' and i'll try and help. This is my first attempt at a tutorial so flame away...i'll get better in the future :)
-tom
sirkware
28th February 2006, 03:42 AM
Now, this is a very long road to take.
I'll give it a try and hope I can get to the end of this road.
xynewboy
1st March 2006, 08:18 AM
it's a hard work to compile XGL, I have install it in dapper f4, fairly easy actually.
borgi2008
3rd March 2006, 11:12 AM
Hello,
i use the rpms of opensuse:-) but it was not easy at all
iamroot
23rd March 2006, 04:58 AM
it's a hard work to compile XGL, I have install it in dapper f4, fairly easy actually.
How did u install XGL on FC4?
jonathanpeter
28th March 2006, 07:30 PM
I've installed compiz etc... etc...
When I do a compiz --replace gconf i get the following error message:
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :0.0
Could someone out there give me some very easy to follow instructions to resolve this problem.
Thanks very much.
asmodeus
29th March 2006, 02:53 PM
jonathanpeter, a way around that was posted here: http://fedoraforum.org/forum/showpost.php?p=480822&postcount=26 (in this thread: http://fedoraforum.org/forum/showthread.php?t=50427&page=2&pp=15&highlight=xgl)
On my install using the packages linked from that thread I'm lucky if it runs for 1 minute without crashing, and Xgl restarting. But while it runs it's quite neat. Although an Xgl livecd I tried never had any problems.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.