Sound OK at Server, no sound getting to VM:guest (also Leap 15.4)
Problem since Original install 15.2, tried various times to fix, just gave up and lived with it.
Checked when upgraded 15.3, failed, didn’t pursue.
Just upgraded Server and VM to 15.4, decided to fix
Normally Virtual Machines offer a setting to allow VM Guests to access the Host’s Audio system.
For example, for the case of Linux, Oracle’s VirtualBox has the following VM setting:
On a Linux host, depending on your host configuration, you can select between the OSS, ALSA, or the PulseAudio subsystem. On newer Linux distributions, the PulseAudio subsystem is preferred.
Thanks for the reply.
My main machine is openSuse LEAP, on latest release (15.4).
My VM is the same.
I’m using KVM – QEMU
Quite certain is PULSE.
(My old system was CentOS, but using KVM/QEMU. I didn’t have to set anything the years I had it.)
virsh/Edit of the VM shows it’s getting it’s sound from QEMU.
I have a Pulse Audio GUI with 15.4, which I didn’t before, I had to use command-line, but anyhow, it looks OK.
If properNames would help, my main “server” running KVM/QEMU is greyHavens, and my VM is Treebeard.
Unfortunately, my VM experience is only with Oracle’s VirtualBox – for other VMs I would have to dive into the documentation without having an active system to check what’s going on …
But, somewhere there’s probably either a per VM KVM setting and/or QEMU setting to allow the host’s Audio System to be used by the VM Guest …
Yes, dcurtisfra, somewhere there’s probably either a per VM KVM setting and/or QEMU setting to allow the host’s Audio System to be used by the VM Guest …
But none of my research has revealed it.
I’ve made some tweaks in 15.2 when I first encountered the problem, and again after this 15.4 upgrade (I ignored the two years of 15.3–I’ve just gone to my iMac when I want to watch a uTube etc.). Nothing has worked.
I believe it’s got to be something simple and obvious, I can’t imagine folk everywhere have VMs under a KMV/Qemu where people can’t play the video of their niece’s concert sent by auntie vie email.
Thanks, larryr, I prefer the KVM - Kernel-modified Virtual Machines system, rather than an application.
I don’t know virtual-box. I know KIVM/QEMU/.Virsh
This seems a drastic step to then “try and see if that fixes it”.
Audio-Codec?
Perhaps I should look there.
As I said, when I built my machine, I did nothing with the sound, it discovered what I had and did the correct things. I can listen to internet radio at the server level. When I built VMs on my earlier machines, it figures out what I’ve got (including sound) and does the correct thing.
It should be a simple fix for anyone more skilled at KVM/Virsh than I.
Turns out there was a codec problem in both my openSuSE VM and my Ubuntu VM.
Found procedures in each Linux as to how to fix and so did.
codec, as I understand it, is more video than audio, so it did allow the few that used to fail to succeed.
Problem resolved.
I fixed the Codec, as I said, before which some video played without sound, some didn’t play: bad format.
Since I fixed Codec, all video played but still no sound, and I kept researching and trying things to no avail: everything was more-or-less as it should be.
During all this a couple of SuSE updates occur – they happen regularly, eh?
Today, I tried a video, and it worked. So I tried everything that didn’t work and it now works as well. I’ve spent the day getting all I wanted set up and tested.
And now I’ve got video with sound, and VLC’s now playing all my internet radio, etc.
I have to suspect the Codec had been the problem.
And when I fixed it, it was incomplete, but since, during the YaST onlineUpdates found and filled in the gaps.