HDMI audio does not work on GeForce GT 220 with lts-utopic kernel
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:
$ speaker-test -D dmix:CARD=
speaker-test 1.0.27.2
Playback device is dmix:CARD=
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
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 d/sound. conf 2015-03-10 09:29:37.000000000 +0100 d/sound. conf.bak 2015-01-14 19:40:18.000000000 +0100 0xffff, 0xfff2 0xffff, 0xfff2
--- modprobe.
+++ modprobe.
@@ -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=
+options snd-hda-intel enable_msi=0 probe_mask=0xfff2
+#options snd-hda-intel enable_msi=0 probe_mask=
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.