Khy*_*yta 13 sound pulseaudio alsa pipewire
我的运行 Ubuntu 22.04.1 的 ThinkBook 14S-IWL 笔记本电脑不再有声音。
\n我已经尝试了一切:重新启动、定期关机、apt-update、更新 GRUB、尝试安装 pipeline/wireplumber/pipewire-session-media 并查看是否有效,但没有成功。
\n$ aplay -l
**** List of PLAYBACK Hardware Devices ****\ncard 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]\n Subdevices: 1/1\n Subdevice #0: subdevice #0\ncard 0: PCH [HDA Intel PCH], device 3: Generic Digital [Generic Digital]\n Subdevices: 0/1\n Subdevice #0: subdevice #0\n
Run Code Online (Sandbox Code Playgroud)\n$ cat /proc/asound/modules
0 snd_hda_intel\n
Run Code Online (Sandbox Code Playgroud)\n$ lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30) (prog-if 80)\nSubsystem: Lenovo Cannon Point-LP High Definition Audio Controller\nFlags: bus master, fast devsel, latency 64, IRQ 16\nMemory at c131c000 (64-bit, non-prefetchable) [size=16K]\nMemory at c1000000 (64-bit, non-prefetchable) [size=1M]\nCapabilities: <access denied>\nKernel driver in use: snd_hda_intel\nKernel modules: snd_hda_intel, snd_sof_pci_intel_cnl\n
Run Code Online (Sandbox Code Playgroud)\n$ systemctl --user status pipewire-session-manager.service
Warning: The unit file, source configuration file or drop-ins of pipewire-session-manager.service changed on disk. Run \'systemctl --user daemon-reload\' to reload units.\n\xe2\x97\x8b pipewire-session-manager.service\n Loaded: error (Reason: Unit pipewire-session-manager.service failed to load properly, please adjust/correct and reload service manager: File exists)\n Active: inactive (dead)\n\nAug 11 08:58:40 thinkbook systemd[2609]: pipewire-session-manager.service: Cannot add dependency job, ignoring: Unit pipewire-session-manager.service failed to load properly, please adjust/correct and reload service manager: File exists\nAug 11 19:27:44 thinkbook systemd[2609]: pipewire-session-manager.service: Cannot add dependency job, ignoring: Unit pipewire-session-manager.service failed to load properly, please adjust/correct and reload service manager: File exists\n
Run Code Online (Sandbox Code Playgroud)\n$ systemctl --user daemon-reload
看似什么也没做。终端没有抱怨,但我仍然没有音频。
\n$ pactl info | grep \'^Server Name\'
Server Name: PulseAudio (on PipeWire 0.3.48)\n
Run Code Online (Sandbox Code Playgroud)\n$ aplay -l | grep HDMI
什么也不返回。
\n编辑:将 3.5 毫米耳机插入耳机插孔并重新启动后,我可以通过耳机听到声音。但如果我拔掉耳机,就听不到声音。
\n\n\n编辑2:现在我不再有声音了。我一直在更新和升级 Ubuntu,但仍然没有解决。
\nMos*_*roy 19
我遇到了完全相同的问题,为此我在从 21.10 升级到 22.04 后没有列出声音输出设备中找到了解决方案:
sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
systemctl --user restart pipewire-session-manager
Run Code Online (Sandbox Code Playgroud)
(积分请访问https://askubuntu.com/users/1156299/adam)
升级后我也遇到同样的错误。对我来说,临时解决方案是运行
$ systemctl --user restart pipewire pipewire-pulse
Run Code Online (Sandbox Code Playgroud)
每次启动后。最后我发现/usr/share/pipewire/media-session.d
缺少了
$ ls -ld /usr/share/pipewire/media-session.d
ls: cannot access '/usr/share/pipewire/media-session.d': No such file or directory
Run Code Online (Sandbox Code Playgroud)
和
$ sudo apt --reinstall install pipewire-media-session
Run Code Online (Sandbox Code Playgroud)
为我解决了这个问题。互联网上的一些报告称您可能希望在运行重新安装之前创建此目录(恕我直言,可能不需要)
编辑: 虽然此后音频对我有用,但错误消息
mod.rt: could not set nice-level to -11: Permission denied
Run Code Online (Sandbox Code Playgroud)
留下来,最后我还必须附加
@audio - nice -20
Run Code Online (Sandbox Code Playgroud)
到/etc/security/limits.conf
(如此处所示)从日志中删除任何错误消息。(重新安装rtkit
对我来说也不起作用)
我检查了日志是否干净:
journalctl -b 0 --user-unit=pipewire --user-unit=pipewire-pulse --user-unit=pipewire-media-session --user-unit=init.scope
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
41190 次 |
最近记录: |