Updating catalyst drivers to rpm fusion provided packages

Disclaimer: This is just what I did to make things work. It may not help you at all, or it may break things!

The problem I was facing here was that when I got my new pc, rpm fusion had not yet packaged the latest catalyst drivers for Fedora 14. Hence, I originally installed the drivers from AMD’s website, quite a tedious process. Now that rpm fusion has released a catalyst package, it would be great to switch to that. Here’s the steps I took:

  1. Uninstall the existing catalyst drivers:
    Run (as root):
    sh /usr/share/ati/fglrx-uninstall.sh
  2. Rebuild your initramfs:
    cd /boot
    mv initramfs-`uname -r`.img initramfs-`uname -r`.img-fglrx
    dracut -v /boot/initramfs-`uname -r`.img `uname -r`
  3. Reinstall mesa-libGL:
    yum reinstall mesa-libGL
  4. At this point I restarted and things broke. I’m pretty sure if you remove /etc/X11/xorg.conf and disable compiz before restarting, you should be fine.
  5. After restarting you should be now be running using the “vesa” drivers. Ensure you have all the latest updates (System –> Administration –> Software Updates).
  6. Install the “kmod-catalyst” package using Add/Remove Software (System –> Administration –> Add/Remove Software)
  7. Restart, and all should be well. You may need to run the catalyst control center to set up your screens:
    su -
  8. That should be it

If you have the amd unsupported hardware watermark, copy the following into a file (for 64-bit systems):

for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER

Call the file “wm.sh” (or whatever you prefer), and then run as root:
chmod +x wm.sh

Restart and the watermark should be gone.