<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Winglman</id>
	<title>cchtml.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Winglman"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/Winglman"/>
	<updated>2026-04-30T22:04:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10643</id>
		<title>Fedora 21 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10643"/>
		<updated>2015-07-01T16:00:29Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* This  part is for KDE &amp;amp; GNOME */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= AMD CATALYST-14.12 FOR GNOME AND KDE ENVIRONMENT =&lt;br /&gt;
&lt;br /&gt;
==First off this is still a work in progress! and not a walk in the park! but it works very well and is stable.==&lt;br /&gt;
&lt;br /&gt;
==This  part is for &#039;&#039;&#039;KDE &amp;amp; GNOME&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fully update your system and make sure your running kernel 3.18+ &#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;install pre-requisite packages:&lt;br /&gt;
 yum install gcc kernel-headers kernel-devel patch cdbs dh-make dkms fakeroot xorg-x11-server-devel rpm-build pre-link&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip &lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;now we need to extract the installer in order to patch a few files. &#039;&#039;&#039;&lt;br /&gt;
 cd fglrx*&lt;br /&gt;
 sh amd-driver-installer-14.501.1003-x86.x86_64.run --extract catalyst &lt;br /&gt;
 cd catalyst&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Create the empty patch files (This might be obsolete if installing 15.5 driver)i will try it today (july 1) to confirme&#039;&#039;&#039;&lt;br /&gt;
 touch 3-{17,19}.patch&lt;br /&gt;
&lt;br /&gt;
Edit the files with your favorite text editor and paste the contents below:&lt;br /&gt;
&lt;br /&gt;
Contents of 3-17.patch&lt;br /&gt;
 --- common/lib/modules/fglrx/build_mod/kcl_acpi.c       2014-09-23 10:42:10.000000000 -0400&lt;br /&gt;
 +++ common/lib/modules/fglrx/build_mod/kcl_acpi.c       2014-11-13 16:44:23.187112123 -0500 &lt;br /&gt;
 @@ -831,7 +831,7 @@&lt;br /&gt;
 &lt;br /&gt;
  static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 lvl, void *data, void **rv)&lt;br /&gt;
  {&lt;br /&gt;
 -#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7)&lt;br /&gt;
 +#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7) &amp;amp;&amp;amp; LINUX_VERSION_CODE &amp;lt; KERNEL_VERSION(3,17,0)&lt;br /&gt;
     struct acpi_device *tdev = NULL;&lt;br /&gt;
     struct pci_dev *pdev = (struct pci_dev *)data;&lt;br /&gt;
     int device = 0;&lt;br /&gt;
&lt;br /&gt;
Contents of 3-19.patch&lt;br /&gt;
 --- common/lib/modules/fglrx/build_mod/firegl_public.c  2015-03-22 14:13:36.628837777 -0400&lt;br /&gt;
 +++ common/lib/modules/fglrx/build_mod/firegl_public.c  2015-03-22 14:14:43.678029922 -0400&lt;br /&gt;
 @@ -4816,8 +4816,8 @@&lt;br /&gt;
  {&lt;br /&gt;
      unsigned long orig_level;&lt;br /&gt;
 &lt;br /&gt;
 -    orig_level = __get_cpu_var(kasExecutionLevel);&lt;br /&gt;
 -    __get_cpu_var(kasExecutionLevel) = level;&lt;br /&gt;
 +    orig_level = __this_cpu_read(kasExecutionLevel);&lt;br /&gt;
 +    __this_cpu_write(kasExecutionLevel, level);&lt;br /&gt;
 &lt;br /&gt;
      return orig_level;&lt;br /&gt;
  }&lt;br /&gt;
 @@ -4829,7 +4829,7 @@&lt;br /&gt;
   */&lt;br /&gt;
  static unsigned long kas_GetExecutionLevel(void)&lt;br /&gt;
  {&lt;br /&gt;
 -    return __get_cpu_var(kasExecutionLevel);&lt;br /&gt;
 +    return __this_cpu_read(kasExecutionLevel);&lt;br /&gt;
  }&lt;br /&gt;
 &lt;br /&gt;
  /** \brief Type definition for kas_spin_lock() parameter */&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Patch the files&#039;&#039;&#039;&lt;br /&gt;
 patch -p0 &amp;lt; 3-17.patch&lt;br /&gt;
 patch -p0 &amp;lt; 3-19.patch&lt;br /&gt;
&lt;br /&gt;
==This next part is for &#039;&#039;&#039;KDE ONLY&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
&lt;br /&gt;
and reboot. your done!&lt;br /&gt;
&lt;br /&gt;
==This funny part is for &#039;&#039;&#039;GNOME &amp;amp; XFCE&#039;&#039;&#039;==&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
===do not reboot after the installation===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
NOTE: YOU MUST BE LOGGED INTO ROOT IN ORDER TO DO THIS CORRECTLY, SUDO DOESN&#039;T WORK FOR THIS BY A DEFAULT INSTALLATION!&lt;br /&gt;
&lt;br /&gt;
to fix it  open terminal and copy &amp;amp; past &#039;&#039;&#039;one line at the time&#039;&#039;&#039;&lt;br /&gt;
 cd /usr/lib64/xorg/modules/drivers/&lt;br /&gt;
 Xorg -version &amp;gt; /amd_xversion 2&amp;gt;&amp;amp;1&lt;br /&gt;
 offset=`strings -td fglrx_drv.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=fglrx_drv.so bs=1 count=13 seek=$offset&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 cd extensions/&lt;br /&gt;
 offset=`strings -td libglx.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=libglx.so bs=1 count=13 seek=$offset&lt;br /&gt;
last part is to &#039;&#039;&#039;Assist Clutter in recognizing the OpenGL version&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
open gedit and edit /etc/profile&lt;br /&gt;
at the bottom add those following line&lt;br /&gt;
&lt;br /&gt;
export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
export COGL_OVERRIDE_GL_VERSION=1.4&lt;br /&gt;
&lt;br /&gt;
export COGL_RENDERER=GLX&lt;br /&gt;
&lt;br /&gt;
export LD_PRELOAD=/usr/lib64/fglrx/fglrx-libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
Close the editor and run this command on the terminal&lt;br /&gt;
 gnome-session&lt;br /&gt;
&lt;br /&gt;
===save it replace it ===&lt;br /&gt;
&lt;br /&gt;
Now we need to switch from GDM to lightdm in order to login {will be fix soon )&lt;br /&gt;
 dnf install lightdm&lt;br /&gt;
 systemctl disable gdm&lt;br /&gt;
 systemctl enable lightdm&lt;br /&gt;
and now you can &#039;&#039;&#039;finally reboot&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
==FlashPlayer HW Acceleration using Firefox==&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&#039;&#039;&#039;KDE user must uninstall pepper and re-intall Flash&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add RPM Fusion Repo &#039;&#039;&#039;right-click Open link in new tab&#039;&#039;&#039; and install it.&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-21.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
This next part will provide a generic VDPAU library. It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 yum install gstreamer1-vaapi.x86_64 libvdpau-va-gl.x86_64&lt;br /&gt;
now open text editor and add this line  &#039;&#039;&#039;export VDPAU_DRIVER=va_gl&#039;&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/profile&#039;&#039;&#039; at the end just above export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
and reboot! voila&lt;br /&gt;
&lt;br /&gt;
enjoy gang!&lt;br /&gt;
&lt;br /&gt;
winglman&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10598</id>
		<title>Fedora 21 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10598"/>
		<updated>2015-03-12T18:33:04Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* This  part is for KDE &amp;amp; GNOME */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= AMD CATALYST-14.12 FOR GNOME AND KDE ENVIRONMENT =&lt;br /&gt;
&lt;br /&gt;
==First off this is still a work in progress! and not a walk in the park! but it works very good and is stable.==&lt;br /&gt;
==This  part is for &#039;&#039;&#039;KDE &amp;amp; GNOME&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fully update your system and make sure your running kernel 3.18+ &#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;install pre-requisite packages:&lt;br /&gt;
 yum install gcc kernel-headers kernel-devel&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip &lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
* &#039;&#039;&#039;now we need to extract the installer in order to patch &amp;quot;kcl_acpi.c&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
 sh amd-driver-installer-14.501.1003-x86.x86_64.run --extract catalyst &lt;br /&gt;
now using gedit or whatever text editor open /catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c&lt;br /&gt;
at &#039;&#039;&#039;line 834&#039;&#039;&#039; replace  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
by &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7) &amp;amp;&amp;amp; LINUX_VERSION_CODE &amp;lt; KERNEL_VERSION(3,17,0)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
save it somewhere and then replace it whit yours&lt;br /&gt;
&lt;br /&gt;
==This next part is for &#039;&#039;&#039;KDE ONLY&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
and reboot. your done!&lt;br /&gt;
&lt;br /&gt;
==This funny part is for &#039;&#039;&#039;GNOME&#039;&#039;&#039;==&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
===do not reboot after the installation===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
to fix it  open terminal and copy &amp;amp; past &#039;&#039;&#039;one line at the time&#039;&#039;&#039;&lt;br /&gt;
 cd /usr/lib64/xorg/modules/drivers/&lt;br /&gt;
 Xorg -version &amp;gt; /amd_xversion 2&amp;gt;&amp;amp;1&lt;br /&gt;
 offset=`strings -td fglrx_drv.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=fglrx_drv.so bs=1 count=13 seek=$offset&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 cd /extensions/&lt;br /&gt;
 offset=`strings -td libglx.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=libglx.so bs=1 count=13 seek=$offset&lt;br /&gt;
last part is to &#039;&#039;&#039;Assist Clutter in recognizing the OpenGL version&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
open gedit and edit /etc/profile&lt;br /&gt;
at the bottom add those following line&lt;br /&gt;
&lt;br /&gt;
export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
export COGL_OVERRIDE_GL_VERSION=1.4&lt;br /&gt;
&lt;br /&gt;
export COGL_RENDERER=GLX&lt;br /&gt;
&lt;br /&gt;
export LD_PRELOAD=/usr/lib64/fglrx/fglrx-libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
gnome-session&lt;br /&gt;
&lt;br /&gt;
===save it replace it ===&lt;br /&gt;
&lt;br /&gt;
Now we need to switch from GDM to lightdm in order to login {will be fix soon )&lt;br /&gt;
 dnf install lightdm&lt;br /&gt;
 systemctl disable gdm&lt;br /&gt;
 systemctl enable lightdm&lt;br /&gt;
and now you can &#039;&#039;&#039;finally reboot&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
==FlashPlayer HW Acceleration using Firefox==&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&#039;&#039;&#039;KDE user must uninstall pepper and re-intall Flash&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add RPM Fusion Repo &#039;&#039;&#039;right-click Open link in new tab&#039;&#039;&#039; and install it.&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-21.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
This next part will provide a generic VDPAU library. It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 yum install gstreamer1-vaapi.x86_64 libvdpau-va-gl.x86_64&lt;br /&gt;
now open text editor and add this line  &#039;&#039;&#039;export VDPAU_DRIVER=va_gl&#039;&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/profile&#039;&#039;&#039; at the end just above export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
and reboot! voila&lt;br /&gt;
&lt;br /&gt;
enjoy gang!&lt;br /&gt;
&lt;br /&gt;
winglman&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10597</id>
		<title>Fedora 21 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10597"/>
		<updated>2015-03-12T18:31:42Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* save it replace it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= AMD CATALYST-14.12 FOR GNOME AND KDE ENVIRONMENT =&lt;br /&gt;
&lt;br /&gt;
==First off this is still a work in progress! and not a walk in the park! but it works very good and is stable.==&lt;br /&gt;
==This  part is for &#039;&#039;&#039;KDE &amp;amp; GNOME&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fully update your system and make sure your running kernel 3.18+ &#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;install pre-requisite packages:&lt;br /&gt;
 yum install gcc kernel-headers kernel-devel&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip &lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
* &#039;&#039;&#039;now we need to extract the installer in order to patch &amp;quot;kcl_acpi.c&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
 sh amd-driver-installer-14.501.1003-x86.x86_64.run --extract catalyst &lt;br /&gt;
now using gedit or whatever text editor open /catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c&lt;br /&gt;
at &#039;&#039;&#039;line 834&#039;&#039;&#039; replace  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
by &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7) &amp;amp;&amp;amp; LINUX_VERSION_CODE &amp;lt; KERNEL_VERSION(3,17,0)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
save it someware and then replace it whit yours&lt;br /&gt;
==This next part is for &#039;&#039;&#039;KDE ONLY&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
and reboot. your done!&lt;br /&gt;
&lt;br /&gt;
==This funny part is for &#039;&#039;&#039;GNOME&#039;&#039;&#039;==&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
===do not reboot after the installation===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
to fix it  open terminal and copy &amp;amp; past &#039;&#039;&#039;one line at the time&#039;&#039;&#039;&lt;br /&gt;
 cd /usr/lib64/xorg/modules/drivers/&lt;br /&gt;
 Xorg -version &amp;gt; /amd_xversion 2&amp;gt;&amp;amp;1&lt;br /&gt;
 offset=`strings -td fglrx_drv.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=fglrx_drv.so bs=1 count=13 seek=$offset&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 cd /extensions/&lt;br /&gt;
 offset=`strings -td libglx.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=libglx.so bs=1 count=13 seek=$offset&lt;br /&gt;
last part is to &#039;&#039;&#039;Assist Clutter in recognizing the OpenGL version&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
open gedit and edit /etc/profile&lt;br /&gt;
at the bottom add those following line&lt;br /&gt;
&lt;br /&gt;
export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
export COGL_OVERRIDE_GL_VERSION=1.4&lt;br /&gt;
&lt;br /&gt;
export COGL_RENDERER=GLX&lt;br /&gt;
&lt;br /&gt;
export LD_PRELOAD=/usr/lib64/fglrx/fglrx-libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
gnome-session&lt;br /&gt;
&lt;br /&gt;
===save it replace it ===&lt;br /&gt;
&lt;br /&gt;
Now we need to switch from GDM to lightdm in order to login {will be fix soon )&lt;br /&gt;
 dnf install lightdm&lt;br /&gt;
 systemctl disable gdm&lt;br /&gt;
 systemctl enable lightdm&lt;br /&gt;
and now you can &#039;&#039;&#039;finally reboot&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
==FlashPlayer HW Acceleration using Firefox==&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&#039;&#039;&#039;KDE user must uninstall pepper and re-intall Flash&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add RPM Fusion Repo &#039;&#039;&#039;right-click Open link in new tab&#039;&#039;&#039; and install it.&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-21.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
This next part will provide a generic VDPAU library. It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 yum install gstreamer1-vaapi.x86_64 libvdpau-va-gl.x86_64&lt;br /&gt;
now open text editor and add this line  &#039;&#039;&#039;export VDPAU_DRIVER=va_gl&#039;&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/profile&#039;&#039;&#039; at the end just above export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
and reboot! voila&lt;br /&gt;
&lt;br /&gt;
enjoy gang!&lt;br /&gt;
&lt;br /&gt;
winglman&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10596</id>
		<title>Fedora 21 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10596"/>
		<updated>2015-03-12T16:35:19Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* save it replace it and now you can finally reboot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= AMD CATALYST-14.12 FOR GNOME AND KDE ENVIRONMENT =&lt;br /&gt;
&lt;br /&gt;
==First off this is still a work in progress! and not a walk in the park! but it works very good and is stable.==&lt;br /&gt;
==This  part is for &#039;&#039;&#039;KDE &amp;amp; GNOME&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fully update your system and make sure your running kernel 3.18+ &#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;install pre-requisite packages:&lt;br /&gt;
 yum install gcc kernel-headers kernel-devel&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip &lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
* &#039;&#039;&#039;now we need to extract the installer in order to patch &amp;quot;kcl_acpi.c&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
 sh amd-driver-installer-14.501.1003-x86.x86_64.run --extract catalyst &lt;br /&gt;
now using gedit or whatever text editor open /catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c&lt;br /&gt;
at &#039;&#039;&#039;line 834&#039;&#039;&#039; replace  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
by &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7) &amp;amp;&amp;amp; LINUX_VERSION_CODE &amp;lt; KERNEL_VERSION(3,17,0)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
save it someware and then replace it whit yours&lt;br /&gt;
==This next part is for &#039;&#039;&#039;KDE ONLY&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
and reboot. your done!&lt;br /&gt;
&lt;br /&gt;
==This funny part is for &#039;&#039;&#039;GNOME&#039;&#039;&#039;==&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
===do not reboot after the installation===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
to fix it  open terminal and copy &amp;amp; past &#039;&#039;&#039;one line at the time&#039;&#039;&#039;&lt;br /&gt;
 cd /usr/lib64/xorg/modules/drivers/&lt;br /&gt;
 Xorg -version &amp;gt; /amd_xversion 2&amp;gt;&amp;amp;1&lt;br /&gt;
 offset=`strings -td fglrx_drv.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=fglrx_drv.so bs=1 count=13 seek=$offset&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 cd /extensions/&lt;br /&gt;
 offset=`strings -td libglx.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=libglx.so bs=1 count=13 seek=$offset&lt;br /&gt;
last part is to &#039;&#039;&#039;Assist Clutter in recognizing the OpenGL version&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
open gedit and edit /etc/profile&lt;br /&gt;
at the bottom add those following line&lt;br /&gt;
&lt;br /&gt;
export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
export COGL_OVERRIDE_GL_VERSION=1.4&lt;br /&gt;
&lt;br /&gt;
export COGL_RENDERER=GLX&lt;br /&gt;
&lt;br /&gt;
export LD_PRELOAD=/usr/lib64/fglrx/fglrx-libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
gnome-session&lt;br /&gt;
&lt;br /&gt;
===save it replace it ===&lt;br /&gt;
&lt;br /&gt;
Now we need to switch from GDM to lightdm in order to login {will be fix soon )&lt;br /&gt;
 dnf install lightdm&lt;br /&gt;
 systemctl disable gdm&lt;br /&gt;
 systemctl enable lightdm&lt;br /&gt;
and now you can &#039;&#039;&#039;finally reboot&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
enjoy gang!&lt;br /&gt;
&lt;br /&gt;
winglman&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10595</id>
		<title>Fedora 21 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_21_Installation_Guide&amp;diff=10595"/>
		<updated>2015-03-12T16:22:32Z</updated>

		<summary type="html">&lt;p&gt;Winglman: work in progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= AMD CATALYST-14.12 FOR GNOME AND KDE ENVIRONMENT =&lt;br /&gt;
&lt;br /&gt;
==First off this is still a work in progress! and not a walk in the park! but it works very good and is stable.==&lt;br /&gt;
==This  part is for &#039;&#039;&#039;KDE &amp;amp; GNOME&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fully update your system and make sure your running kernel 3.18+ &#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;install pre-requisite packages:&lt;br /&gt;
 yum install gcc kernel-headers kernel-devel&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip &lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
* &#039;&#039;&#039;now we need to extract the installer in order to patch &amp;quot;kcl_acpi.c&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
 sh amd-driver-installer-14.501.1003-x86.x86_64.run --extract catalyst &lt;br /&gt;
now using gedit or whatever text editor open /catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c&lt;br /&gt;
at &#039;&#039;&#039;line 834&#039;&#039;&#039; replace  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
by &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,12,7) &amp;amp;&amp;amp; LINUX_VERSION_CODE &amp;lt; KERNEL_VERSION(3,17,0)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
save it someware and then replace it whit yours&lt;br /&gt;
==This next part is for &#039;&#039;&#039;KDE ONLY&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
and reboot. your done!&lt;br /&gt;
&lt;br /&gt;
==This funny part is for &#039;&#039;&#039;GNOME&#039;&#039;&#039;==&lt;br /&gt;
 cd catalyst{{Catalystversion}}/catalyst&lt;br /&gt;
 sh ati-installer.sh 14.501 --install&lt;br /&gt;
===do not reboot after the installation===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
to fix it  open terminal and copy &amp;amp; past &#039;&#039;&#039;one line at the time&#039;&#039;&#039;&lt;br /&gt;
 cd /usr/lib64/xorg/modules/drivers/&lt;br /&gt;
 Xorg -version &amp;gt; /amd_xversion 2&amp;gt;&amp;amp;1&lt;br /&gt;
 offset=`strings -td fglrx_drv.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=fglrx_drv.so bs=1 count=13 seek=$offset&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 cd /extensions/&lt;br /&gt;
 offset=`strings -td libglx.so | grep &#039;/proc/%i/fd/0&#039; | sed &#039;s/^ *//&#039; | cut -d&#039; &#039; -f1`&lt;br /&gt;
 echo -ne &#039;/amd_xversion&#039; | dd conv=notrunc of=libglx.so bs=1 count=13 seek=$offset&lt;br /&gt;
last part is to &#039;&#039;&#039;Assist Clutter in recognizing the OpenGL version&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
open gedit and edit /etc/profile&lt;br /&gt;
at the bottom add those following line&lt;br /&gt;
&lt;br /&gt;
export COGL_DRIVER=gl&lt;br /&gt;
&lt;br /&gt;
export COGL_OVERRIDE_GL_VERSION=1.4&lt;br /&gt;
&lt;br /&gt;
export COGL_RENDERER=GLX&lt;br /&gt;
&lt;br /&gt;
export LD_PRELOAD=/usr/lib64/fglrx/fglrx-libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
gnome-session&lt;br /&gt;
&lt;br /&gt;
===save it replace it and now you can &#039;&#039;&#039;finally reboot&#039;&#039;&#039;===&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10590</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10590"/>
		<updated>2015-03-07T18:29:20Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Hardware Video Decode Acceleration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
This next part will provide a generic VDPAU library. &lt;br /&gt;
It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
Here is what it shoud say when done &lt;br /&gt;
cheers,&lt;br /&gt;
&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo ppa-purge ppa:nilarimogard/webupd8&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10589</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10589"/>
		<updated>2015-03-07T18:23:07Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Hardware Video Decode Acceleration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
This next part will provide a generic VDPAU library. &lt;br /&gt;
It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
cheers,&lt;br /&gt;
&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo ppa-purge ppa:nilarimogard/webupd8&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10588</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10588"/>
		<updated>2015-03-07T18:21:25Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Hardware Video Decode Acceleration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
This next part will provide a generic VDPAU library. &lt;br /&gt;
It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
cheers&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo ppa-purge ppa:nilarimogard/webupd8&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10587</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10587"/>
		<updated>2015-03-07T18:19:10Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Revert to original drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
This next part will provide a generic VDPAU library. &lt;br /&gt;
It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo ppa-purge ppa:nilarimogard/webupd8&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10586</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10586"/>
		<updated>2015-03-07T18:17:03Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* This next part will provide a generic VDPAU library. It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
This next part will provide a generic VDPAU library. &lt;br /&gt;
It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. &lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10585</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10585"/>
		<updated>2015-03-07T18:15:26Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Hardware Video Decode Acceleration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
=== This next part will provide a generic VDPAU library. It uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. ===&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10584</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10584"/>
		<updated>2015-03-07T18:14:06Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Hardware Video Decode Acceleration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
=== This next part will provide a generic VDPAU library. It uses OpenGL under&lt;br /&gt;
the hood to accelerate drawing and scaling and VA-API (if available)&lt;br /&gt;
to accelerate video decoding. ===&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10583</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10583"/>
		<updated>2015-03-07T18:12:48Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Hardware Video Decode Acceleration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Do NOT perform the steps below if you are running Ubuntu 14.04.2 with [https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/UbuntuGNOME#LTS_Enablement_Stacks LTS Enablement Stacks]&#039;&#039;&#039;. You will be left with a broken system as a result of [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1424491 a dependency issue] because building the packages below will automatically trigger an attempt to resolve missing dependencies.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-omega-&amp;lt;/nowiki&amp;gt;{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
 unzip amd-catalyst-omega-{{Catalystversion}}-linux-run-installers.zip&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine. In this case you&#039;ll need to [[#fglrx-core_conflicts_with_libopencl1| modify the fglrx-core package]] before executing the second command below.&lt;br /&gt;
&lt;br /&gt;
 sudo ./fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
Note that the beta drivers aren&#039;t neccassarily newer than the stable drivers.&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0jul11 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0jul11&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-jul11.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains AMD, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: Advanced Micro Devices, Inc.&lt;br /&gt;
OpenGL renderer string: AMD Radeon HD 6670  --  (This line may be different depending on what graphics card you are using!)&lt;br /&gt;
OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005  --  (This line may be different depending on what graphics card and Catalyst version you are using!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration =&lt;br /&gt;
== Using VA-API ==&lt;br /&gt;
VA-API is supported by default as of Catalyst 14.12. No additional driver has to be installed any more.&lt;br /&gt;
The xvba-va driver section below only applies to Catalyst 14.9 and older.&lt;br /&gt;
&lt;br /&gt;
=== Using the xvba-va driver (pre Catalyst 14.12) ===&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will give you some acceleration of HD formats though.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
=== Utilize VA-API Acceleration ===&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
For Gstreamer acceleration (Firefox, Totem) you also need:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gstreamer1.0-vaapi&lt;br /&gt;
&lt;br /&gt;
Note, however, that installing the above package is [https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 known to crash Firefox] when trying to play HTML5 video.&lt;br /&gt;
&lt;br /&gt;
=== Test VA-API Acceleration ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink.&lt;br /&gt;
For 64-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
For 32-bit systems:&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
== Using VDPAU (EXPERIMENTAL) ==&lt;br /&gt;
Requires the latest open source driver provided by Oibaf in his PPA.&lt;br /&gt;
&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Reboot your system and proceed by installing the VDPAU driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
&lt;br /&gt;
You can test the VDPAU driver by using mplayer.&lt;br /&gt;
&lt;br /&gt;
 mplayer -vo vdpau -vc ffmpeg12vdpau yourvideofile&lt;br /&gt;
&lt;br /&gt;
=== Flash Hardware Video Decode Acceleration ===&lt;br /&gt;
To be used whit  Catalyst-14.12 &amp;amp; UP! since it now provide the the VA-API Driver version: AMD MMD 1.0&lt;br /&gt;
&lt;br /&gt;
This only applies to Firefox and other NPAPI-compatible web browsers not Pepper Flash included in Chrome.&lt;br /&gt;
&lt;br /&gt;
Assuming Catalyst 14-12 is install open terminal and install the follow&lt;br /&gt;
 sudo apt-get install vainfo gstreamer1.0-vaapi&lt;br /&gt;
then add the following repo&lt;br /&gt;
 sudo add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
===This next part will provide a generic VDPAU library. It uses OpenGL under&lt;br /&gt;
the hood to accelerate drawing and scaling and VA-API (if available)&lt;br /&gt;
to accelerate video decoding.===&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install libvdpau-va-gl1&lt;br /&gt;
 sudo sh -c &amp;quot;echo &#039;export VDPAU_DRIVER=va_gl&#039; &amp;gt;&amp;gt; /etc/profile&amp;quot;&lt;br /&gt;
Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it.&lt;br /&gt;
 sudo mkdir /etc/adobe&lt;br /&gt;
 sudo echo -e &amp;quot;EnableLinuxHWVideoDecode =1\nOverrideGPUValidation =1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
&lt;br /&gt;
===REBOOT===&lt;br /&gt;
&lt;br /&gt;
You can check if acceleration is working by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
This [https://github.com/anion155/amd-indicator GitHub rep] provides comfortable indicator for switching between cards.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== fglrx-core conflicts with libopencl1 ==&lt;br /&gt;
If you have Wine installed, the driver installation may fail due to a conflict with a library included with Wine.&lt;br /&gt;
&lt;br /&gt;
After you have created or downloaded the .deb files, but before you install them, repackage the fglrx-core package by doing the following&lt;br /&gt;
 dpkg-deb -R fglrx-core_14.501-0ubuntu1_amd64.deb fglrx-core&lt;br /&gt;
 sed -ri &#039;s/(Conflicts|Provides).*/\1: fglrx-driver-core/&#039; fglrx-core/DEBIAN/control&lt;br /&gt;
 sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb&lt;br /&gt;
Now continue to install the packages as usual (usually dpkg -i)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10576</id>
		<title>SUSE/openSUSE</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10576"/>
		<updated>2015-02-25T04:56:07Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Status ==&lt;br /&gt;
* Native Installer Support contributed by Sebastian Siebert, Stefan Dirsch&lt;br /&gt;
* Installation guide by Winglman &amp;amp; &amp;quot;the other friendly guy&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Any OpenSuse version auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) - RECOMMENDED WAY - ONLY for openSUSE 11.x 12.x and 13.2 ===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 13.1\13.2  auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.x 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.x 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 12.3 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Enable Software Source in YaSt&lt;br /&gt;
*Click on your RESPECTIVE ARCH below and OPEN with YaSt&lt;br /&gt;
  &lt;br /&gt;
*X86&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp&lt;br /&gt;
*X64&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*Generate Config file via console&lt;br /&gt;
  sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot &amp;amp; Have fun people!&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.2 auto install Amd Driver (RADEON 5000,6000,7000 Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Click on  The &amp;quot;one-click-installer&amp;quot; and open with YaSt&lt;br /&gt;
&lt;br /&gt;
*32bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp&lt;br /&gt;
*64bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*XBMC Media Center can be install via package manager with packman repo install&lt;br /&gt;
&lt;br /&gt;
*Follow instructions then Reboot&lt;br /&gt;
*Your done!&lt;br /&gt;
*check out packman repo for extra plugins and stuff,&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.1 (Driver from AMD website) easy way...===&lt;br /&gt;
*Download The Latest AMD Driver from ATI/AMD&lt;br /&gt;
   wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
  &lt;br /&gt;
   unzip amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
   chmod +x amd-driver-installer-9.002-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
*Open software manager in YAST and install 5 packages by hand:&lt;br /&gt;
&#039;&#039;kernel-devel kernel-desktop-devel gcc gcc-c++ make&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
OR use the terminal and run:&lt;br /&gt;
   sudo zypper in kernel-devel kernel-desktop-devel gcc gcc-c++ make kernel-syms&lt;br /&gt;
*reboot&lt;br /&gt;
*&#039;&#039;&#039;If radeon driver is active&#039;&#039;&#039; you must blacklist it, add this to boot paramaters (during grub startup menu):&lt;br /&gt;
   radeon.modeset=0 blacklist=radeon 3&lt;br /&gt;
*This will disable radeon driver and boot into runlevel 3. SU to get root, run mkinitrd to make sure radeon stays blacklisted.&lt;br /&gt;
*(Comment) in case the above method does not help, you may try add to /etc/modprobe.d/50-blacklist.conf the following line&lt;br /&gt;
   blacklist radeon&lt;br /&gt;
&lt;br /&gt;
*(Comment) Either way, when your linux booted, you should check whether the radeon kernel module is not loaded, run &lt;br /&gt;
   lsmod | grep radeon&lt;br /&gt;
if nothing comes up you are good to go&lt;br /&gt;
*cd to directory where proprietary &amp;quot;amd-driver-installer&amp;quot; is, &lt;br /&gt;
type:   &lt;br /&gt;
   sh amd-driver-installer-*.run &lt;br /&gt;
*install default (do not generate distibution package)&lt;br /&gt;
*verify /usr/share/ati fglrx-install.log, at the end of the file you should see &amp;quot;build succeeded with return value 0 duplicating results into driver repository...done.&lt;br /&gt;
*in terminal type: &lt;br /&gt;
   aticonfig --initial -f&lt;br /&gt;
*then run:&lt;br /&gt;
   /sbin/shutdown -r now&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 The Easy Way===&lt;br /&gt;
*There is a one click installer available [http://en.opensuse.org/ATI_Driver_HOWTO#1-click_install_for_openSUSE_11.1.2C_11.0_and_10.3] for both of these OS&#039;s, this will give you access to a working ATi driver however it may not be the latest one available.&lt;br /&gt;
&lt;br /&gt;
EDIT: This is currently not working. ATi Repository is down for OpenSUSE.&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 With The Latest Driver===&lt;br /&gt;
&lt;br /&gt;
You can easily install the latest versions of the ATi driver on OpenSuSE 11.0+.&lt;br /&gt;
&lt;br /&gt;
*Download The Latest ATi Driver.&lt;br /&gt;
*Log in as Root using su&lt;br /&gt;
*Install some dependencies with: &#039;&#039;&#039;zypper in kernel-source gcc make patch&#039;&#039;&#039; &#039;&#039;(I think, this needs more documentation &amp;amp; explanation in and of itself)&#039;&#039;&lt;br /&gt;
*Install the ATi Driver with: &#039;&#039;&#039;sh ./ati-driver-installer-VERSION.run&#039;&#039;&#039;&lt;br /&gt;
*Configure X to use the ATi Driver with: &#039;&#039;&#039;aticonfig --initial -f&#039;&#039;&#039;&lt;br /&gt;
*Configure sax2 to use the driver with sax2 -r -m 0=fglrx &amp;lt;b&amp;gt;Test May Crash the computer, Press Save&amp;lt;/b&amp;gt;&lt;br /&gt;
*Exit the root account with exit&lt;br /&gt;
*Reboot the computer. &amp;lt;i&amp;gt;You can restart X by pressing ctrl-alt-backspace twice however rebooting is more reliable&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which came first, the problem or the sotluion? Luckily it doesn&#039;t matter.&lt;br /&gt;
&lt;br /&gt;
===GUIDE: ATI Installer HOWTO for SUSE/Novell users===&lt;br /&gt;
http://www.suse.de/~sndirsch/ati-installer-HOWTO.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===YET ANOTHER Installation Guide:===&lt;br /&gt;
&lt;br /&gt;
Generally following this guide should help most of you:&lt;br /&gt;
http://linux.wordpress.com/2006/05/12/suse-101-ati-drivers-installation/&lt;br /&gt;
&lt;br /&gt;
What follows is a slightly simplified version that I&#039;ve used numerous times without fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. BACKUP your current &amp;lt;code&amp;gt;/etc/X11/xorg.conf&amp;lt;/code&amp;gt; file, preferably to your home directory. Now change to a command shell by hitting Ctrl-Alt-F1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Remove any previous versions of the ATI driver by either&lt;br /&gt;
&lt;br /&gt;
If you have installed a previous ATI driver version without using RPM packages (or if you don&#039;t know if you have or not), type the following:&lt;br /&gt;
&lt;br /&gt;
 cd /usr/share/ati &lt;br /&gt;
 sh ./fglrx-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
Otherwise, and even if you&#039;ve done the above type the following,&lt;br /&gt;
&lt;br /&gt;
 rpm -e $(rpm -qa | grep fglrx)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Change the directory containing the downloaded ati-driver...run file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Change the permissions of the driver file to executable by typing the following:&lt;br /&gt;
&lt;br /&gt;
 chmod +x ./ati-driver...&lt;br /&gt;
&lt;br /&gt;
Use the tab button to complete the rest of the ati-driver... file name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create a SUSE RPM (info is for 32 bit version) from the file by typing&lt;br /&gt;
&lt;br /&gt;
 ./ati-driver-installer-*.run --buildpkg SuSE/SUSE101-IA32&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Install the created fglrx... file by typing&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh fglrx_...(hit tab again to get full name)...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. The following command will update your library cache, you&#039;re recommended to run it:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Now run the ati config commands:&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial --input=/etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Now run the Sax2 setup.&lt;br /&gt;
&lt;br /&gt;
 sax2 -r -m 0=fglrx&lt;br /&gt;
&lt;br /&gt;
You may wish to alter the refresh rates and DPI info with this, otherwise just hit save. DO NOT hit the test button, it regually crashes my machine when i do...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Reboot you machine. Do not use the reboot command, again this messes my machine up on the next boot for whatever reason... try&lt;br /&gt;
&lt;br /&gt;
 shutdown -h now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Boot up again, and check the new /etc/X11/xorg.conf file, compare it to your old one, and make any changes if you know what you&#039;re doing.&lt;br /&gt;
&lt;br /&gt;
==Video Playback==&lt;br /&gt;
Add Packman Repositories&lt;br /&gt;
*Open YAST&lt;br /&gt;
*Open Software Source, Click add, From URL&lt;br /&gt;
*and add this url    http://packman.inode.at/suse/openSUSE_13.1 (Change &amp;quot;openSUSE_XX.Y&amp;quot; to match your openSUSE version)&lt;br /&gt;
*This will provide extra packages for video playback and other stuff.&lt;br /&gt;
&lt;br /&gt;
==To Uninstall==&lt;br /&gt;
Open terminal, get root permissions with su command, and then type:&lt;br /&gt;
   sh /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [http://www.suse.de/~sndirsch/ati-installer-HOWTO.html Novell HOWTO]&lt;br /&gt;
* [http://en.opensuse.org/SDB:ATI_drivers SDB:ATI drivers]&lt;br /&gt;
* [http://de.opensuse.org/SDB:AMD/ATI-Grafiktreiber SDB:AMD/ATI-Grafiktreiber (german)]&lt;br /&gt;
&lt;br /&gt;
AMD Packaging Script Maintainer for openSUSE:&lt;br /&gt;
* [http://www.sebastian-siebert.de/ Sebastian Siebert]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10575</id>
		<title>SUSE/openSUSE</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10575"/>
		<updated>2015-02-25T04:44:05Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* OpenSuse 12.3 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Status ==&lt;br /&gt;
* Native Installer Support contributed by Sebastian Siebert, Stefan Dirsch&lt;br /&gt;
* Installation guide by Winglman &amp;amp; &amp;quot;the other friendly guy&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Any OpenSuse version auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) - RECOMMENDED WAY - ONLY for openSUSE 11.x 12.x and 13.1 ===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 13.1 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.1 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.1 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 12.3 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Enable Software Source in YaSt&lt;br /&gt;
*Click on your RESPECTIVE ARCH below and OPEN with YaSt&lt;br /&gt;
  &lt;br /&gt;
*X86&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp&lt;br /&gt;
*X64&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*Generate Config file via console&lt;br /&gt;
  sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot &amp;amp; Have fun people!&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.2 auto install Amd Driver (RADEON 5000,6000,7000 Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Click on  The &amp;quot;one-click-installer&amp;quot; and open with YaSt&lt;br /&gt;
&lt;br /&gt;
*32bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp&lt;br /&gt;
*64bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*XBMC Media Center can be install via package manager with packman repo install&lt;br /&gt;
&lt;br /&gt;
*Follow instructions then Reboot&lt;br /&gt;
*Your done!&lt;br /&gt;
*check out packman repo for extra plugins and stuff,&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.1 (Driver from AMD website) easy way...===&lt;br /&gt;
*Download The Latest AMD Driver from ATI/AMD&lt;br /&gt;
   wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
  &lt;br /&gt;
   unzip amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
   chmod +x amd-driver-installer-9.002-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
*Open software manager in YAST and install 5 packages by hand:&lt;br /&gt;
&#039;&#039;kernel-devel kernel-desktop-devel gcc gcc-c++ make&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
OR use the terminal and run:&lt;br /&gt;
   sudo zypper in kernel-devel kernel-desktop-devel gcc gcc-c++ make kernel-syms&lt;br /&gt;
*reboot&lt;br /&gt;
*&#039;&#039;&#039;If radeon driver is active&#039;&#039;&#039; you must blacklist it, add this to boot paramaters (during grub startup menu):&lt;br /&gt;
   radeon.modeset=0 blacklist=radeon 3&lt;br /&gt;
*This will disable radeon driver and boot into runlevel 3. SU to get root, run mkinitrd to make sure radeon stays blacklisted.&lt;br /&gt;
*(Comment) in case the above method does not help, you may try add to /etc/modprobe.d/50-blacklist.conf the following line&lt;br /&gt;
   blacklist radeon&lt;br /&gt;
&lt;br /&gt;
*(Comment) Either way, when your linux booted, you should check whether the radeon kernel module is not loaded, run &lt;br /&gt;
   lsmod | grep radeon&lt;br /&gt;
if nothing comes up you are good to go&lt;br /&gt;
*cd to directory where proprietary &amp;quot;amd-driver-installer&amp;quot; is, &lt;br /&gt;
type:   &lt;br /&gt;
   sh amd-driver-installer-*.run &lt;br /&gt;
*install default (do not generate distibution package)&lt;br /&gt;
*verify /usr/share/ati fglrx-install.log, at the end of the file you should see &amp;quot;build succeeded with return value 0 duplicating results into driver repository...done.&lt;br /&gt;
*in terminal type: &lt;br /&gt;
   aticonfig --initial -f&lt;br /&gt;
*then run:&lt;br /&gt;
   /sbin/shutdown -r now&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 The Easy Way===&lt;br /&gt;
*There is a one click installer available [http://en.opensuse.org/ATI_Driver_HOWTO#1-click_install_for_openSUSE_11.1.2C_11.0_and_10.3] for both of these OS&#039;s, this will give you access to a working ATi driver however it may not be the latest one available.&lt;br /&gt;
&lt;br /&gt;
EDIT: This is currently not working. ATi Repository is down for OpenSUSE.&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 With The Latest Driver===&lt;br /&gt;
&lt;br /&gt;
You can easily install the latest versions of the ATi driver on OpenSuSE 11.0+.&lt;br /&gt;
&lt;br /&gt;
*Download The Latest ATi Driver.&lt;br /&gt;
*Log in as Root using su&lt;br /&gt;
*Install some dependencies with: &#039;&#039;&#039;zypper in kernel-source gcc make patch&#039;&#039;&#039; &#039;&#039;(I think, this needs more documentation &amp;amp; explanation in and of itself)&#039;&#039;&lt;br /&gt;
*Install the ATi Driver with: &#039;&#039;&#039;sh ./ati-driver-installer-VERSION.run&#039;&#039;&#039;&lt;br /&gt;
*Configure X to use the ATi Driver with: &#039;&#039;&#039;aticonfig --initial -f&#039;&#039;&#039;&lt;br /&gt;
*Configure sax2 to use the driver with sax2 -r -m 0=fglrx &amp;lt;b&amp;gt;Test May Crash the computer, Press Save&amp;lt;/b&amp;gt;&lt;br /&gt;
*Exit the root account with exit&lt;br /&gt;
*Reboot the computer. &amp;lt;i&amp;gt;You can restart X by pressing ctrl-alt-backspace twice however rebooting is more reliable&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which came first, the problem or the sotluion? Luckily it doesn&#039;t matter.&lt;br /&gt;
&lt;br /&gt;
===GUIDE: ATI Installer HOWTO for SUSE/Novell users===&lt;br /&gt;
http://www.suse.de/~sndirsch/ati-installer-HOWTO.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===YET ANOTHER Installation Guide:===&lt;br /&gt;
&lt;br /&gt;
Generally following this guide should help most of you:&lt;br /&gt;
http://linux.wordpress.com/2006/05/12/suse-101-ati-drivers-installation/&lt;br /&gt;
&lt;br /&gt;
What follows is a slightly simplified version that I&#039;ve used numerous times without fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. BACKUP your current &amp;lt;code&amp;gt;/etc/X11/xorg.conf&amp;lt;/code&amp;gt; file, preferably to your home directory. Now change to a command shell by hitting Ctrl-Alt-F1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Remove any previous versions of the ATI driver by either&lt;br /&gt;
&lt;br /&gt;
If you have installed a previous ATI driver version without using RPM packages (or if you don&#039;t know if you have or not), type the following:&lt;br /&gt;
&lt;br /&gt;
 cd /usr/share/ati &lt;br /&gt;
 sh ./fglrx-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
Otherwise, and even if you&#039;ve done the above type the following,&lt;br /&gt;
&lt;br /&gt;
 rpm -e $(rpm -qa | grep fglrx)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Change the directory containing the downloaded ati-driver...run file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Change the permissions of the driver file to executable by typing the following:&lt;br /&gt;
&lt;br /&gt;
 chmod +x ./ati-driver...&lt;br /&gt;
&lt;br /&gt;
Use the tab button to complete the rest of the ati-driver... file name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create a SUSE RPM (info is for 32 bit version) from the file by typing&lt;br /&gt;
&lt;br /&gt;
 ./ati-driver-installer-*.run --buildpkg SuSE/SUSE101-IA32&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Install the created fglrx... file by typing&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh fglrx_...(hit tab again to get full name)...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. The following command will update your library cache, you&#039;re recommended to run it:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Now run the ati config commands:&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial --input=/etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Now run the Sax2 setup.&lt;br /&gt;
&lt;br /&gt;
 sax2 -r -m 0=fglrx&lt;br /&gt;
&lt;br /&gt;
You may wish to alter the refresh rates and DPI info with this, otherwise just hit save. DO NOT hit the test button, it regually crashes my machine when i do...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Reboot you machine. Do not use the reboot command, again this messes my machine up on the next boot for whatever reason... try&lt;br /&gt;
&lt;br /&gt;
 shutdown -h now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Boot up again, and check the new /etc/X11/xorg.conf file, compare it to your old one, and make any changes if you know what you&#039;re doing.&lt;br /&gt;
&lt;br /&gt;
==Video Playback==&lt;br /&gt;
Add Packman Repositories&lt;br /&gt;
*Open YAST&lt;br /&gt;
*Open Software Source, Click add, From URL&lt;br /&gt;
*and add this url    http://packman.inode.at/suse/openSUSE_13.1 (Change &amp;quot;openSUSE_XX.Y&amp;quot; to match your openSUSE version)&lt;br /&gt;
*This will provide extra packages for video playback and other stuff.&lt;br /&gt;
&lt;br /&gt;
==To Uninstall==&lt;br /&gt;
Open terminal, get root permissions with su command, and then type:&lt;br /&gt;
   sh /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [http://www.suse.de/~sndirsch/ati-installer-HOWTO.html Novell HOWTO]&lt;br /&gt;
* [http://en.opensuse.org/SDB:ATI_drivers SDB:ATI drivers]&lt;br /&gt;
* [http://de.opensuse.org/SDB:AMD/ATI-Grafiktreiber SDB:AMD/ATI-Grafiktreiber (german)]&lt;br /&gt;
&lt;br /&gt;
AMD Packaging Script Maintainer for openSUSE:&lt;br /&gt;
* [http://www.sebastian-siebert.de/ Sebastian Siebert]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10574</id>
		<title>SUSE/openSUSE</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10574"/>
		<updated>2015-02-25T04:42:43Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* OpenSuse 13.1 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Status ==&lt;br /&gt;
* Native Installer Support contributed by Sebastian Siebert, Stefan Dirsch&lt;br /&gt;
* Installation guide by Winglman &amp;amp; &amp;quot;the other friendly guy&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Any OpenSuse version auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) - RECOMMENDED WAY - ONLY for openSUSE 11.x 12.x and 13.1 ===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 13.1 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.1 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.1 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 12.3 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Enable Software Source in YaSt&lt;br /&gt;
*Click on your RESPECTIVE ARCH below and OPEN with YaSt&lt;br /&gt;
  &lt;br /&gt;
*X86&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-ati-fglrx.ymp&lt;br /&gt;
&lt;br /&gt;
*X64&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*Generate Config file via console&lt;br /&gt;
  sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot &amp;amp; Have fun people!&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.2 auto install Amd Driver (RADEON 5000,6000,7000 Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Click on  The &amp;quot;one-click-installer&amp;quot; and open with YaSt&lt;br /&gt;
&lt;br /&gt;
*32bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp&lt;br /&gt;
*64bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*XBMC Media Center can be install via package manager with packman repo install&lt;br /&gt;
&lt;br /&gt;
*Follow instructions then Reboot&lt;br /&gt;
*Your done!&lt;br /&gt;
*check out packman repo for extra plugins and stuff,&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.1 (Driver from AMD website) easy way...===&lt;br /&gt;
*Download The Latest AMD Driver from ATI/AMD&lt;br /&gt;
   wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
  &lt;br /&gt;
   unzip amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
   chmod +x amd-driver-installer-9.002-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
*Open software manager in YAST and install 5 packages by hand:&lt;br /&gt;
&#039;&#039;kernel-devel kernel-desktop-devel gcc gcc-c++ make&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
OR use the terminal and run:&lt;br /&gt;
   sudo zypper in kernel-devel kernel-desktop-devel gcc gcc-c++ make kernel-syms&lt;br /&gt;
*reboot&lt;br /&gt;
*&#039;&#039;&#039;If radeon driver is active&#039;&#039;&#039; you must blacklist it, add this to boot paramaters (during grub startup menu):&lt;br /&gt;
   radeon.modeset=0 blacklist=radeon 3&lt;br /&gt;
*This will disable radeon driver and boot into runlevel 3. SU to get root, run mkinitrd to make sure radeon stays blacklisted.&lt;br /&gt;
*(Comment) in case the above method does not help, you may try add to /etc/modprobe.d/50-blacklist.conf the following line&lt;br /&gt;
   blacklist radeon&lt;br /&gt;
&lt;br /&gt;
*(Comment) Either way, when your linux booted, you should check whether the radeon kernel module is not loaded, run &lt;br /&gt;
   lsmod | grep radeon&lt;br /&gt;
if nothing comes up you are good to go&lt;br /&gt;
*cd to directory where proprietary &amp;quot;amd-driver-installer&amp;quot; is, &lt;br /&gt;
type:   &lt;br /&gt;
   sh amd-driver-installer-*.run &lt;br /&gt;
*install default (do not generate distibution package)&lt;br /&gt;
*verify /usr/share/ati fglrx-install.log, at the end of the file you should see &amp;quot;build succeeded with return value 0 duplicating results into driver repository...done.&lt;br /&gt;
*in terminal type: &lt;br /&gt;
   aticonfig --initial -f&lt;br /&gt;
*then run:&lt;br /&gt;
   /sbin/shutdown -r now&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 The Easy Way===&lt;br /&gt;
*There is a one click installer available [http://en.opensuse.org/ATI_Driver_HOWTO#1-click_install_for_openSUSE_11.1.2C_11.0_and_10.3] for both of these OS&#039;s, this will give you access to a working ATi driver however it may not be the latest one available.&lt;br /&gt;
&lt;br /&gt;
EDIT: This is currently not working. ATi Repository is down for OpenSUSE.&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 With The Latest Driver===&lt;br /&gt;
&lt;br /&gt;
You can easily install the latest versions of the ATi driver on OpenSuSE 11.0+.&lt;br /&gt;
&lt;br /&gt;
*Download The Latest ATi Driver.&lt;br /&gt;
*Log in as Root using su&lt;br /&gt;
*Install some dependencies with: &#039;&#039;&#039;zypper in kernel-source gcc make patch&#039;&#039;&#039; &#039;&#039;(I think, this needs more documentation &amp;amp; explanation in and of itself)&#039;&#039;&lt;br /&gt;
*Install the ATi Driver with: &#039;&#039;&#039;sh ./ati-driver-installer-VERSION.run&#039;&#039;&#039;&lt;br /&gt;
*Configure X to use the ATi Driver with: &#039;&#039;&#039;aticonfig --initial -f&#039;&#039;&#039;&lt;br /&gt;
*Configure sax2 to use the driver with sax2 -r -m 0=fglrx &amp;lt;b&amp;gt;Test May Crash the computer, Press Save&amp;lt;/b&amp;gt;&lt;br /&gt;
*Exit the root account with exit&lt;br /&gt;
*Reboot the computer. &amp;lt;i&amp;gt;You can restart X by pressing ctrl-alt-backspace twice however rebooting is more reliable&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which came first, the problem or the sotluion? Luckily it doesn&#039;t matter.&lt;br /&gt;
&lt;br /&gt;
===GUIDE: ATI Installer HOWTO for SUSE/Novell users===&lt;br /&gt;
http://www.suse.de/~sndirsch/ati-installer-HOWTO.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===YET ANOTHER Installation Guide:===&lt;br /&gt;
&lt;br /&gt;
Generally following this guide should help most of you:&lt;br /&gt;
http://linux.wordpress.com/2006/05/12/suse-101-ati-drivers-installation/&lt;br /&gt;
&lt;br /&gt;
What follows is a slightly simplified version that I&#039;ve used numerous times without fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. BACKUP your current &amp;lt;code&amp;gt;/etc/X11/xorg.conf&amp;lt;/code&amp;gt; file, preferably to your home directory. Now change to a command shell by hitting Ctrl-Alt-F1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Remove any previous versions of the ATI driver by either&lt;br /&gt;
&lt;br /&gt;
If you have installed a previous ATI driver version without using RPM packages (or if you don&#039;t know if you have or not), type the following:&lt;br /&gt;
&lt;br /&gt;
 cd /usr/share/ati &lt;br /&gt;
 sh ./fglrx-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
Otherwise, and even if you&#039;ve done the above type the following,&lt;br /&gt;
&lt;br /&gt;
 rpm -e $(rpm -qa | grep fglrx)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Change the directory containing the downloaded ati-driver...run file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Change the permissions of the driver file to executable by typing the following:&lt;br /&gt;
&lt;br /&gt;
 chmod +x ./ati-driver...&lt;br /&gt;
&lt;br /&gt;
Use the tab button to complete the rest of the ati-driver... file name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create a SUSE RPM (info is for 32 bit version) from the file by typing&lt;br /&gt;
&lt;br /&gt;
 ./ati-driver-installer-*.run --buildpkg SuSE/SUSE101-IA32&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Install the created fglrx... file by typing&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh fglrx_...(hit tab again to get full name)...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. The following command will update your library cache, you&#039;re recommended to run it:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Now run the ati config commands:&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial --input=/etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Now run the Sax2 setup.&lt;br /&gt;
&lt;br /&gt;
 sax2 -r -m 0=fglrx&lt;br /&gt;
&lt;br /&gt;
You may wish to alter the refresh rates and DPI info with this, otherwise just hit save. DO NOT hit the test button, it regually crashes my machine when i do...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Reboot you machine. Do not use the reboot command, again this messes my machine up on the next boot for whatever reason... try&lt;br /&gt;
&lt;br /&gt;
 shutdown -h now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Boot up again, and check the new /etc/X11/xorg.conf file, compare it to your old one, and make any changes if you know what you&#039;re doing.&lt;br /&gt;
&lt;br /&gt;
==Video Playback==&lt;br /&gt;
Add Packman Repositories&lt;br /&gt;
*Open YAST&lt;br /&gt;
*Open Software Source, Click add, From URL&lt;br /&gt;
*and add this url    http://packman.inode.at/suse/openSUSE_13.1 (Change &amp;quot;openSUSE_XX.Y&amp;quot; to match your openSUSE version)&lt;br /&gt;
*This will provide extra packages for video playback and other stuff.&lt;br /&gt;
&lt;br /&gt;
==To Uninstall==&lt;br /&gt;
Open terminal, get root permissions with su command, and then type:&lt;br /&gt;
   sh /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [http://www.suse.de/~sndirsch/ati-installer-HOWTO.html Novell HOWTO]&lt;br /&gt;
* [http://en.opensuse.org/SDB:ATI_drivers SDB:ATI drivers]&lt;br /&gt;
* [http://de.opensuse.org/SDB:AMD/ATI-Grafiktreiber SDB:AMD/ATI-Grafiktreiber (german)]&lt;br /&gt;
&lt;br /&gt;
AMD Packaging Script Maintainer for openSUSE:&lt;br /&gt;
* [http://www.sebastian-siebert.de/ Sebastian Siebert]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10573</id>
		<title>SUSE/openSUSE</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=SUSE/openSUSE&amp;diff=10573"/>
		<updated>2015-02-25T04:41:39Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Any OpenSuse version auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) - RECOMMENDED WAY - ONLY for openSUSE 11.x 12.x and 13.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Status ==&lt;br /&gt;
* Native Installer Support contributed by Sebastian Siebert, Stefan Dirsch&lt;br /&gt;
* Installation guide by Winglman &amp;amp; &amp;quot;the other friendly guy&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Any OpenSuse version auto install Amd Driver (RADEON 5000 &amp;amp; Up Series) - RECOMMENDED WAY - ONLY for openSUSE 11.x 12.x and 13.1 ===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 13.1 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Click on one of the following links according to your openSUSE&#039;s arquitecture (32 bits or 64 bits):&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-ati-fglrx.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.1 32 bits system]&lt;br /&gt;
  [http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-ati-fglrx64.ymp 1-Click installation of AMD/ATI fglrx drivers on openSUSE 13.1 64 bits system]&lt;br /&gt;
*In case the file extension association is not properly configured you have to open the .ymp file with &amp;quot;Yast meta package handler&amp;quot; (/sbin/OneClickInstallUI %f)&lt;br /&gt;
*Follow the steps on the Yast Installation Gui program and then reboot.&lt;br /&gt;
&lt;br /&gt;
===OpenSuse 12.3 auto install Amd Driver (RADEON 5000 &amp;amp; Up Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Enable Software Source in YaSt&lt;br /&gt;
*Click on your RESPECTIVE ARCH below and OPEN with YaSt&lt;br /&gt;
  &lt;br /&gt;
*X86&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-ati-fglrx.ymp&lt;br /&gt;
&lt;br /&gt;
*X64&lt;br /&gt;
  http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*Generate Config file via console&lt;br /&gt;
  sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot &amp;amp; Have fun people!&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.2 auto install Amd Driver (RADEON 5000,6000,7000 Series)===&lt;br /&gt;
*Update your system&lt;br /&gt;
*Click on  The &amp;quot;one-click-installer&amp;quot; and open with YaSt&lt;br /&gt;
&lt;br /&gt;
*32bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx.ymp&lt;br /&gt;
*64bit http://geeko.ioda.net/mirror/amd-fglrx/ymp/amd-ati-fglrx64.ymp&lt;br /&gt;
&lt;br /&gt;
*XBMC Media Center can be install via package manager with packman repo install&lt;br /&gt;
&lt;br /&gt;
*Follow instructions then Reboot&lt;br /&gt;
*Your done!&lt;br /&gt;
*check out packman repo for extra plugins and stuff,&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
===OpenSuSe 12.1 (Driver from AMD website) easy way...===&lt;br /&gt;
*Download The Latest AMD Driver from ATI/AMD&lt;br /&gt;
   wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
  &lt;br /&gt;
   unzip amd-driver-installer-12-10-x86.x86_64.zip&lt;br /&gt;
   chmod +x amd-driver-installer-9.002-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
*Open software manager in YAST and install 5 packages by hand:&lt;br /&gt;
&#039;&#039;kernel-devel kernel-desktop-devel gcc gcc-c++ make&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
OR use the terminal and run:&lt;br /&gt;
   sudo zypper in kernel-devel kernel-desktop-devel gcc gcc-c++ make kernel-syms&lt;br /&gt;
*reboot&lt;br /&gt;
*&#039;&#039;&#039;If radeon driver is active&#039;&#039;&#039; you must blacklist it, add this to boot paramaters (during grub startup menu):&lt;br /&gt;
   radeon.modeset=0 blacklist=radeon 3&lt;br /&gt;
*This will disable radeon driver and boot into runlevel 3. SU to get root, run mkinitrd to make sure radeon stays blacklisted.&lt;br /&gt;
*(Comment) in case the above method does not help, you may try add to /etc/modprobe.d/50-blacklist.conf the following line&lt;br /&gt;
   blacklist radeon&lt;br /&gt;
&lt;br /&gt;
*(Comment) Either way, when your linux booted, you should check whether the radeon kernel module is not loaded, run &lt;br /&gt;
   lsmod | grep radeon&lt;br /&gt;
if nothing comes up you are good to go&lt;br /&gt;
*cd to directory where proprietary &amp;quot;amd-driver-installer&amp;quot; is, &lt;br /&gt;
type:   &lt;br /&gt;
   sh amd-driver-installer-*.run &lt;br /&gt;
*install default (do not generate distibution package)&lt;br /&gt;
*verify /usr/share/ati fglrx-install.log, at the end of the file you should see &amp;quot;build succeeded with return value 0 duplicating results into driver repository...done.&lt;br /&gt;
*in terminal type: &lt;br /&gt;
   aticonfig --initial -f&lt;br /&gt;
*then run:&lt;br /&gt;
   /sbin/shutdown -r now&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 The Easy Way===&lt;br /&gt;
*There is a one click installer available [http://en.opensuse.org/ATI_Driver_HOWTO#1-click_install_for_openSUSE_11.1.2C_11.0_and_10.3] for both of these OS&#039;s, this will give you access to a working ATi driver however it may not be the latest one available.&lt;br /&gt;
&lt;br /&gt;
EDIT: This is currently not working. ATi Repository is down for OpenSUSE.&lt;br /&gt;
&lt;br /&gt;
===OpenSuSE 11.0 &amp;amp; 11.1 With The Latest Driver===&lt;br /&gt;
&lt;br /&gt;
You can easily install the latest versions of the ATi driver on OpenSuSE 11.0+.&lt;br /&gt;
&lt;br /&gt;
*Download The Latest ATi Driver.&lt;br /&gt;
*Log in as Root using su&lt;br /&gt;
*Install some dependencies with: &#039;&#039;&#039;zypper in kernel-source gcc make patch&#039;&#039;&#039; &#039;&#039;(I think, this needs more documentation &amp;amp; explanation in and of itself)&#039;&#039;&lt;br /&gt;
*Install the ATi Driver with: &#039;&#039;&#039;sh ./ati-driver-installer-VERSION.run&#039;&#039;&#039;&lt;br /&gt;
*Configure X to use the ATi Driver with: &#039;&#039;&#039;aticonfig --initial -f&#039;&#039;&#039;&lt;br /&gt;
*Configure sax2 to use the driver with sax2 -r -m 0=fglrx &amp;lt;b&amp;gt;Test May Crash the computer, Press Save&amp;lt;/b&amp;gt;&lt;br /&gt;
*Exit the root account with exit&lt;br /&gt;
*Reboot the computer. &amp;lt;i&amp;gt;You can restart X by pressing ctrl-alt-backspace twice however rebooting is more reliable&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which came first, the problem or the sotluion? Luckily it doesn&#039;t matter.&lt;br /&gt;
&lt;br /&gt;
===GUIDE: ATI Installer HOWTO for SUSE/Novell users===&lt;br /&gt;
http://www.suse.de/~sndirsch/ati-installer-HOWTO.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===YET ANOTHER Installation Guide:===&lt;br /&gt;
&lt;br /&gt;
Generally following this guide should help most of you:&lt;br /&gt;
http://linux.wordpress.com/2006/05/12/suse-101-ati-drivers-installation/&lt;br /&gt;
&lt;br /&gt;
What follows is a slightly simplified version that I&#039;ve used numerous times without fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. BACKUP your current &amp;lt;code&amp;gt;/etc/X11/xorg.conf&amp;lt;/code&amp;gt; file, preferably to your home directory. Now change to a command shell by hitting Ctrl-Alt-F1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Remove any previous versions of the ATI driver by either&lt;br /&gt;
&lt;br /&gt;
If you have installed a previous ATI driver version without using RPM packages (or if you don&#039;t know if you have or not), type the following:&lt;br /&gt;
&lt;br /&gt;
 cd /usr/share/ati &lt;br /&gt;
 sh ./fglrx-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
Otherwise, and even if you&#039;ve done the above type the following,&lt;br /&gt;
&lt;br /&gt;
 rpm -e $(rpm -qa | grep fglrx)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Change the directory containing the downloaded ati-driver...run file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Change the permissions of the driver file to executable by typing the following:&lt;br /&gt;
&lt;br /&gt;
 chmod +x ./ati-driver...&lt;br /&gt;
&lt;br /&gt;
Use the tab button to complete the rest of the ati-driver... file name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create a SUSE RPM (info is for 32 bit version) from the file by typing&lt;br /&gt;
&lt;br /&gt;
 ./ati-driver-installer-*.run --buildpkg SuSE/SUSE101-IA32&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Install the created fglrx... file by typing&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh fglrx_...(hit tab again to get full name)...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. The following command will update your library cache, you&#039;re recommended to run it:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Now run the ati config commands:&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial --input=/etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Now run the Sax2 setup.&lt;br /&gt;
&lt;br /&gt;
 sax2 -r -m 0=fglrx&lt;br /&gt;
&lt;br /&gt;
You may wish to alter the refresh rates and DPI info with this, otherwise just hit save. DO NOT hit the test button, it regually crashes my machine when i do...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Reboot you machine. Do not use the reboot command, again this messes my machine up on the next boot for whatever reason... try&lt;br /&gt;
&lt;br /&gt;
 shutdown -h now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Boot up again, and check the new /etc/X11/xorg.conf file, compare it to your old one, and make any changes if you know what you&#039;re doing.&lt;br /&gt;
&lt;br /&gt;
==Video Playback==&lt;br /&gt;
Add Packman Repositories&lt;br /&gt;
*Open YAST&lt;br /&gt;
*Open Software Source, Click add, From URL&lt;br /&gt;
*and add this url    http://packman.inode.at/suse/openSUSE_13.1 (Change &amp;quot;openSUSE_XX.Y&amp;quot; to match your openSUSE version)&lt;br /&gt;
*This will provide extra packages for video playback and other stuff.&lt;br /&gt;
&lt;br /&gt;
==To Uninstall==&lt;br /&gt;
Open terminal, get root permissions with su command, and then type:&lt;br /&gt;
   sh /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [http://www.suse.de/~sndirsch/ati-installer-HOWTO.html Novell HOWTO]&lt;br /&gt;
* [http://en.opensuse.org/SDB:ATI_drivers SDB:ATI drivers]&lt;br /&gt;
* [http://de.opensuse.org/SDB:AMD/ATI-Grafiktreiber SDB:AMD/ATI-Grafiktreiber (german)]&lt;br /&gt;
&lt;br /&gt;
AMD Packaging Script Maintainer for openSUSE:&lt;br /&gt;
* [http://www.sebastian-siebert.de/ Sebastian Siebert]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=User:Winglman&amp;diff=10528</id>
		<title>User:Winglman</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=User:Winglman&amp;diff=10528"/>
		<updated>2014-08-26T03:07:34Z</updated>

		<summary type="html">&lt;p&gt;Winglman: Created page with &amp;quot;im just an everyday kind a guy  and i do my best to help :)  winglman&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;im just an everyday kind a guy &lt;br /&gt;
and i do my best to help :)&lt;br /&gt;
&lt;br /&gt;
winglman&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10509</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10509"/>
		<updated>2014-06-19T22:04:49Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
You can check if libvdpau-va-gl is working and Adobe Flash Player uses hardware acceleration by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers type the following in a prompt shell:&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
Work topnotch on LinuxMint 17 Mate/Cinnamon,UbuntuGnome/KUbuntu and Unity :)&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10508</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10508"/>
		<updated>2014-06-13T17:19:10Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
You can check if libvdpau-va-gl is working and Adobe Flash Player uses hardware acceleration by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers type the following in a prompt shell:&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
Work topnotch on LinuxMint 17 Mate/Cinnamon,UbuntuGnome/KUbuntu thus should work on Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10507</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10507"/>
		<updated>2014-06-13T16:55:18Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
You can check if libvdpau-va-gl is working and Adobe Flash Player uses hardware acceleration by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers type the following in a prompt shell:&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
Work topnotch on LinuxMint 17 /Mate/Cinnamon,UbuntuGnome thus should work on Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10506</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10506"/>
		<updated>2014-06-13T11:06:06Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
You can check if libvdpau-va-gl is working and Adobe Flash Player uses hardware acceleration by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers type the following in a prompt shell:&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10505</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10505"/>
		<updated>2014-06-13T04:11:29Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
You can check if libvdpau-va-gl is working and Adobe Flash Player uses hardware acceleration by right clicking a Flash video on YouTube and selecting &amp;quot;Stats for nerds&amp;quot;. The stats box that shows up should display the following: &amp;quot;accelerated video rendering, accelerated video decoding&amp;quot;&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers type the following in a prompt shell:&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10504</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10504"/>
		<updated>2014-06-13T04:09:06Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
=== Revert to original drivers ===&lt;br /&gt;
To revert to standard Ubuntu drivers type the following in a prompt shell:&lt;br /&gt;
 sudo apt-get install ppa-purge&lt;br /&gt;
 sudo ppa-purge ppa:oibaf/graphics-drivers&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10503</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10503"/>
		<updated>2014-06-13T02:19:39Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10502</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10502"/>
		<updated>2014-06-13T02:18:03Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration &amp;quot;EXPERIMENTAL&amp;quot; running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10501</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10501"/>
		<updated>2014-06-13T02:15:52Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10500</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10500"/>
		<updated>2014-06-13T02:15:29Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
Work topnotch on Linux Mint 17 Mate/Cinnamon thus should work on Ubuntu Gnome/Unity&lt;br /&gt;
Good luck,&lt;br /&gt;
winglman&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10499</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10499"/>
		<updated>2014-06-13T02:11:35Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10498</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10498"/>
		<updated>2014-06-13T02:10:56Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Flash Player ATI HW-Acceleration running &amp;quot;oibaf&amp;#039;s Open Source Driver&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
 sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
 sudo mkdir -p /etc/adobe&lt;br /&gt;
 echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
 echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10497</id>
		<title>Ubuntu Trusty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Trusty_Installation_Guide&amp;diff=10497"/>
		<updated>2014-06-13T02:09:28Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Updated Open Source Driver PPA&amp;#039;s */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; __TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games.&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD 5000+ chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;oibaf&#039;s ppa&#039;&#039;&#039;: https://launchpad.net/~oibaf/+archive/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Flash Player ATI HW-Acceleration running &amp;quot;oibaf&#039;s Open Source Driver&amp;quot; =&lt;br /&gt;
* &#039;&#039;&#039;Update System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;add oibaf&#039;s ppa&#039;&#039;&#039;&lt;br /&gt;
sudo add-apt-repository ppa:oibaf/graphics-drivers&lt;br /&gt;
* &#039;&#039;&#039;Upgrade System&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Reboot&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Install the mesa-vdpau-drivers (trusty) package&#039;&#039;&#039;&lt;br /&gt;
 sudo apt-get install mesa-vdpau-drivers&lt;br /&gt;
* &#039;&#039;&#039;Adobe Flash doesn&#039;t use hardware acceleration by default on Linux so we&#039;ll have to force it&#039;&#039;&#039;&lt;br /&gt;
sudo mkdir -p /etc/adobe&lt;br /&gt;
echo &amp;quot;EnableLinuxHWVideoDecode=1&amp;quot; | sudo tee /etc/adobe/mms.cfg&lt;br /&gt;
echo &amp;quot;OverrideGPUValidation=1&amp;quot; | sudo tee -a /etc/adobe/mms.cfg&lt;br /&gt;
* &#039;&#039;&#039;Restart Firefox&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later).&lt;br /&gt;
NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with any modern/supported version of Ubuntu! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you have the option of using the Catalyst Legacy driver, but you will need to install/use Ubuntu 12.04.1&lt;br /&gt;
&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
== Before you start ==&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install cdbs dh-make dkms execstack dh-modaliases linux-headers-generic libqtgui4 xserver-xorg-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;STABLE&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 mkdir catalyst{{Catalystdashversion}} &amp;amp;&amp;amp; cd catalyst{{Catalystdashversion}}&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/linux/amd-catalyst-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 unzip amd-catalyst-{{Catalystdashversion}}-linux-x86-x86-64.zip&lt;br /&gt;
 chmod +x fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
 sudo ./fglrx-14.10.1006/amd-driver-installer-14.10.1006-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails you can try an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation] which does NOT create deb packages and might cause some trouble when trying to uninstall.&lt;br /&gt;
&lt;br /&gt;
=== Installing Catalyst on kernel &amp;gt;=3.14.0 (3.14.2 including)===&lt;br /&gt;
Download the latest Catalyst package and unzip it.&lt;br /&gt;
 cd fglrx-14.10.1006/&lt;br /&gt;
 sh amd-driver-installer-14.10.1006-x86.x86_64.run --extract&lt;br /&gt;
&lt;br /&gt;
You should see a newly created folder called fglrx-install.*&lt;br /&gt;
&lt;br /&gt;
Now edit file: fglrx-install.*/common/lib/modules/fglrx/build_mod/firegl_public.c&lt;br /&gt;
find string &amp;quot;KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&amp;quot; and replace whole function on:&lt;br /&gt;
&lt;br /&gt;
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)&lt;br /&gt;
 {&lt;br /&gt;
 #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else &lt;br /&gt;
 #ifdef current_euid&lt;br /&gt;
 #if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,14,0)&lt;br /&gt;
    return __kuid_val(current_euid());&lt;br /&gt;
 #else&lt;br /&gt;
    return current_euid();&lt;br /&gt;
 #endif&lt;br /&gt;
 #else&lt;br /&gt;
    return current-&amp;gt;euid;&lt;br /&gt;
 #endif&lt;br /&gt;
 #endif&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Save it then perform:&lt;br /&gt;
 cd fglrx-14.10.1006/fglrx-install.*&lt;br /&gt;
 sudo ./ati-installer.sh 14.10 --install&lt;br /&gt;
&lt;br /&gt;
select &amp;quot;Generate distribution specific driver package&amp;quot; and follow the Setup wizard.&lt;br /&gt;
After complete run:&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
Last should perform without errors.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) &#039;&#039;BETA/EXPERIMENTAL&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Download the latest Catalyst package ===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
 mkdir catalyst-14.6beta1.0 &amp;amp;&amp;amp; cd catalyst-14.6beta1.0&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;--referer=&#039;http://support.amd.com/en-us/download/desktop?os=Linux+x86&#039; http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip&lt;br /&gt;
 cd fglrx-14.20&lt;br /&gt;
&lt;br /&gt;
=== Create and install .deb packages ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
== In case of failure ==&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&lt;br /&gt;
&lt;br /&gt;
== Generate a new /etc/X11/xorg.conf file ==&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by amdconfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
== Force use of the new xorg.conf &#039;&#039;(if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test your installation ==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 12-3 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11566 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
=== Just in case ===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver&lt;br /&gt;
&lt;br /&gt;
A good player the utilizes va-api is VLC. You can enable va-api in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU accelerated decoding&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=== Test the xvba-va driver (VA-API) ===&lt;br /&gt;
The tool &#039;&#039;&amp;quot;vainfo&amp;quot;&#039;&#039; allows you to test the proper functioning of the xvba-va driver.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libva-glx1 libva-x11-1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -f /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case with Catalyst 12-3 installed on Kubuntu 12.04.&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
By using the officially provided drivers, there are three problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers that gives an error related to allocation of resources in Xorg log file.&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration. &lt;br /&gt;
&lt;br /&gt;
If however you suffer from the problem related to intel driver not able to allocate resources, you need to install the older intel driver 2.20.2-1ubuntu1 which can be found at https://launchpad.net/ubuntu/quantal/+source/xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=1930450&amp;amp;page=82&amp;amp;p=12755069#post12755069 This post] got both the integrated (Intel 3rd Gen Core processor Graphics Controller) and discrete (Radeon HD 7670M) to work on Ubuntu 13.04 x64.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/&amp;lt;version_number&amp;gt;/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.8 in Ubuntu Saucy). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (amdconfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo amdconfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
==Poor battery life (atieventsd not starting and/or not authenticating)==&lt;br /&gt;
&lt;br /&gt;
The atieventsd daemon is a daemon that monitors various acpi events (it does this by connecting with the acpid daemon), such as a laptop lid close, or an AC connect/disconnect, presumably to let the GPU know for reasons of power saving. See the [http://manpages.ubuntu.com/manpages/hardy/en/man8/atieventsd.8.html man page] for more info.&lt;br /&gt;
On my system, `Ubuntu 13.10`, and with the latest drivers from Catalyst, 13.12, the daemon installs itself at `/etc/alternatives/x86_64-linux-gnu_atieventsd` with a symlink to that at `/usr/bin/atieventsd`. &lt;br /&gt;
&lt;br /&gt;
The Sys-V-init script, `/etc/init.d/atieventsd` thinks the symlink is elsewhere, namely `/usr/sbin/atieventsd` (i.e. `sbin` not where it actually is, `bin`)&lt;br /&gt;
&lt;br /&gt;
So to launch successfully the `atieventsd` on startup I had to do make the change:&lt;br /&gt;
&lt;br /&gt;
     DAEMONPATH=/usr/bin/atieventsd&lt;br /&gt;
&lt;br /&gt;
Then remove/regenerate the run levels:&lt;br /&gt;
&lt;br /&gt;
    cd /etc/init.d&lt;br /&gt;
    mv atieventsd atieventsd.temp&lt;br /&gt;
    update-rc.d atieventsd remove&lt;br /&gt;
    mv atieventsd.temp atieventsd&lt;br /&gt;
    update-rc.d atieventsd defaults&lt;br /&gt;
&lt;br /&gt;
This should now at least allow the daemon to correctly start/stop. You can test with `service atieventsd start`.&lt;br /&gt;
&lt;br /&gt;
On each startup the daemon attempts to launch a script, `/etc/ati/authatieventsd.sh` (by default) , whose purpose is to grant the `atieventsd daemon` authorization access to the X server display, so it can send it various commands. &lt;br /&gt;
&lt;br /&gt;
This script is called by `atieventd` like (see `ps aux | grep atieventsd` after starting the service or booting)&lt;br /&gt;
&lt;br /&gt;
     /etc/ati/authatieventsd.sh grant :0 /tmp/atieventsdGWt098&lt;br /&gt;
&lt;br /&gt;
Here argument one (`$1`) is the action: *grant/revoke*&lt;br /&gt;
, argument two (`$2`) is the X display number (e.g `:0`), and argument three (`$3`) is the file wanting the authority. See the `xauth` [http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html man page] for some more background.&lt;br /&gt;
&lt;br /&gt;
The problem is that if you look at the `/etc/ati/authatieventsd.sh` script you will see it does not support `lightdm`, you need to add the chunk of code inside the `GetServerAuthFile()` function:&lt;br /&gt;
&lt;br /&gt;
    #Check lightdm     &lt;br /&gt;
     LIGHTDM_AUTH_FILE=/var/run/lightdm/root/$1&lt;br /&gt;
     if [ -e $LIGHTDM_AUTH_FILE ]; then&lt;br /&gt;
         SERVER_AUTH_FILE=$LIGHTDM_AUTH_FILE&lt;br /&gt;
         DISP_SEARCH_STRING=&amp;quot;unix$1&amp;quot;&lt;br /&gt;
         return 0&lt;br /&gt;
     fi&lt;br /&gt;
&lt;br /&gt;
to allow it find the correct server authentication file. Save this and you should&lt;br /&gt;
see a file in the `/tmp` directory of the form `atieventsdGWt098`, the next time the `atieventd` is stopped/start (or next reboot), and if you do&lt;br /&gt;
&lt;br /&gt;
    xauth -f /tmp/atievntX.Dh1AJV list&lt;br /&gt;
&lt;br /&gt;
you should get something like&lt;br /&gt;
&lt;br /&gt;
    yourHostname/unix:0  MIT-MAGIC-COOKIE-1  98deg034234kkn34234mmm3242&lt;br /&gt;
&lt;br /&gt;
Showing that the daemon has indeed been granted authority. &lt;br /&gt;
&lt;br /&gt;
You can also look at syslog, if you add the `--debug` option to `/etc/init.d/atieventsd` init file DAEMONOPTS options (regen run levels), and you should see everything is now working correctly, and the daemon is responding to events such as unplugging the AC and lid closes. For example:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: ac_adapter AC 00000080 00000000&lt;br /&gt;
    &amp;lt;Dbg&amp;gt;: ACPI event: processor CPU0 00000081 00000000&lt;br /&gt;
    processor CPU1 00000081 00000000&lt;br /&gt;
    processor CPU2 00000081 00000000&lt;br /&gt;
    processor CPU3 00000081 00000000&lt;br /&gt;
&lt;br /&gt;
Maybe this will help extend battery life.&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/quantal/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10369</id>
		<title>Fedora 19 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10369"/>
		<updated>2014-01-03T16:03:20Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* knowledge is free, so share it! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 19 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE HAPPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==knowledge is free, so share it!==&lt;br /&gt;
winglman.&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10281</id>
		<title>Fedora 19 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10281"/>
		<updated>2013-10-04T04:07:39Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 19 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE HAPPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==knowledge is free, so share it!==&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10280</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10280"/>
		<updated>2013-10-04T04:06:46Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.4/13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE HAPPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==knowledge is free, so share it!==&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Lenovo&amp;diff=10279</id>
		<title>Lenovo</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Lenovo&amp;diff=10279"/>
		<updated>2013-10-04T03:50:05Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Laptops */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lenovo purchased the PC business unit of IBM.&lt;br /&gt;
&lt;br /&gt;
===Laptops===&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
!Model&lt;br /&gt;
!Graphics&lt;br /&gt;
!Status&lt;br /&gt;
!Distributions&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T43&lt;br /&gt;
|Radeon Mobility X300&lt;br /&gt;
|Working&lt;br /&gt;
|SLED10,SLED10-SP1,openSUSE10.3&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T43p&lt;br /&gt;
|MOBILITY FireGL V3200&lt;br /&gt;
|Working&lt;br /&gt;
|Ubuntu Gutsy&lt;br /&gt;
|Suspend/Resume, OpenGL&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T60&lt;br /&gt;
|Radeon Mobility X1400&lt;br /&gt;
|Working&lt;br /&gt;
|SLED10-SP1,openSUSE10.3&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T60p&lt;br /&gt;
|FireGL V5200&lt;br /&gt;
|Working&lt;br /&gt;
|Fedora Core 6, Ubuntu Feisty&lt;br /&gt;
|Suspend/Resume, OpenGL&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T60p&lt;br /&gt;
|FireGL V5250&lt;br /&gt;
|Not Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad R60&lt;br /&gt;
|Radeon Mobility X1400&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad Z60m&lt;br /&gt;
|Radeon Mobility X600&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad Z61m&lt;br /&gt;
|Radeon Mobility X1300&lt;br /&gt;
|Working&lt;br /&gt;
|Debian unstable&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad Z61m&lt;br /&gt;
|Radeon Mobility X1400&lt;br /&gt;
|Working&lt;br /&gt;
|Ubuntu 8.04&lt;br /&gt;
|Suspend/Resume, OpenGL&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad Z61p&lt;br /&gt;
|MOBILITY FireGL V5200&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad W500&lt;br /&gt;
|Mobility Radeon HD 3650&lt;br /&gt;
|Works&lt;br /&gt;
|OpenSUSE 11.1, Fedora 12&lt;br /&gt;
|Suspend/Resume, OpenGL&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad R500&lt;br /&gt;
|Mobility Radeon HD 3400&lt;br /&gt;
|Works&lt;br /&gt;
|Ubuntu 8.10&lt;br /&gt;
|Suspend/Resume, OpenGL&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad R500&lt;br /&gt;
|Mobility Radeon HD 3400&lt;br /&gt;
|Only basic functionality&lt;br /&gt;
|OpenSUSE 11.1, Catalyst 9.7-9.12&lt;br /&gt;
|Major issues with dual screen, crashes when starting second X server session, no longer works when installing updated X.org packages from http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.1 due to the use of deprecated calls in fglrx&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad R500&lt;br /&gt;
|Mobility Radeon HD 3400&lt;br /&gt;
|Only basic functionality&lt;br /&gt;
|OpenSUSE 11.1, Catalyst 10.11-11.1&lt;br /&gt;
|Major issues with dual screen. Crashes have been resolved, but new issues have been introduced with that fix: Rapid movement of a window or fast scrolling in a window results in messed up diplay of that window, noisy image at start of X server (sometimes revealing parts of screen content from a previous session!). Not tested with updated X.org packages.&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad R500&lt;br /&gt;
|Mobility Radeon HD 3400&lt;br /&gt;
|Does not work at all.&lt;br /&gt;
|OpenSUSE 11.1, Catalyst 11.2&lt;br /&gt;
|Installation (update from previous version) fails, reinstallation of various kernel packages (and downgrade to previous Catalyst version) becomes necessary.&lt;br /&gt;
|-&lt;br /&gt;
|Idealpad N585&lt;br /&gt;
|Mobility Radeon HD 7310&lt;br /&gt;
|Work,HW acceleration&lt;br /&gt;
|Ubuntu 13.10, Fedora 19, OpenSUSE 12.3, Mint 15, Catalyst 13.8&lt;br /&gt;
|Installation Guide can be found here on the main page.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
&lt;br /&gt;
[http://thinkwiki.org/ ThinkWiki Community Page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:OEMs]]&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10272</id>
		<title>Fedora 19 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10272"/>
		<updated>2013-09-30T00:37:53Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* THE DRIVER */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 19 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE HAPPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
P.S &lt;br /&gt;
If your you need additional info (like real question) feel free to email me.&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10271</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10271"/>
		<updated>2013-09-30T00:37:32Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* THE DRIVER */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.4/13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE HAPPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10270</id>
		<title>Fedora 19 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10270"/>
		<updated>2013-09-30T00:30:25Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 19 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE APPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
P.S &lt;br /&gt;
If your you need additional info (like real question) feel free to email me.&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10269</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10269"/>
		<updated>2013-09-30T00:25:12Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.4/13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE APPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10268</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=10268"/>
		<updated>2013-09-30T00:24:17Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE APPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10267</id>
		<title>Fedora 19 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10267"/>
		<updated>2013-09-30T00:23:53Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Add Rpm Fusion Repo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 19 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.no&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE APPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10266</id>
		<title>Fedora 19 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_19_Installation_Guide&amp;diff=10266"/>
		<updated>2013-09-30T00:22:46Z</updated>

		<summary type="html">&lt;p&gt;Winglman: Created page with &amp;quot;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==  *first update system    su   yum check-update   yum update *reboot  *in software manager enable &amp;quot;f...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 19 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.no&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.8&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel. (NEED TO BE DONE EACH TIME AKMOD UPDATE APPEND FOR BEST RESULT)&lt;br /&gt;
Type this in the terminal&lt;br /&gt;
 &lt;br /&gt;
 su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora&amp;diff=10265</id>
		<title>Fedora</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora&amp;diff=10265"/>
		<updated>2013-09-30T00:16:57Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Fedora is a free, stable and popular general-purpose GNU/Linux distribution developed by the [http://www.fedoraproject.org/ Fedora Project] and sponsored by [http://www.redhat.com Red Hat, Inc].&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
When Red Hat discontinued Red Hat Linux in 2003, the RHL code forked into two branches. One branch is the enterprise distribution called [[Red Hat Enterprise Linux]] which is the central component of Red Hat&#039;s business model, the other branch is the general-purpose community distribution called Fedora. The Fedora code is periodically cloned and undergoes added additional refinement for stability, business-readiness and a smaller package base. This matured clone then becomes the next RHEL release.&lt;br /&gt;
&lt;br /&gt;
Red Hat often use Fedora as a platform for testing public readiness of new features which are eventually destined for RHEL and other Red Hat products. The Fedora Project still maintains a very strict software inclusion policy and testing process, so releases are not &amp;quot;unstable&amp;quot; or &amp;quot;bleeding-edge&amp;quot;. Some example features which have migrated from Fedora to RHEL in the past are the yum package manager, NetworkManager and KVM virtualization. Some current testing features are systemd as a replacement for init, and the brtfs filesystem.&lt;br /&gt;
&lt;br /&gt;
== General Status ==&lt;br /&gt;
&lt;br /&gt;
* Currently packaged by [http://www.rpmfusion.org/ RPM Fusion].&lt;br /&gt;
* Older versions (FC9 and earlier) were packaged by [http://rpm.livna.org/rlowiki/LivnaSwitcher Thorsten Leemhuis] and [http://freshrpms.net/ Matthias Saou].&lt;br /&gt;
* Official AMD/ATI binary package available at [http://support.amd.com/ support.amd.com].&lt;br /&gt;
* Installation guide by Winglman &amp;amp; &amp;quot;the other friendly guy&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Current maintenance cycle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Fedora 19 Installation Guide]]&lt;br /&gt;
*[[Fedora 18 Installation Guide]]&lt;br /&gt;
*[[Fedora 17 Installation Guide]]&lt;br /&gt;
*[[Fedora 16 Installation Guide]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Maintenance cycle ended&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Fedora 15 Installation Guide]]&lt;br /&gt;
*[[Fedora 14 Installation Guide]]&lt;br /&gt;
*[[Fedora 13 Installation Guide]]&lt;br /&gt;
*[[Fedora 12 Installation Guide]]&lt;br /&gt;
*[[Fedora 11 Installation Guide]]&lt;br /&gt;
*[[Fedora 10 Installation Guide]]&lt;br /&gt;
*[[Fedora 9 Installation Guide]]&lt;br /&gt;
*[[Fedora 8 Installation Guide]]&lt;br /&gt;
*[[Fedora 7 Installation Guide]]&lt;br /&gt;
*[[Fedora Core 6 Installation Guide]]&lt;br /&gt;
*[[Fedora Core 5 Installation Guide]]&lt;br /&gt;
*[[Fedora Core 4 Installation Guide]]&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://fedoraproject.org/ Fedora Project] - the community who develop the Fedora distribution&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Fedora_%28operating_system%29 Fedora (operating system)] - from Wikipedia, the free encyclopedia&lt;br /&gt;
* [http://distrowatch.com/fedora DistroWatch.com: Fedora] - Third most popular distro for a very long time&lt;br /&gt;
* [http://www.phoronix.com/forums/forumdisplay.php?19-AMD-ATI-Linux Phoronix Forum: AMD/ATI Linux]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Distributions]]&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=User_talk:Winglman&amp;diff=10264</id>
		<title>User talk:Winglman</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=User_talk:Winglman&amp;diff=10264"/>
		<updated>2013-09-30T00:07:53Z</updated>

		<summary type="html">&lt;p&gt;Winglman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;be patient people &lt;br /&gt;
&lt;br /&gt;
Im not a team...i work alone so i do my best!&lt;br /&gt;
&lt;br /&gt;
Ty and enjoy&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9711</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9711"/>
		<updated>2013-02-10T01:57:00Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* FGLRX driver from RPM Fusion (this will auto update with kernel update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update)==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel &amp;quot;much easy compare to dependency problem lol&amp;quot; type it in terminal and let it ryde!&lt;br /&gt;
 &lt;br /&gt;
su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
==Extra Cool Stuff==&lt;br /&gt;
&lt;br /&gt;
 su&lt;br /&gt;
  yum install xbmc&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9710</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9710"/>
		<updated>2013-02-10T01:56:45Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* FGLRX driver from RPM Fusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion (this will auto update with kernel update==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel &amp;quot;much easy compare to dependency problem lol&amp;quot; type it in terminal and let it ryde!&lt;br /&gt;
 &lt;br /&gt;
su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
==Extra Cool Stuff==&lt;br /&gt;
&lt;br /&gt;
 su&lt;br /&gt;
  yum install xbmc&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9630</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9630"/>
		<updated>2013-01-27T17:08:56Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* THE DRIVER */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel &amp;quot;much easy compare to dependency problem lol&amp;quot; type it in terminal and let it ryde!&lt;br /&gt;
 &lt;br /&gt;
su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
==Extra Cool Stuff==&lt;br /&gt;
&lt;br /&gt;
 su&lt;br /&gt;
  yum install xbmc&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9629</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9629"/>
		<updated>2013-01-27T17:06:40Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* FGLRX driver from RPM Fusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
==Add Rpm Fusion Repo==&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel &amp;quot;much easy compare to dependency problem lol&amp;quot; type it in terminal and let it ryde!&lt;br /&gt;
 &lt;br /&gt;
su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9628</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9628"/>
		<updated>2013-01-27T17:05:59Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* FGLRX driver from RPM Fusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
*Add Rpm Fusion Repo&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
*==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel &amp;quot;much easy compare to dependency problem lol&amp;quot; type it in terminal and let it ryde!&lt;br /&gt;
 &lt;br /&gt;
su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9627</id>
		<title>Fedora 18 Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Fedora_18_Installation_Guide&amp;diff=9627"/>
		<updated>2013-01-27T17:05:03Z</updated>

		<summary type="html">&lt;p&gt;Winglman: /* FGLRX driver from RPM Fusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FGLRX driver from RPM Fusion==&lt;br /&gt;
&lt;br /&gt;
*first update system&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum check-update&lt;br /&gt;
  yum update&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
*in software manager enable &amp;quot;fedora 18 source\source-update&amp;quot;&lt;br /&gt;
*Install require stuff to get work properly&lt;br /&gt;
&lt;br /&gt;
  su&lt;br /&gt;
  yum install gcc kernel-devel kernel-headers wget&lt;br /&gt;
&lt;br /&gt;
*Add Rpm Fusion Repo&lt;br /&gt;
&lt;br /&gt;
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm&lt;br /&gt;
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
*Now ==THE DRIVER==&lt;br /&gt;
*This will provide the latest driver and Control Panel Cat-13.1&lt;br /&gt;
   &lt;br /&gt;
  su&lt;br /&gt;
  yum install akmod-catalyst&lt;br /&gt;
&lt;br /&gt;
* if dependency check-out you will have to&lt;br /&gt;
interact by typing Y to install &lt;br /&gt;
&lt;br /&gt;
*If all is good you need to rebuild the kernel &amp;quot;much easy compare to dependency problem lol&amp;quot; type it in terminal and let it ryde!&lt;br /&gt;
 &lt;br /&gt;
su&lt;br /&gt;
 new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat=&amp;quot;%{version}-%{release}.%{arch}\n&amp;quot; kernel | tail -n 1)&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
*reboot&lt;br /&gt;
&lt;br /&gt;
==Good luck==&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps:  ty &amp;quot;other friendly guy&amp;quot; who&#039;s always fixing &amp;amp; correcting my mistake lol appreciate&lt;br /&gt;
&lt;br /&gt;
--winglman--&lt;/div&gt;</summary>
		<author><name>Winglman</name></author>
	</entry>
</feed>