安装amd显卡驱动提示fglrx installation requires that the system have
Tofloor
poster avatar
jd808
deepin
2013-06-21 08:23
Author
信息如下:
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.8.0-26-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.
Reply Favorite View the author
All Replies
jd808
deepin
2013-06-21 08:25
#1
干脆全发出来

Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.8.0-26-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/8.97.100.7/source ->
                 /usr/src/fglrx-8.97.100.7

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/8.97.100.7/build; sh make.sh --nohints --uname_r=3.8.0-26-generic --norootcheck....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-8.97.100.7 with DKMS
[Error] Kernel Module : Removing fglrx-8.97.100.7 from DKMS

------------------------------
Deleting module version: 8.97.100.7
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
Reply View the author
jd808
deepin
2013-06-21 08:25
#2
系统是64位的
Reply View the author
cxbii
deepin
2013-06-21 17:46
#3
Reply View the author
jd808
deepin
2013-06-21 18:04
#4
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.8.0-26-generic/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

任然不行,这里说的好像是缺少linux内核的头文件哦
Reply View the author
jd808
deepin
2013-06-22 02:46
#5
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-headers-generic
网上有说这么可以搞,但我似乎都搞啦,要重启么
Reply View the author
cxbii
deepin
2013-06-22 03:46
#6
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-headers-generic
网上有说这么可以搞,但我似乎都搞啦,要重启么
  1. uname -a
Copy the Code
这样找到你的内核版本,然后安你上面的命令去安装头文件
头文件一般是一些api什么的,我的解释不严谨
Reply View the author
jd808
deepin
2013-06-22 07:24
#7
# apt-get install linux-headers-$(uname -r)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
linux-headers-3.8.0-26-generic 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。

已经是最新的啦
我用find搜索啦下
/lib/modules/3.8.0-26-generic/build/include/linux/version.h 没发现有这个文件
看来驱动是没法装啦

我用xrandr看啦下HDMI的有我要用的分辨率1366*768,就是不知道怎么用?
# xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0*
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768       59.8 +
   1360x768       60.0  
   1024x768       75.1*    72.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
   640x400        70.0
Reply View the author
jd808
deepin
2013-06-23 20:03
#8
难道就这样一直无解?
官方多少也得吧/lib/modules/3.8.0-26-generic/build/include/linux/version.h
这个文件给补上吧
Reply View the author
jd808
deepin
2013-06-23 20:19
#9
搞定啦

ln -s /usr/include/linux/version.h /lib/modules//build/include/linux/version.h

uname -a 查下版本号就号啦
ln -s /usr/include/linux/version.h /lib/modules/3.8.0-26-generic/build/include/linux/version.h

能安装啦,但报
[Error] Kernel Module : Failed to build fglrx-8.97.100.7 with DKMS
[Error] Kernel Module : Removing fglrx-8.97.100.7 from DKMS

还是不行,似乎跟xorg版本有关
https://launchpad.net/~xorg-edgers/+archive/ppa
用这个文章的方法试试
这个似乎也不行

最后在试试这个
sudo add-apt-repository ppa:makson96/fglrx
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fglrx-legacy
Reply View the author
jd808
deepin
2013-06-23 21:12
#10
系统已挂,各位保重
Reply View the author
cxbii
deepin
2013-06-24 04:34
#11
系统已挂,各位保重
没事还是不动闭源驱动的好,哎,目前这个是真理...
Reply View the author
jd808
deepin
2013-06-26 19:56
#12
[quote]系统已挂,各位保重
没事还是不动闭源驱动的好,哎,目前这个是真理...[/quote]
1024*768的分辨率没法用,我的显示器应该是1366*768
Reply View the author
cxbii
deepin
2013-06-27 01:21
#13
[quote][quote]系统已挂,各位保重
没事还是不动闭源驱动的好,哎,目前这个是真理...[/quote]
1024*768的分辨率没法用,我的显示器应该是1366*768[/quote]
驱动不完善,我也没办法
Reply View the author