After quite a few hours I got it to install. I gleaned a bunch of tips from various sites.
I'm not sure which are unnecessary, but I did all these:
Prep linux headers and source (not sure if needed):
Code: Select all
sudo apt-get install linux-source
sudo apt-get install linux-headers-generic
sudo apt-get install linux-headers-$(uname -r)
Install the prerequisite packages:
Code: Select all
sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4
If you are using the x86_64 architecture (64 bit):
Code: Select all
sudo apt-get install ia32-libs
sudo apt-get install lib32gcc1
Run each of these, one at the time, if getting any faults ignore it:
Code: Select all
sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
Make a backup of your xorg.conf:
Code: Select all
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
Remove your xorg.conf file:
Re-install xorg:
Code: Select all
sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core
Configure xorg:
Code: Select all
sudo dpkg-reconfigure xserver-xorg
Reboot:
Download the latest Catalyst package (this package contains both the 32-bit and 64-bit driver):
Code: Select all
mkdir catalyst13.12 && cd catalyst13.12
wget --referer='http://support.amd.com/en-us/download/desktop?os=Linux+x86' http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip
unzip amd-catalyst-13.12-linux-x86.x86_64.zip
Extract it and you will get amd-catalyst-13.12-linux-x86.x86_64.run:
Code: Select all
chmod +x amd-catalyst-13.12-linux-x86.x86_64.run
./amd-catalyst-13.12-linux-x86.x86_64.run --extract catalyst
cd catalyst
Apply the patch manually:
At the end of the file catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c, starting with line 990, there is:
Code: Select all
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,3)
if (!ACPI_SUCCESS(acpi_get_table_with_size(id, 0, &hdr, &tbl_size)))
#else
tbl_size = 0x7fffffff;
if (!ACPI_SUCCESS(acpi_get_table(id, 0, &hdr)))
...
Delete everything to the end of the file and replace with this:
Code: Select all
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,3)
if (!ACPI_SUCCESS(acpi_get_table_with_size(id, 0, &hdr, &tbl_size)))
#else
tbl_size = 0x7fffffff;
if (!ACPI_SUCCESS(acpi_get_table(id, 0, &hdr)))
#endif
{
return KCL_ACPI_ERROR;
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1)
((acpi_tbl_table_handler)handler)(hdr);
#else
((acpi_table_handler)handler)(hdr);
#endif
return KCL_ACPI_OK;
}
Make it work for Mint (generate debs doesn't work for Mint unfortunately):
Code: Select all
sudo ./ati-installer.sh 13.251 --install
Generate new xorg.conf file:
If you are using multiple AMD graphics cards or AMD dual graphics (i.e.: notebook users), use:
Code: Select all
sudo amdconfig --adapter=all --initial
If you have a dual monitor display (also known as "Big Desktop"), use:
Code: Select all
sudo amdconfig --initial -f
sudo amdconfig --set-pcs-str="DDX,EnableRandR12,FALSE"
Force use of the new xorg.conf:
Code: Select all
sudo amdconfig --input=/etc/X11/xorg.conf --tls=1
Reboot:
Run the following commands to confim your new settings:
and:
Relogin and try the following command to see your Graphics card status:
To open amdcccle, run this:
The beta driver doesn't require the patch and works similarily.