System is a Vaio VPCF1 laptop w/nVidia GEForce 330m built in, running openSUSE 12.3, and pulseaudio.
As noted in my other thread about this system, the HDMI output port 'just works' when plugged in, using the latest nVidia proprietary drivers. However....sound was a problem, and took some digging to figure out a solution.
First, you have to figure out which HDMI device supports sound output. You can run this command:
Code:
grep eld_valid /proc/asound/NVidia/eld*
...and it will output something like:
Code:
/proc/asound/NVidia/eld#0.0:eld_valid 0
/proc/asound/NVidia/eld#1.0:eld_valid 1
/proc/asound/NVidia/eld#2.0:eld_valid 0
/proc/asound/NVidia/eld#3.0:eld_valid 0
The device with the '1' is what you're after. A note here: if you just plug a device in, the command may not return anything valid. You can fix it either by plugging in the HDMI device before powering-up, or by removing/re-inserting the module-udev-detect module.
Running "aplay -l" will give you:
Code:
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
The device numbers are what you're after. You can then test the output to make sure you're getting HDMI sound by:
Code:
aplay -D plughw:NVidia,3 /usr/share/sounds/alsa/Front_Center.wav
aplay -D plughw:NVidia,7 /usr/share/sounds/alsa/Front_Center.wav
aplay -D plughw:NVidia,8 /usr/share/sounds/alsa/Front_Center.wav
aplay -D plughw:NVidia,9 /usr/share/sounds/alsa/Front_Center.wav
...for example. If you get a 1 from the grep command, one of these will work.
The big
HOWEVER, though, is that KDE won't let you choose the output channel of things easily, if at all. I found it easier to use VLC player (which DOES), and play media through it. You can go into audio settings, and choose a device, and it works fine.
If anyone has good ideas on how to easily change KDE's default output, I'd love to hear it.