Video playback from Instagram stalls on Firefox when selecting a USB DAC via pavucontrol
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- c, linux
- Ambito
- audio-video-rtc, operating-systems
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C
- Stelle
- 501
- Fork
- 227
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di alsa-project/alsa-lib
-
USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM deviceForse già presa @byrcolin l’ha presa 49 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
alsa-project/alsa-lib#532 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
alsa-project/alsa-lib#530 · 9 reazioni ·
-
kernel driver
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
alsa-project/alsa-lib#529 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
alsa-project/alsa-lib#522 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
alsa-project/alsa-lib#519 ·
Tutte le issue di alsa-project/alsa-lib
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
fastfetch-cli/fastfetch#2780 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elliotchance/vsql#2079 ·
I maintainer di solito rispondono entro 1 giorno
-
docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
I maintainer di solito rispondono entro 13 giorni
-
threadpool: a failed `pthread_cond_wait` makes Mlucas hang instead of stoppingForse già presa @leinardi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
primesearch/Mlucas#398 ·