Thứ Ba, 19 tháng 1, 2016

Install AMD Catalyst 15.7 (fglrx 15.302) on Ubuntu Gnome 14.04 (trusty, GNOME 3.10)

I've compile several version of AMD Catalyst but it seems incompatible with GNOME 3.

AMD Catalyst 15.7 is different. It was build up from fglrx proprietary and works well with GNOME 3 of Ubuntu 14.04. I followed this instruction and enjoy the new GNOME 3 desktop with newest stable AMD Catalyst supported.

Here is what I've done:

Install all prerequisite package:
sudo apt-get install cdbs dh-make dkms execstack dh-modaliases \
linux-headers-generic libqtgui4 xserver-xorg-dev-lts-trusty
Because I have x86-64 architecture, so I must add gcc32 library:
sudo apt-get install lib32gcc1
Next step, I download the Catalyst package and unzip it:
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/radeon-crimson-15.12-15.302-151217a-297685e.zip
unzip radeon-crimson-15.12-15.302-151217a-297685e.zip
cd fglrx-15.302/
 After that, I create .deb package in order to remove and upgrade catalyst easily in the future:
chmod a+x amd-driver-installer-15.302-x86.x86_64.run
sudo ./amd-driver-installer-15.302-x86.x86_64.run --buildpkg Ubuntu/trusty
 I've install PlayOnLinux, which has Wine package installed. I've modified the fglrx-core as the instruction:
dpkg-deb -R fglrx-core_15.302-0ubuntu1_amd64.deb fglrx-core
sed -ri 's/(Conflicts|Provides).*/\1: fglrx-driver-core/' fglrx-core/DEBIAN/control
sudo dpkg-deb -b fglrx-core/ fglrx-core_15.302-0ubuntu1_amd64.deb
Note: the version in the latest link is different with the catalyst version we have, I've modified it.
With all package prepared, let's install them!
sudo dpkg -i fglrx*.deb
Before reboot the system, I generate a new /etc/X11/xorg.conf file:
sudo amdconfig --initial -f
But it seems not get my 8730M card:
No supported adapters detected
Hmm! If I use `lspci -vvnn | grep VGA` to find my card, the kernel still recognize it. I reboot the system to take a chance and I get the black screen. I try to login via tty1 with `Ctrl+Alt+F1`, then re-generate the /etc/X11/xorg.conf file again. This time it works!!! Wonderful!
sudo amdconfig --initial -f
 Hoho!!! Enjoy the new Catalyst!!!

glxinfo
or
glxgears
works out-of-the-box!

Không có nhận xét nào :

Đăng nhận xét