Intel HDMI audio - No audio in X, works in console
Wu Fengguang
fengguang.wu at intel.com
Tue Jan 13 01:08:30 PST 2009
Hi Bill,
On Mon, Jan 12, 2009 at 05:25:45PM +0200, Bill Wittig wrote:
> The xorg-server version is 1.5.3. I can't check specifically for the
> patch you referenced until tonight - perhaps you know if it's included
> in the released 1.5.3.
objdump -T /opt/X2/bin/Xorg | grep xf86MonitorIsHDMI
0000000000494236 g DF .text 00000000000001c3 Base xf86MonitorIsHDMI
Can you see it for your Xorg? e.g.
objdump -T /usr/bin/Xorg | grep xf86MonitorIsHDMI
> I looked through the thread Sven referenced, and it looks like this is
> related to the ELD data, however, the end of that thread (as of 4 Jan)
> is that you can get working audio over HDMI or working video, but not
> both without completely disabling acceleration, so I'm hesitant to try
> that route.
Nod, that's a lot of trouble :)
Thanks,
Fengguang
> Quoting Wu Fengguang <fengguang.wu at intel.com>:
>
> > On Sun, Jan 11, 2009 at 07:03:18AM -0600, Bill Wittig wrote:
> >> Hi,
> >>
> >> I've got a G45 MB (Gigabyte EG45M-D2SH)
> >>
> >> I've installed the 2.5.99.2 xf86-video-intel driver
> >> the Realtek v5.09 ALSA modules which includes the ALSA v18a
> >> patch_intelhdmi code
> >>
> >> aplay -l shows the Intel HDMI device:
> >> **** List of PLAYBACK Hardware Devices ****
> >> card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
> >> Subdevices: 1/1
> >> Subdevice #0: subdevice #0
> >> card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
> >> Subdevices: 1/1
> >> Subdevice #0: subdevice #0
> >> card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL HDMI]
> >> Subdevices: 1/1
> >> Subdevice #0: subdevice #0
> >>
> >> I'm using MythTV, audio output device set to ALSA:hw:0,3 (using 0,0
> >> works as expected for
> >> analog out)
> >>
> >> When MythTV is displayed (i.e. X is running), no sound is heard. If I
> >> switch to a console
> >> (Ctl-Alt-F1) the audio is working fine.
> >>
> >> Any ideas?
> >
> > Hi Bill,
> >
> > What's the xserver version? I'm asking this because it's not enough to
> > merely upgrade xf86-video-intel. The HDMI audio enabling code in which
> > depends on a recent feature of xserver.
> >
> > The exact logic works like this in xorg/xf86-video-intel/src/i830_hdmi.c:
> >
> > if (xf86LoaderCheckSymbol("xf86MonitorIsHDMI") &&
> > xf86MonitorIsHDMI(edid_mon))
> > dev_priv->has_hdmi_sink = TRUE;
> >
> >
> > if (dev_priv->has_hdmi_sink)
> > sdvox |= SDVO_AUDIO_ENABLE;
> >
> > So the xserver must have xf86MonitorIsHDMI() defined, which was introduced
> > in this xserver commit:
> >
> > commit 4cf2f4172abc4bf848c1726e6dac535713e08f0b
> > Author: Adam Jackson <ajax at redhat.com>
> > Date: Mon Nov 3 12:50:28 2008 -0500
> >
> > Add xf86MonitorIsHDMI() helper.
> >
> >
> > Thanks,
> > Fengguang
> >
>
>
>
> --
> Bill Wittig
More information about the xorg
mailing list