Easy “hard way” of installing proprietary ATI driver under openSUSE 11.4
Sometimes there is a need for installing proprietary graphic driver, and utterly easiest way is to install a package from YaST or other package manager. However, when new distro comes out, and you install it right away, packaged driver is not yet available. Some time must pass until proprietary packages appears. So, we must go “hard way” of installing graphic drivers by hand.
Way I am going to describe is fairly easy and it’s how global administrator of openSUSE forum does it for himself. His nickname is “OldCpu” and he hold my great respect. Some text below will be his words. Before I write a procedure of installation, I must mention that there is very easy script that does this automatically. You may find it here: Easy install of ATI proprietary driver in the console.
Ok, open your terminal or Konsole and let’s go… (type “su” and password when requested as we need root access)
*** note: proprietary ATI driver is called “fglrx”
Prerequisites: gcc, make, kernel source and kernel syms must be installed on the system.
Let’s check:
rpm -qa '*kernel*'
So assuming that is all ok, then go get the proprietary driver by going to the ATI web site and download it to a location on your hard drive where you can find it (say /home/username ) . Lets say you end up getting the binary executable file “ati-driver-installer-11-2-x86.x86_64.run”.
Now, we must check if we already have fglrx installed. If we do, we must uninstall it or installing new one over it will break your system (well, to a newbie, sure, repairable to expert) .
Let’s check:
rpm -qa '*fglrx*'
if fglrx is found, must be removed (say it is called “fglrx64_7_5_0_SUSE113″ ):
rpm -e fglrx64_7_5_0_SUSE113
Now you need to go to runlevel 3, which is pure text mode. There are two ways to do it:
1. type: “init 3″ without quotes and press enter
2. (probably better) reboot, and when boot menu apears, just type “init 3″ (without quotes)
***NOTE: you won’t have graphics and mouseclicks.. just text and typing.
when in text mode, login and come to the place where you downloaded ATI driver, and type
sh ./ati-driver-installer-11-2-x86.x86_64.run --buildpkg SuSE/SUSE113-AMD64
***note: file name can be different as ATI updates it. Also, if you have 32-bit processor, change AMD64 to IA32
That may be slow in parts so have patience ! … and if that runs successfully it will ceate an rpm file. I do NOT know what that file will be called with your hardware, so I will make up a name. Lets say it created the file “fglrx64_xpic_SUSE113-8.821-1.x86_64.rpm”
to install it, run
zypper in fglrx64_xpic_SUSE113-8.821-1.x86_64.rpm
after done, personally I prefer to run one more command, but should work without it:
aticonfig --initial
Finally, reboot
shutdown -r now
It worked great on OpenSUSE 11.4 AMD64 and Radeon 4850. Thank you very much!
Hi! I am trying your procedure but when I get to the login step in init 3, the login fails even though I am using my username and pw, which I used to enter for su.
Is there a particular way to enter the username or am I missing something.
I am running 11.4 x86_64 on radeon hd 3400
Thanks in advance.
No… but you should login as root. If you cannot login, then it is some suse problem. But try with root username in init 3
Hello:
First of all, thanks for your work (and thanks to OldCpu too
), because of you I could install the driver; finally
.
By the way, the command to start in runlevel 3 is not ‘init 3′, but just 3 (this works for OpenSUSE 11.4).
Thanks again, bye
.