[ASUS M3N78-VM, Nvidia MCP77/78 HDMI, Digital Out, HDMI] No sound at all

Bug #1256646 reported by Ray DeCampo
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ALSA driver
Unknown
Unknown
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned
alsa-lib (Ubuntu)
New
Undecided
Unassigned

Bug Description

Sound stopped working on upgrade from 13.4 to 13.10. Up until then, sound via HDMI worked fine. Now, I get no sound through HDMI. Checked the Sound Settings and alsa mixer and everything looks fine. If I hook up speakers to the microphone port I get sound.

I used "ubuntu-bug -s audio" to report this bug (very nice BTW). If there is any additional information you need or anything you would like me to try, I am game for it.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ray 2389 F.... pulseaudio
 /dev/snd/controlC1: ray 2389 F.... pulseaudio
Date: Sun Dec 1 09:35:49 2013
InstallationDate: Installed on 2011-10-02 (791 days ago)
InstallationMedia: Edubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia failed
Symptom_Card: Built-in Audio - HDA NVidia
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ray 2389 F.... pulseaudio
 /dev/snd/controlC1: ray 2389 F.... pulseaudio
Symptom_Jack: Digital Out, HDMI
Symptom_Type: No sound at all
Title: [System Product Name, Nvidia MCP77/78 HDMI, Digital Out, HDMI] No sound at all
UpgradeStatus: Upgraded to saucy on 2013-11-03 (27 days ago)
dmi.bios.date: 04/09/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1009
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M3N78-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1009:bd04/09/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM3N78-VM:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Ray DeCampo (rdecampo) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

pcm.!default {
    type plug slave {
        pcm "hw:0,3"
        rate 48000
        format S16_LE
    }
}

you should not override pcm.default since your does not have any capture device on hw:0,3

Revision history for this message
Raymond (superquad-vortex2) wrote :

ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html

6.1.2. Chipset with 8-channel support, single stream
Chipset supporting stereo and 1 stream

This configuration is used in MCP77, MCP78, MCP79, MCP7A, and ION.

In the case where multiple HDMI display connectors are present, the audio stream is broadcast to all HDMI connectors at once. A single ALSA device is exposed.

ELD and PD information is not available on these chipsets.

In these chipsets, the multiple 2-channel converters are aggregated by the ALSA driver and exposed as a single 8-channel device. Some chipsets support 2, or 8 channels (MCP77). Other chipsets support 2, 6, or 8 channels (MCP79).

Revision history for this message
Raymond (superquad-vortex2) wrote :

but device 3 is your Vt1708B 8-Ch Digital instead of your Nvida HDMI 0

Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital
  Control: name="HDMI Phantom Jack", index=0, device=0
  Pincap 0x00000010: OUT
  Pin Default 0x985601f0: [Fixed] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x12

PLAY

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B 8-Ch Analog [VT1708B 8-Ch Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: VT1708B 8-Ch Digital [VT1708B 8-Ch Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Revision history for this message
Ray DeCampo (rdecampo) wrote :

Thanks for the feedback Raymond, although I am not sure I quite understand what you are getting at. I removed the /etc/asound.conf file but still no sound. I also tried the same /etc/asound.conf file using "hw:0,7" in place of "hw:0,3" also without success. I rebooted after each configuration change to ensure they were recognized.

Revision history for this message
Raymond (superquad-vortex2) wrote :

seem missing optical S/PDIF Out

is this node the internal spdif out connector or SPDIF Out at rear panel ?

Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital
  Control: name="HDMI Phantom Jack", index=0, device=0
  Pincap 0x00000010: OUT
  Pin Default 0x985601f0: [Fixed] Digital Out at Int HDMI
   Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE

https://www.asus.com/Motherboards/M3N78VM/#specifications

Back Panel I/O Ports

1 x Optical S/PDIF Out

1 x HDMI

Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=7 Phantom Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE

8-Channel Audio I/O

Internal I/O Connectors

1 x Front panel audio connector

1 x S/PDIF Out connector

Revision history for this message
Raymond (superquad-vortex2) wrote :

post the output of alsa-info.sh when you boot from 13.04 Live CD if hdmi work on 13.04

https://wiki.ubuntu.com/Audio/AlsaInfo

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Please give the information that Raymond requestes. Also, it looks odd that ALSA lib version is 1.0.25. In Ubuntu 13.10/Saucy, it should be 1.0.27.2

!!ALSA Version
!!------------

Driver version: k3.11.0-13-generic
Library version: 1.0.25
Utilities version: 1.0.27.1

summary: - [System Product Name, Nvidia MCP77/78 HDMI, Digital Out, HDMI] No sound
- at all
+ [ASUS M3N78-VM, Nvidia MCP77/78 HDMI, Digital Out, HDMI] No sound at all
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Ray DeCampo (rdecampo) wrote :

I will get the information Raymond requested later today (don't have time right now). Daniel, I am not sure why alsa would not be at the latest version. Synaptic reports alsa-base version is 1.0.25+dfsg-0ubuntu4 and that the latest version is the same. The alsa-utils package is 1.0.27.1-1ubuntu1 however. I ran "sudo apt-get update" and there was no change. I am attaching my /etc/apt/sources.list. I also have /etc/apt/sources.list.d/google-chrome.list containing the line "deb http://dl.google.com/linux/chrome/deb/ stable main".

Revision history for this message
Ray DeCampo (rdecampo) wrote :

Raymond, please see attached output from the alsa-info.sh script when running using the 13.04 live disk. Note that the sound did NOT work while running from the live disk (presumably because the previous customizations to the /etc/asound.conf file were not present).

Revision history for this message
Raymond (superquad-vortex2) wrote :

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B 8-Ch Analog [VT1708B 8-Ch Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: VT1708B 8-Ch Digital [VT1708B 8-Ch Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: VT1708B 8-Ch HP [VT1708B 8-Ch HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

send email to the author of the patches

does the independent phone work in 13.04 ?

when independent hp is ON

Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'OFF' 'ON'
  Item0: 'ON'

mplayer -ao alsa:device=hw=0.2 any.wav

you lost the independent headphone device 2 "VT1708B 8-Ch Alt Analog"

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=55a63d4da3b8850480a1c5b222f77c739e30e346

 and device 1 [VT1708B 8-Ch Digital]

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=dcda5806165c155d90b9aa466a1602cf4726012b

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ea9b43addc4d90ca5b029f47f85ca152320a1e8d

seem device 1 in 13.04 change to device 3 in 13.10

and device 3 in 13.04 change to device 7 in 13.10

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/alsa-lib/saucy-proposed/view/head:/src/conf/cards/HDA-Intel.conf

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B 8-Ch Analog [VT1708B 8-Ch Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: VT1708B 8-Ch Digital [VT1708B 8-Ch Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Changed in alsa-driver (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :

toggle "IEC958 Playback Switch" in 13.10 to find out whether it can turn the red light in optical spdif on/off

Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="VT1708B 8-Ch Digital", type="HDMI", device=3
  Converter: stream=8, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  IEC Coding Type: 0x0
  PCM:
    rates [0x1e0]: 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0

Revision history for this message
Raymond (superquad-vortex2) wrote :

https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers

you should file a bug report at kernel.org

most likely you need to use hdajackretask

to change pin default of node 0x20 of VT1708B code from

  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
   Misc = NO_PRESENCE

to

 Pin Default 0x07451140: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
    Misc = NO_PRESENCE

so that digital device 1 can be created for optical spdif instead of hdmi

MCP77/78 can create hdmi device 3 instead of 7 for the first pin node 0x5

Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=7 Phantom Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04

Revision history for this message
Raymond (superquad-vortex2) wrote :

https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers

for independent headphone, the headphone and front line out cannot share same DAC 0x10 ,

the multi out need to change the max channels from 8 to 6 , headphone need to use 0x25

autoconfig: line_outs=4 (0x1c/0x19/0x22/0x23/0x0) type:line
   speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
   hp_outs=1 (0x1d/0x0/0x0/0x0/0x0)
   mono: mono_out=0x0
   dig-out=0x20/0x0
   inputs:
     Rear Mic=0x1a
     Front Mic=0x1e
     Line=0x1b
     CD=0x1f
==> lo_type=0, wired=1, mio=1, badness=0x150
multi_outs = 1c/19/22/23 : 25/11/24/0 (type LO)
  out path: depth=3 :25:16:1c
  out path: depth=3 :11:18:19
  out path: depth=3 :24:26:22
  out path: depth=3 :25:27:23
hp_outs = 1d/0/0/0 : 10/0/0/0
  hp path: depth=3 :10:16:1d
==> lo_type=0, wired=1, mio=0, badness=0x150
multi_outs = 1c/19/22/23 : 25/11/24/0 (type LO)
  out path: depth=3 :25:16:1c
  out path: depth=3 :11:18:19
  out path: depth=3 :24:26:22
  out path: depth=3 :25:27:23
hp_outs = 1d/0/0/0 : 10/0/0/0
  hp path: depth=3 :10:16:1d
==> lo_type=0, wired=0, mio=1, badness=0x142
multi_outs = 1c/19/22/23 : 10/11/24/25 (type LO)
  out path: depth=3 :10:16:1c
  out path: depth=3 :11:18:19
  out path: depth=3 :24:26:22
  out path: depth=3 :25:27:23
hp_outs = 1d/0/0/0 : 10/0/0/0
  hp path: depth=3 :10:16:1d
==> lo_type=0, wired=0, mio=0, badness=0x142
multi_outs = 1c/19/22/23 : 10/11/24/25 (type LO)
  out path: depth=3 :10:16:1c
  out path: depth=3 :11:18:19
  out path: depth=3 :24:26:22
  out path: depth=3 :25:27:23
hp_outs = 1d/0/0/0 : 10/0/0/0
  hp path: depth=3 :10:16:1d
==> restoring best_cfg
==> Best config: lo_type=0, wired=0, mio=1
multi_outs = 1c/19/22/23 : 10/11/24/25 (type LO)
  out path: depth=3 :10:16:1c
  out path: depth=3 :11:18:19
  out path: depth=3 :24:26:22
  out path: depth=3 :25:27:23
hp_outs = 1d/0/0/0 : 10/0/0/0
  hp path: depth=3 :10:16:1d

Revision history for this message
Ray DeCampo (rdecampo) wrote :

I have filed a bug at kernel.org:

https://bugzilla.kernel.org/show_bug.cgi?id=66521.

I haven't had the chance to try out the hda-jack-reset solution.

Revision history for this message
Raymond (superquad-vortex2) wrote :

to find out why alsa-lib was not upgraded

grep -i "libasound2" /var/log/dist-upgrade/apt-term.log

Revision history for this message
Ray DeCampo (rdecampo) wrote :

Output of grep -i "libasound2" /var/log/dist-upgrade/apt-term.log:

Preparing to replace libasound2:amd64 1.0.25-4ubuntu3.1 (using .../libasound2_1.0.27.2-1ubuntu6_amd64.deb) ...
Unpacking replacement libasound2:amd64 ...
Selecting previously unselected package libasound2-data.
Unpacking libasound2-data (from .../libasound2-data_1.0.27.2-1ubuntu6_all.deb) ...
Preparing to replace libasound2-plugins:amd64 1.0.25-2ubuntu3 (using .../libasound2-plugins_1.0.27-2ubuntu1_amd64.deb) ...
Unpacking replacement libasound2-plugins:amd64 ...
Setting up libasound2-data (1.0.27.2-1ubuntu6) ...
Setting up libasound2:amd64 (1.0.27.2-1ubuntu6) ...
Setting up libasound2-plugins:amd64 (1.0.27-2ubuntu1) ...

Only the packages alsa-base and linux-sound-base appear to be version 1.0.25, the remaining alsa related packages I can find are version 1.0.27 (alsa-utils, libasound2-data, libasound2, libasound2-plugins) or a completely different version (e.g. libao4, 1.1.0).

Revision history for this message
Ray DeCampo (rdecampo) wrote :

Raymond, I tried using hdajackreset as you suggested and I did get the VT170BB 8-Ch Digital mapped to device 1 and the HDMI mapped to device 3. However, I still was not able to get sound in that configuration. I ran alsa-info.sh in that config and will attach the output.

Revision history for this message
madbiologist (me-again) wrote :

There seems to be a fix for this issue in the 3.13 upstream kernel. commit number c9a6338aecdb92f9d015ecc26d203e54250bebbb - ALSA: hda - hdmi: Fix IEC958 ctl indexes for some simple HDMI devices

This fix has also been ccd to the stable kernel series.

Revision history for this message
Raymond (superquad-vortex2) wrote :

you have to follow up with tiwai how to fix up node 0x20 of your vt1708b

since it prevent your nvidia hdmi codec

Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Pincap 0x00000010: OUT
  Pin Default 0x985601f0: [Fixed] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x12

Revision history for this message
Ray DeCampo (rdecampo) wrote :

I am no longer experiencing this issue after upgrading to 14.4 (kernel 3.13.0-24).

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
Marcus Tomlinson (marcustomlinson) wrote :

This issue has sat incomplete for more than 60 days now. I'm going to close it as invalid. Please feel free re-open if this is still an issue for you. Thank you.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Invalid
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.