You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.4 KiB

# AMDGPU Unified Linux Driver 23.10.3
From https://www.amd.com/en/support/linux-drivers
Radeon™ Software for Linux® version 23.10.3 for Ubuntu 20.04.5 HWE
Revision Number
`23.10.3`
File Size
14 KB
Release Date
7/31/2023
## Downloaded File
```
$ sha256sum amdgpu-install_5.5.50503-1_all.deb
137069ec9ed61dabcab4da226fe9425c60089d4d74b71fe24df93dbadf3d65e9 amdgpu-install_5.5.50503-1_all.deb
arcologos@arcologos-desktop:~/src/arcologos-infra$ ls -lh amdgpu-install_5.5.50503-1_all.deb
-rw-rw-r-- 1 arcologos arcologos 16K Aug 5 15:42 amdgpu-install_5.5.50503-1_all.deb
```
## Running the File
```
$ sudo dpkg -i ./amdgpu-install_5.5.50503-1_all.deb
Selecting previously unselected package amdgpu-install.
(Reading database ... 158557 files and directories currently installed.)
Preparing to unpack .../amdgpu-install_5.5.50503-1_all.deb ...
Unpacking amdgpu-install (5.5.50503-1620033.20.04) ...
Setting up amdgpu-install (5.5.50503-1620033.20.04) ...
```
## Installing Drivers
```
$ sudo amdgpu-install --usecase=opencl --no-dkms --opencl=rocr
```
## Listing Kernel Modules
```
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80)
Subsystem: Micro-Star International Co., Ltd. [MSI] Hawaii PRO [Radeon R9 290/390]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
```
## CL Info Not Detecting
Both with and without `sudo`
```
$ sudo clinfo -l
[sudo] password for arcologos:
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.1 AMD-APP (3558.0)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback
Platform Name: AMD Accelerated Parallel Processing
Number of devices: 0
```
## Daemon Messages
```
$ sudo dmesg
```
```
[ 4.046662] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
[ 4.323369] [drm] amdgpu kernel modesetting enabled.
[ 4.326774] amdgpu: CRAT table not found
[ 4.326782] amdgpu: Virtual CRAT table created for CPU
[ 4.326803] amdgpu: Topology: Add CPU node
```
## Rebooting
To see if I can get the `amdgpu` kernel module to be used.
## After Rebooting
No, `clinfo` doesn't show the GPU available for computer and `lspci -k` shows `radeon` being used.