Error Creating .deb File of AMD Catalyst Driver
I had a terrible experience with this "amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run" under Ubuntu 12.10 64-bit last week. After "successful" installation and reboot, my computer got stuck at the stage of starting X. Luckily I had made a backup of my Ubuntu partition with Clonezilla. If you're lucky, it might work under Ubuntu 12.04, but just in case I recommend making a backup first. Also perhaps it might be a better idea to install those proprietary drivers from Ubuntu repositories (start Software Sources > Additional Drivers). They gave me a functioning desktop at least, although neither Unity nor Compiz was functioning ;-)
So, I found the only working solution to control this fancy Hybrid Graphics Card here:
- https://help.ubuntu.com/community/HybridGraphics
- http://asusm51ta-with-linux.blogspot.com
As a result, after checking that my system has got vga_switcheroo support, I've become content with automatically turning the discreet graphics on and off when I switch between AC and Battery power supply by simply adding a small executable script file named 11_hybrid_graphics_switch into the folder /etc/pm/power.d with the following contents:
#!/bin/bash
if on_ac_power; then
echo ON > /sys/kernel/debug/vgaswitcheroo/switch &
else
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch &
fi
exit 0