Gentlemen. You can't fight in here. This is the Rant Room!
Sunday, March 21st, 2010
     
Illawarra Home HowTo Home  

Fedora Core 5 and XGL - DONE QUICK !!

Just remember that this is NOT stable software and is based on cvs snapshots. I have had success, as others have too with supported hardware, but i cannot guarantee this software will NOT mess up your workstation. Moreso, i would not consider the use of this software in a work environment as a good idea - something bad *might* happen; user beware. Just remember, it is YOUR choice to make use of this bleeding edge software or not.

Pssst. Read the news section.

Once again, is your card supported? http://gentoo-wiki.com/HARDWARE_Video_Card_Support_Under_XGL

For those that like to be self sufficient: specs here, cvs info here.

LEGEND:

# - run as root, or superuser, ( that is 'su -', not 'su' )
$ - run as the unpriviledged user you normally log in with.

If you come from another repo install of Xgl, etc; please remove those files before you try this guide; i cannot diagnose problems as a result of a mixture of packages that may conflict together !!

Look for solutions and answers at this brilliant site: http://www.compiz.net/

     
  Commands to run Notes
# init 3  
  ctrl+alt+F1 switch to virtual console 1
# rpm -ivh http://rpm.livna.org/livna-release-5.rpm  
     
  For Nvidia video cards: Ignore if you have an Ati card.
# yum install xorg-x11-drv-nvidia kmod-nvidia smp kernel? use: kmod-nvidia-smp
     
  For ATI video cards:
# yum install xorg-x11-drv-fglrx kmod-fglrx smp kernel? use: kmod-fglrx-smp
     
  Guide continued for all cards:  
# yum install glx-utils Simple test to see if you have hardware acceleration enabled and working.
# glxinfo | grep direct If you get something like 'direct rendering: Yes' then you're good with the video drivers.
# rpm -ivh http://www.illawarra.org/linux/sam-repo-5-2.fc5.noarch.rpm Continued for both.
# yum install xorg-x11-server-Xgl sam-switch compiz-quinn remove '-quinn' for vanilla compiz
    Please install either compiz OR compiz-quinn; not both!!
# init 5  
  ctrl+alt+F7 switch back to x11 if needed
   
# sam-switch Run this to configure and start Xgl. Note: gui problems? Reset with 'sam-switch x11'.
     
  Change compiz plugin settings and key bindings?  
     
  The new kid on the block is csm - use it, report bugs on http://compiz.net  
     
# yum install csm-quinn  
$ csm Tick all the plugins on the main page that you would like to enable.
     
  Each of the these three editors have their individual strengths and weaknesses. Try them all to see what works and what does not. As annoying as it is to have to switch between the three, it should suffice.  
# yum install gset-compiz gconf-editor  
$ gset-compiz Tick all the plugins on the main page that you would like to enable.
    You *may* need to kill current session due to some plugins.< ctrl > < alt> < backspace >
$ gconf-editor Use this tool along side or instead of gset-compiz
$ compiz-settings ( hint: right click and save; untar and run with ./compiz-settings.py
# yum install gnome-python2-gconf compiz-settings requires this package to run.
     
  Custom Generic Window Decorator (cgwd), gcompizthemer, and themes !!  
# yum install cgwd cgwd-themes Use cgwd and cgwd-themes with compiz-quinn
# sam-switch settings Need to enable cgwd option in the script.
# sam-switch x11 Drops current session - need to do this first to remove stale / current Xgl settings
# sam-switch xgl This will drop your current session and put you at login prompt.
$ gcompizthemer You may need to append dbus-launch if it does not work.
     

Problems? Success? Let me know.

http://en.opensuse.org/Compiz

^for some tips on vanilla compiz and what keys do what and where.. enjoy!

Cannot run opengl games under Xgl? Try this out, it rocks: http://xgame.tlhiv.org/ ( site down? ) Local source: here. ( hint: right click and save; put it in ~/bin ) and run it ( xgame )

Another method is to < ctr >< alt >< f1 > log in as unpriviledged user $ xinit /path/to/game/executable -- :3

Credits and references:

http://en.opensuse.org/Using_Xgl_on_SUSE_Linux
http://ghaefb.rebootcomic.com/?page_id=41
http://www.fedora-france.org/modules/newbb/viewtopic.php?topic_id=11826&forum=22
https://wiki.ubuntu.com/CompositeManager/Xgl/NestedXgl
http://compiz.net
http://rpm.livna.org

Apparently there are some clueful people on chat.freenode.net #xgl

Page rendered in 0.0733 seconds