How To: Install ATI Catalyst (fglrx) Drivers

Note: This How To is valid up to Catalyst Driver version 10.1.
Note: With minor changes this How To may work for other Linux distributions like Mandriva, Suse, Ubuntu, Red Hat, Cent OS etc.

Following the suggestions in comments on my last post about ATI Catalyst (fglrx), I tried to reinstall ATI drivers version 9.8 and finally it worked. I thought of noting down the the process in few simple steps which anyone can follow and get the drivers working on Fedora 11 with latest kernel versions.

Step 1 : Update Kernel, Install kernel-devel

Huge thanks to Richard Lloyd and mxyzptlk2063 for pointing this out.
This step is not necessary. You may like to stick to the kernel version you already have. In case you want the latest kernel, just use yum to get the latest kernel.

Note: Do not forget to update the kernel-devel package as well as its needed to compile the fglrx kernel module.

DONT UPDATE THE KERNEL. Instead stick to whatever kernel version you have. If you have 2.6.30.*, you are unlucky ๐Ÿ™ Get a kernel version 2.6.29.* and install the kernel-devel for the same.

With Catalyst Driver version 9.10 you can update kernel to latest version before installing the Drivers.

[root@fedora ~]$ yum update kernel
[root@fedora ~]$ yum install kernel-devel

Step 2 : Download Drivers

Download the ATI Catalystโ„ข 9.8 Proprietary Linux x86 Display Driver from ATI/AMD website.

Step 3 : Install Drivers

Install the drivers that you have downloaded using the following command.

[root@fedora ~]$ bash ./ati-driver-installer-9-8-x86.x86_64.run

Step 4 : Check Installation Result

Check the /usr/share/ati/fglrx-install.log file for result of installation. If there are no errors, proceed to the next step.

Note: You may see lines like this at the end of file

You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
– recreating module dependency list
– trying a sample load of the kernel modules
done.

You can ignore these lines happily if they don’t contain any error message. You don’t really need to execute the command mentioned in those lines.

Step 5 : Blacklist radeon and radeonhd kernel modules

Add these lines to /etc/modprobe.d/blacklist.conf.

blacklist radeon
blacklist radeonhd

Step 6 : Generate initial Xorg configuration file

Note: This step is optional with Catalyst Driver version 9.10, but it wont harm even if you execute this.

You have to generate the initial xorg.conf file which will use fglrx as display device.

[root@fedora ~]$ aticonfig --initial

Step 7 : Modify xorg.conf

Open your /etc/X11/xorg.conf file and add the following line to “Device” section (the one with fglrx as driver)

Option "SWCursor" "true"

Step 8 : Reboot

Reboot your machine. And you’ll have the latest ATI Catalyst drivers working on your Fedora 11 ๐Ÿ™‚

Step 9 : Testing

You can test your newly installed drivers and get the performance benchmarks for your graphics card using the commands below.

[saini@fedora ~]$ glxgears
[saini@fedora ~]$ fgl_glxgears

My graphics card is ATI Radeon HD 3200 (256MB, Onboard) and I get 1500FPS with glxgears and 300FPS with fgl_glxgears.

In case you messup things somewhere, you can uninstall the fglrx drivers using the following command

[root@fedora ~]$ /usr/share/ati/fglrx-uninstall.sh
 

Review: Fedora 8 – Warewolf

I installed Fedora 8 32 bit from a leaky mirror on Nov 7th and I just had a very bad experience with it. Nothing seemed to be working. But I can’t accept that. As I am a hardcore fan of Fedora, I just can’t sit back and say “ah, Fedora 8 sucks, i am not gonna use that”. I fetched Fedora 8 x86_64 (64bit) from a mirror yesterday, after the release. I installed it and everything worked out of the box. I can’t believe that I wrote something wrong about Fedora. How could I do that ?

First of all, I would like to say that The artwork team at Fedora has done a very fantastic job. The graphics right from installation up to the desktop are just awesome. Especially the default background is very nice. Here is shot of the default Gnome Fedora 8 Desktop.

GNOME Fedora 8 Desktop

Right after the installation, I fetched the nVidia proprietary drivers from here and installed them. And those were installed successfully without giving any errors or problems. [ If you want a complete howto on installing nvidia drivers. Its here.] A reboot after the installation and compiz worked out of the box. Here is shot.

Compiz Fusion

Ok, graphics done. What now ? I just realized that there is no mp3 support. No worries. Codeina aka Codec Buddy is there. Just issue ‘codeina’ command from command line and a window like this will appear.

Codeina Audio Codec Fetcher

Check Fluendo MP3 Audio Decoder and click get selected, accept the license conditions and you’ll see that codeina is fetching the codecs. [If codeina does not fetch codecs or give error like timeout or some other network error. Try checking your proxy setting in System -> Preferences -> Internet And Network -> Network Proxy . It may help. ]

Codeina Installing MP3 Support

Ok. Now, codeina has done the job. Lets play some mp3. Note that amarok still can’t play mp3 files because it uses xine engine. So, you can choose either Totem or Rhythmbox to play your mp3 files. Here is a shot of Rhythmbox. So, Codeina also works out of the box.

Rhythmbox Playing MP3

Another major improvement in Fedora 8 in audio section is introduction or pulseaudio. Issue command ‘pulseaudio’ from command line and you will see a window like this.

Pulseaudio Device and Application Control

You can control the sound stream from different players or whatever. You can mute individual streams and can even set the default devices for certain streams through this fantastic gui.

Another good thing in Fedora 8 is Eclipse. Eclipse 3.3 is back in Fedora 8. They excluded it from Fedora 7. I am happy to see it back here in Fedora 8.

Eclipse In Fedora 8

Another utility that I found helpful is Remote Desktop utility. Launch System -> Preferences -> Internet And Network -> Remote Desktop and you’ll see a window like this.

Remote Desktop Utility

Set your preferences and now you can browse your desktop from anywhere using ‘vncviewer <yourIP>:0’. Though one call always configure vncserver to get that done. But for newbies it’ll be a great help.

Also, My wireless lan card, Ralink rt2500 WNC-0301 is detected successfully in Fedora 8. But I am not sure whether it works or not, because there is not wifi environment in my lab and I can’t check it without that. [ Anyway if your wifi card doesn’t work, here is a howto on installing Ralink rt2500 WNC-0301 using drivers from serailmonkey. ]

Another improvement is that cursor was never invisible. Up to Fedora 7, I suffered cursor invisible problem on first login. [ If you are facing the same problem, add line

Options "HWCursor" off

to “screens” section in your /etc/X11/xorg.conf file and issue ‘gdm-restart’ command. It’ll be fine afterwards. ]

The boot time has also improved significantly. My Fedora 8 boots in just 45 seconds.

These Fedora 8 Screenshots and other related to Fedora 8 can be reached here.

 

Review: Fedora 7 – Moonshine

As expected, I upgraded to Fedora 7 – Moonshine yesterday. The coolest feature I noticed is that it automatically detected my Ralink WNC-0301 wireless lan card. Well, support for other wireless lan cards like ipw2100, ipw2200 and ipw3945 is also there which is I think the best feature. Because I see a lot of people around fighting with there wireless lan cards to work under Fedora Cores.

The gui is kind of improved but one more cool thing that you will notice is the theme “flying high”. The wallpapers, splash screen, login screen are improved a lot. Overall, the artwork part is worked out hardly. Default font is also nice.

A lot of media players are provided. amarok and kaffeine are included first time but amarok with no mp3 support. You have to install gstreamer and gstreamer08 plugins to make it work. The system preferences menu is totally different with similar tasks being grouped.

In addition to all that now Fedora also has some basic directories in the home directory like Documents, Music, Pictures, Videos, Downloads.

Everything else is the same with upgraded versions.

Here is a Video of my current Fedora 7 desktop.

PS0 : There seems to be some problem after installing the nvidia driver for F7. Follow the procedure here replacing everything related to fc6 by f7 and at the end after configuring your xorg.conf file make these changes

The section “Files” should be like this

1
2
3
Section "Files"
	ModulePath "/usr/lib/xorg/modules,/usr/X11R6/lib/modules/"
EndSection

now restart the xserver and the nvidia will work ๐Ÿ˜€ .

For more info refer my xorg.conf for F7.

PS1 : If you are a IIITian, I suggest you not upgrade to F7 because iyum is not yet configured to cache F7 rpms and you have to install updates for your OS from the internet and that really sux. So, wait for iyum repo for F7 to be up and then upgrade.

PS2 : Pidgin has some memory leaks … its consuming 2GB virtual memory … here’s the proof … I am back to kopete again ๐Ÿ˜‰

Pidgin Memory Leak

Pidgin Memory Leak

Edit : If you are looking for wireless configuration in Fedora 7, here is a reference.

 

How To: Install and Configure NVIDIA Drivers and Beryl

Well, finally I realized the power of my onboard graphics card … too lazy to realize even this (it took me a year to realize this obvious fact). I downloaded the latest nVidia drivers from here and also upgrade to the kernel-2.6.20-1.2944.fc6. You can get it from any site which provides rpms or you can install is using yum. Not to forget I did it on Fedora Core 6 – Zod. So, here goes the exact procedure.

Warning: Take a backup of your /etc/X11/xorg.conf file before experimenting with 3D desktop. It help in case of X server crashes.

1. Download the latest nVidia drivers from here.

2. Upgrade to kernel-2.6.20-1.2944.fc6

(a)Download rpms kernel-2.6.20-1.2944.fc6.i686.rpm and kernel-devel-2.6.20-1.2944.fc6.i686.rpm and install using

[root@zod saini] rpm -ivh kernel* [Enter]

OR
(b)

[root@zod saini] yum install kernel-2.6.20-1.2944.fc6 [Enter]

3. Reboot and switch to the newly installed kernel.

4. Login as root and delete the temp file for xserver

[root@zod saini] rm -f /tmp/.X0.lock [Enter]

5. Install the nVidia drivers

[root@zod saini] bash NVIDIA-Linux-x86-1.0-9755-pkg1.run --kernel-source-path=/usr/src/kernels/2.6.20-1.2944.fc6-i686/ [Enter]

A user interface(I don’t know what to call it, graphical user interface on command line) will appear, answer the basic questions and you are done.

6. run this command

[root@zod saini] nvidia-xconfig [Enter]

7. Open your /etc/X11/xorg.conf file in you favourite(Vim) editor and edit it as follows …

Add these lines to the “screen” section

1
2
Option     "AddARGBGLXVisuals" "True"
Option     "DisableGLXRootClipping" "True"

and Add this line to the “Device Section”

Option         "TripleBuffer" "true"

or you can use my xorg.conf with appropriate modifications.

8. Now install Beryl + emerald or compiz

(a) Get rpms from any site which supplies rpms for packages in fedora and install

[root@zod saini] rpm -ivh beryl-* emerald-* [Enter]

OR

[root@zod saini]  rpm -ivh compiz-* [Enter]

(b) There is always a short cut

[root@zod saini]  yum install beryl* emerald* [Enter]

OR

[root@zod saini]  yum install compiz* [Enter]

9. Now logout and login again and run command beryl-manager or compiz and you are done with installing beryl/compiz with latest nVidia drivers. Enjoy the 3D desktop.

10. If in the above process your X-server crashes, press Ctrl-Alt-F1 and login as root, replace your existing /etc/X11/xorg.conf file with the backup you took in the beginning and do startx.

I installed the above packages on Fedora Core 6, the Hardware is Nvidia Ge Force 6100 onboard.

Here are some screenshot of my 3D Desktop ( They can also be seen here ).