![]() |
|
[LINUX] XBMC on Xtreamer Ultra, HDMI sound problem - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Off-Topic (/forumdisplay.php?fid=34) +--- Forum: Hardware for XBMC (/forumdisplay.php?fid=112) +--- Thread: [LINUX] XBMC on Xtreamer Ultra, HDMI sound problem (/showthread.php?tid=125017) |
[LINUX] XBMC on Xtreamer Ultra, HDMI sound problem - _Lk2 - 2012-03-08 10:08 Hi all! I'm trying to use XBMC on my linux-box Xtreamer Ultra. I have ALSA and Pulseaudio correctly installed, because I can play some test sounds through the HDMI output For example, this command line works fine and play a "white" noise on my TV speakers: Code: speaker-test -Dplughw:1,7I installed XBMC standalone and run it from my GDM login screen. It starts and works very fine, but I can't heard any sound from the videos. I tried several configurations under System->Preferences->Audio, but I cannot get it working. When I set the audio output to customize and use the HDMI output, I don't get any sound or I get an error message about a bad audio device initialization when I play something. I know that some people here is using the Xtreamer Ultra. Had anyone been able to make it works? RE: [LINUX] XBMC on Xtreamer Ultra, HDMI sound problem - Crazyachmed - 2012-04-06 13:05 just registered here to tell you... found the solution just now! i use HDMI for stereo out to the TV, so i want it to output menu sounds and everything "just" stereo there. i use the optical output for surround pass-through. i'm sure this can be adapted, if you want to do something else. do "aplay -l", it should look like the following Code: root@ultra:~# aplay -lso hw:1,3 is HDMI out and hw:0,1 is optical out. should be the same on your box. if it shows more then one nvidia entry then you have to mask the driver discovery. ask me. in xbmc set the following: - audio output: HDMI - speaker conf: 2.0 - check the three boxes - audio output device: custom --> "hw:1,3" - passthough output device: custom --> "hw:0,1" paste the following into /etc/asound.conf Code: pcm.!default {now reboot the box. if this does not work i also did the following, according to some other post. did not try to revert it yet. DISABLE PULSE AUDIO! edit /usr/bin/xbmc-standalone. insert the SDL_AUDIODRIVER line and comment out the pulse section. top part should look something like this after: Code: #!/bin/shI think the most important part is the asound.conf file. i did not try to set the xbmc audio values to the non-custom-devices yet. just glad it works now... if you want you could just take the asound.conf file and set the xbmc config to some sane values and try it out. tell me how it works
RE: [LINUX] XBMC on Xtreamer Ultra, HDMI sound problem - eskro - 2012-04-06 13:09 awwgghhh,,, dont we just love Xtreamer box problems LoL RE: [LINUX] XBMC on Xtreamer Ultra, HDMI sound problem - Crazyachmed - 2012-04-06 13:10 also add this to advancedsettings.xml for GPU/CPU temps: Code: <cputempcommand>sensors | grep 'Core 0' | sed -e 's/^Core\ 0\:\ *//' -e 's/\+//' -e 's/\..*/\ C/'</cputempcommand>and in the same directory a file Lircmap.xml should make the play button work Code: <!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->and if shutdown/reboot won't work create the file /var/lib/polkit-1/localauthority/50-local.d/custom-xbmc.pkla and paste (don't forget to change the user in the second line!!) Code: [Actions for xbmc user](2012-04-06 13:09)eskro Wrote: awwgghhh,,, it has gotten way better since kernel 3.0. but way better is still not good
|