Fedora 21 Installation Guide

From cchtml.com

AMD CATALYST-14.12 FOR GNOME AND KDE ENVIRONMENT

First off this is still a work in progress! and not a walk in the park! but it works very good and is stable.

This part is for KDE & GNOME

  • fully update your system and make sure your running kernel 3.18+
  • install pre-requisite packages:
yum install gcc kernel-headers kernel-devel
mkdir catalyst15.12 && cd catalyst15.12
wget --referer='http://support.amd.com/en-us/download/desktop?os=Linux+x86' http://www2.ati.com/drivers/linux/amd-catalyst-omega-15.12-linux-run-installers.zip 
unzip amd-catalyst-omega-15.12-linux-run-installers.zip
  • now we need to extract the installer in order to patch "kcl_acpi.c"
sh amd-driver-installer-14.501.1003-x86.x86_64.run --extract catalyst 

now using gedit or whatever text editor open /catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c at line 834 replace

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,7)

by

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,7) && LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0)

save it someware and then replace it whit yours

This next part is for KDE ONLY

cd catalyst15.12/catalyst
sh ati-installer.sh 14.501 --install

and reboot. your done!

This funny part is for GNOME

cd catalyst15.12/catalyst
sh ati-installer.sh 14.501 --install

do not reboot after the installation

Now the problem is that even though aticonfig will work, the libglx.so and fglrx_drv.so blobs provided by AMD are broken. They won’t work with GDM and Xserver 1.16.

to fix it open terminal and copy & past one line at the time

cd /usr/lib64/xorg/modules/drivers/
Xorg -version > /amd_xversion 2>&1
offset=`strings -td fglrx_drv.so | grep '/proc/%i/fd/0' | sed 's/^ *//' | cut -d' ' -f1`
echo -ne '/amd_xversion' | dd conv=notrunc of=fglrx_drv.so bs=1 count=13 seek=$offset
cd ..
cd /extensions/
offset=`strings -td libglx.so | grep '/proc/%i/fd/0' | sed 's/^ *//' | cut -d' ' -f1`
echo -ne '/amd_xversion' | dd conv=notrunc of=libglx.so bs=1 count=13 seek=$offset

last part is to Assist Clutter in recognizing the OpenGL version

open gedit and edit /etc/profile at the bottom add those following line

export COGL_DRIVER=gl

export COGL_OVERRIDE_GL_VERSION=1.4

export COGL_RENDERER=GLX

export LD_PRELOAD=/usr/lib64/fglrx/fglrx-libGL.so.1.2

gnome-session

save it replace it

Now we need to switch from GDM to lightdm in order to login {will be fix soon )

dnf install lightdm
systemctl disable gdm
systemctl enable lightdm

and now you can finally reboot===

enjoy gang!

winglman