@Balaton
this should not be necessary with Ubuntu 25.04 since the iso I download is the same as the one others use.
I follow your advice and I do it willingly.
But I do not do anything special to complicate things
Standard qemu installation compiled to the latest version and everything else without wrong steps is working including the GPU.
Now I did:
systemctl --user stop pipewire.socket pipewire-pulse.socket
systemctl --user disable pipewire.socket pipewire-pulse.socket
systemctl --user mask pipewire.socket pipewire-pulse.socket
sudo apt-get install alsa-base alsa-utils alsamixergui
alsactl init
result:
Found hardware: "HDA-Intel" "Nvidia GPU a7 HDMI/DP" "HDA:10de00a7,19da1726,00100100" "0x19da" "0x1726"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Realtek ALCS1200A" "HDA:10ec0b00,10438797,00100001" "0x1043" "0x8797"
Hardware is initialized using a generic method
step 2:
sudo qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -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="" -cdrom /home/white/Scaricati/Radeon/AmigaONE-CD-RADEON/AmigaOneInstallCD-53.54.iso -audio alsa,id=audio0,out.try-poll=off
result:
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: L'host non è attivo
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: L'host non è attivo
audio: Could not create a backend for voice `via-ac97.out'
without SUDO:
qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -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="" -cdrom /home/white/Scaricati/Radeon/AmigaONE-CD-RADEON/AmigaOneInstallCD-53.54.iso -audio alsa,id=audio0,out.try-poll=off
qemu-system-ppc: -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on: vfio 0000:06:00.0:
Could not open '/dev/vfio/15': Permission denied
sudo gedit /etc/modprobe.d/alsa-base.conf
Result my config alsa-base.conf :
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
-----------------------------
Is there anything I can change to make it work in:
/etc/modprobe.d/alsa-base.conf
Thanks.
@Balaton
from what I read the values should be 0 instead of 2
this should also apply to USB-AUDIO devices if I wanted to disable the integrated Audio Chipset from the BIOS
But I await your further advice.
