AMD RX5700XT Ongoing Issues

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
Helios451
Level 1
Level 1
Posts: 3
Joined: Thu Jun 18, 2020 9:59 am

AMD RX5700XT Ongoing Issues

Post by Helios451 »

Since building my new PC and setting up dual boot Linux Mint and Windows 10 Pro I have struggled to get my RX5700XT to load drivers or work under Mint. I have tried to download and install the AMD drivers (even to the point of trying both normal and Pro versions), upgraded the Linux Kernel, read around a lot but all to no avail.

When I boot, GRUB has a problem: 'AMD-Vi: Completion-Wait loop times out' and 'iommu ivhd: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0c:00.0 address=0x7fb59edb0]

It then hangs and I need to reboot into safe boot, whereupon I chose resume normal boot and it loads.

Once logged in Device Manager tells me GPU drivers are missing.

The only suggestion I have come across is to upgrade to Mint 20, but that seems a bit extreme and I want to get to the bottom of this.

Any help would be greatly appreciated.

Thanks

Here's my Inxi -FXZ output:

System:
Host: Helios Kernel: 5.4.47-050447-generic x86_64 bits: 64 compiler: gcc
v: 9.3.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic
Machine:
Type: Desktop System: Gigabyte product: X570 AORUS MASTER v: -CF
serial: N/A
Mobo: Gigabyte model: X570 AORUS MASTER v: x.x serial: N/A
UEFI [Legacy]: American Megatrends v: F11 date: 12/06/2019
CPU:
Topology: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen
L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 182411
Speed: 2198 MHz min/max: 2200/3800 MHz Core speeds (MHz): 1: 2198 2: 2196
3: 2197 4: 2196 5: 2199 6: 2194 7: 2200 8: 2192 9: 2191 10: 2193 11: 2199
12: 2199 13: 2200 14: 2200 15: 2189 16: 2190 17: 2193 18: 2197 19: 2201
20: 2198 21: 2200 22: 2201 23: 2200 24: 2195
Graphics:
Device-1: AMD vendor: Tul driver: N/A bus ID: 0c:00.0
Display: server: X.Org 1.20.8 driver: vesa unloaded: fbdev,modesetting
resolution: 1400x1050~N/A
OpenGL: renderer: llvmpipe (LLVM 10.0.0 128 bits) v: 3.3 Mesa 20.0.5
direct render: Yes
Audio:
Device-1: AMD driver: snd_hda_intel v: kernel bus ID: 0c:00.1
Device-2: AMD vendor: Gigabyte driver: snd_hda_intel v: kernel
bus ID: 0e:00.4
Sound Server: ALSA v: k5.4.47-050447-generic
Network:
Device-1: Intel driver: iwlwifi v: kernel port: N/A bus ID: 04:00.0
IF: wlp4s0 state: up mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: Gigabyte driver: igb
v: 5.6.0-k port: e000 bus ID: 05:00.0
IF: enp5s0 state: down mac: <filter>
Device-3: Realtek vendor: Gigabyte driver: r8169 v: kernel port: d000
bus ID: 06:00.0
IF: enp6s0 state: down mac: <filter>
Drives:
Local Storage: total: 1.36 TiB used: 102.08 GiB (7.3%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB
size: 931.51 GiB
ID-2: /dev/sda vendor: Western Digital model: WDS500G2B0B size: 465.76 GiB
temp: 45 C
Partition:
ID-1: / size: 465.24 GiB used: 102.08 GiB (21.9%) fs: xfs dev: /dev/sda2
Sensors:
System Temperatures: cpu: 58.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 407 Uptime: 19m Memory: 31.37 GiB used: 1.90 GiB (6.1%)
Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20
inxi: 3.0.32

User avatar
roblm
Level 12
Level 12
Posts: 4402
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD RX5700XT Ongoing Issues

Post by roblm »

Test these kernel parameters by editing the kernel command line. The effect will only last for one session. At the GRUB boot menu select the correct line but don’t press Enter. Press the “E” key to edit. If no menu shows, then hold down the shift key while starting. Use the Down arrow key to go down to the line that starts with:
linux /boot/vmlinuz.............ro quiet splash $vt_handoff

Go to the end of the line. Add a space and then add the parameter: iommu=soft

Press F10 to start your system.

If that doesn’t help, then repeat the steps and try using these parameters, one at a time:
amd_iommu=off
amdgpu.noretry=0
amdgpu.runpm=0

mr_raider
Level 7
Level 7
Posts: 1787
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: AMD RX5700XT Ongoing Issues

Post by mr_raider »

I'm using an rx 5700 with no issues.

A few points:

1. The AMD Vi issue has nothing to do with your graphics card. Go into your BIOS and look for an IOMMU option and toggle it. Try turning AMD virtualization on/off in BIOS.

2. You are using a non final version of the 5.4 kernel. Go into your update manager and select the most recent 5.4 kernel and boot from that.bThe current version is 5.4.0.39

3. Completely remove the amdgpu driver from AMD. WIth kernel 5.4 and MEsa >20, it is not needed except for some very specific implementations.
Image

Post Reply

Return to “Graphics Cards & Monitors”