[Linux]Cannot get digital output audio to work again - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: [Linux]Cannot get digital output audio to work again (/showthread.php?tid=80048) |
[Linux]Cannot get digital output audio to work again - Terror1980 - 2010-08-31 Hi all, This is my first post here, so please be gentle XBMC version: 2:10.00~svn33324-lucid1 Ubuntu 10.04 i686 Hardware setup: The connection made through Coax cable from the blue jack into a coax digital input on Yamaha RX-V367 Receiver The receiver is set to Dolby Pro 2 and I have 5 big speakers (1 center, fl, fr, rl, rr) Here's the result of aplay -l: Code: bogdan@bogdan-desktop:/usr/share/alsa/cards$ aplay -l Command: Code: aplay -v -D plughw:CA0106 /usr/share/sounds/alsa/Front_Center.wav has the below output: Code: Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono iecset has the below output: Code: bogdan@bogdan-desktop:~$ iecset I've tried with both Data:audio and Data non-audio (iecset audio on and iecset audio off) and it makes no difference. iecset -x for Data:audio Code: bogdan@bogdan-desktop:~$ iecset -x Code: bogdan@bogdan-desktop:~$ iecset -x The problem is the following. When I first installed XBMC I've configured the following for the audio: Audio Output: Optical/Coax Speaker Configuration: 5.0 Dolby Digital and DTS capable receiver: on Output Audio Device: CA0106 Soundblaster Digital Stereo (IEC958) Passthrough output Device: CA0106 IEC958 I've got perfect digital sound out, the receiver locked on DTS and everything was ok. What I still had to resolve was to make XBMC run in full screen on my TV (which is setup as secondary display using NVIDIA's twinview setting). So I've started working on that. Before doing anything I've made a backup for xorg.conf and then I've started editing it following different posts and tutorials. I've even ended up having the 2 displays configured to have their own X server but XBMC didn't run in full screen on my TV no matter what. So I've decided to call it a night, I've reverted to the backup xorg.conf file and shutdown the computer and then went to sleep. In the morning when I woke up I've powerd on the computer and guess what? Digital output wasn't working anymore in XBMC. When starting the DTS movie I've got a popup message saying that "failed to initialize sound device..." and the movie stated but without any sounds. Changing from digital to analog worked but this is not what I wanted. After lots and lots of days of searching through posts and trying all sorts of things I've decided to post here and get some help. Let me give you some tests examples and their outcome: Test1 XBMC configured as below: Audio Output: Optical/Coax Speaker Configuration: 5.0 Dolby Digital and DTS capable receiver: on Output Audio Device: CA0106 Soundblaster Digital Stereo (IEC958) Passthrough output Device: IEC958 Sound Preferences: CA0106 Soundblaster Profileigital Stereo (IEC958) output/Analog stereo input start XBMC start DTS movie....result: failed to initialize audio device. The XBMC_crashlog contains: Code: 15:31:02 T:2776677232 M:2632155136 DEBUG: PulseAudio: Found CA0106 Soundblaster Digital Stereo (IEC958) with devicestring pulse:alsa_output.pci-0000_05_02.0.iec958-stereo@default As you can see the AESx parameters are wrong. Full crashlog here: http://pastebin.com/g0Hvdq9N Test 2 XBMC configured as below: Audio Output: Optical/Coax Speaker Configuration: 5.0 Dolby Digital and DTS capable receiver: on Output Audio Device: CA0106 Soundblaster Digital Stereo (IEC958) Passthrough output Device: IEC958 Sound Preferences: CA0106 Soundblaster Profile:Analog Stereo Duplex Start XBMC. Checking System Settings the Audio Output Device changed to: pulse:alsa_output.pci-0000_05_02.0.iec958-stereo@default. Start DTS movie....result..failed to initialize audio device logs contain: Code: 5:49:28 T:2778618736 M:2628263936 DEBUG: PulseAudio: Found CA0106 Soundblaster Analog Stereo with devicestring pulse:alsa_output.pci-0000_05_02.0.analog-stereo@default Full crashlog here: http://pastebin.com/wfqTyE2c And finally: DEBUG LOG Please let me know if you need anything else. Thanks in advance Seems to be a driver problem - schinkelm - 2010-09-12 this may be the same problem as described here: http://forums.gentoo.org/viewtopic-p-6421242.html It seems to be a driver problem. Would you please post the exact model name of your sound card (look for ca0106 in dmesg output). We should file an ALSA bug for this. - schinkelm - 2010-09-12 btw. what does mplayer output when you try an ac3 or dts file with "-afm hwac3"? ALSA Bug 5126 - schinkelm - 2010-09-12 I created an entry in the ALSA Bugtracker: http://bugtrack.alsa-project.org/alsa-bug/view.php?id=5126 |