我刚刚从 22.04 更新到 23.10,更新后设置中没有列出音频设备。我相信我的系统正在使用 WirePlumber 和 PipeWire:
systemctl --user status pipewire.service wireplumber.service pulseaudio.service
Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
Active: active (running) since Sat 2024-05-04 23:14:53 +08; 19min ago
TriggeredBy: ● pipewire.socket
Main PID: 3136 (pipewire)
Tasks: 3 (limit: 18739)
Memory: 5.4M
CPU: 179ms
CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
└─3136 /usr/bin/pipewire
May 04 23:14:53 ds047 systemd[3057]: Started pipewire.service - PipeWire Multimedia Service.
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Sat 2024-05-04 23:14:53 +08; 19min ago
Main PID: 3138 (wireplumber)
Tasks: 6 (limit: 18739)
Memory: 4.7M
CPU: 2.875s
CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/wireplumber.service
└─3138 /usr/bin/wireplumber
May 04 23:14:53 ds047 systemd[3057]: Started wireplumber.service - Multimedia Service Session Manager.
May 04 23:14:53 ds047 wireplumber[3138]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
May 04 23:14:53 ds047 wireplumber[3138]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
May 04 23:14:53 ds047 wireplumber[3138]: inotify_add_watch() failed: Permission denied
May 04 23:14:53 ds047 wireplumber[3138]: inotify_add_watch() failed: Permission denied
wpctl 确实正确显示了我期望的音频设备,之前在设置中显示过:
Audio
├─ Devices:
│ 39. Tiger Lake-LP Smart Sound Technology Audio Controller [alsa]
│
├─ Sinks:
│ 40. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output [vol: 1.00]
│ 41. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output [vol: 1.00]
│ 42. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output [vol: 1.00]
│ * 43. Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│ 44. Tiger Lake-LP Smart Sound Technology Audio Controller Headset Mono Microphone + Headphones Stereo Microphone [vol: 1.00]
│ * 45. Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone [vol: 0.00]
│
├─ Source endpoints:
│
└─ Streams:
编辑:添加aplay -l
输出
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0