Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

Post your How to's here


Install AMD/ATI Hybrid Graphics Drivers on Ubuntu 13.04

Postby tanmay.01 » Sat May 04, 2013 10:19 am

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
Last edited by tanmay.01 on Wed Feb 12, 2014 9:19 am, edited 2 times in total.
Reason: Changes in method due to addition of drivers in kernel.
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux



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

Postby smeterlink » Sat May 04, 2013 7:26 pm

Wow...very detailed. Great post, thanks heaps :D
smeterlink
 



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

Postby pam » Sat May 04, 2013 10:57 pm

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.
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 32
Operating System: Ultimate Edition 3.5 64 BIT



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

Postby tanmay.01 » Sun May 05, 2013 10:53 am

Done...! Specifically mentioned..But AMD Hybrid Graphics are with Intel only..! :D
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux



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

Postby harwin » Sun Sep 01, 2013 5:34 am

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! :)
harwin
U.E. Newbie
U.E. Newbie
 
Posts: 1
Joined: Sun Sep 01, 2013 5:27 am
Operating System: Ultimate Edition 3.1 32 BIT



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

Postby Xanayoshi » Sun Sep 01, 2013 5:12 pm

Sounds like you don't have enough SWAP allotted for suspend/hibernate.
Image

And now, the completely true facts, as told by an anonymous man hiding behind a screen name:

Packard Bell Pack Mate II 286 Intel 80286 1MB RAM
ImageImageImage
User avatar
Xanayoshi
Moderator
 
Posts: 1564
Joined: Thu Oct 18, 2012 1:46 pm
Location: Kitsap County
Age: 39
Operating System: Ultimate Edition 3.4 32 BIT



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

Postby tiger1001 » Sat Jan 11, 2014 2:48 pm

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
tiger1001
U.E. Newbie
U.E. Newbie
 
Posts: 2
Joined: Sat Jan 11, 2014 2:36 pm
Operating System: Other Linux



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

Postby tiger1001 » Thu Jan 30, 2014 10:43 am

hello ?
is here anybody ?
tiger1001
U.E. Newbie
U.E. Newbie
 
Posts: 2
Joined: Sat Jan 11, 2014 2:36 pm
Operating System: Other Linux



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

Postby pam » Thu Jan 30, 2014 11:32 pm

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.
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 32
Operating System: Ultimate Edition 3.5 64 BIT



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

Postby tanmay.01 » Wed Feb 12, 2014 9:20 am

Added some info as per new linux kernel.
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux


Return to How To's (Do not post questions please)

Who is online

Users browsing this forum: No registered users and 2 guests