[Live] Emulator problems, cannot get sound, xbmc videos work fine though - 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: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [Live] Emulator problems, cannot get sound, xbmc videos work fine though (/showthread.php?tid=83918) |
[Live] Emulator problems, cannot get sound, xbmc videos work fine though - Vaevictus2 - 2010-10-24 Hi all, Looking for some help getting my emulator, in particular zsnes working with xbmc live. Sounds work fine when playing videos or music in xbmc. XBMC is set to use HDMI,and NVIDIA HDA hmdi for output. I am thinking that zsnes is using the wrong audio device as I have two on my system (mobo and Asus Geforce 210). Here is the output from the console if it helps further: Code: xbmc@XBMCLive:~$ cat /etc/lsb-release Code: xbmc@XBMCLive:~$ aplay -l Code: <name>Zsnes with rom</name> Really appreciate some help. Regards, Vae - Vaevictus2 - 2010-10-24 Oh and if it helps, i do not have any sounds when navigating the menus of xbmc. The only sounds I can get are when video and music is playing. Cheers, - marx - 2010-10-24 After know about hyperspin, I simply gave up to manage my emulators/rom under xbmc... hyperspin is perfect, and I'm just using a xbmc launcher to open it. - Vaevictus2 - 2010-10-24 yeah that's a windows app, I am running xbmc live [linux] - vikjon0 - 2010-10-24 If it is anything like launcher/firefox you need a .asoundrc directing default => the correct device. - gsgleason - 2010-10-24 http://tinyurl.com/2akdlpu I had the same issue. - alexpigment - 2010-10-24 Here's the thing that worked for me: 1) SSH into your box, make sure you're at /home/xbmc/ (which you should be by default on Live). Type the following: Code: sudo nano .asoundrc 2) If anything is in there, you may want to save it in notepad or back it up somewhere. Otherwise, put the following in there: Code: pcm.dmixer { Ctrl+O to write out, Enter to confirm, Ctrl+C to exit 3) Now go to Configure the System (or whatever it is in confluence) > System > Audio Output and set it up as follows: Audio Output: HDMI Audio output device: hdmi Passthrough output device: Custom Custom passthrough device: plugw:0,3 4) Reboot - alexpigment - 2010-10-24 Sorry, I just noticed you said you don't get any navigation sounds. Not sure that this step is necessary, but I would do the following before following my last steps: 1) SSH into your box, then type the following: Code: sudo apt-get update 2) Code: sudo apt-get install wget 3) Code: sudo wget http://pastebin.com/download.php?i=f5f9654bb -O /etc/asound.conf 4) Code: sudo wget http://pastebin.com/download.php?i=f2e38265 -O /usr/share/alsa/cards/HDA-Intel.conf 5) Reboot - Vaevictus2 - 2010-10-26 alex, thank you very much. It's a shame that xbmc does not configure that by default, but your solution worked. Any references you made to 0,3 I changed to 1,3 to match my hw config and it worked. Now to fix the problem with xbmc running in the background while I am playing. Cheers! - alexpigment - 2010-10-27 I know how to fix that too: http://forum.xbmc.org/showpost.php?p=542745&postcount=66 don't forget to make that script executable via sudo chmod -x [name of script].sh - Vaevictus2 - 2010-10-27 Yeah cheers, used that script with good success. However alex, since implementing the audio fix you posted, some videos no longer play audio in xbmc. Specifically, files that are encoded with AC3. I get an xbmc error "cannot open audio device". Perhaps those alsa config files need more tweaking? - htpc guy - 2010-10-27 alexpigment: Thanks for the info. I'm running a full install of Ubuntu 10.4 on my machine and your tips worked flawlessly. This issue had me pulling my hair out. On a side note (hope I'm not thread-jacking but it is sound related) My motherboard (see signature for type), supports HDMI out and Optical out. I was updating ALSA and Pulseaudio through the package manager GUI and noticed a sound driver that allows dual sound output through both ports at the same time. I installed it and it is listed as a sound output option in XBMC. I have it selected and the HDMI works. I have not tested it yet with both cables hooked up because I don't have a spare optical cable. Do you have any idea if this would work? I don't want to spend the money on the cable if its not. If I remember correctly the manual for my Mobo states that it can only handle one sound output at a time. Could this driver magically pull it off? If not, is there a way to create a script that I could launch with the launcher addon that would switch from one output to another? - alexpigment - 2010-10-27 Vaevictus2 Wrote:Yeah cheers, used that script with good success. It's very possible they do need tweaking for your system. I based my suggestions on a thread for setting up a revo 1600 system. I really don't know enough about the nuts and bolts to tweak it for your system though. With that said, a workaround might be to uncheck dts support and whatever the other one is in the main xbmc audio preferences. By unchecking those I believe you are mixing the audio for your videos as normal instead of sending it raw to your system. I personally prefer this because you can then control the volume on videos with ac3 audio within xbmc (this is usually disabled) |