Question about Ensoniq AudioPCI es1370 support in FreeBSD 12.1

Aki Ketolainen akik at mykolab.com
Sun Mar 7 19:42:34 UTC 2021


Hi,

I'm not sure if this question comes to the correct place but somebody on 
IRC
said you could maybe be able answer my question.

I'm testing helloSystem (https://github.com/helloSystem/hello) in a Qemu 
VM
on Linux. helloSystem is running FreeBSD 12.1.

The ALSA and es1370 sound card settings work in a CentOS 7 Qemu VM on
the same host with no audio crackling.

If I use the pulseaudio and Intel HDA options for the helloSystem Qemu 
VM,
the audio works ok but I can hear some crackling.

If I change the audio options for ALSA and es1370 sound card for the 
helloSystem
Qemu VM, the audio becomes weird, like it's stretched 10x.

Here's how I start the helloSystem Qemu VM:

QEMU_AUDIO_DRV=alsa qemu-system-x86_64 -machine type=q35,accel=kvm 
-enable-kvm -cpu host -smp 2 -m 4096 -device virtio-net,netdev=vmnic 
-netdev user,id=vmnic,hostfwd=tcp::5222-:22 -vga std -audiodev alsa,id=1 
-device ES1370,audiodev=1 -no-quit -drive 
format=raw,file=${HOME}/.qemu/hello/hello.img

Here's how I start the CentOS 7 Qemu VM:

QEMU_AUDIO_DRV=alsa qemu-system-x86_64 -machine type=q35,accel=kvm 
-enable-kvm -cpu host -smp 2 -m 2048 -device virtio-net,netdev=vmnic 
-netdev user,id=vmnic,hostfwd=tcp::5222-:22,hostfwd=tcp::5280-:80 
-device qemu-xhci,id=xhci -device usb-tablet,bus=xhci.0 -vga virtio 
-audiodev alsa,id=1 -device ES1370,audiodev=1 -no-quit -drive 
format=raw,file=${HOME}/.qemu/centos_linux_7/centos_linux_7.img

Would you have an idea where to look for the solution to the stretched
audio problem with ALSA and es1370 sound card for the helloSystem Qemu 
VM ?

Best regards,

Aki Ketolainen
Turku, Finland


More information about the freebsd-multimedia mailing list