有时,当我使用 banshee 或 totem 打开音频文件时,pulseaudio 服务会停止并且不会自行重新启动。
如何让pulseaudio重新启动而不必注销?
所以,我刚刚安装了 Ubuntu Unity 22.10。安装没问题,但是启动进入系统却没有声音。在声音设置中,我只能找到一个名为“Dummy Sound”的输出。
我尝试了很多解决方案,但没有一个有效,主要是因为当我尝试运行一些 dpkg 命令时出现另一个错误:
Bus error (core dumped)
dpkg: error processing package linux-image-5.19.0-23-generic (--configure):
installed linux-image-5.19.0-23-generic package post-installation script subprocess returned error exit status 135
Errors were encountered while processing:
linux-image-5.19.0-23-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
我尝试过的解决方案如下:
我尝试过重新安装pulseaudio、删除pipewire、安装wireplumber(这是一种让我得到上面给出的输出的解决方案)。
一些输出提供一些信息:
$ lspci -nnk | grep -A2 Audio
30:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition …Run Code Online (Sandbox Code Playgroud) 我的运行 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\nRun Code Online (Sandbox Code Playgroud)\n$ cat /proc/asound/modules
0 snd_hda_intel\nRun Code Online (Sandbox Code Playgroud)\n$ lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation …Run Code Online (Sandbox Code Playgroud) 我的笔记本电脑无法识别我的声卡并且只有虚拟音频。运行时inxi -A我得到这个:
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: N/A
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.19.0-21-generic running: yes
Sound Server-2: PipeWire v: 0.3.58 running: yes
Run Code Online (Sandbox Code Playgroud)
我尝试了建议的解决方案,例如安装 WirePlumber 或重新启动 PulseAudio,但它们不起作用。
解决方案(已修复):\n因此我尝试从头开始安装 22.04,而不是尝试找出问题所在并修复它。下载镜像,制作USB并启动。刚刚发现grub有一些bug,22.04目前无法安装。
\n我认为我在 Ubuntu 上运行得很好(5 年多了),现在是时候用 debian 回家了。所以我这么做了。\n如果 Ubuntu 可以安装甚至重新安装,我可能会回来;)
\n=> 音频现在可以工作了 (debian11)
\n2-3天前进行了通常的发布升级,因为我喜欢盲目和鲁莽地骑在前沿。
\n现在升级后就没有声音了。
\n我可以看到卡片:
\n\nRun Code Online (Sandbox Code Playgroud)> jyrki@kekkonen:~$ sudo inxi -SMA \n> System:\n> Host: kekkonen Kernel: 5.15.0-30-generic x86_64 bits: 64\n> Desktop: GNOME 42.0 Distro: Ubuntu 22.04 LTS (Jammy Jellyfish) \n> Machine:\n> Type: Desktop System: Gigabyte product: Z390 M v: N/A serial: N/A \n> Mobo: Gigabyte model: Z390 M-CF v: x.x serial: N/A\n> UEFI: American Megatrends v: F6j date: 01/19/2021 \n> Audio: …