Forum

Full Version: Limelight-pi in Xbian/Audiomixer problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Software
XBian version: 1.0Beta2
XBMC version: 12.2
Overclock settings: default

Hardware
Power supply rating: O/P: 5V, 1.0 A (?)
RPi model (model A/B 256mb/512mb): Model B 512mb
SD card size and make/type: 8GB Sandisc
Network (wireless or LAN): LAN
Connected devices (TV, USB, network storage, etc.): USB memory stick, wireless keyboard and mouse

Logile
Link to logfile(s):
http://xbmclogs.com/show.php?id=183306
http://xbmclogs.com/show.php?id=183307 (Old, pretty sure this is the correct one, since I had to restart the pi before uploading)

Problem description:

Hey. I followed this video: https://www.youtube.com/watch?v=zsTU26oxSkI

Everything was fine untill Alsamixer

xbian@xbian~ $ alsamixer
cannot open mixer: No such file or directory

I continued, hoping it'd still work; but no. When I start it this happens:

Starting app
Starting handshake
Starting control connection
Starting video stream
Starting audio stream

Then:

ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
java.lang.IllegalStateException: Alsa renderer initialization failure: -2
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
at com.limelight (...lots of text...)
Alsa renderer initialization failure: -2
java: pcm.c:1117: snd_pcm_drain: Assertion 'pcm' failed
Aborted

I tried to read up on some solution, but I do not know much about xbian or raspberry pi in general. I have added xbian to the audio group in permissions, but it did not fix it

I would appreciate it if you could help Big Grin
What is the output from more /etc/group | grep audio and more /boot/config.txt

Also can you post the output of dmesg and xbmc.log via patebin.
(23rd Apr, 2014 02:53 AM)IriDium Wrote: [ -> ]What is the output from more /etc/group | grep audio and more /boot/config.txt

Also can you post the output of dmesg and xbmc.log via patebin.

I've added a couple of things now. How can I get the output of dmesg, more /etc/group | grep audio and more /boot/config.txt from the raspberry pi onto pastebin?
XBMC builds for RPi dont use and support Alsa, thats all, thats the reason why it doesnt work
i run alsa on my pi with xbian,
of course, xbmc doesn't output(yet) via alsa, but others apps can.

no seen all the video, but is the module snd_bcm2835 loaded?
you can check with lsmod

when i see comment on youtube, module is not reloaded after a reboot.
to autoload on boot,
echo 'snd_bcm2835' >> /etc/modules

and add xbian on group :
usermod -G lp -a xbian

ps :all command with sudo


Belese

edit :

also i've installed alsa-base instead of alsa, but don't know what the difference.
(23rd Apr, 2014 11:49 PM)belese Wrote: [ -> ]when i see comment on youtube, module is not reloaded after a reboot.
to autoload on boot,
echo 'snd_bcm2835' >> /etc/modules
Thanks, it works now! I don't have permission to autoload snd_bcm2835, but at least it works Big Grin

Edit: It was a lot more laggy than I expected. I guess it's very much a work in progress
Reference URL's