Will not play sound via HDMI using 48000 Hz sample rate

Bug #1829364 reported by Jarno Suni
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Does not play sound when playing file that has 48000 Hz sample rate via sink output:iec958-stereo. This is when using proprietary nvidia-340 driver; when using nouveau driver, HDMI is not even recognized (Bug #1844129).

Note that the device (HP 8510w, having NVIDIA Quadro FX 570M graphics adapter) does not have real HDMI audio, but audio is somehow wired from motherboard's S/PDIF to HDMI explaining the sink name. Anyway, in the attached AlsaInfo.txt there is a device "Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital" that has "rates [0x60]: 44100 48000".

Workaround:
Set
alternate-sample-rate = 44100
in /etc/pulse/daemon.conf and restart pulseaudio

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu7.2
ProcVersionSignature: Ubuntu 4.18.0-20.21~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-20-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jarnos 1283 F.... pulseaudio
CurrentDesktop: XFCE
Date: Thu May 16 12:39:15 2019
InstallationDate: Installed on 2019-05-08 (7 days ago)
InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68MVD Ver. F.20
dmi.board.name: 30C5
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 71.36
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68MVDVer.F.20:bd12/01/2011:svnHewlett-Packard:pn:pvrF.20:rvnHewlett-Packard:rn30C5:rvrKBCVersion71.36:cvnHewlett-Packard:ct10:cvr:
dmi.product.family: 103C_5336AN
dmi.product.version: F.20
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Jarno Suni (jarnos) wrote :
Revision history for this message
Jarno Suni (jarnos) wrote :

When pavucontrol is not running, it depends on sample rate of playback, whether or not the sound is audible:

$ speaker-test -r 48000
not audible

$ speaker-test -r 47999
audible

Jarno Suni (jarnos)
description: updated
Jarno Suni (jarnos)
summary: - Will not play sound via HDMI unless you run pavucontrol first
+ Will not play sound via HDMI using 48000 Hz sample rate
description: updated
Jarno Suni (jarnos)
description: updated
Jarno Suni (jarnos)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Jarno Suni (jarnos) wrote :

I tried this by 20.04, but could not get sound via HDMI cable work, except once, even if I had sample rate 44100 set in daemon.conf. I wonder what is wrong. TV tells: "unknown audio signal, check the source."

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.