我尝试在我的计算机(Ubuntu 16.04)上安装 AMD 驱动程序,因为 Ubuntu 仍在集成 GPU 上运行。
安装失败。
以下是fglrx-install.log
:
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.
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Creating symlink /var/lib/dkms/fglrx/15.302/source ->
/usr/src/fglrx-15.302
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/15.302/build; sh make.sh --nohints --uname_r=4.8.0-45-generic --norootcheck....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-15.302 with DKMS
[Error] Kernel Module : Removing fglrx-15.302 from DKMS
------------------------------
Deleting module version: 15.302
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
答案1
在 Intel AMD 混合显卡上,您必须使用像这样的 prime 来使用独立 GPU
DRI_PRIME=1 glxgears