I have manually installed the binary driver from AMD's website. I have actually done it many times in the past and whenever a new kernel update comes out it generally breaks my drivers, so I simply rebuild the thing for the new kernel and reboot. It's a bit of a pain but this is a laptop and therefore I cannot install a new card. The fglrx driver from the repo is outdated and performance is horrible when I use it so I have to manually install. For all previous kernels the installation worked fine, but for 3.7.0-7 it seems permanently broken.
I actually had to reinstall everything the other day due to a hard drive that crashed and was no longer bootable. After putting in a new hard drive and reinstalling, I was up and running with the 3.5.0 kernel. Then this morning I updated to 3.7.0-7 and this time when I tried to install I get an error about missing version.h in the log:
Code:$ cat /usr/share/ati/fglrx-install.log Supported adapter detected. Check if system has the tools required for installation. fglrx installation requires that the system have kernel headers. /lib/modules/3.7.0-7-generic/build/include/linux/version.h cannot be found on this system. fglrx installation is being forced. Installation will proceed without the required tools on the system. Uninstalling any previously installed drivers. Creating symlink /var/lib/dkms/fglrx/9.012/source -> /usr/src/fglrx-9.012 DKMS: add completed. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area.... cd /var/lib/dkms/fglrx/9.012/build; sh make.sh --nohints --uname_r=3.7.0-7-generic --norootcheck....(bad exit status: 1) [Error] Kernel Module : Failed to build fglrx-9.012 with DKMS [Error] Kernel Module : Removing fglrx-9.012 from DKMS ------------------------------ Deleting module version: 9.012 completely from the DKMS tree. ------------------------------ Done. [Reboot] Kernel Module : update-initramfs
Interesting, and I know what you're thinking. You're probably thinking to yourself something like "version.h is missing? Dude -- you have to install the linux-headers-generic package". And you're right -- but it's already installed (along with the linux-headers-3.7.0-7 package) and here is proof!
Code:$ dpkg -l | grep linux-headers ii linux-headers-3.5.0-17 3.5.0-17.28 all Header files related to Linux kernel version 3.5.0 ii linux-headers-3.5.0-27 3.5.0-27.46 all Header files related to Linux kernel version 3.5.0 ii linux-headers-3.5.0-27-generic 3.5.0-27.46 amd64 Linux kernel headers for version 3.5.0 on 64 bit x86 SMP ii linux-headers-3.7.0-7 3.7.0-7.15 all Header files related to Linux kernel version 3.7.0 ii linux-headers-3.7.0-7-generic 3.7.0-7.15 amd64 Linux kernel headers for version 3.7.0 on 64 bit x86 SMP ii linux-headers-generic 3.7.0.7.11 amd64 Generic Linux kernel headers
One odd thing is that the generic package is version 3.7.0.7.11 and yet the 3.7.0 headers packages are 3.7.0-7.15. I'm not sure and I don't know if that means anything. But clearly version.h is missing from this directory and I'm not sure how or why. Anybody know what to do to get this file and get the graphics driver to actually build? Did they simply release the package in an incomplete manner or am I at fault here?



Adv Reply



Bookmarks