Pulseaudio问题:ALSA唤醒我们向设备写入新数据,但实际上没有什么可写的

Pulseaudio问题:ALSA唤醒我们向设备写入新数据,但实际上没有什么可写的

我遇到了 Pulseaudio 的以下奇怪行为:

  • 当我打开和关闭 Puvacontrol 时,声音严重失真。
  • 通常声音在启动时工作正常。有时它也被严重扭曲。当我打开 Puvacontrol 时它可以工作,当我关闭 Puvacontrol 时它又严重扭曲。

我的发行版是 Linux Mint 21,所有软件包都是最新的。这个问题最近出现了,但我无法确切地确定到底发生了什么变化。

systemctl --user statuspulseaudio.service 给出以下内容:

> ● pulseaudio.service - Sound Service
>      Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
>      Active: active (running) since Fri 2022-11-18 11:30:40 CET; 4min 42s ago 
>      TriggeredBy: ● pulseaudio.socket    
>      Main PID: 180724 (pulseaudio)
>      Tasks: 8 (limit: 18642)
>      Memory: 7.7M
>      CPU: 10.137s
>      CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pulseaudio.service
>              └─180724 /usr/bin/pulseaudio --daemonize=no --log-target=journal
> 
> Nov 18 11:30:40 XXX systemd[1129]: Starting Sound Service... 
> Nov 18 11:30:40 XXX pulseaudio[180724]: Stale PID file, overwriting. 
> Nov 18 11:30:40 XXX pulseaudio[180724]: Sink alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source does not exist. 
> Nov 18 11:30:40 XXX systemd[1129]: Started Sound Service. 
> Nov 18 11:30:40 XXX pulseaudio[180724]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found. 
> Nov 18 11:31:04 XXX pulseaudio[180724]: ALSA woke us up to write new data to the device, but there was actually nothing to write. 
> Nov 18 11:31:04 XXX pulseaudio[180724]: Most likely this is a bug in the ALSA driver 'snd_soc_skl_hda_dsp'. Please report this issue to the ALSA developers. 
> Nov 18 11:31:04 XXX pulseaudio[180724]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

当我查看pulseaudio -vvvv 的输出时,当我关闭 Puvacontrol 时,它会显示:

> pulseaudio protocol-native.c connection died

我非常感谢任何关于如何解决此问题的建议 - 让我知道我是否可以提供任何日志/输出来进一步确定问题。

相关内容