Radeon 7870 XT (Tahiti) not working with radeon driver
System information
System:
Host: jim-desktop Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc
v: 11.3.0 Desktop: GNOME 42.5 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3
Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
CPU:
Info: 6-core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2
rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
Speed (MHz): avg: 2182 high: 2794 min/max: 2200/4409 boost: enabled
cores: 1: 1863 2: 1861 3: 2794 4: 2195 5: 2193 6: 2196 7: 1857 8: 1857
9: 2794 10: 2195 11: 2194 12: 2194 bogomips: 91022
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Tahiti LE [Radeon HD 7870 XT] vendor: XFX Pine driver: N/A
pcie: speed: 8 GT/s lanes: 16 bus-ID: 09:00.0 chip-ID: 1002:679e
Display: x11 server: X.Org v: 1.21.1.3 compositor: gnome-shell driver: X:
loaded: ati,vesa unloaded: fbdev,modesetting,radeon gpu: N/A display-ID: :1
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: default res: 1920x1080 size: N/A
OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.0.5
direct render: Yes
Describe the issue
Hello. I have a Radeon 7870 - this one and I’m trying to get it working on Ubuntu 22.04.1 LTS.
I have to add nomodeset
to the kernel parameters otherwise the display is garbled on boot, the monitors then switch off after a few seconds - it looks similar to this bug reported for the same graphics card on this project.
The card is supported by the fglrx
driver but this is no longer supported, and would require a downgrade to Ubuntu 14.04.6 LTS which I’d really like to avoid.
The alternative amdgpu
drivers do not appear to support this card series either.
There are a few threads online about this card on Ubuntu but nobody seems to get very far. Are there any logs / details I can provide to help diagnose this problem? I’m not sure if dmesg/Xorg logs are helpful when you have nomodeset
enabled (as I guess this disables the part of the driver with the problem), but I include them below anyway. Not sure if there’s a way of getting to these logs ‘blind’ after it crashes with the garbled display? (The Xorg logs don’t appear to be created when it crashes).
I did wonder if this is something to do with this being a '7800' series card but a 'TAHITI' chip, as this Ubuntu page shows the 'TAHITI' chip is normally associated with '7900' series cards (with '7800' being 'PITCAIRN'). Perhaps the card is being misidentified and a PITCAIRN-only feature is enabled when it shouldn't be? Just a guess as I clutch at straws..!
Would really appreciate any help
Relevant details:
sudo lshw -c video
output:
*-display UNCLAIMED
description: VGA compatible controller
product: Tahiti LE [Radeon HD 7870 XT]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:09:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:fce00000-fce3ffff ioport:e000(size=256) memory:c0000-dffff
*-graphics
product: EFI VGA
physical id: 1
logical name: /dev/fb0
capabilities: fb
configuration: depth=32 resolution=1920,1080
Other similar threads:
- https://www.reddit.com/r/linuxquestions/comments/5x2mlp/7870xt_isnt_compatible_with_ubuntu_1604_can/
- https://www.reddit.com/r/RadeonGPUs/comments/plujv8/can_someone_help_me_make_my_hd7870_ghz_edition/
- https://community.amd.com/t5/drivers-software/radeon-hd-7870-ghz-edition-under-ubuntu-kubuntu-20-04-local/m-p/456229/highlight/true