I am running Ubuntu 12.04; the pc's graphics card is a Radeon HD797M, with Intel switchable graphics.
My problem seems similar to some already reported (e.g. here) but the solutions in https://help.ubuntu.com/community/BinaryDriverHowto/ATI fail in my case. The last I've tried is the manual installation of the catalyst drivers, for the case for Intel/ATI hybrid graphics.
fglrxinfo returns:
$ fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12
CCC refuses to start, with the message: "No AMD graphics driver is installed, or the AMD driver is not functioning properly. Please install the AMD driver appropriate for you AMD hardware, or configure using aticonfig.", and
$ aticonfig
aticonfig: No supported adapters detected
These errors are independent of the way the installation of fglrx is done (which always seems to go smoothly); it occurred in the default configuration of Pangolin straight after installation.
In the manual installation route, for example, step 7.
sudo ./amd-driver-installer-12-6-x86.x86_64.run
runs fine, but step 8. fails like aticonfig
$ sudo amdconfig --initial
amdconfig: No supported adapters detected
(By the same token, --uninstall also fails).
Any help greatly appreciated