@Balaton
Another test done directly as ROOT
so no longer using SUDO
Check if VFIO is linked:
spci -nnk -s '0000:06:00.0'
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:3001]
Kernel driver in use: vfio-pci
Kernel modules: radeon, amdgpu
lspci -nnk -s '0000:06:00.1'
06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:aaa0]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
hw:CARD=NVidia,DEV=3
HDA NVidia, 27G2G4
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, 27G2G4
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, 27G2G4
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, 27G2G4
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Direct sample mixing device
hw:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Direct hardware device without any conversions
hw:CARD=Generic,DEV=1
HD-Audio Generic, ALCS1200A Digital
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Hardware device with all software conversions
plughw:CARD=Generic,DEV=1
HD-Audio Generic, ALCS1200A Digital
Hardware device with all software conversions
sysdefault:CARD=Generic
HD-Audio Generic, ALCS1200A Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Direct sample mixing device
dmix:CARD=Generic,DEV=1
HD-Audio Generic, ALCS1200A Digital
Direct sample mixing device
WITHOUT SUDO everything passes no permission denied
set password as ROOT to access
sudo su
qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -m 2048 -cdrom /home/white/Scaricati/Radeon/AmigaONE-RADEON/AmigaOneInstallCD-53.54.iso -vga none -device rtl8139,netdev=network01 -netdev user,id=network01 -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=06:00.1,bus=pci.0 -device bochs-display,romfile=""
Result AUDIO:
couldn't open play stream: File o directory non esistente
sndio: failed to open device
audio: Could not create a backend for voice `via-ac97.out'
couldn't open play stream: File o directory non esistente
sndio: failed to open device
WITHOUT SUDO
everything passes no permission denied
password set as ROOT to access
the GPU is fast but the sound is not heard with:
AC97 or with ES1370
End of TEST.
We put ourselves back in the hands of the blond god, even if in reality everything is less than blond and blue-eyed

If you know a little geography.