- https://amdgpu-install.readthedocs.io/en/latest/install-script.html#purpose
- https://amdgpu-install.readthedocs.io/en/latest/install-prereq.html#installing-the-installer-package
Tested on 2023-Dec-28 amdgpu-install_6.0.60000-1_all.deb
# Update first
sudo apt update
# Install the downloaded .deb
sudo apt-get install ./amdgpu-install_6.0.60000-1_all.deb
# Install additional `xserver-xorg-video-ati`
sudo apt install xserver-xorg-video-ati
# Now run the `amdgpu-install`
amdgpu-install --usecase=graphics --vulkan=pro --opengl=mesa --no-32 --accept-eula
sudo reboot
# Check the stauts
sudo lspci -k | grep -i vga -A 2
#This will show the kernel driver in use.
7:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15bf (rev c1)
Subsystem: Device 1f66:0031
Kernel driver in use: amdgpu
#This will show the details of the kernelmodule amdgpu
lsmod | grep amdgpu
amdgpu 14540800 1
iommu_v2 24576 1 amdgpu
drm_buddy 20480 1 amdgpu
gpu_sched 61440 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
ttm 110592 2 amdgpu,drm_ttm_helper
drm_display_helper 212992 1 amdgpu
drm_kms_helper 249856 4 drm_display_helper,amdgpu
i2c_algo_bit 16384 1 amdgpu
drm 700416 9 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
video 73728 1 amdgpu
#check the status
* sudo lshw -C display
* cat /var/log/Xorg.0.log | grep -i amdgpu
If the above does not work.
Try
# To load the amdgpu
sudo modprobe amdgpu (This should reinitalize the display with new higher resolution.)
# Reboot and test.
sudo reboot
# If the display does not load the amdgpu then check if it is in the blacklisted modules.
grep -r "blacklist amdgpu" /etc/modprobe.d/
#Found it in the blacklisted modules
/etc/modprobe.d/blacklist-amdgpu.conf:blacklist amdgpu
# Edit the file
sudo nano /etc/modprobe.d/blacklist-amdgpu.conf
# comment the line
#blacklist amdgpu
sudo reboot # And try. Should work now.
Caused issues on a new machine with initial OS as Ubuntu 22.04.2 and not Ubuntu 22.04.3
After dist upgrade
And reinstall of the amdgpu-install it worked!