Page 1 of 1

Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sat May 04, 2013 10:19 am
by tanmay.01
This is only applicable till linux kernel version 3.11 after that dynamic radeon drivers are included. Some distributions may enable/disable them by default.
Edit : /etc/default/grub as follows

To enable :
GRUB_CMDLINE_LINUX_DEFAULT="radeon.runpm=1"

To disable:
GRUB_CMDLINE_LINUX_DEFAULT="radeon.runpm=0"



For INTEL / AMD Hybrid graphics

Pre-Install:

Three terminal-commands:

Code: Select all
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6
sudo apt-get install dkms libqtgui4 wget execstack libelfg0 dh-modaliases
sudo apt-get install linux-headers-generic xserver-xorg-core libgcc1


Additional two terminal-commands for 64-bit:

Code: Select all
sudo apt-get install ia32-libs lib32gcc1 libc6-i386
cd /usr ; sudo ln -svT lib /usr/lib64


(Note: The second command shouldn't be necessary if there is already such a symbolic link named lib64 pointing to folder lib there. And if there is already a real folder by that name you should ensure that its contents are safely moved into folder /usr/lib and then delete --now empty-- folder /usr/lib64 before executing this command.)

Download from these direct-links:

http://www.mirrorservice.org/sites/arch ... _amd64.deb

and (the older intel driver - xserver-xorg - see also section "Important" on answer for 12.10. I think this would also be very important here.)

https://docs.google.com/file/d/0B0tTaH4 ... sp=sharing

Copy these files (two .deb packages) into an empty folder.

Remove the old drivers:

Code: Select all
sudo apt-get remove fglrx*
sudo apt-get remove xserver-xorg-video-intel


Execute the following two terminal-commands in the folder with downloaded .deb files:

Code: Select all
sudo dpkg -i libudev*
sudo dpkg -i xserver-xorg-video-intel_2.21.6-0ubuntu4_amd64.deb


Installation:

Get the current ATI Catalyst driver e.g. 13.04 (I have tested it with this release) from the official website: http://www.amd.com/drivers

Unzip the .zip and make it executable. Then go to the folder with the unzipped .run-file in terminal and type:

Code: Select all
sudo sh ./amd-catalyst-XX.X-linux-x86.x86_64.run --buildpkg Ubuntu/raring


Replace XXX with the correct name of the file.

Install the created .deb-files with the following terminal-command in the current directory:

Code: Select all
sudo dpkg -i fglrx*.deb


Post-Install:

Enter the terminal command

Code: Select all
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo aticonfig --initial -f


(Note: If you use multiple AMD graphics cards or AMD dual graphics, you can use sudo aticonfig --adapter=all --initial -f instead, and/or if you use a dual monitor display, you can also use this additional third command: sudo aticonfig --set-pcs-str="DDX,EnableRandR12,FALSE")

Select the discrete GPU

Code: Select all
sudo aticonfig --px-dgpu


Reboot your system

Code: Select all
sudo reboot


Scripts for Switching

Script for High-GPU-Mode:

Code: Select all
#!/bin/bash
# Activate discrete GPU (High-Performance mode), must re-start X to take effect
sudo aticonfig --px-dgpu
sudo restart lightdm


Script for Low-GPU-Mode:

Code: Select all
#!/bin/bash
# Activate integrated GPU (Power-Saving mode), must re-start X to take effec
sudo aticonfig --px-igpu
sudo restart lightdm


Script for showing current GPU-Mode:

Code: Select all
#!/bin/bash
#Show current GPU (High- or Low-Performance mode) as notification
aticonfig --pxl | while read SPAM_OUT; do notify-send "$SPAM_OUT"; done


Note: If you always have problems after the execution of a Switching-Script, make a restart of your system (and not only a re-login).

Orignal Thread : http://ubuntuforums.org/showthread.php?t=1930450

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sat May 04, 2013 7:26 pm
by smeterlink
Wow...very detailed. Great post, thanks heaps :D

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sat May 04, 2013 10:57 pm
by pam
Very nice write tanmay.01, :D

But i think you should make a note warning users that its only applicable to 'Intel CPU' owners only.
APU's and amd cpu owners dont need this method.

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sun May 05, 2013 10:53 am
by tanmay.01
Done...! Specifically mentioned..But AMD Hybrid Graphics are with Intel only..! :D

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sun Sep 01, 2013 5:34 am
by harwin
Thanks for the guide! I have a HP Probook 4540s. This guide works for me, but
When I suspend, in integrated card mode (power saving), I can't resume; the screen stays black and the keyboard is locked. I must shut down with the power button and restart all. Instead with dedicated card all works fine. Any suggestions?
Sorry for my english I'm Italian! :)

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sun Sep 01, 2013 5:12 pm
by Xanayoshi
Sounds like you don't have enough SWAP allotted for suspend/hibernate.

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Sat Jan 11, 2014 2:48 pm
by tiger1001
hello friends
i have mint 14 on my laptop packard bell easynote lx86
i try to watch over the hdmi output but its not working- the system dont recognize the hdmi.
so i found maybe a solution her.
i do everthing you posted
but at the step to install the "xserver-xorg-video-intel_2.21.6-0ubuntu4_amd64.deb" he wants the "libudev1" not the "libudev0".
so was a paket wrong and i replaced it with the (from synaptic) 2.20.6 (newest)
after that i could not install the "amd-catalyst-13.12-linux-x86.x86_64.run"
error was >
Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions
Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions
Removing temporary directory: fglrx-install.6awejl
<
so anybody can help me, please
i worked on it now for 2 weeks and i'm tired
only lokking a video from hdmi-output, can it be so complicated ?
thank you for reading
and have a nice day
tiger

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Thu Jan 30, 2014 10:43 am
by tiger1001
hello ?
is here anybody ?

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Thu Jan 30, 2014 11:32 pm
by pam
I reckon that packard bell has a radeon hd 5850...(please write your hardware specifications in your signature)
So which version of Ultimate Edition are you using?
The radeon drivers from http://www.amd.com/drivers should work with Ultimate Edition.

Re: Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

PostPosted: Wed Feb 12, 2014 9:20 am
by tanmay.01
Added some info as per new linux kernel.