http://wiki.cchtml.com/api.php?action=feedcontributions&user=DarKoram&feedformat=atomcchtml.com - User contributions [en]2016-12-09T17:45:18ZUser contributionsMediaWiki 1.26.4http://wiki.cchtml.com/index.php?title=User:DarKoram&diff=7751User:DarKoram2011-12-18T01:50:02Z<p>DarKoram: create user page</p>
<hr />
<div>currently working on Blender and Bullet physics<br />
wiki.blender.org/index.php/User:Kesten/</div>DarKoramhttp://wiki.cchtml.com/index.php?title=Ubuntu_Oneiric_Installation_Guide&diff=7750Ubuntu Oneiric Installation Guide2011-12-18T01:37:12Z<p>DarKoram: /* GUI */</p>
<hr />
<div>__TOC__<br />
<br />
= The Options =<br />
Users with ATI cards have the following driver options:<br />
* '''vesa''' - 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.<br />
* '''ati''' - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). <br />
* '''radeon''' - 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. Power management is now comparable to the Catalyst driver.<br />
* '''radeonhd''' - an alternate driver supporting R520-R7x0 hardware. This driver is now officially deprecated in favor of radeon. If you still want to try it, see: https://help.ubuntu.com/community/RadeonHD<br />
* '''Catalyst (a.k.a fglrx)''' a proprietary &quot;blob&quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD chips are supported on recent Linux distros.<br />
<br />
= Updated Open Source Driver PPA's =<br />
* '''&quot;Ubuntu-X&quot;''' : This PPA offers the latest stable releases of video driver-related components. Follow the instructions at: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates<br />
* '''Xorg-edgers''': 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<br />
<br />
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =<br />
*PLEASE READ FIRST!<br />
'''Which cards are no longer supported by ATI?'''<br />
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part). See the complete list [http://wiki.cchtml.com/index.php/9.4 here.]<br />
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later). If you really need the proprietary Catalyst/fglrx driver, you will have to use an older Linux distribution, such as Debian Lenny/5.0.x or Ubuntu Hardy/8.04.x.<br />
{| WIDTH=&quot;650&quot; cellpadding=0 cellspacing=0 style=&quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&quot; <br />
| style=&quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&quot; | &lt;font size=&quot;-1&quot;&gt;'''ATTENTION RADEON USERS'''&lt;/font&gt; <br />
|- <br />
| &lt;br /&gt;NOTE: If you enter your card information on AMD/ATI's driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn't support X servers past 1.5, and it will not work with Oneiric (or anything later than Lucid/10,04)! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the 'Removing the Driver' section to restore the default/pre-installed drivers.&lt;br /&gt;&lt;br /&gt;<br />
|}<br />
<br />
== Using Ubuntu-supplied fglrx/Catalyst ==<br />
<br />
This may not give you the latest drivers, but should be safest. On Ubuntu Oneiric, this will install Catalyst 8.881, which is roughly equivalent to Catalyst 11-8. NOTE: You must have the restricted repository enabled in Applications -&gt; Ubuntu Software Center -&gt; Edit -&gt; Software Sources... for this to work. After you complete the install, skip to [[Ubuntu_Oneiric_Installation_Guide#Generate_a_new_.2Fetc.2FX11.2Fxorg.conf_file|Generate a new /etc/X11/xorg.conf file]].<br />
<br />
=== Command line ===<br />
<br />
sudo apt-get install fglrx fglrx-amdcccle<br />
<br />
=== GUI ===<br />
<br />
You must have jockey-common and jockey-gtk (or jockey-kde for Kubuntu) packages installed. Go to the Additional Drivers Manager (System -&gt; Administration -&gt; Additional Drivers) and activate the &quot;ATI/AMD proprietary FGLRX graphics driver&quot; (or double-click the &quot;available driver&quot; notification icon). Ubuntu will then install and configure the driver for you. For oncelot, go to the dashboard home and search for &quot;Additional Drivers&quot; in the applications search field.<br />
<br />
== Installing Catalyst Manually (from AMD/ATI's site) ==<br />
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl '''+ Shift''' + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).<br />
<br />
&lt;nowiki&gt;Insert non-formatted text here&lt;/nowiki&gt;===''Before you start''===<br />
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure ''universe'' and ''multiverse'' are enabled in your repository sources (System -&gt; Administration -&gt; Software Sources).<br />
or Applications-&gt;Ubuntu Software Center-&gt;Edit-&gt;Software sources-&gt;Other software: check canonical partners.<br />
<br />
Install the prerequisite packages:<br />
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases<br />
''If you are using the x86_64 architecture (64 bit), be sure to install &quot;ia32-libs&quot; before proceeding!''<br />
sudo apt-get install ia32-libs<br />
<br />
===''Download the latest Catalyst package.''===<br />
This package contains both the 32-bit and 64-bit driver.<br />
cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/<br />
wget &lt;nowiki&gt;http://www2.ati.com/drivers/linux/ati-driver-installer-&lt;/nowiki&gt;{{Catalystdashversion}}-x86.x86_64.run<br />
chmod +x ati-driver-installer-{{Catalystdashversion}}-x86.x86_64.run<br />
<br />
===''Create .deb packages.''===<br />
sudo sh ./ati-driver-installer-{{Catalystdashversion}}-x86.x86_64.run --buildpkg Ubuntu/oneiric<br />
<br />
===''Install .debs.''===<br />
sudo dpkg -i fglrx*.deb<br />
<br />
==''Generate a new /etc/X11/xorg.conf file''==<br />
<br />
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.<br />
<br />
=== Generic Config ===<br />
This will work for most people:<br />
sudo aticonfig --initial -f<br />
<br />
=== Minimal Config ===<br />
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that's not fully supported by aticonfig. Here follows the entirety of a minimal xorg.conf file for the Radeon 6870:<br />
<br />
Section &quot;Device&quot;<br />
Identifier &quot;ATI radeon 6870&quot;<br />
Driver &quot;fglrx&quot;<br />
EndSection<br />
<br />
=== X2/Dual GPU Cards ===<br />
If you have an X2 card (e.g. 4870X2 or 5970), use... '''!!Do not use for two separate cards in crossfire!!'''<br />
sudo aticonfig --initial -f --adapter&lt;nowiki&gt;=&lt;/nowiki&gt;all<br />
<br />
=== Dual/Multi Monitors ===<br />
If you have a dual monitor display (also known as &quot;Big Desktop&quot;), use:<br />
sudo aticonfig --initial -f<br />
sudo aticonfig --set-pcs-str&lt;nowiki&gt;=&lt;/nowiki&gt;&quot;DDX,EnableRandR12,FALSE&quot;<br />
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.<br />
<br />
==''Force use of the new xorg.conf (if necessary)''==<br />
Some people find that changes to xorg.conf don't get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:<br />
<br />
sudo aticonfig &lt;nowiki&gt;--input=/etc/X11/xorg.conf --tls=1&lt;/nowiki&gt;<br />
<br />
==''Test your installation''==<br />
NOTE: if you don't reboot first, fglrxinfo gives an error message.<br />
Reboot the computer and type<br />
fglrxinfo<br />
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 11-8 and a RadeonHD 4550 returns:<br />
&lt;pre&gt;<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)<br />
OpenGL version string: 3.3.11005 Compatibility Profile Context (This line may be different depending on what graphics card and <br />
Catalyst version you are using.)<br />
&lt;/pre&gt;<br />
Now, try:<br />
fgl_glxgears<br />
If you experience issues or a hang, you may need to disable fast TLS.<br />
sudo aticonfig --tls=0<br />
<br />
===''Just in case''===<br />
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't work.<br />
<br />
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b<br />
<br />
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &quot;Raising Skinny Elephants Is Never Utterly Boring&quot;.<br />
<br />
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: &quot;BUSIER&quot; or remembering a phrase: &quot;Restart Even If System Utterly Broken&quot;. This would also safely shutdown the system.<br />
<br />
= Hardware Video Decode Acceleration (EXPERIMENTAL) =<br />
This is confirmed to work for newer RadeonHD GPU'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<br />
<br />
sudo apt-get install xvba-va-driver libva-glx1 vainfo<br />
vainfo<br />
<br />
vainfo should return something like the following (and no errors):<br />
libva: libva version 0.32.0<br />
Xlib: extension &quot;XFree86-DRI&quot; missing on display &quot;:0.0&quot;.<br />
libva: va_getDriverName() returns 0<br />
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so<br />
libva: va_openDriver() returns 0<br />
vainfo: VA API version: 0.32<br />
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8<br />
vainfo: Supported profile and entrypoints<br />
VAProfileH264High : VAEntrypointVLD<br />
VAProfileVC1Advanced : VAEntrypointVLD<br />
<br />
Once you've confirmed that vainfo is correct, you can test video playback. A good test player for xvba is VLC. You can enable xvba in Tools -&gt; Preferences -&gt; Input and Codecs. Check the box named &quot;Use GPU acceleration (experimental)&quot; and then restart VLC.<br />
<br />
=Updating Catalyst/fglrx=<br />
<br />
DO NOT try to install a new version over an old one. Follow the 'Removing Catalyst/fglrx' section below to remove your existing driver, and then you can start at 'Downloading the latest Catalyst' to install the new one.<br />
<br />
=Removing Catalyst/fglrx=<br />
The uninstall script in the first command will only exist if you downloaded the drivers and installed the directly (rather than building packages as this guide does). Skip the first command if it does not exist.<br />
sudo sh /usr/share/ati/fglrx-uninstall.sh<br />
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
<br />
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]<br />
sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon<br />
sudo apt-get install xserver-xorg-video-ati<br />
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core<br />
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup<br />
sudo rm -rf /etc/ati<br />
<br />
If you receive<br />
<br />
$ E: Internal Error, No file name for libgl1-mesa-dri<br />
<br />
Change the third command above to:<br />
<br />
sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core<br />
<br />
= Issues =<br />
<br />
== XvBA Video Acceleration ==<br />
<br />
If vainfo returns an error, you may need to create a symlink:<br />
<br />
sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so<br />
<br />
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/821691<br />
<br />
== Video Tearing ==<br />
<br />
AMD/ATI claims that the &quot;Tear Free Video&quot; option is enabled by default, but that wasn't the case on the default Oneiric version of Catalyst (maybe Ubuntu disables it by default?).<br />
If you're having issues with tearing, make sure that &quot;Tear Free Video&quot; is on. You can find this option in the Catalyst Control Center under 'Display Options' or you can use the following command:<br />
sudo aticonfig --sync-video=on<br />
The option will not take effect until you restart X.<br />
<br />
If you're using compositing, you should also make sure that vsync is enabled in the compositor's settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.<br />
<br />
=== kwin === <br />
You can enable vsync for kwin in System Settings -&gt; Desktop Effects -&gt; Advanced tab<br />
<br />
=== Compiz (Unity/GNOME-Shell) ===<br />
TODO: See if there's a friendlier way to make sure vsync is enabled without installing ccsm.<br />
<br />
Install the compiz settings manager: <br />
sudo apt-get install compizconfig-settings-manager<br />
ccsm<br />
<br />
The 'Sync to Vblank' is found in the 'OpenGL' subsection of the 'General' group<br />
<br />
== Hybrid Graphics and Catalyst==<br />
<br />
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU's. Newer systems (those with PowerXpress &gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU's, and systems with older ATI GPU's have a mux, but don't quote that.<br />
<br />
=== ATI/ATI Hybrids ===<br />
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though I don't know if that applies to all ATI/ATI hybrids or only the muxless ones. One would use aticonfig's PowerXpress options to switch back and forth between the integrated and discrete cards, like so:<br />
<br />
aticonfig --pxl # List current activated GPU<br />
sudo aticonfig --px-dgpu # Activate discrete GPU (High-Performance mode), must re-start X to take effect<br />
sudo aticonfig --px-igpu # Activate integrated GPU (Power-Saving mode), must re-start X to take effect<br />
<br />
After switching, one would log out and back in to restart X.<br />
<br />
=== Intel/ATI Hybrids ===<br />
<br />
Use of Catalyst on older systems (those with a mux) is no longer supported. I have one report of switching success with Catalyst 11-6, but ATI has now disabled switching in Catalyst, even if it worked fine with older Catalyst versions. X will refuse to start and you will find this message in your Xorg log:<br />
(WW) PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver.<br />
(EE) No devices detected.<br />
<br />
Using open-source drivers and the vgaswitcheroo script may work better in this case.<br />
<br />
== Build Fails and Log Shows &quot;mixed implicit and normal rules. Stop.&quot; ==<br />
<br />
If the installation fails and you find the above message in /var/lib/dkms/fglrx/8.841/build/make.log, it may be because you're using a pentium-build wrapper around gcc. See what the following ls command returns:<br />
ls -la /usr/bin/gcc<br />
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.5 in Ubuntu Natty). This should allow you to install fglrx:<br />
sudo ln -sf /usr/bin/gcc-4.5 /usr/bin/gcc<br />
When you're finished installing the driver, return the gcc link to its original value:<br />
sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc<br />
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957<br />
<br />
== &quot;Errors were encountered while processing: fglrx-amdcccle&quot; (on 64-bit systems) ==<br />
Most likely, you probably did not have the &quot;ia32-libs&quot; package installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &quot;Errors were encountered while processing: fglrx-amdcccle&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:<br />
<br />
sudo apt-get -f install<br />
<br />
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the ''--force-overwrite'' command in the above ''dpkg'' command:<br />
sudo dpkg -i --force-overwrite fglrx*.deb<br />
<br />
== Problems Starting Xserver ==<br />
<br />
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.<br />
<br />
You can disable the xorg.conf with:<br />
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled<br />
<br />
Reboot and check to see if things work now.<br />
<br />
You can reinstate the file with:<br />
sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf<br />
<br />
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 for me -<br />
<br />
start on filesystem<br />
<br />
script<br />
chmod 0666 /dev/null<br />
chmod 0666 /lib/udev/devices/null<br />
end script<br />
<br />
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It's worth noting that I had to disable TLS (aticonfig --tls=0) to get things to stay stable!<br />
<br />
If you'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:<br />
sudo aticonfig --acpi-services=off<br />
If this method works, you should consider checking your system vendor's BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver's ACPI services.<br />
<br />
== Unsupported Hardware Watermark ==<br />
This can happen if your card's PCI ID wasn'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'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. <br />
<br />
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a newer version of Catalyst than the one you're running.<br />
cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/<br />
wget &lt;nowiki&gt;http://www2.ati.com/drivers/linux/ati-driver-installer-&lt;/nowiki&gt;{{Catalystdashversion}}-x86.x86_64.run<br />
chmod +x ati-driver-installer-{{Catalystdashversion}}-x86.x86_64.run<br />
sh ati-driver-installer-{{Catalystdashversion}}-x86.x86_64.run --extract driver<br />
sudo mv /etc/ati/control ~/control.bak<br />
sudo cp driver/common/etc/ati/control /etc/ati<br />
<br />
== Hang at logout ==<br />
<br />
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.<br />
<br />
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: <br />
(assuming that the installer is in the directory we used to install)<br />
<br />
cd ~/catalyst{{Catalystversion}}<br />
sh ati-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver<br />
sudo cp driver/packages/Ubuntu/dists/lucid/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh<br />
sudo chmod +x /etc/ati/authatieventsd.sh<br />
<br />
This problem can be fixed permanently with:<br />
<br />
sudo mkdir -p /var/lib/xdm/authdir<br />
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles<br />
<br />
If that doesn't work then you can disable atieventsd with this command:<br />
<br />
sudo /usr/sbin/update-rc.d -f atieventsd remove<br />
<br />
You'll have to restart for this to take effect.<br />
<br />
== Suspend/Hibernation ==<br />
<br />
Suspend hibernation '''works''' with the latest driver.<br />
<br />
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:<br />
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)<br />
<br />
&lt;pre&gt;<br />
Section &quot;Extensions&quot;<br />
Option &quot;Composite&quot; &quot;Disable&quot;<br />
EndSection<br />
<br />
Section &quot;ServerFlags&quot;<br />
Option &quot;AIGLX&quot; &quot;off&quot; <br />
EndSection<br />
&lt;/pre&gt;<br />
<br />
Another way to get it working is to do enable Composite, but when you want to suspend simply disable Compiz Fusion. How would you do that? Easy! Install the fusion-icon package (in repos by default):<br />
<br />
sudo apt-get install fusion-icon<br />
<br />
After you have done that, launch it (Applications &gt; System &gt; Compiz Fusion Icon) and it appears in your notification area. To switch, simply right-mouse click on the icon and select Metacity. Your desktop will flicker and windows will dissapear, but after a while they appear again. Now try to suspend.<br />
<br />
When you wake up again, you can (hopefully) unlock your screen and there you go! Now you want Compiz back again, so right-mouse-click on the Compiz Fusion Icon and select Compiz again. Desktop flickering again, but then voila! Your Compiz Fusion Desktop is back again! (At least, that is how it is supposed to work)<br />
<br />
KNOWN PROBLEM: When you switch back, all your windows are on the same desktop. This happens because you switched to metacity.<br />
<br />
Hopefully this helped some people, as it did for me!<br />
Solution posted by zwyber@gmail.com<br />
<br />
== Can't remove fglrx with dpkg (diversion issue) ==<br />
<br />
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:<br />
&lt;pre&gt;dpkg-divert: mismatch on divert-to<br />
when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx'<br />
found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'&lt;/pre&gt;<br />
then:<br />
sudo dpkg-divert --remove /usr/lib/libGL.so.1.2<br />
<br />
== This module/version combo is already installed ==<br />
<br />
If you get this error-message, simply uninstall the previous version before installing the new one with:<br />
sudo dkms remove -m fglrx --all<br />
<br />
== New kernel installed? ==<br />
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:<br />
sudo dkms build -m fglrx -k `uname -r`<br />
sudo dkms install -m fglrx -k `uname -r`<br />
<br />
if amdcccle doesn't work and says Identifier is not a valid word. Use lower case letter in xorg.conf<br />
[[Category:Installation Documentation]]<br />
<br />
== Aticonfig not found after installation &amp; &quot;module does not exist&quot; after boot ==<br />
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's website). When doing aticonfig --initial after driver installation, you might end up not having the aticonfig available at all:<br />
&lt;pre&gt;aticonfig: command not found&lt;/pre&gt;<br />
After booting you might receive X error '(EE) Failed to load module &quot;fglrx&quot; (module does not exist, 0)'. These do not necessarily indicate that the installation has failed completely. On command line, do<br />
ls /usr/lib/fglrx/bin<br />
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 &quot;update-alternatives&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<br />
update-alternatives --get-selections | grep gl_conf<br />
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 <br />
sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf<br />
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:<br />
sudo update-alternatives --auto gl_conf<br />
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.<br />
<br />
== &quot;update-alternatives: error&quot; during install ==<br />
During installation you may receive the following message:<br />
&lt;pre&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&lt;/pre&gt;<br />
This can be easily solved by creating directory &quot;drivers&quot; under /usr/lib/xorg/modules/<br />
sudo mkdir /usr/lib/xorg/modules/drivers<br />
<br />
== 'Can't exec &quot;debian/rules&quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.' during deb generation ==<br />
During installation you may receive the following message:<br />
&lt;pre&gt;Can't exec &quot;debian/rules&quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&lt;/pre&gt;<br />
This can happen when your /tmp folder is mounted with the option &quot;noexec&quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.<br />
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]</div>DarKoramhttp://wiki.cchtml.com/index.php?title=Talk:Frequently_Asked_Questions&diff=7749Talk:Frequently Asked Questions2011-12-17T06:17:44Z<p>DarKoram: /* getting a projector to work on HD 5470 with catalyst */ new section</p>
<hr />
<div>Changed &quot;vi&quot; to &quot;less&quot;, besides there being no need to use an &quot;editor&quot; for read-only purposes, there are &quot;userfriendly&quot; distributions out there which come with nano instead of vi.<br />
<br />
== What is the advantage/disadvantage of using fglrx vs. radeon driver? ==<br />
<br />
What is the advantage/disadvantage of using fglrx vs. radeon driver?--[[Special:Contributions/78.51.107.195|78.51.107.195]] 12:36, 25 November 2008 (UTC)<br />
<br />
== getting a projector to work on HD 5470 with catalyst ==<br />
<br />
Hi, <br />
I have catalyst 8.85 on my ubuntu 11.10<br />
There isn't much on getting projectors to work and none of the suggestions worked for me.<br />
Is there a guide out there.<br />
Anyone been able to get this to work?<br />
<br />
darKoram</div>DarKoram