从 21.04 升级到 22.04,音频丢失(仅虚拟输出)

Jyr*_*nen 2 sound kernel drivers 22.04

解决方案(已修复):\n因此我尝试从头开始安装 22.04,而不是尝试找出问题所在并修复它。下载镜像,制作USB并启动。刚刚发现grub有一些bug,22.04目前无法安装。

\n

我认为我在 Ubuntu 上运行得很好(5 年多了),现在是时候用 debian 回家了。所以我这么做了。\n如果 Ubuntu 可以安装甚至重新安装,我可能会回来;)

\n

=> 音频现在可以工作了 (debian11)

\n
\n

2-3天前进行了通常的发布升级,因为我喜欢盲目和鲁莽地骑在前沿。

\n

现在升级后就没有声音了。

\n

我可以看到卡片:

\n
\n
\n
> 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:   \n>   Device-1: Intel Cannon Lake PCH cAVS driver: N/A   \n>   Device-2: NVIDIA GM206 High Definition Audio driver: N/A\n>   Device-3: Logitech Webcam C270 type: USB driver: N/A   \n>   Sound Server-1: ALSA v: k5.15.0-30-generic running: yes\n>   Sound Server-2: PulseAudio v: 15.99.1 running: yes\n>   Sound Server-3: PipeWire v: 0.3.48 running: yes\n
Run Code Online (Sandbox Code Playgroud)\n
\n
\n

卡被内核识别,但没有驱动程序,所以本质上 aplay 失败:

\n
> jyrki@kekkonen:~$ aplay -l\n> aplay: device_list:274: \xc3\xa4\xc3\xa4nikortteja ei l\xc3\xb6ytynyt...\n
Run Code Online (Sandbox Code Playgroud)\n
\n

dmesg 中没有任何内容:

\n
\n
> jyrki@kekkonen:~$ sudo dmesg|grep -e 'audio\\|snd\\|intel' \n> [    0.000000] Command line: BOOT_IMAGE=/BOOT/ubuntu_841rk4@/vmlinuz-5.15.0-30-generic root=ZFS=rpool/ROOT/ubuntu_841rk4 ro quiet splash intel_iommu=on,igfx_off vt.handoff=1 \n> [    0.029593] Kernel command line: BOOT_IMAGE=/BOOT/ubuntu_841rk4@/vmlinuz-5.15.0-30-generic root=ZFS=rpool/ROOT/ubuntu_841rk4 ro quiet splash intel_iommu=on,igfx_off vt.handoff=1 \n> [    2.964560] intel_pstate: Intel P-state driver initializing\n> [    2.964978] intel_pstate: Disabling energy efficiency optimization\n> [    2.964978] intel_pstate: HWP enabled\n> [    2.999704] intel_pmc_core INT33A1:00:  initialized\n> [ 105.156978] audit: type=1400 audit(1652119587.700:77): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/sys/bus/snd_seq/devices/" pid=4824 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0\n
Run Code Online (Sandbox Code Playgroud)\n
\n
\n

所以(我认为)这不是 pavucontrol、PipeWire、Alsa 或 PulseAudio 的问题,也不是 snd-hda-intel 的问题,因为我(有点)明白 5.15 中不存在这样的问题。不再处理 Cannon Lake 的内核了吗?应该是 sof-something 并且确实检查过,我的系统具有指向驱动程序的签名 cnl 版本的链接:

\n
/lib/firmware/intel/sof/intel-signed/sof-cnl.r\n
Run Code Online (Sandbox Code Playgroud)\n

简单的 apt 更新 && apt 升级已经完成。 \n尝试了 @ AskUbuntu 此处建议的所有不到 2 个月的旧技巧,与 DummyOutput 相关。

\n

所以我现在有点卡住了。

\n

不太热衷于深入研究在官方发行版之外创建自己的内核的编译-构建-失败路径。我认为这是不太困难的事情,只是看不到我想的显而易见的东西。

\n

感谢您的指导,无论它是什么。

\n

于尔基

\n

小智 9

从 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)

由于某种原因,pipewire-media-session 不再启动/etc/pipewire/media-session.d/with-pulseaudio

来源:http ://changelogs.ubuntu.com/changelogs/pool/main/p/pipewire-media-session/pipewire-media-session_0.4.1-2ubuntu1/changelog