PDA

View Full Version : How To: ATI Drivers OpenSUSE 11.1


Vince4Amy
December 23rd, 2008, 02:01 PM
This Guide Is No Longer Maintained, For The New Guide Click Here (http://grubbn.org/otheros/showthread.php?tid=53)

There have been some problems getting the official fglrx drivers to work on OpenSUSE 11.1, I have made this (rather basic) walk through on how to get them to work correctly. This Works For 32 & 64-bit Releases

wget https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/ati-driver-installer-9-1-x86.x86_64.run - Download The Driver

Run these as Root:

zypper in kernel-source gcc make patch - These are the dependencies of the driver, the packages are approximately 70-75MB overall.

sh ati-driver-installer-9-1-x86.x86_64.run - Run through the installer choosing the automatic steps

aticonfig --initial -f Configure Xorg.

sax2 -r -m 0=fglrx Configure Sax2 with the fglrx driver.

Reboot your system and everything should work, you can verify this with (run as normal user):

fglrxinfo

Updated for 9.1, 64-bit users no longer have to link the 32-bit DRI either 64-bit now works and FPS in 32-bit applications should be working as expected.

Tamjay
December 24th, 2008, 10:34 PM
Thanks! Worked like a top =).

gjluong
December 25th, 2008, 07:26 PM
Thanks a lot. I wasn't aware about having to configure SaX2 as this isn't required with Ubuntu.

spiritofreason
December 28th, 2008, 03:28 AM
rm /usr/lib/dri/fglrx_dri.so && ln -s /usr/lib64/dri/fglrx_dri.so /usr/lib/dri/fglrx_dri.so - This is for 64-bit users as the Driver will fail to work as it will try to use the 32-bit DRI.

That will get the 64-bit drivers to work, but emulation for 32-bit will be gone (e.g. for Windows games in WINE). So far, I only know of this hack, too, though; X won't even load the proper extensions for 3D support if it sees the wrong binary.

If you want 32-bit emulation to work, you'll have to swap back in the 32-bit binary before you start the program (and swap back out when you're done--this is probably going to be nasty if you're using Compiz or something else using the 64-bit driver).

I'm not sure yet whether this is a build script issue or a bug in AMD's code. I'm probably too lazy to look into it, too... ;-)

gjluong
December 29th, 2008, 06:57 PM
Would this explain why I keep getting 'Segmentation fault' errors when attempting to load a game of Enemy Territory: Quake Wars?

faithfulsoft
January 1st, 2009, 06:35 PM
sax2 -r -m 0=fglrx Configure Sax2 with the fglrx driver.

Reboot your system and everything should work, you can verify this with (run as normal user):

fglrxinfo

When I run sax2 command, I receive this output


sax2 -r -m 0=fglrx
SaX: initializing please wait...
SaX: your current configuration will not be read in

SaX: access to your display has been granted
SPP: prepare device [0] profile: FireGL
SPP: prepare device [0] profile: AIGLX
SPP: prepare device [0] profile: Composite
SPP: prepare device [3] profile: synaptics
SPP: including prepared profile(s)...
SPP: prepare device [0] profile: nobus
SPP: including prepared profile(s)...

SaX: startup
SaX: X-Server: :0.0 -> grant


And the system hangs there... is this normal?

Thank you

havok1977
January 2nd, 2009, 03:10 AM
Does anyone know what could be the reason why im getting this:


# aticonfig --initial -f
Uninitialised file found, configuring.
Segmentation fault


The Ati install procedure finished properly, the driver was compled successfully when the RPM was installed; so whats wrong?

spiritofreason
January 3rd, 2009, 05:24 AM
Would this explain why I keep getting 'Segmentation fault' errors when attempting to load a game of Enemy Territory: Quake Wars?

If you're running 64-bit, then it's certainly a candidate. There are a number of ways to find out... does fgl_glxgears run?

gjluong
January 3rd, 2009, 12:27 PM
If you're running 64-bit, then it's certainly a candidate. There are a number of ways to find out... does fgl_glxgears run?

Thanks for replaying. Yes, fgl_glxgears runs at ~4000 fps.

spiritofreason
January 3rd, 2009, 12:45 PM
Thanks for replaying. Yes, fgl_glxgears runs at ~4000 fps.

If you're using a 64-bit binary for ET:QW, then the bug giving you trouble is different. The library loading problem prevents hardware 3D support.

You might try searching the forums for quake wars problems and if you don't find anything, creating a thread for your issue (with console output to start things off). I'd only be stabbing in the dark from here, so hopefully someone else will be able to help. ;-)

fitlad
January 6th, 2009, 05:22 AM
Thanks Vince for the quick howto, it worked like charm with opensuse 11.1 but I had another problem to resolve; getting my webcam configured. As you know, opensuse comunity didn't release gspca binary package due to the fact that gspca is now built in the main stream of the kernel (the same kernel used in fedora core 9), however cheese doesn't recognise my usb webcam. Thus I decided to downgrade my os to opensuse 11. It's more stable though.

By the way, I already posted a thread regarding mplayer error, I wish you could read it and help me if you can. Cheers :-)
http://ubuntuforums.org/showthread.php?t=1031887

Vince4Amy
January 6th, 2009, 07:08 PM
Thanks Vince for the quick howto, it worked like charm with opensuse 11.1 but I had another problem to resolve; getting my webcam configured. As you know, opensuse comunity didn't release gspca binary package due to the fact that gspca is now built in the main stream of the kernel (the same kernel used in fedora core 9), however cheese doesn't recognise my usb webcam. Thus I decided to downgrade my os to opensuse 11. It's more stable though.

By the way, I already posted a thread regarding mplayer error, I wish you could read it and help me if you can. Cheers :-)
http://ubuntuforums.org/showthread.php?t=1031887

Fair enough, it's supported with Security updates until 2010 anyway so you'll be fine using it. I'm still using it on Production systems.

billytex
January 14th, 2009, 09:12 AM
Hey There,

Got openSUSE 11.1 the other day and also have ATI All in Wonder 9600. Used the 32 bit version of these instructions and am posting from installed version now :) Thanks much those of you who know Linux!

Vince4Amy
February 6th, 2009, 06:06 PM
Updated for the new ATI Drivers release.


That will get the 64-bit drivers to work, but emulation for 32-bit will be gone (e.g. for Windows games in WINE). So far, I only know of this hack, too, though; X won't even load the proper extensions for 3D support if it sees the wrong binary.

If you want 32-bit emulation to work, you'll have to swap back in the 32-bit binary before you start the program (and swap back out when you're done--this is probably going to be nasty if you're using Compiz or something else using the 64-bit driver).

I'm not sure yet whether this is a build script issue or a bug in AMD's code. I'm probably too lazy to look into it, too...

This is fixed now.

Vince4Amy
February 8th, 2009, 04:09 PM
Update, I've also tried this on the 32-bit version and it works.

vonzipper27
February 12th, 2009, 12:59 AM
i hate to sound very....new, but i am. I have the 3400 card, and am running 64 bit. The instructions in the first post I am sure are correct, but I do not know how to follow them. Can someone help?

Vince4Amy
February 12th, 2009, 04:13 AM
i hate to sound very....new, but i am. I have the 3400 card, and am running 64 bit. The instructions in the first post I am sure are correct, but I do not know how to follow them. Can someone help?

That's fine we all learnt from something after all:). What seems to be the problem?