You are not logged in.
Hi
I been creating a Qemu machine by command line like this:
qemu-system-x86_64 -enable-kvm -smp 6 -m 4G -nic user,model=virtio -drive file=ArchVm.Cow2,media=disk,if=virtio -cdrom ~/Downloads/archlinux-2024.02.01-x86_64.iso -device intel-hda -device hda-duplex
But for some reason the Arch machine doesn't make any sound, but everything else works fine. Also I tried with the flag -vga virtio -display sdl,gl=on to get more performace, also this option works. But now the only thing left to complete my setup is the sound issue.
I installed pipewire, wireplumber, pipewire-audio, pipewire-alsa, pipewire-pulse and pipewire-jack but i'm been unable to connect the vm to the host to be able to produce sound. I'm not sure what could be wrong. The host system also use pipewire and works well.
If I'm not wrong ussing virt-manager probably I can get vms with sound working, but I like to launch my vms by hotkeys, and also I don't want to have the extra packages for virt-manager in my system. but I could make an installation to check if what I'm saying is true.
For any help and comment. Thanks !
Last edited by Succulent of your garden (2024-03-07 22:22:56)
Offline
You aren't adding an audio device that your virtual card connects to: https://wiki.archlinux.org/title/QEMU#Audio -- and are relevant backends (like qemu-audio-pipewire) installed?
Last edited by V1del (2024-02-29 14:09:01)
Offline
Thanks very Much V1del. I just launched the backend service with the ideal flags for my system and works.
Have a nice week
Last edited by Succulent of your garden (2024-03-07 22:20:24)
Offline