[9.10 regression] HDA NVIDIA HDMI no sound after alsa 1.0.20 update

Bug #385076 reported by databubble
56
This bug affects 12 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Previously working under Karmic alpha 1 with ALSA 1.0.19 - now unable to get a peep out of HDMI after the alsa 1.0.20 binary and pulse audio 0.9.15 updates.

aplay -L

front:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio ALSA

ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: phil 4551 F.... kmix
                      phil 4801 F.... pulseaudio
 /dev/snd/pcmC0D3p: phil 4801 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfce78000 irq 21'
   Mixer name : 'Nvidia MCP78 HDMI'
   Components : 'HDA:1106e721,10438345,00100100 HDA:10de0002,10de0101,00100000'
   Controls : 33
   Simple ctrls : 17
Date: Tue Jun 9 02:24:14 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Uname: Linux 2.6.29.2 x86_64

Revision history for this message
databubble (phil-linttell) wrote :
Revision history for this message
mmalmeida (mmalmeida) wrote :

I am running Karmic beta and installed it on a Zotac Ion motherboard.

I also can't get HDMI audio to work.

Tests:

Sound Preferences - Hardware:

Profiles:

- Analog stereo output --> Works
- Digital Stereo (HDMI) Output - Doesn't work
- Digital Stereo (HDMI) Output + Analog stereo output - Doesn't work (not the HDMI nor the analog stereo)

Shouldn't the last one be at least able to work in the analog stereo output?

Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 385076] Re: [9.10 regression] HDA NVIDIA HDMI no sound after alsa 1.0.20 update

Please try changing profiles when running pulseaudio with -vvv to get a log output. To do this, do the following:

1. Open a terminal.
2. Run this command: echo "autospawn = no" > ~/.pulse/client.conf ; pulseaudio -k
3. Run pulseaudio like so: pulseaudio -vvv > pulse-output.log 2>&1

Then attempt to change profiles and play audio.

Then if you could attach pulse-output.log to the bug, we can have a look to see what may be going on.

Thanks

Revision history for this message
mmalmeida (mmalmeida) wrote :

Alright Luke, I did what you said.

Between steps 2 and 3 I had to kill pulseaudio (otherwise 3 would not run pulseaudio -vvv).

The test case was:

1. Play an mp3 song
2. Switch from "analog audio" to "HDMI output" in the Profile list of the Hardware section: song stopped playing in my headphones and didn't start playing on my television screen

3. Switched back to analog audio and song resumed in my headphones

(btw, I don't know if it shows in the log file, but I actually switched from analog-hdmi-analog-hdmi).

Also, I tried running pavucontrol and I actually see the volume mixer moving when I'm in HDMI ouput and the song is playing. But no sound comes out of the tv speakers...

Revision history for this message
mmalmeida (mmalmeida) wrote :

Also, if it helps, here is the result of running aplay -L:

front:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    Playback/recording through the PulseAudio sound server

Revision history for this message
mmalmeida (mmalmeida) wrote :

[SOLUTION]

Regarding this problem, I found the solution by running alsamixer and toggling the option:

IEC958 1

(ie, going to that option and pressing 'm').

The problem is that I can't see a way of doing that without alsamixer, ie with the audio desktop applet, so there's no way the general user will make this work without losing sometime searching for the answer online...

Revision history for this message
Simon Vidmar (vidmar-simon) wrote :

wild_oscar you saved my life (exactly you saved my available sleep time :-)). Your solution works for me also.

I have searched for this solution for more than a month without success. I have different hardware as you do (see below) but solution is same for me too.

------------- cut this -----------
simon@mmedia02:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Revision history for this message
mmalmeida (mmalmeida) wrote :

Well, that's the beauty of open source and collaboration!

Revision history for this message
EviL (diego-costantini) wrote :

thank you wild_oscar, i was lost as well.
i hope that option will (re)appear soon in gnome-volume-control

Revision history for this message
Hugo Sousa Júnior (hugosousajr) wrote :

wild_oscar, you are the man, you save me a long time and boring work,
really SL and colaboration is that!!
thanks all,
May I put this solutions in forum of Brazil?
of course yet?

thanxs

Revision history for this message
mmalmeida (mmalmeida) wrote :

Of course, Hugo, spread the word! It would be good if it could be made easier to make it work!

Revision history for this message
Thomas Karl Pietrowski (thopiekar) wrote :

I don't know if somebody of you found the same solution as I have but ..

it was very simple to get HDMI working I just thought about the problem that I had to get hw:0,3 working..
which is the alsa device for HDMI sound..

what you have to do is to enable (unmute) the mixer <IEC958 1> by alsamixer for example and thats it!

btw. it wouldn't be a big problem for the ubuntu-audio-devs to auto-enable it by default :)

please thank me if it was useful!

Revision history for this message
mmalmeida (mmalmeida) wrote :
Revision history for this message
memetali (ma-alabora) wrote :

Thank you wild_oscar, you saved another life...

Revision history for this message
rafael.inigo (rafael-inigo) wrote :

Hi! It's still not working for me.
I'm on 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux
Karmic Koala 9.10

I unmuted <IEC958> and <IEC958 D>.
My aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

My aplay -L:
front:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Digital
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
pulse

and still:
- Digital Stereo (HDMI) Output - Doesn't work
- Digital Stereo (HDMI) Output + Analog stereo output - Doesn't work

Revision history for this message
yawlhoo (yawlhoo) wrote :

I have the same problem as rafael.inigo : even tho I have unmuted iec958 in alsamixer, there is no sound by default. Oddly enough tho, sound over hdmi seems to be working under the hood, since if I issue something I found in a Googled posting:

mplayer -ao alsa:device=hw=0.3 -afm hwac3 test.mp3

I hear the mp3. However, if I use a gui app with, say, Internet radio, there is no sound.

This is on Zotac MAG, with HDMI cable to LCD HDTV.

Revision history for this message
yawlhoo (yawlhoo) wrote :

Solved!

I loosely followed a posting at:

http://ptspts.blogspot.com/2009/08/asrock-ion-330-nettop-with-jaunty.html

and created an /etc/asound.conf file with contents:

defaults.pcm.!card NVidia
defaults.ctl.!card NVidia
defaults.pcm.!device 3
defaults.ctl.!device 3

Now HDMI sound just works.

Brad Figg (brad-figg)
tags: added: hdmi karmic no-sound-system nvidia
Revision history for this message
Brad Figg (brad-figg) wrote :

Hi databubble,

Please, if you are still having issues, test with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p alsa-base 385076

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds .

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

Please let us know your results.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage needs-required-logs needs-test-current-image
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
gmurugesh (gmurugesh) wrote : apport-collect data

Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: lucky 1628 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xdbe78000 irq 22'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,14627309,00100202'
   Controls : 27
   Simple ctrls : 16
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
gmurugesh (gmurugesh) wrote : AlsaDevices.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : AplayDevices.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : ArecordDevices.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : BootDmesg.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : Card0.Amixer.values.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : CurrentDmesg.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : Dependencies.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : PciMultimedia.txt
Revision history for this message
gmurugesh (gmurugesh) wrote : XsessionErrors.txt
Changed in alsa-driver (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
Tóth Gergő (geriii) wrote : apport-collect data

Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/dsp: tothgergo 3155 F...m WoW.exe
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xddef8000 irq 22'
   Mixer name : 'Analog Devices AD1988'
   Components : 'HDA:11d41988,10438241,00100400'
   Controls : 40
   Simple ctrls : 23
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (gnome-settings-daemon:1753): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1753): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:1847): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1857): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Tóth Gergő (geriii) wrote : AlsaDevices.txt
Revision history for this message
Tóth Gergő (geriii) wrote : AplayDevices.txt
Revision history for this message
Tóth Gergő (geriii) wrote : ArecordDevices.txt
Revision history for this message
Tóth Gergő (geriii) wrote : BootDmesg.txt
Revision history for this message
Tóth Gergő (geriii) wrote : Card0.Amixer.values.txt
Revision history for this message
Tóth Gergő (geriii) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Tóth Gergő (geriii) wrote : CurrentDmesg.txt
Revision history for this message
Tóth Gergő (geriii) wrote : Dependencies.txt
Revision history for this message
Tóth Gergő (geriii) wrote : PciMultimedia.txt
Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Stian Hillestad (stianhillestad) wrote : apport-collect data

Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: stian 1626 F.... pulseaudio
 /dev/snd/pcmC0D3p: stian 1626 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd7000000 irq 22'
   Mixer name : 'Nvidia MCP78 HDMI'
   Components : 'HDA:111d7608,103c306c,00100202 HDA:10de0003,10de0101,00100000'
   Controls : 32
   Simple ctrls : 19
CheckboxSubmission: e7ca4a7baa72e5e9094d6fd385b06dbf
CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=nb_NO.UTF-8
 LANGUAGE=nb_NO.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (gnome-settings-daemon:1638): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:1739): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1745): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (gnome-panel:1738): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 24
 (firefox:1887): GLib-WARNING **: g_set_prgname() called multiple times

Revision history for this message
Stian Hillestad (stianhillestad) wrote : AlsaDevices.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : AplayDevices.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : BootDmesg.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : Card0.Amixer.values.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : CurrentDmesg.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : Dependencies.txt
Revision history for this message
Stian Hillestad (stianhillestad) wrote : PciMultimedia.txt
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.