2013-01-15, 19:22
I have xbmc 11.0 installed on ubuntu 12.04 x86. The computer is connected to Onkyo TX-SR508 receiver via hdmi from a GeForce 210.
If I have "Dolby Digital (AC3) capable receiver" and "DTS capable receiver" checked in audio output devices I get no audio in movies regardless of what is set for passthrough device. Menu audio works. If I uncheck the two boxes and set the speaker config to 5.1 then 5.1 audio works fine. But if the source is stereo it still plays on all 5 channels instead of the front two. If I change speaker config to 2.0 then stereo sources work but 5.1 sources are only played on two channels..
I followed this guide
http://wiki.openelec.tv/index.php?title=...e_Easy_Way
but that doesn't seem to help.
This is the result of aplay -l
xbmc@xbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
In the passthrough custom device I tried every combination of plughw:#,#. All the possible combinations of the custom name produces no sound without any error. I do get an error when it is set to plughw:1,7. This produces an error on the screen unable to start audio and then the menu sounds die. With every other plughw:## movies have no sound but menu sounds work.
When I run
aplay -D plughw:1,7 somewavfile.wav
I get this error.
aplay: main:682: audio open error: Device or resource busy
I am not sure if the problem with 1,7 is relevant. The motherboard also has on-board optical and analog stereo audio but nothing is plugged into to either port.
How can I set it up so the receiver handles the audio instead of xbmc?
If I have "Dolby Digital (AC3) capable receiver" and "DTS capable receiver" checked in audio output devices I get no audio in movies regardless of what is set for passthrough device. Menu audio works. If I uncheck the two boxes and set the speaker config to 5.1 then 5.1 audio works fine. But if the source is stereo it still plays on all 5 channels instead of the front two. If I change speaker config to 2.0 then stereo sources work but 5.1 sources are only played on two channels..
I followed this guide
http://wiki.openelec.tv/index.php?title=...e_Easy_Way
but that doesn't seem to help.
This is the result of aplay -l
xbmc@xbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
In the passthrough custom device I tried every combination of plughw:#,#. All the possible combinations of the custom name produces no sound without any error. I do get an error when it is set to plughw:1,7. This produces an error on the screen unable to start audio and then the menu sounds die. With every other plughw:## movies have no sound but menu sounds work.
When I run
aplay -D plughw:1,7 somewavfile.wav
I get this error.
aplay: main:682: audio open error: Device or resource busy
I am not sure if the problem with 1,7 is relevant. The motherboard also has on-board optical and analog stereo audio but nothing is plugged into to either port.
How can I set it up so the receiver handles the audio instead of xbmc?