Video playback from Instagram stalls on Firefox when selecting a USB DAC via pavucontrol
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- c, linux
調査の方向性
The payload names no file or test in alsa-lib. The only code pointer is the PulseAudio log line about a failed resume, which points at pa_alsa_set_hw_params() in PulseAudio's ALSA sink code, outside this repository. Reproducing needs the reporter's hardware, kernel and library versions, and no maintainer has responded in 167 days. Done would mean identifying which change causes the resume failure, which the issue does not establish.
索引モデルが issue の本文から書いたものです。
説明
This is a very weird one, and I'm not certain where the actual bug is but hope that the devs here might have an idea. The context is "retro-computing" though...
'm setting up a refurb G3 Elitebook (6th Gen i7 with HD520 GPU) with a retro install based on a self-updated "FrankUbuntu" 14.04LTS. 5.15.95 xanmod kernel, mesa v21.3.9, recent intel-media and intel-vaapi libraries, pulseaudio 17 and current alsa-libs. I'm hesitant to update libc so that has remained on 2.19 .
Video works and uses the HD driver from the intel-media package, but there is an issue with playback of Instagram videos. As soon as I select a USB DAC (e.g. via pavucontrol), playback halts but resumes as soon as switch back to the internal audio interface. Or to a USB audio->bluetooth dongle (= an audio interface that probably contains neither DAC nor amp but sends the incoming PCM data to a BT radio). The issue disappears when I boot an older (5.6) kernel but also when I boot a newer distro (Devuan "Chimaera") with the same kernel (but earlier Alsa and pulseaudio versions and a newer libc).
The only thing hinting at the possible error that I get appears in the syslog, from pulseaudio:
[ [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000, New 529200/264600)]
That suggests something goes wrong in pa_alsa_set_hw_params() but could that explain the video halting too?
Fun fact: with alsa 1.2.15.2 the issue only affected IG "stories"; with 1.2.15.3 all videos are affected.
Video playback is fine on all other sites I tested (YT, Prime Video) and also in my standalone multimedia player (QMPlay2), all routed directly via PulseAudio or via ALSA's pulseaudio plugin.
Sadly there are no recent enough Chromium builds that I can test (other than via flatpak).
I'm aware that this could be a bug in PulseAudio or even Firefox, but given the intricate dependencies on hardware, kernel and possibly ALSA versions I thought I'd ask here first as I expect there'll be more devs who might be able to (guide me) put a finger on the underlying issue.
- 主要言語
- C
- スター
- 501
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
alsa-project/alsa-lib のほかの issue
-
USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM device対応中かも @byrcolin が 49 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
alsa-project/alsa-lib#532 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
alsa-project/alsa-lib#530 · リアクション 9 件 ·
-
kernel driver
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
alsa-project/alsa-lib#529 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
alsa-project/alsa-lib#522 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
alsa-project/alsa-lib#519 ·
alsa-project/alsa-lib の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fastfetch-cli/fastfetch#2780 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elliotchance/vsql#2079 ·
メンテナーはふだん 1 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
メンテナーはふだん 13 日以内に返信
-
threadpool: a failed `pthread_cond_wait` makes Mlucas hang instead of stopping対応中かも @leinardi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
primesearch/Mlucas#398 ·