Fedora Linux Support Community & Resources Center
  #1  
Old 16th February 2006, 10:46 AM
sirkware's Avatar
sirkware Offline
Registered User
 
Join Date: Jan 2006
Location: Philippines
Age: 34
Posts: 76
Compiz on FC5

Anybody have successfully installed compiz on fc5? It will really be cool running this on fc5..
__________________
Fedora Core 9 Sulfur
Eclipse WTP
QuantumDB 3.0.8 - an eclipse database plugin
  #2  
Old 17th February 2006, 04:06 AM
dishkuvek's Avatar
dishkuvek Offline
Registered User
 
Join Date: Dec 2005
Posts: 34
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?
  #3  
Old 17th February 2006, 09:09 AM
sirkware's Avatar
sirkware Offline
Registered User
 
Join Date: Jan 2006
Location: Philippines
Age: 34
Posts: 76
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.
__________________
Fedora Core 9 Sulfur
Eclipse WTP
QuantumDB 3.0.8 - an eclipse database plugin
  #4  
Old 17th February 2006, 11:34 AM
borgi2008 Offline
Registered User
 
Join Date: Jan 2005
Location: Germany
Age: 24
Posts: 42
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
__________________
My Last.fm
  #5  
Old 20th February 2006, 02:21 AM
sirkware's Avatar
sirkware Offline
Registered User
 
Join Date: Jan 2006
Location: Philippines
Age: 34
Posts: 76
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.
__________________
Fedora Core 9 Sulfur
Eclipse WTP
QuantumDB 3.0.8 - an eclipse database plugin
  #6  
Old 20th February 2006, 04:14 PM
Templer Offline
Registered User
 
Join Date: Feb 2006
Posts: 1
have you looked in the gentoo Xgl howto? There is something in the troubleshooting section about it.

http://gentoo-wiki.com/XGL
  #7  
Old 20th February 2006, 05:12 PM
tmccubbin Offline
Registered User
 
Join Date: Mar 2005
Location: MD
Posts: 6
Quote:
Originally Posted by sirkware
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...
  #8  
Old 21st February 2006, 02:13 AM
sirkware's Avatar
sirkware Offline
Registered User
 
Join Date: Jan 2006
Location: Philippines
Age: 34
Posts: 76
Quote:
Originally Posted by borgi2008
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/
__________________
Fedora Core 9 Sulfur
Eclipse WTP
QuantumDB 3.0.8 - an eclipse database plugin
  #9  
Old 21st February 2006, 04:37 AM
xynewboy Offline
Registered User
 
Join Date: Feb 2006
Posts: 3
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.
  #10  
Old 24th February 2006, 07:02 PM
borgi2008 Offline
Registered User
 
Join Date: Jan 2005
Location: Germany
Age: 24
Posts: 42
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
__________________
My Last.fm
  #11  
Old 28th February 2006, 01:55 AM
sirkware's Avatar
sirkware Offline
Registered User
 
Join Date: Jan 2006
Location: Philippines
Age: 34
Posts: 76
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.
__________________
Fedora Core 9 Sulfur
Eclipse WTP
QuantumDB 3.0.8 - an eclipse database plugin
  #12  
Old 28th February 2006, 03:25 AM
tmccubbin Offline
Registered User
 
Join Date: Mar 2005
Location: MD
Posts: 6
Thumbs up Getting XGL on FC4 / FC5

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:

Quote:
cd ~/usr/src/Xorg-devel
mkdir depends
cd depends
cvs -dserver:anonymous@pdx.freedesktop.org:/cvs/mesa login
cvs -dserver: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 server:anoncvs@anoncvs.freedesktop.org:/cvs/xorg login
cvs -d server:anoncvs@anoncvs.freedesktop.org:/cvs/xorg co app data doc driver font lib proto util
# get the correct version of Xgl
cvs -d server: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
Quote:
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:
Quote:
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:
Quote:
cd ~/usr/src/Xorg-devel/
cvs -d server:anonymous@cvs.freedesktop.org:/cvs/xorg login
cvs -d server: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:
Quote:
init 3
#or
telinit 3
Ok, become the new user or console login in another vty and try something like this:
Quote:
# 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 glxbuffer -accel xvbo :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
  #13  
Old 28th February 2006, 03:42 AM
sirkware's Avatar
sirkware Offline
Registered User
 
Join Date: Jan 2006
Location: Philippines
Age: 34
Posts: 76
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.
__________________
Fedora Core 9 Sulfur
Eclipse WTP
QuantumDB 3.0.8 - an eclipse database plugin
  #14  
Old 1st March 2006, 08:18 AM
xynewboy Offline
Registered User
 
Join Date: Feb 2006
Posts: 3
it's a hard work to compile XGL, I have install it in dapper f4, fairly easy actually.
  #15  
Old 3rd March 2006, 11:12 AM
borgi2008 Offline
Registered User
 
Join Date: Jan 2005
Location: Germany
Age: 24
Posts: 42
Hello,

i use the rpms of opensuse:-) but it was not easy at all
__________________
My Last.fm
 

Tags
compiz, fc5

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange GNOME compiz problem with AWN - compiz-gtk? jeffers_uk Using Fedora 1 19th March 2009 08:32 PM
getting a compiz error when running compiz-manager manuleka Installation and Live Media 0 28th February 2009 04:20 AM
F9 compiz-0.7.5 packages added to the compiz-fusion repo leigh123linux Alpha - Beta (Fedora 9 Only) 3 19th April 2008 01:08 AM
Fedora 7 +Intel965+ [Beryl, Compiz, Compiz-Fusion] Freezes bala04 Hardware & Laptops 0 15th September 2007 08:43 PM
GL Desktop/Gnome Compiz Manager - Adding to Compiz Axklor Guides & Solutions (No Questions) 1 24th February 2007 10:07 AM


Current GMT-time: 07:14 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat