#918522 No sound with PulseAudio when an NVidia GPU is installed.

Package:
timidity
Source:
timidity
Description:
Software sound renderer (MIDI sequencer, MOD player)
Submitter:
Julien Aubin
Date:
2022-09-20 11:39:02 UTC
Severity:
important
Tags:
#918522#5
Date:
2019-01-06 21:44:19 UTC
From:
To:
Hi,

The issue is reproducible on systems with an Intel Audio chip and a NVIDIA GPU
with HDMI output (detected as a soundcard).

When both conditions are met, PulseAudio does not detect the Intel Audio
soundcard anymore and no sound at all is output. The only workaround consists
in inserting garbage in /etc/pulse/daemon.conf to prevent it from loading (say,
a syntax error in the file). Then sound is back again.

I have NVidia blob 390.87, and I'm working with KDE.

Could you please fix the issue ?

Thanks a lot

#918522#10
Date:
2019-01-07 06:19:41 UTC
From:
To:
Hi again,

I tested with pavucontrol and the Intel HDA audio controller simply
does not appear.

Looks like I'm not the only one affected, see :
https://unix.stackexchange.com/questions/452079/no-sound-unless-root-in-debian-buster

@Debian NVIDIA Maintainers -> the issue might also come from the
NVidia driver (misconfiguration), although it did not occur in Stretch
w/ BPO 390.87-4 driver.

#918522#15
Date:
2019-01-07 06:41:10 UTC
From:
To:
Workaround :

In /etc/pulse/default.pa uncomment the following line :
load-module module-alsa-sink

Then everything goes back fine.

Looks like there's something wrong with PA detection module.

#918522#20
Date:
2019-01-08 19:30:29 UTC
From:
To:
Hi,

Could reproduce this bug on an host without an NVidia GPU.

Workaround is still the same.

Le lun. 7 janv. 2019 à 07:41, Julien Aubin <julien.aubin@gmail.com> a écrit :

#918522#25
Date:
2019-01-09 11:33:26 UTC
From:
To:
Control: tags -1 moreinfo


Could you please attach a verbose log of pulseaudio when the problem
occurs? Sounds like the udev module is not doing its job.

#918522#32
Date:
2019-01-09 11:36:45 UTC
From:
To:
Le mer. 9 janv. 2019 à 12:33, Felipe Sateler <fsateler@debian.org> a écrit :

Hi

How do I get the verbose log ?

#918522#37
Date:
2019-01-09 11:47:48 UTC
From:
To:
Use:

systemctl --user --runtime --full edit pulseaudio

Append a '-vvvv' to the ExecStart line

systemctl --user restart pulseaudio

And then get the log

journalctl --user-unit pulseaudio --since=sometimebeforerestarting > pulse
log

(You might need root to get the logs)

Verify that the log is not empty, and then attach it.

Saludos

#918522#42
Date:
2019-01-09 17:40:06 UTC
From:
To:
Le mer. 9 janv. 2019 à 12:48, Felipe Sateler <fsateler@debian.org> a écrit :

Hi,

Attached the logs.

#918522#47
Date:
2019-01-16 00:11:58 UTC
From:
To:
The log says:

module-udev-detect.c: /devices/pci0000:00/0000:00:1b.0/sound/card0 is busy:
yes

Some other program appears to be holding the device busy. Common culprits
include espeakup and timidity. You can further inspect with:

sudo lsof /dev/snd/*

#918522#52
Date:
2019-03-26 16:15:48 UTC
From:
To:
Dear Maintainer,

I think I'm seeing this problem. Loading module-alsa-sink makes the device
appear though there's no inputs.

Workarounds for bugs #901148 and #901689 don't work.

My Nvidia driver version:

ii  nvidia-legacy-390xx-driver                  390.116-1    amd64
NVIDIA metapackage (390xx legacy version)

Best regards.

#918522#57
Date:
2019-03-26 16:24:54 UTC
From:
To:
Sorry, the contents of the file /etc/pulse/default.pa in my last reply are
incorrect.

Lines:

load-module module-alsa-sink
load-module module-alsa-source device=hw:1,0

should be commented like this:

#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0

Since that's how they were when the log was recorded.

#918522#62
Date:
2019-05-10 15:23:19 UTC
From:
To:
Thank you so much for this.

I had the same symptoms after upgrading to Buster. Removing timidity
"solved" the issue.

As a default behaviour, this is pretty bad.

Is this a known issue? Should this be filed as another bug somewhere?

#918522#67
Date:
2019-05-13 13:07:37 UTC
From:
To:
Control: forcemerge 901148 -1

This is already tracked as bug #901148 in timidity. I'm Merging the bugs .

#918522#98
Date:
2022-09-20 11:35:03 UTC
From:
To:
Hey there,
Could you help me received 4.2 million for Charity Projects in your country?