debian安装amdgpu驱动

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了debian安装amdgpu驱动相关的知识,希望对你有一定的参考价值。

参考技术A 可以让其增添更为突出的效果。debian安装amdgpu驱动可以让其增添更为突出的效果,使用起来也更加的方便。

markdown 适用于Linux®的AMD Radeon™软件AMDGPU-PRO驱动程序

system up-to-date before starting the driver installation

#sudo apt update
#sudo apt dist-upgrade
#sudo reboot

System Check

#dpkg -l amdgpu-pro

Download
[URL]:http://support.amd.com/en-us/download[/URL]
[URL]:https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz[/URL]

[URL]https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz[/URL]

Extract
#cd /tmp
#tar -Jxvf amdgpu-pro-17.30-NNNNNN.tar.xz

Install
Install the packages, and
Allow installation of "unverified" packages from the AMDGPU-PRO archive.

#cd amdgpu-pro-17.30-NNNNNN
#./amdgpu-pro-install –y
#sudo reboot 

Configure 
#sudo usermod -a -G video $LOGNAME 


Uninstalling the AMD GPU-PRO Driver 
#amdgpu-pro-uninstall

Installing the Optional ROCm Component
This AMDGPU-Pro driver package ROCm component optionally installed Compute/OpenCL
#sudo apt install -y rocm-amdgpu-pro

Configuring the Optional ROCm Component

The LLVM_BIN environment variable needs to be set prior to running ROCm applications.

To set it temporarily when running an individual ROCm command, such as clinfo, use:

#env LLVM_BIN=/opt/amdgpu-pro/bin /opt/amdgpu-pro/bin/clinfo

To set it permanently for all bash and other sh-like shell users, you can use the following command:

#echo 'export LLVM_BIN=/opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.sh

See the Ubuntu Environment Variables Community Help for more information.

To set it permanently for all csh users, you can use the following command:

#echo 'setenv LLVM_BIN /opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.csh

以上是关于debian安装amdgpu驱动的主要内容,如果未能解决你的问题,请参考以下文章

Ryzen APU驱动安装笔记

markdown 适用于Linux®的AMD Radeon™软件AMDGPU-PRO驱动程序

HP DL388 G7 如何安装debian linux 网卡驱动 速回

Debian下编译安装驱动模块

Debian10安装NVIDIA显卡驱动

ubuntu下安装Amd RX470驱动