gpu acceleration disabled and hdmi audio does not work on 2nd car
Brief summary of the problem:
I have 2 Sapphire AMD Radeon R5 230 cards on GIGABYTE B450 GAMING X motherboard and multiseat configuration.
1st card works well, however 2nd one:
- produces 0xCAFEDEAD error and disables GPU acceleration
- cannot detect that HDMI audio connected
- draws thin pink line on the left side of hdmi output
however hdmi output works in general.
Previously it worked well but was broken months ago (not sure when, do not use seat1 with TV frequently).
I checked that swapping these 2 cards does not help. TV and cable are also working: I connected it to 1st card and everything works.
Most probably it is some kind of regression.
Hardware description:
- CPU: AMD Ryzen 5 1600 Six-Core Processor
- GPU:
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM] [1002:6771]
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM] [1002:6771]
- System Memory: 32Gb
- Display(s): SAMSUNG UE55RU7100
- Type of Display Connection: HDMI
System information:
- Distro name and Version: Archlinux
- Kernel version:
Linux home 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
Just boot the system:
- Pink line on TV connected to 2nd card's HDMI
- errors in dmesg:
# journalctl -k -p err
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2fed66800 flags=0x0020]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff00000 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff00040 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff002c0 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff00300 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff00380 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff003e0 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2bff00440 flags=0x0000]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2fed66004 flags=0x0020]
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0x2fed66400 flags=0x0020]
Jun 09 11:43:48 home kernel: [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD)
Jun 09 11:43:48 home kernel: radeon 0000:05:00.0: disabling GPU acceleration
- HDMI audio output shown as unavailable however HDMI audio card detected
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI_1 [HDA ATI HDMI], device 3: HDMI 0 [PL2492HN]
Subdevices: 1/1
Subdevice #0: subdevice #0
-
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
produces no errors but no sound
IO_PAGE_FAULT errors can be avoided by disabling iommu but it does not help.
I see additional crash then, not sure if it is related:
[ 613.653696] Can't enable IRQ/MSI because no handler is installed
[ 613.653735] WARNING: CPU: 6 PID: 914 at drivers/gpu/drm/radeon/evergreen.c:4500 evergreen_irq_set+0x432/0x440 [radeon]