首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在Kali 2.0上安装AMD驱动程序

在Kali 2.0上安装AMD驱动程序
EN

Unix & Linux用户
提问于 2016-12-23 16:04:06
回答 1查看 19.1K关注 0票数 2

我正试图在我的Kali 2.0上安装AMD催化剂。我做了一些研究,发现最有帮助的是论坛上的帖子。尽管我使用的是Kali 2.0 32位,但我还是成功地遵循了这些步骤。但是,在执行安装命令时

代码语言:javascript
运行
复制
sh ati-installer.sh 15.20 --install

安装会引发一个错误。下面是fglrx-install.log

代码语言:javascript
运行
复制
Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/4.6.0-kali1-686-pae/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.

这条路,lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.h在我的系统上不存在。我相信它意味着以下路径:/lib/modules/4.8.0-kali2-686-pae/build/include/linux/version.h

如何更改路径,使其能够获得当前版本?

编辑:我创建了路径并在其中添加了version.h文件。这是新的fglrx-install.log

代码语言:javascript
运行
复制
Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Errors during DKMS module removal
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0

Creating symlink /var/lib/dkms/fglrx/15.20.1046/source ->
                 /usr/src/fglrx-15.20.1046

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

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

------------------------------
Deleting module version: 15.20.1046
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
EN

回答 1

Unix & Linux用户

发布于 2017-03-22 17:11:09

代码语言:javascript
运行
复制
fglrx installation requires that the system have kernel headers.

首先,通过这样做来升级您的Kali

代码语言:javascript
运行
复制
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

现在重新启动系统并运行

代码语言:javascript
运行
复制
sudo apt-get install linux-headers-$(uname -r)

现在试试安装。祝好运。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/332404

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档