[LINUX] XS35GT hdmi audio pass through not working
#1
Hi All,

I've installed openELEC.tv on my xs35gt. I've followed the instructions on how to setup the audio in asound.conf etc and set the audio passthrough to pcm.both.

When ever xbmc tries to play a video that has AC3 sound it gets the following error

Code:
06:28:17 T:139643738732288 M:1948266496  NOTICE: running thread: video_thread
06:28:17 T:139643738732288 M:1948131328  NOTICE:  fps: 29.969999, pwidth: 576, pheight: 432, dwidth: 576, dheight: 432
06:28:17 T:139643738732288 M:1948131328  NOTICE: Display resolution DESKTOP : 1280x720 @ 60.00 - Full Screen (12)
06:28:17 T:139643730339584 M:1948131328   ERROR: Initialize - failed to open custom device pcm.both:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:Invalid argument), retry with default pcm.both

which means i get no audio. I cannot for the life of me figure out why. I've been searching around the internet for hours and hours but everything i've tried can not get me passed this point.

Any ideas??

Thanks!
Reply
#2
Pulse Audio guaranteed not installed?

Reply
#3
Openelec.tv does not include pulse audio so its not installed..
Reply
#4
I've installed Ubuntu 10.10 but still have the same issue..

Spent about 2-3 days on this so far. I've tried so many things and read 1000's of posts but still cannot get it working..

Is there anyone else out there who has an xs35gt working with HDMI audio passthrough??
Reply
#5
Ive sent a message to the alsa-user mailing list as im out of ideas..

Code:
Hi All,

I've been trying to configure my Shuttle XS35GT (ION2 HDMI) with ALSA (without pulse as I want pass-through) for the past 2 days. I'm using Ubuntu 10.10 and have now compiled nvidia drivers and alsa from source code on kernel 2.6.35-24-generic.

I cannot for the life of me get it working... I can play standard sound like "speaker-test -c 2 -D plughw:1,7" but when it comes to speaker-test -c 5 -d plughw:1,7 it throws "xrun_recovery failed: -5,Input/output error"

Also, when testing mplayer with an AC3 encoded sound file it throws

==========
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3be, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:4484:(parse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:4617:(snd_config_expand) Parse arguments error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM plughw:0,7,AES0=6
AO: [alsa] 48000Hz 2ch ac3be (2 bytes per sample)
=============

I've attached aplay -l and aplay -L output in the aplay.txt file.

Driver is loaded with options snd-hda-intel enable_msi=0

I've read 1000's and 1000's of posts and tried alot of "fixes" but nothing has worked.

Any help would be much appreciated!

Thanks
Steve
Reply
#6
I'm using ubuntu 10.10 with the xs35gt. I have found that both pulseaudio and alsa use the wrong default output hdmi device (card1,3 instead of card1,7). Try to put in xbmc audio config (System->System->Audio Output):

Audio output device: Custom
Custom audio device: hw:1,7
Passthrough audio device: Custom
Custom passtrhrough device: hw:1,7

and then be sure that xbmc is using ALSA and not PulseAudio, i.e. by starting xbmc with
SDL_AUDIODRIVER=alsa xbmc

let me know: I would like to switch to openelec.tv instead of ubuntu.
Giovanni
Reply
#7
Seems it was my tv not passing the hdmi audio signal through..

not going via hdmi amp and all is good.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] XS35GT hdmi audio pass through not working0