Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33988 - [linux] 3.8.x - 3.9.x HDMI Audio on nVidia card is silent

Attached to Project: Arch Linux
Opened by Rickard Närström (riccetn) - Sunday, 24 February 2013, 01:12 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 11 September 2013, 06:17 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After upgrading to linux-3.8-1 I was unable to playback any sound over nVidia HDMI, the playback seems to succeed but produce only silence.
Playback works fine in linux-3.7.9-1

alsa-utils-1.0.26-1


Commands ran with linux-3.7.9-1

$ amixer
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]


$ cat ~/.asoundrc
defaults.pcm.card 1
defaults.pcm.device 3
defaults.ctl.card 1

$ lspci -s 01:00.1 -vv -nn
01:00.1 Audio device [0403]: NVIDIA Corporation GF116 High Definition Audio Controller [10de:0bee] (rev a1)
Subsystem: Giga-byte Technology Device [1458:351a]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 19
Region 0: Memory at fbffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <256ns, L1 <4us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Kernel driver in use: snd_hda_intel
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 11 September 2013, 06:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.11
Comment by Rickard Närström (riccetn) - Saturday, 02 March 2013, 02:00 GMT
Still a problem in 3.8.1-1
Comment by robert r (crobe) - Thursday, 07 March 2013, 08:08 GMT
Which nVidia driver are you using? I had this behaviour with the early 310 version. 313 fixed it though.
Comment by Simon Tunnat (simontunnat) - Friday, 22 March 2013, 16:25 GMT
Having the same problem after updating to 3.8.

Update:
Seems not to be kernel related on my machine. Also tested with linux-lts and still couldn't get the audio back on.
Comment by Rickard Närström (riccetn) - Saturday, 06 April 2013, 07:59 GMT
Still no sound with kernel 3.8.5-1

I'm using the nouveau driver.

I'm using a old linux-3.7.9-1 and can get sound will try with linux-lts.
Comment by Rickard Närström (riccetn) - Saturday, 06 April 2013, 08:17 GMT
No sound with linux-lts-3.0.71-1 either.

So I can only get sound if I use an old linux-3.7.9-1
Comment by Rickard Närström (riccetn) - Saturday, 18 May 2013, 08:40 GMT
After a bisect I tracked this down to kernel commit 8e9e3d2deacc460fbb8a4691140318f6e85e6891

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8e9e3d2deacc460fbb8a4691140318f6e85e6891
Comment by Rickard Närström (riccetn) - Saturday, 18 May 2013, 08:53 GMT Comment by Tobias Powalowski (tpowa) - Thursday, 23 May 2013, 19:51 GMT
Status on 3.9?
Comment by Rickard Närström (riccetn) - Thursday, 23 May 2013, 20:18 GMT
Still silent in 3.9.2-1
Comment by Tobias Powalowski (tpowa) - Tuesday, 06 August 2013, 14:03 GMT
Status 3.10.x?
Comment by John Lindgren (jlindgren) - Monday, 09 September 2013, 17:22 GMT
I'm seeing the same problem (playback appears to progress but no sound) with an NVS 5200m in 3.11.x from testing.
Comment by Rickard Närström (riccetn) - Wednesday, 11 September 2013, 02:16 GMT
As of kernel version 3.11 I no longer have this problem.

@jlindgren: Pleace double check that your configuration is correct, that mixer channels are unmuted and you configured alsa to use HDMI output of your graphics card.
This problem is related to detection of eld (EDID) info from the mointor, if you have this problem one of the files /proc/asound/NVidia/eld#* should indicate that, by having minitor_precent 1, eld_valid 0.
Comment by John Lindgren (jlindgren) - Wednesday, 11 September 2013, 03:39 GMT
Okay, never mind me, I'll try to figure out what the problem is some other time.

Loading...