HDMI audio does not work on GeForce GT 220 with lts-utopic kernel

Bug #1430177 reported by Henk Poley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

HDMI audio does work on trusty kernel 3.13, but does not on the lts-utopic 3.16 kernel. Which (probably) means HDMI audio does not work on other nvidia cards, and also on 14.10 utopic. I can playback sound in MythTV frontend using 'ALSA:dmix:CARD=NVidia,DEV=7', but using the same with speaker-test gives:

$ speaker-test -D dmix:CARD=NVidia,DEV=7

speaker-test 1.0.27.2

Playback device is dmix:CARD=NVidia,DEV=7
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Sample format not available for playback: Ongeldig argument
Setting of hwparams failed: Ongeldig argument

$ lspci -vvv | grep -i nvidia | tail -n3
02:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2) (prog-if 00 [VGA controller])
 Kernel driver in use: nvidia
02:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

$ aplay -l
**** Lijst van PLAYBACK hardware-apparaten ****
kaart 1: NVidia [HDA NVidia], apparaat 3: HDMI 0 [HDMI 0]
  Sub-apparaten: 1/1
  Sub-apparaat #0: subdevice #0
kaart 1: NVidia [HDA NVidia], apparaat 7: HDMI 0 [HDMI 0]
  Sub-apparaten: 1/1
  Sub-apparaat #0: subdevice #0
kaart 1: NVidia [HDA NVidia], apparaat 8: HDMI 0 [HDMI 0]
  Sub-apparaten: 1/1
  Sub-apparaat #0: subdevice #0
kaart 1: NVidia [HDA NVidia], apparaat 9: HDMI 0 [HDMI 0]
  Sub-apparaten: 1/1
  Sub-apparaat #0: subdevice #0

Revision history for this message
Henk Poley (henkpoley) wrote :

I solved this by changing the snd-hda-intel probe_mask in /etc/modprobe.d/sound.conf

$ diff -ubB modprobe.d/sound.conf modprobe.d/sound.conf.bak
--- modprobe.d/sound.conf 2015-03-10 09:29:37.000000000 +0100
+++ modprobe.d/sound.conf.bak 2015-01-14 19:40:18.000000000 +0100
@@ -1,4 +1,4 @@
 alias snd-card-0 snd-hda-intel
 alias sound-slot-0 snd-hda-intel
-#options snd-hda-intel enable_msi=0 probe_mask=0xfff2
-options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
+options snd-hda-intel enable_msi=0 probe_mask=0xfff2
+#options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2

Then it's just a matter of setting the proper default pulseaudio sound device in `pavucontrol`.

It would be nice if this was set by default in either the kernel or ubuntu's alsa config.

Revision history for this message
penalvch (penalvch) wrote :

Henk Poley, thank you for reporting this and helping make Ubuntu better. Could you please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1417450

no longer affects: linux-lts-utopic (Ubuntu)
affects: alsa-driver → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.