Tuesday, December 5, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3181  / 2 Years ago, sat, november 13, 2021, 1:47:39

I know that for such new hardware would be better to use a rolling release distro or at least the latest 22.10, but I was wondering if with some tinkering it is still possible to get the latest LTS to work.

As far as I know, to get a 7900 XTX to work on linux you need at least these:

  1. Kernel 6.x+

  2. LLVM 15+

  3. Mesa 22.3+

  4. latest linux-firmware for /lib/firmware/amdgpu/ (and rebuild initramfs)

Is it possible and, if yes, what would be the best way to achieve this on Ubuntu 22.04 LTS?

More From » kernel


To get an AMD Radeon RX 7900 XT(X) to work with Ubuntu 22.04 LTS, you can follow these steps:

  1. Install the latest OEM kernel available by running the command:

sudo apt install linux-oem-22.04c

  1. Download and install the latest kernel firmware from here by running these commands:

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20230117.tar.gz
tar -xf linux-firmware-20230117.tar.gz
sudo cp linux-firmware-20230117/amdgpu/* /lib/firmware/amdgpu/
sudo update-initramfs -uk 'all'

  1. Install the kisak-mesa PPT by running these commands
    (this PPA will take care of providing the latest stable mesa and llvm15):

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt upgrade

  1. Ensure there is no modprobe blacklist for amdgpu by running the command:

sudo rm /etc/modprobe.d/blacklist-amdgpu.conf

If you use Xorg instead of Wayland and have the issue where the mouse cursor is invisible, you can try to create the file /etc/X11/xorg.conf.d/99-modesetting.conf with the following content:

Section "Device"
Identifier "modesetting"
Driver "modesetting"

This should make the latest LTS work with your hardware.

[#58] Sunday, November 14, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 347
Total Questions: 112
Total Answers: 108

Location: Ukraine
Member since Wed, Dec 16, 2020
3 Years ago