Is audio supported for Linux guest?

DaveR6

Bit poster
I'm still unable to get sound output working for a Linux VM using Parallels Desktop 16.5.0 on Apple M1. Despite installing and reinstalling Parallels Tools, both Ubuntu and Fedora VMs show only "Dummy Output" sound device.

Am I doing something wrong or is Linux audio output not supported?
Is it on the Parallels Desktop roadmap or should I look elsewhere to host a Linux VM?

I see a couple threads with similar problems but can't find a definitive answers, either here or in the Knowledge Base.
Cheers, Dave.
 
I get the same issue on my Macbook Pro m1 . So far, the suggested troubleshooting methods did not help.
output from:

$ inxi -SMA
Audio: Message: No ARM data found for this feature.

$ aplay -l
aplay: device_list:274: no soundcards found...
 
Hi. I have very similar problem. Hopefully we get fix soon. I have clean install of MacOS on MacMini and installed Ubuntu with parallels "one click" wizard (from start screen)
 
With VM Ubuntu (OS provided by Parallel) I was able to make the audio work only with an old device I had, the iMic (dated usb sound card); once the user session is activated I have to physically reconnect the device each time.
I have to overcome problems with usb not activating.
 
same problem here. inxi -SMA shows No ARM data and lshw -C mutlimedia shows nothing. VM options set to Ouput = Default but when you look at Sound settings, it only shows Dummy Output.
 
Dave, if you wouldn't mind me deviating a little bit, what kernel version did you have on Fedora when you successfully installed the parallel tools? I get failures with all kernels I see available for f33 and f34.
 
With VM Ubuntu (OS provided by Parallel) I was able to make the audio work only with an old device I had, the iMic (dated usb sound card); once the user session is activated I have to physically reconnect the device each time.
I have to overcome problems with usb not activating.

Thanks for the suggestion. I tried a cheap USB sound card and that worked fine, which is better than nothing. Of course, I'd prefer and hope for a working sound driver for the MacBook speakers to come along, but I guess I can tolerate using a USB dongle in the meantime.
 
[QUOTE = "DaveR6, post: 884852, member: 6747947"] Grazie per il suggerimento. Ho provato una scheda audio USB economica e ha funzionato bene, il che è meglio di niente. Ovviamente, preferirei e spero che arrivi un driver audio funzionante per gli altoparlanti del MacBook, ma immagino di poter tollerare l'utilizzo di un dongle USB nel frattempo. [/ QUOTE]
Dave, imagine I connected my new Airpods Max via cable ....
 
Thanks BonazziR for the heads-up on USB.
Audio is working fine in a Debian GNU/Linux VM on my M1 Mac Mini + LG 24" UltraFine 4K monitor thru the on-board LG UltraFIne Display Audio (analog or digital).
This is USB-based, so you need to give Parallels permission to control this device. In fact, all of the screen controls can be assigned to Parallels as wel. :):):)
 
USB connection seems to be the only way to get audio working with Linux VMs at the moment. For instance, I've just configured my USB headset to work with Kali.
 
Hello guys, could you reproduce the issue and collect the tech report right after that please?
Also please do not forget to post the report's ID here.
We are looking forward to your reply and will be glad to help.
 
+1 No sound on my fedora 33/34 or ubuntu linux VMs on my M1 mac mini
In this tread I had already said that with an iMic usb device, I was able to make the audio work, even if the native audio of the Mac mini M1 was not working, now I add that even with this device you can get the working audio : https://avantree.com/it/leaf-bluetooth-usb-audio-transmitter?___store=it&___from_store=default

I hope I was helpful
holaIconWhite.svg
 
I saw. Buying something additional to add to my setup doesn't work for me. I already have speakers. They're already plugged in. I just want them to work.
 
Thanks BonazziR for the heads-up on USB.
Audio is working fine in a Debian GNU/Linux VM on my M1 Mac Mini + LG 24" UltraFine 4K monitor thru the on-board LG UltraFIne Display Audio (analog or digital).
This is USB-based, so you need to give Parallels permission to control this device. In fact, all of the screen controls can be assigned to Parallels as wel. :):):)
Let me just be a bit more precise.
There is at first no audio when running that Debian GNU/Linux VM, as many here have experienced.
In a running VM hit the USB Controller and it shows in my case the presence of "LG UltraFine Display Audio #5". Choosing it enables audio (and the device also shows in the output of the 'lsusb' command.
This assignment can be made permanent in the USB Connection Preferences, so audio is available right away after starting the VM. :):):)
 
I don't like the idea of needing an additioinal USB device in order to get sound working but fortunately you can actually get sound in Ubuntu without this requirement, this is because Ubuntu, like many other distros, uses pulseaudio, which can be configured as a service on your MacOS and as a client inside Ubuntu. So for now until the Parallels team gives us native support, what you can do is the following:

First install pulseaudio on your host, in order to do this I used homebrew:

Code:
brew install pulseaudio

Next edit your pulseaudio config file, if you installed through homebrew, just edit the file /opt/homebrew/etc/pulse/default.pa

Code:
sudo nano /opt/homebrew/etc/pulse/default.pa

In this file you should find 2 lines like this:

Code:
### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp

Uncomment them and replace them to something like this:

Code:
### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
load-module module-esound-protocol-tcp auth=anonymous=1
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;10.211.55.0/24

Replacing 10.221.55.0/24 with your Parallels virtual network IP range. For security reasons I do not recommend using your network adapter's IP range but your Parallels virtual network one, so noone should be able to connect from outside.

Now you can start the pulseaudio service, if you want it to work everytime you boot your guest, you can start it as a service with this command:

Code:
brew services start pulseaudio

Now on your Ubuntu just edit your /etc/pulse/client.conf file to point to your host service:

Code:
sudo nano /etc/pulse/client.conf

Uncomment the default-server line and add the IP address of your host on the virtual device network:

Code:
default-server = tcp:10.211.55.2

Reboot and voilá.
 

Attachments

  • Parallels sound ubuntu m1.png
    Parallels sound ubuntu m1.png
    576.2 KB · Views: 27
Back
Top