Page 1 of 2

The How To For Video Drivers????????? [SOLVED]

PostPosted: Sat Oct 20, 2007 4:48 pm
by smuggly
I get it but in my x11/xorg conf file instead of screen it says display is there a difference? also do i need to come out of my dri? Im using a kvm switch with only vga so i can run 2 computers.Probobly Cant do it.Im headed for beryl effects if possible.

ATI 9600 Video Card Thanx Tom

Sorry for editing your post Smuggly, but this has been resolved thanks to drama's ATI how to.

Re: The How To For Video Drivers?????????

PostPosted: Sun Oct 21, 2007 2:50 pm
by betrion
I had that card, and it's a lot easier to get fglrx on it then on my current one...Most of the tutorials I've visited have something missing..
EDIT: NEW ATI DRIVERS ARE OUT WHICH SUPPORT AIGLX, SO YOU DO NOT NEED XGL FOR DESKTOP EFFECTS. ENJOY. :lol:
Anyways here is how i did it. First open up terminal and type:
Code: Select all
sudo gedit /etc/default/linux-restricted-modules-common

Add "fglrx" to the line "DISABLED_MODULES" like this:
DISABLED_MODULES="fglrx"

Then you need to disable composite (I'm not sure if you have to but lets be sure :D)
Code: Select all
sudo gedit /etc/X11/xorg.conf

Add the following to end:
Code: Select all
Section "Extensions"
        Option  "Composite" "Disable"
EndSection

Section "ServerFlags"
        Option  "AIGLX" "off"
EndSection

Now its time to use the wonderful script called envy(applications/system tools/envy)(if you lost envy some way sudo apt-get install envy..). Now select install ATI driver manually and select new version 8.40.4.
Sit back and relax it is a 50mb package wait for it to install and when it asks permission to write xorg.conf say yes to it. Now YOU MUST RESTART(very important i didn't do this before and i would always mess it up).
When you boot back up you need to type this into terminal to enable the fglrx driver:
sudo depmod -a

Please REBOOT again. When you have booted back type fglrxinfo in terminal and hopefully you should see:
Code: Select all
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon blah blah..
OpenGL version string: 2.0.6747 (8.40.4)

If you succeeded in this driver installation we can then proceed to xgl/compiz installation, if not, well... :evil:
XGL
first get the xgl:
sudo apt-get install xserver-xgl

Now create a session:
gksudo gedit /usr/bin/startxgl.sh

Now if you want GNOME enviroment with xgl paste this:
Code: Select all
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
dbus-launch --exit-with-session gnome-session

if you want kde paste this:
Code: Select all
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec startkde

alternatively, if you wante XFCE:
Code: Select all
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec xfce4-session

Save the file and make it executable with sudo chmod +x /usr/bin/startxgl.sh
Now terminal again
gksudo gedit /usr/share/xsessions/xgl.desktop

Paste this(change it's name if you want):
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application

Save it, and REBOOT YOUR COMPUTER!!! VERY important or else you will get glitchy display when logging in to xgl.
Once rebooted and in session manager, select the session menu and choose XGL from it. Now hopefully you got into your preferred environment and have xgl on. To test if XGL is working type glxinfo in console and scroll up a bit and you should see:
direct rendering: No

This is perfectly normal, because xgl takes all the graphic card for itself. Now you can hopefully use beryl/compiz or whatever. You cant play games with ati card when in xgl(maybe some you can play but a lot of bugs) thats why i guided you to making xgl a session. I hope this helps.
BTW, use the compiz package from Ultimate repository, do not upgrade to newer. Whenever i tried to upgrade emerald would stop working and i would see no borders.

Re: The How To For Video Drivers?????????

PostPosted: Sun Oct 21, 2007 8:44 pm
by smuggly
Thats Alot Of Stuff !Thanks For It I,ll Try It Tommorrow After Work.
Ill Let Ya Know Thanx Alot....Tom

Re: The How To For Video Drivers?????????

PostPosted: Mon Oct 22, 2007 10:39 am
by TheeMahn
betrion wrote:I had that card, and it's a lot easier to get fglrx on it then on my current one...Most of the tutorials I've visited have something missing..
Anyways here is how i did it. First open up terminal and type:
Code: Select all
sudo gedit /etc/default/linux-restricted-modules-common

Add "fglrx" to the line "DISABLED_MODULES" like this:
DISABLED_MODULES="fglrx"

Then you need to disable composite (I'm not sure if you have to but lets be sure :D)
Code: Select all
sudo gedit /etc/X11/xorg.conf

Add the following to end:
Code: Select all
Section "Extensions"
        Option  "Composite" "Disable"
EndSection

Section "ServerFlags"
        Option  "AIGLX" "off"
EndSection

Now its time to use the wonderful script called envy(applications/system tools/envy). Now select install ATI driver manually and select new version 8.40.4.
Sit back and relax it is a 50mb package wait for it to install and when it asks permission to write xorg.conf say yes to it. Now YOU MUST RESTART(very important i didn't do this before and i would always mess it up).
When you boot back up you need to type this into terminal to enable the fglrx driver:
sudo depmod -a

Please REBOOT again. When you have booted back type fglrxinfo in terminal and hopefully you should see:
Code: Select all
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon blah blah..
OpenGL version string: 2.0.6747 (8.40.4)

If you succeeded in this driver installation we can then proceed to xgl/compiz installation, if not, well... :evil:
first get the xgl:
sudo apt-get install xserver-xgl

Now create a session:
gksudo gedit /usr/bin/startxgl.sh

Now if you want GNOME enviroment with xgl paste this:
Code: Select all
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
dbus-launch --exit-with-session gnome-session

if you want kde paste this:
Code: Select all
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec startkde

alternatively, if you wante XFCE:
Code: Select all
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec xfce4-session

Save the file and make it executable with sudo chmod +x /usr/bin/startxgl.sh
Now terminal again
gksudo gedit /usr/share/xsessions/xgl.desktop

Paste this(change it's name if you want):
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application

Save it, and REBOOT YOUR COMPUTER!!! VERY important or else you will get glitchy display when logging in to xgl.
Once rebooted and in session manager, select the session menu and choose XGL from it. Now hopefully you got into your preferred environment and have xgl on. To test if XGL is working type glxinfo in console and scroll up a bit and you should see:
direct rendering: No

This is perfectly normal, because xgl takes all the graphic card for itself. Now you can hopefully use beryl/compiz or whatever. You cant play games with ati card when in xgl(maybe some you can play but a lot of bugs) thats why i guided you to making xgl a session. I hope this helps.
BTW, use the compiz package from Ultimate repository, do not upgrade to newer. Whenever i tried to upgrade emerald would stop working and i would see no borders.


Thank you for taking the time to help out a fellow user, kudos brother, sorry I don't have the time to respond to every post and ATI is really my downfall I don't have a ATI card in this house and have 5 or 6 comps.
Had to modify your post there may be children here removed the vulgarity, nothing personal did not offend me but I do have to think of others.

Thanks again,

TheeMahn

Re: The How To For Video Drivers?????????

PostPosted: Tue Oct 23, 2007 2:42 pm
by betrion
TheeMahn wrote:Thank you for taking the time to help out a fellow user, kudos brother, sorry I don't have the time to respond to every post and ATI is really my downfall I don't have a ATI card in this house and have 5 or 6 comps.
Had to modify your post there may be children here removed the vulgarity, nothing personal did not offend me but I do have to think of others.

Thanks again,

TheeMahn

No problem man, and I'm sorry for a little bit of vulgarity (my bad english...), anyways if smuggly tests it and finds the tutorial to be correct, maybe you could post it in faqs, so you wouldn't have to deal with ATI users? I want to help in any way possible.
Cheers!

Re: The How To For Video Drivers?????????

PostPosted: Thu Oct 25, 2007 8:57 am
by TheeMahn
betrion wrote:
TheeMahn wrote:Thank you for taking the time to help out a fellow user, kudos brother, sorry I don't have the time to respond to every post and ATI is really my downfall I don't have a ATI card in this house and have 5 or 6 comps.
Had to modify your post there may be children here removed the vulgarity, nothing personal did not offend me but I do have to think of others.

Thanks again,

TheeMahn

No problem man, and I'm sorry for a little bit of vulgarity (my bad english...), anyways if smuggly tests it and finds the tutorial to be correct, maybe you could post it in faqs, so you wouldn't have to deal with ATI users? I want to help in any way possible.
Cheers!



Great Idea and thanks, I will give you credit there.

Re: The How To For Video Drivers?????????

PostPosted: Sat Nov 10, 2007 2:19 pm
by Epic
Is there a way anyone could make a guide on how to install the AIGLX driver with compiz fusion?
Making a separate session that uses compiz and one that doesn't. Thanks for this guide with fglrx but, I think using xgl uses too many resources.

Re: The How To For Video Drivers?????????

PostPosted: Sun Nov 11, 2007 4:22 am
by drama
Epic wrote:Is there a way anyone could make a guide on how to install the AIGLX driver with compiz fusion?
Making a separate session that uses compiz and one that doesn't. Thanks for this guide with fglrx but, I think using xgl uses too many resources.


im not exactly sure how to add sessions. but if you want an easy way to switch between using the eye candy and using standard effects you can do that with beryl. at least thats how i do it. if you load beryl and right click the icon in the panel it will let you choose between using compiz, beryl or metacity (the standard window manager).

p.s. sorry if i misunderstood your question.

Re: The How To For Video Drivers?????????

PostPosted: Sun Nov 11, 2007 11:02 am
by DaddyX3
drama1981 wrote:
Epic wrote:Is there a way anyone could make a guide on how to install the AIGLX driver with compiz fusion?
Making a separate session that uses compiz and one that doesn't. Thanks for this guide with fglrx but, I think using xgl uses too many resources.


im not exactly sure how to add sessions. but if you want an easy way to switch between using the eye candy and using standard effects you can do that with beryl. at least thats how i do it. if you load beryl and right click the icon in the panel it will let you choose between using compiz, beryl or metacity (the standard window manager).

p.s. sorry if i misunderstood your question.

If you want to add beryl manager into your session automatically on startup just go to System>>Preferences>>Sessions click "New" a window will pop up asking for a Name and command (command is "beryl-manager") click ok and your there ;)

Re: The How To For Video Drivers?????????

PostPosted: Sat Nov 17, 2007 10:57 pm
by smuggly
I Finally Got Around To Getting This Working It Works like A Charm Thanx Alot......smuggly I Just Cant Fiqure Out How To Make The Desktop Cube Work,Wobbly Windows Works,Its Pretty Cool I Just Started Messing Around With It! :roll: Thanx Again...........Smuggly