No sound in Fedora 38 on VMware Fusion 13

Hello. I installed Fedora 38 ARM in VMware Fusion 13.0.2 on macOS Ventura 13.3.1. There is no sound in the system after installation. I’m doing a test, but I only hear stuttering The output devices contain two identical controllers. The input device also has two identical controllers. It happens that even three or four identical controllers appear. How to solve this problem? open-vm-tools.aarch64 and open-vm-tools-desktop.aarch64 installed on the system.

systemctl status --user pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
             /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Sat 2023-05-20 15:40:46 +07; 29min ago
TriggeredBy: ● pipewire.socket
   Main PID: 4345 (pipewire)
      Tasks: 2 (limit: 2216)
     Memory: 320.0K
        CPU: 27.014s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─4345 /usr/bin/pipewire

May 20 15:40:46 fedora systemd[1711]: pipewire.service: Scheduled restart job, restart counter is at 5.
May 20 15:40:46 fedora systemd[1711]: Stopped pipewire.service - PipeWire Multimedia Service.
May 20 15:40:46 fedora systemd[1711]: pipewire.service: Consumed 4.672s CPU time.
May 20 15:40:46 fedora systemd[1711]: Started pipewire.service - PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Sat 2023-05-20 15:29:54 +07; 40min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1985 (pipewire-pulse)
      Tasks: 2 (limit: 2216)
     Memory: 480.0K
        CPU: 473ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1985 /usr/bin/pipewire-pulse

May 20 15:29:54 fedora systemd[1711]: Started pipewire-pulse.service - PipeWire PulseAudio.
May 20 15:29:54 fedora pipewire-pulse[1985]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
May 20 15:29:54 fedora pipewire-pulse[1985]: mod.rt: found session bus but no portal

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Sat 2023-05-20 15:40:46 +07; 29min ago
   Main PID: 4346 (wireplumber)
      Tasks: 5 (limit: 2216)
     Memory: 632.0K
        CPU: 124ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─4346 /usr/bin/wireplumber

May 20 15:40:46 fedora systemd[1711]: Started wireplumber.service - Multimedia Service Session Manager.
May 20 15:40:46 fedora wireplumber[4346]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
May 20 15:40:46 fedora wireplumber[4346]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
May 20 15:40:46 fedora wireplumber[4346]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
May 20 15:40:47 fedora wireplumber[4346]: <WpNode:0xaaab23fa21a0> ignoring set_param on already destroyed objects
May 20 15:40:47 fedora wireplumber[4346]: <WpNode:0xaaab23fd1e10> ignoring set_param on already destroyed objects
May 20 15:40:47 fedora wireplumber[4346]: <WpPortalPermissionStorePlugin:0xaaab23f16e50> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

About the stuttering, i could imagine that the codecs are missing.

I don’t think the codecs are the reason. Sound test in system settings should work without additional codecs.

I mentioned because i had always such stuttering in virtual environments. And it helped.

Thanks for the advice. I followed your link and installed all codecs. Unfortunately it didn’t help.

In Virtual Machine Manager we do have the possibility to check if hardware plays well with the guest os:

sudo virt-host-validate

You might check if VMware Fusion offers something similar to check. It could also be a hardware issue caused by the Host. You might have to check if you have alternatives for the sound system harware simulation to select for the guest.

It seems to me that the reason is in the Pipewire. I installed Kali Linux and check the sound. Before that I didn’t install codecs and didn’t make any settings. Sound in Kali Linux works fine.

systemctl status --user pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-05-21 03:21:40 EDT; 19min ago
TriggeredBy: ● pipewire.socket
   Main PID: 2645 (pipewire)
      Tasks: 2 (limit: 4548)
     Memory: 6.2M
        CPU: 19.274s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─2645 /usr/bin/pipewire

May 21 03:21:40 kali systemd[1512]: Started pipewire.service - PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-05-21 10:20:42 EDT; 6h left
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1543 (pipewire-pulse)
      Tasks: 2 (limit: 4548)
     Memory: 25.8M
        CPU: 1.175s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1543 /usr/bin/pipewire-pulse

May 21 10:20:42 kali systemd[1512]: Started pipewire-pulse.service - PipeWire PulseAudio.
May 21 10:20:42 kali pipewire-pulse[1543]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
May 21 10:20:42 kali pipewire-pulse[1543]: mod.rt: found session bus but no portal
May 21 03:21:11 kali pipewire-pulse[1543]: mod.protocol-pulse: client 0xaaab10a46180 [gnome-control-center]: ERROR command:-1 (invalid) tag:3 error:25 (Input/output error)

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-05-21 03:21:40 EDT; 19min ago
   Main PID: 2646 (wireplumber)
      Tasks: 4 (limit: 4548)
     Memory: 10.4M
        CPU: 425ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─2646 /usr/bin/wireplumber

May 21 03:21:40 kali systemd[1512]: Started wireplumber.service - Multimedia Service Session Manager.
May 21 03:21:40 kali wireplumber[2646]: Failed to set scheduler settings: Operation not permitted
May 21 03:21:40 kali wireplumber[2646]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
May 21 03:21:40 kali wireplumber[2646]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
May 21 03:21:40 kali wireplumber[2646]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
May 21 03:21:40 kali wireplumber[2646]: <WpPortalPermissionStorePlugin:0xaaaae434ef80> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

In Fedora for pipewire.service and pipewire-pulse.service

Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)

In Kali for pipewire.service and pipewire-pulse.service

Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)

PipeWire in Fedora is socket-activated (basically, it activates when needed). The service being disabled doesn’t prevent PipeWire from running—in your first post you can see that the service is disabled, but active. Also the fact that you hear stuttering, not no audio, should make it clear PipeWire is running.

I’m not familiar with VMware. You might want to check if it’s related to sample rates.

Probably the problem is not in the sample rate. I looked in Fedora file /usr/share/pipewire/pipewire.conf

#default.clock.rate          = 48000
#default.clock.allowed-rates = [ 48000 ]

In Kali the sound works and there are the same values. I tried to change the sample rate, but the sound does not work.

I also tried to swap Pipewire with Pulseaudio, but after replacing the sound completely disappeared. I don’t even hear stuttering.

sudo dnf swap --allowerasing pipewire-pulseaudio pulseaudio

Related to my answer in request 6:

VMware Knowledge Base

Thanks for the link but this article doesn’t work for me. I created a virtual machine in VMware 13. I also run this virtual machine in VMware 13.