Sound starts delayed (4sec) when using HDMI audio

Bug #1954742 reported by DarkTrick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Reproduce:
- Connect notebook to external monitor via HDMI
- Start random video in youtube / vlc player

Actual:
- Sound starts with about 4secs of delay

Reproducible:
always

Misc:
The package is just a guess.

lsb_release -rd
Description: Ubuntu 21.10
Release: 21.10

apt-cache policy pulseaudio
pulseaudio:
  Installed: 1:15.0+dfsg1-1ubuntu2.2
  Candidate: 1:15.0+dfsg1-1ubuntu2.2
  Version table:
 *** 1:15.0+dfsg1-1ubuntu2.2 1 (phased 20%)
        500 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu impish-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:15.0+dfsg1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu impish/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: pulseaudio 1:15.0+dfsg1-1ubuntu2.2
ProcVersionSignature: Ubuntu 5.13.0-23.23-generic 5.13.19
Uname: Linux 5.13.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nimono 2373 F.... pulseaudio
 /dev/snd/pcmC0D3p: nimono 2373 F...m pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Tue Dec 14 15:20:56 2021
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to impish on 2021-12-08 (6 days ago)
dmi.bios.date: 01/23/2018
dmi.bios.release: 1.7
dmi.bios.vendor: FUJITSU // Insyde Software Corp.
dmi.bios.version: Version 1.07
dmi.board.name: FJNB2BB
dmi.board.vendor: FUJITSU
dmi.board.version: A2
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU//InsydeSoftwareCorp.:bvrVersion1.07:bd01/23/2018:br1.7:svnFUJITSU:pnFMVWB3U27:pvr:rvnFUJITSU:rnFJNB2BB:rvrA2:cvnFUJITSU:ct10:cvr:sku:
dmi.product.family: LIFEBOOK-JR
dmi.product.name: FMVWB3U27
dmi.sys.vendor: FUJITSU
modified.conffile..etc.pulse.default.pa: [modified]
mtime.conffile..etc.pulse.default.pa: 2021-12-08T10:02:48.239277

Revision history for this message
DarkTrick (darktrick1337) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you perhaps report it directly upstream as well on https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues ?

Changed in pulseaudio (Ubuntu):
importance: Undecided → Low
Revision history for this message
DarkTrick (darktrick1337) wrote :

Thank you (especially for the direct link)!

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1305

(btw: Would be nice, if ubuntu-bug or launchpad could propose upstream reporting when trying to create an issue.)

Revision history for this message
DarkTrick (darktrick1337) wrote :

Apparently there was a problem with the sample output rate. I had to `set both default-sample-rate and alternate-sample-rate to 48000 in /etc/pulse/daemon.conf`

Apparently switching the output sample rate for devices takes about 4 seconds.

Details:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1305#note_1197529

My personal problem is solved by applying the specific configuration.

Open questions:
================
(1) Could the problem of "it takes 4 seconds to change output sampling rate" be a general problem that should be solved (where? in pulseaudio?).
(2) Or should Ubuntu deliver with a defined output sample rate in `/etc/pulse/daemon.conf`?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 21.10 (impish) reached end-of-life on July 14, 2022.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in pulseaudio (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.