I am running on Manjaro (I also had this issue on an Arch install). I had this issue where whenever I start a using the single GPU passthrough, I get no sound. I did some investigation and I noticed that whenever display-manager service is stopped, the current logged in user get signed out (not sure if this is expected?), thus pipewire is also stopped with display-manager.
I added the following commands in this hook script /etc/libvirt/hooks/qemu.d/$VM/started/begin/post.sh and everything seems to be working fine after !?
I am running on Manjaro (I also had this issue on an Arch install). I had this issue where whenever I start a using the single GPU passthrough, I get no sound. I did some investigation and I noticed that whenever
display-manager
service is stopped, the current logged in user get signed out (not sure if this is expected?), thuspipewire
is also stopped withdisplay-manager
.I added the following commands in this hook script
/etc/libvirt/hooks/qemu.d/$VM/started/begin/post.sh
and everything seems to be working fine after !?I am wondering if I'm doing something wrong or this is expected?