如何在 Ubuntu 15.10 上构建 ATI Crimson 驱动程序

如何在 Ubuntu 15.10 上构建 ATI Crimson 驱动程序

我正在尝试构建该包,但收到了缺少依赖项的消息:

NOTE: If your system has logged the missing packages required for installation, install them in the order as per the log file to resolve package-dependency issues.
Check if system has the tools required for Packages Generation.
To build kernel modules of AMD, system needs Kernel-Development package to be installed
Please run command: sudo zypper install kernel-devel <we presume, you have DVD in the CD driver>

One or more tools required for Graphics Pacakges Generation are not found on the system. Recommended is to install the required tools for successful package generation.
Optionally, you can run commands to ignore these dependecies but end result may not be as expected. Not recommended

我已经安装了 4.2.0-18-generic 内核的头文件,并根据此解决了“version.h”缺失的问题邮政。但无法继续构建 ATI 驱动程序……

有人可以帮忙吗?

答案1

我遇到了同样的问题,并按照此说明解决了这个问题。该页面是用西班牙语写的,但所有命令都是英文的,所以非常简单。

根据此页面,Ubuntu/wily AMD 安装脚本中存在错误。这就是您无法安装新驱动程序的原因。

需要提醒的是,该命令

sudo ./amd-driver-installer-15.30.1025-x86.x86_64.run --buildpkg Ubuntu/wily

可能需要几分钟才能完成,所以不要认为终端被冻结了。

命令中还有一个小错误

sudo dpgk -i *.deb

正确的命令是

sudo dpkg -i *.deb

希望有帮助!

答案2

看起来您正在尝试使用 GUI 构建包。

GUI 使用文件列表而不是 dpkg 检查依赖项。这是一种糟糕的方法,并且会破坏某些内核更新。解决方案是从命令提示符运行构建包。

sudo ./amd-driver-installer-15.30.1025-x86.x86_64.run --buildpkg Ubuntu/wily

此外,正如其他人上面提到的那样,您不应该依赖工具来为您安装软件包,因为脚本充其量是有问题的。

只需改用“ dpkg -i ./fglrx*.deb”即可。

相关内容