[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: audio over HDMI



On Wed, Dec 07, 2011 at 06:53:25PM -0500, Rob Owens wrote:
> I got it working for the most part.  See below.
> 
> On Tue, Dec 06, 2011 at 10:52:48PM +0100, Camaleón wrote:
> > El 2011-12-03 a las 20:51 -0500, Rob Owens escribió:
> > 
> > (resending to the list)
> > 
> Sorry about replying just to you.  That was a mistake.
> 
> > > On Sat, Dec 03, 2011 at 11:45:23AM +0000, Camaleón wrote:
> > > > On Fri, 02 Dec 2011 20:58:40 -0500, Rob Owens wrote:
> > > > 
> > > > > On Fri, Dec 02, 2011 at 05:21:39PM -0500, Rob Owens wrote:
> > > > >> I've got an nVidia Corporation G98 [GeForce 8400GS] and I'm trying to
> > > > >> get audio working over HDMI.  I'm running Squeeze and the proprietary
> > > > >> nVidia driver from non-free.
> > > > >> 
> > > > > I upgraded to Wheezy and am having some success.  I have sound in
> > > > > MythTV, by specifying the audio device to use.  How can I get
> > > > > applications such as Rhythmbox to use HDMI audio?  Pulseaudio is
> > > > > installed on my system, but I don't have any desktop environment (so no
> > > > > gnome sound properties dialogs).  I'm running Openbox.
> > > > 
> > > > In the past, the usual way for doing this was by setting the choosen 
> > > > audio card as the deafult device for ALSA, to redirect all of the output 
> > > > sound there. 
> > > > 
> > > OK, I've created /etc/asound.conf as follows:
> > > 
> > > pcm.!default {
> > >     type hw
> > >     card 1
> > >     device 7
> > > }
> > > ctl.!default {
> > >     type hw           
> > >     card 1
> > >     device 7
> > > }
> > > 
> > > (I got the card and device numbers by running "aplay -l").
> > > 
> > > This gives me sound for mplayer, for instance.  Rhythmbox and VLC do not
> > > play any sound, however.  I can get VLC to play by changing the output
> > > module from "default" to "alsa".
> 
> My current /etc/asound.conf is as follows.  It works, but I can't swear that
> it's 100% by-the-book.
> 
> pcm.pulse {
>     type pulse
> }
> ctl.pulse {
>     type pulse
> }
> 
> pcm.!default {
>     type hw
>     card 1
>     device 7
> }
> ctl.!default {
>     type hw           
>     card 1
>     device 7
> }
> 
> > 
> > Hum... I also have tried with a custom "~/.asoundrc" file and it seems 
> > it does not make any difference here (running GNOME + gnome-shell + 
> > pulseaudio).
> > 
> > What it works like a charm is selecting the sound device to use from 
> > gnome-shell audio applet but, to be sincere, I don't know from where s 
> > this volume indicator coming from nor its name :-?
> > 
> > > I think that any application that attempts to use PulseAudio (which is
> > > the default, I think) will not play.  Can anyone suggest a change to
> > > asound.conf to correct this?  Or maybe the fix has nothing to do with
> > > asound.conf?
> > 
> > You can try with PA default/suggested applications to control the sound 
> > server, like "pavucontrol", "padevchooser" (I think this is now somehow 
> > deprecated), "gnome-pulse-applet" or whatever applet that integrates
> > with PA and openbox and allows you to select the output device.
> > 
> I used gstreamer-properties and set the default output plugin to 
> "PulseAudio Sound Server" and the default output device to "High Definition
> Audio Controller", which is my HDMI output.  In gconf-editor, I set 
> /system/gstreamer/0.10/default/audiosink to 
> "pulsesink device="alsa_output.hw_1_7"
> and I did the same for /system/gstreamer/0.10/default/musicaudiosink, which 
> I think is what rhythmbox references.
> 
I forgot something.  I also added: 
load-module module-alsa-sink device=hw:1,7
to /etc/pulse/default.pa

I put it right under the line:
#load-module module-pipe-sink

(not sure if it's position in the file is important)

> Basically this seems like a big workaround.  I have not made a single 
> default setting, rather I've fixed every audio application individually
> (MythTV required me to specify my HDMI device -- I could not simply 
> accept ALSA-Default).
> 
> The only thing I didn't try yet is blacklisting modules for my onboard 
> audio.  Maybe that would simplify things by eliminating one audio device.
> 
> -Rob
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20111207235325.GB27754@aurora.owens.net">http://lists.debian.org/[🔎] 20111207235325.GB27754@aurora.owens.net


Reply to: