[求助]在VMware中的Arch Linux KDE Plasma6 Wayland中音频输出失效

我现在处于vmware的archlinux kde plasma6 wayland系统中,出现了声音无法播放的问题

症状为:

  1. 无法找到音频播放设备,打开Spotify播放音乐进度条不动(已排除网络环境问题)
  2. 问过AI修复了音频播放设备的问题,但仍然无法正常听到音频,但是内部音乐软件和音频可视化组件可以正常工作

推断可能的bug出现原因:

1.在今天凌晨的一次例行的sudo pacman -Syu后,systemd文件损坏

我在Live环境中重新安装了systemd并重新生成了initramfs,同时清理了pacman缓存

初步判断为强制覆盖安装 systemdsystemd-libs重置或覆盖所有 systemd 配置文件和依赖库

在楼主一下午经过AI协助的修复后仍然无法播放音频,已经没招了,有没有更好的修复方法

AI给我的修复建议是修改VMware声卡驱动为hdaudio,但是我在VMWare workstation 25H2中并未找到此选项

看看
systemctl --user status pulseaudio pipewire-pulse pipewire pipewire-media-session wireplumber

Fedal987@archlinux ~> systemctl --user status pulseaudio pipewire-pulse pipewire pipewire-media-session wireplumber
Unit pulseaudio.service could not be found.
Unit pipewire-media-session.service could not be found.
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
Active: active (running) since Thu 2026-04-23 17:55
:44 CST; 28min ago
Invocation: a38debd7e6ba4687953357abae478db0
TriggeredBy: ● pipewire-pulse.socket
Main PID: 1038 (pipewire-pulse)
Tasks: 3 (limit: 9451)
Memory: 11.2M (peak: 12.4M)
CPU: 11.045s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.
slice/pipewire-pulse.service
└─1038 /usr/bin/pipewire-pulse

Apr 23 17:55:44 archlinux systemd[1019]: Started PipeWire PulseAudi
o.

● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; e
nabled; preset: enabled)
Active: active (running) since Thu 2026-04-23 17:55
:44 CST; 28min ago
Invocation: fc4f3684f6a34411bef1524ea49bd31d
TriggeredBy: ● pipewire.socket
Main PID: 1035 (pipewire)
Tasks: 3 (limit: 9451)
Memory: 8.2M (peak: 8.7M)
CPU: 6.001s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.
slice/pipewire.service
└─1035 /usr/bin/pipewire

Apr 23 17:55:44 archlinux systemd[1019]: Started PipeWire Multimedi
a Service.

● wireplumber.service - Multimedia Service Session Manag
er
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service;
1;32menabled; preset: enabled)
Active: active (running) since Thu 2026-04-23 17:55
:44 CST; 28min ago
Invocation: aa33589d631e44299d94adefc0b1025b
Main PID: 1036 (wireplumber)
Tasks: 6 (limit: 9451)
Memory: 13M (peak: 13.8M)
CPU: 121ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.
slice/wireplumber.service
└─1036 /usr/bin/wireplumber

Apr 23 17:55:44 archlinux systemd[1019]: Started Multimedia Service
Session Manager.
Apr 23 17:55:44 archlinux wireplumber[1036]:
9mwp-device: SPA handle 'api.libcamera.enum.manager' could not be l
oaded; is it installed?
Apr 23 17:55:44 archlinux wireplumber[1036]:
9ms-monitors-libcamera: PipeWire's libcamera SPA plugin is missing
or broken. Some camera types may not be supported.
Apr 23 17:55:44 archlinux wireplumber[1036]:
default: Failed to get percentage from UPower: org.fr
eedesktop.DBus.Error.NameHasNoOwner
Apr 23 17:55:44 archlinux wireplumber[1036]:
spa.bluez5: BlueZ system service is not available

看看pactl list sinks的输出?

Fedal987@archlinux ~ [4]> pactl list sinks
Sink #34
State: IDLE
Name: auto_null
Description: Dummy Output
Driver: PipeWire
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: auto_null.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
node.name = "auto_null"
device.description = "Dummy Output"
audio.rate = "48000"
audio.channels = "2"
audio.position = "FL,FR"
media.class = "Audio/Sink"
factory.name = "support.null-audio-sink"
node.virtual = "true"
monitor.channel-volumes = "true"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "33"
node.driver = "true"
port.group = "stream.0"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "34"
object.serial = "34"
Formats:
pcm

你的声卡呢?lspci找找看?另外装了pipewire-alsa吗?

Fedal987@archlinux ~> lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
02:00.0 USB controller: VMware USB1.1 UHCI Controller
02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
02:02.0 Audio device: VMware HD Audio Controller (rev 09)
02:03.0 USB controller: VMware USB2 EHCI Controller
02:04.0 SATA controller: VMware SATA AHCI controller
03:00.0 USB controller: VMware Device 077a

pipewire-alsa是装了的

它在,但是PipeWire怎么不用它呢……

我刚刚运行了一遍aplay -l

给我返回的输出如下:

Fedal987@archlinux ~> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

感觉像是系统根本没认出来这个是声卡

按理来讲应该输出

card 0: VMware [VMware Virtual Audio], device 0: VMware Audio [VMware Audio]

是不是VMware的内核模块出了啥问题?lspci -k看看声卡用的哪个模块?

02:02.0 Audio device: VMware HD Audio Controller (rev 09)
DeviceName: sound
Subsystem: VMware HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

我刚刚看了一眼,snd_hda_intel是正常启用的

这是我在VMWare中的声卡设置

我现在没什么想法。要不看看系统日志?

是要本次启动的系统日志吗?

嗯,sudo journalctl -b都看看——我也不知道要找什么样的信息,只能都看一遍看看有没有线索了。或者你在网上多搜搜?

我重新启动一遍arch吧,刚刚整个日志导出大小超过400mb了,看着可能不方便

通过网盘分享的文件:arch.log
链接: https://pan.baidu.com/s/1cN5hp3M-6LpjwfRvYv5OsA?pwd=F987 提取码: F987
--来自百度网盘超级会员v6的分享

log太大 我放在网盘里发出来了

未安装客户端,下载不了。

你的日志怎么这么大啊……你用xz压缩一下还大吗?

arch.log.xz (1.0 MB)压缩了一下,这次小了,日志大是因为我把本次系统启动以来的所有日志全塞进去了 :sob:

PipeWire和sound.target都启停了好多次。你要不重启一下看看还有问题吗?