Ubuntu

no sound via nvidia gt430 hdmi output with pulseaudio

Reported by exzemat on 2010-12-16
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: pulseaudio

Hi,

I have the recent GPU nvidia GT430. this card have an hdmi output witch support video and sound transfer.
When I check "hda digital stereo (hdmi)" in sound pulseaudio preference output, no one sound can't be transfer to TV (via HDMI).

But, in VLC I can choose to use alsa and chose "hda nvidia HDMI hw:2.9" as sound output. and sound can be played on my TV via hdmi.

If I uninstall pulseaudio, I can play movie with sound on my TV via hdmi.
So, Pulseaudio failed to use alsa with is able to use my nvidia gt 430 hdmi video/sound output.

(anyway no problem with video).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21.1
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mat 1605 F.... pulseaudio
 /dev/snd/controlC1: mat 1605 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfd000000 irq 21'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,1458a002,00100101'
   Controls : 34
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x992'/'USB Device 0x46d:0x992 at usb-0000:00:04.1-1, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0992'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 3072
   Mono: Capture 0 [0%] [18.00dB] [on]
Card2.Amixer.info:
 Card hw:2 'NVidia_1'/'HDA NVidia at 0xfc000000 irq 16'
   Mixer name : 'Nvidia GPU 14 HDMI/DP'
   Components : 'HDA:10de0014,10de0101,00100100'
   Controls : 16
   Simple ctrls : 4
Date: Thu Dec 16 16:29:10 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UserAsoundrc:

dmi.bios.date: 10/05/2007
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F3
dmi.board.name: M68SM-S2L
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF3:bd10/05/2007:svnGigabyteTechnologyCo.,Ltd.:pnM68SM-S2L:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM68SM-S2L:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: M68SM-S2L
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

exzemat (exzemat) wrote :
exzemat (exzemat) wrote :

if I had
load-module module-alsa-sink device=hw:2,9
to my /etc/pulse/default.pa
a new entry "hda nvidia stereo" appear in gnome-volume-control witch is good output to my hdmi : works fine.

I wonder how tell to "hda nvidia digital HDMI" to use the same output that "hda nvidia stereo"

exzemat (exzemat) on 2010-12-21
description: updated
Daniel Ellis (danellisuk) wrote :

I have HDMI audio (surround 5.1) working with a GT430 on Ubuntu 11.04 beta2. After reading various pages online, I found nothing conclusive, but eventually it worked.

Edit /etc/modprobe.d/alsa-base.conf

Add the line:-

options snd-hda-intel probe_mask=8

I also cleared the users pulseaudio configuration, but I don't know if that was required:

rm -R ~/.pulse

Then reboot.

FYI, this is how I came to the answer:-

It became apparent that there are four hdmi devices, of which only one is the real device. Whether this is in the hardware or just due to the hdmi audio driver, I have know idea.

1. Disabled onboard audio (to simplify things and make the HDMI device CARD 0).
2. Use "aplay -l" to list the audio devices. My system showed four (0 through to 3).
3. Use "speaker-test --channels 6 --test=wav --device hdmi:0,X" (where the X on the end is the hdmi device to use)

For example, on my system the following command played the audio when running the speaker test:-
speaker-test --channels 6 --test=wav --device hdmi:0,3

4. Adding the probe_mask value to alsa-base.conf I noticed the available hdmi devices was reduced.
5. After noticing the field was a mask, I used the value 8 to specify only the fourth device (device 3).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers