@Balaton
I did some testing with ArchLinux.
The audio now works with Sudo.
So, in theory, I should be able to do GPU passthrough without any problems.
I'll make a backup before continuing.
And do some more testing.

In summary, even if it's incorrect for various reasons,
SM501 :
sudo chmod 777 /run/user/$(id -u)/pulse/native; qemu-system-ppc -M amigaone -bios /home/white/Scaricati/Silicon/u-boot-amigaone.bin -device VGA,romfile=/home/white/Scaricati/Silicon/VGABIOS-lgpl-latest.bin -m 2048 -serial stdio -vga none -device sm501 -device rtl8139,netdev=mynet0 -netdev user,id=mynet0 -drive media=disk,format=raw,file=/home/white/Scaricati/Silicon/Update2-ONE-32gb.raw
now both -ac97 and -es1370 work ( -ac97 has a cleaner sound )
GPU:
sudo chmod 777 /run/user/$(id -u)/pulse/native; qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/u-boot-amigaone.bin -serial stdio -drive media=disk,format=raw,file=/home/white/Scaricati/Silicon/Update2-ONE-32gb.raw -netdev user,id=net -device rtl8139,netdev=net -vga none -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=""
note:
Alsa is not needed in this case (I'll make a backup first).
----------------------------
#!/bin/bash
# Script per compilare QEMU con supporto audio moderno OS / Arch
# Include disabilitazione FUSE per evitare errori di compilazione
set -e
echo "🔧 Installazione delle dipendenze di sistema..."
sudo pacman -S --needed --noconfirm \
git base-devel ninja python meson \
glib2 pixman \
alsa-lib libpulse pipewire \
jack sdl2 libslirp libxkbcommon
echo "📥 Clonazione del repository QEMU..."
git clone
https://gitlab.com/qemu-project/qemu.gitcd qemu
echo "🔧 Configurazione QEMU per PowerPC con supporto audio moderno..."
./configure \
--target-list=ppc-softmmu \
--audio-drv-list=alsa,pa,sdl \
--enable-sdl \
--enable-gtk \
--enable-slirp \
--disable-fuse
echo "🧱 Compilazione QEMU (usa tutti i core disponibili)..."
make -j$(nproc)
echo "✅ Compilazione completata!"
echo "ℹ️ Puoi eseguire QEMU con:"
echo " ./build/qemu-system-ppc --version"
echo "❓ Vuoi installarlo nel sistema? (richiede sudo) [s/N]"
read -r INSTALL
if [[ "$INSTALL" == "s" || "$INSTALL" == "S" ]]; then
echo "📦 Installazione di QEMU..."
sudo make install
echo "✅ QEMU installato!"
else
echo "🚫 Installazione saltata. Puoi usare QEMU da ./build/qemu-system-ppc"
fi
-----------------------------
This is probably more correct:
sudo pacman -S alsa-utils alsa-plugins alsa-lib qemu-full ovmf
But I need to see the best option.
initial audio settings during installation:

With ArchLinux, the screen is smooth even with SM501, and the mouse doesn't stutter like it does with Ubuntu.
Edited by white on 2025/9/10 10:12:15
Edited by white on 2025/9/10 10:25:05
Edited by white on 2025/9/10 12:09:04
Edited by white on 2025/9/10 12:10:41
Edited by white on 2025/9/10 13:38:12