diff --git a/debugging/002-Ubuntu-20_04.md b/debugging/002-Ubuntu-20_04.md new file mode 100644 index 0000000..7fdfa81 --- /dev/null +++ b/debugging/002-Ubuntu-20_04.md @@ -0,0 +1,21 @@ +# Debugging - Ubuntu 20.04 + +There are proven reports of Ubuntu 20.04 working with AMD GPUs for OpenGL, +perhaps because it uses an older kernel and contains in its `apt` package +repositories older, tested versions of the AMDGPU Pro driver that may +still support the Hawaii chipset in the R9 390's that I have. + +## Make bootable USB + +I overwrote the 30 GB USB stick that I have with 20.04.6 LTS and +installed it alongside Ubuntu 22.04 to be able to mount and make +use of the `arcologos-infra` repo. + +## Download AMDGPU Pro + +For Ubuntu 20.04. It says it's for 20.04.5 so we'll find out whether +the version patch makes a difference. + +https://www.amd.com/en/support/linux-drivers + + diff --git a/debugging/002-Ubuntu-20_04/01-========== b/debugging/002-Ubuntu-20_04/01-========== new file mode 100644 index 0000000..e69de29 diff --git a/debugging/002-Ubuntu-20_04/01-AMDGPU-23_10_3.md b/debugging/002-Ubuntu-20_04/01-AMDGPU-23_10_3.md new file mode 100644 index 0000000..0dbd485 --- /dev/null +++ b/debugging/002-Ubuntu-20_04/01-AMDGPU-23_10_3.md @@ -0,0 +1,67 @@ +# 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 +``` + +## 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.