moonlight-stream / moonlight-embedded Goto Github PK
View Code? Open in Web Editor NEWGamestream client for embedded systems
Home Page: https://github.com/moonlight-stream/moonlight-embedded/wiki
License: GNU General Public License v3.0
Gamestream client for embedded systems
Home Page: https://github.com/moonlight-stream/moonlight-embedded/wiki
License: GNU General Public License v3.0
pi@raspbmc:~$ ./jdk1.8.0_06/bin/java -jar limelight-pi/limelight-pi.jar -stream 10.0.1.41
Syntax Error: Unrecognized argument: -stream
Syntax error: invalid action specified
My apologies if I'm doing this wrong and this issue is meaningless, but I can't seem to get limelight to start! This is the latest build of limelight-embedded on the releases page.
When trying to pair, it gives errors then terminates the connection. Help?
I successfully created a map file using /dev/input/event2, and defined the mapping file in the launch command:
sudo java -jar limelight.jar stream -mapping event2.map x.x.x.x
I've tried declaring the input as /dev/input/js0 and event2 and both, but there is no effect when trying to use this in the steam stream window that opens, and there are no gamepads found when inspecting the settings in steam.
The console is outputting some debug info in the background, some video data and then an integer that seems to correspond to the buttons I'm pressing on the gamepad, so data is getting as far as that, but not being passed onto steam on the remote computer.
Are there plans in the future to outfit limelight PI with a tv friendly graphical UI?
I can play normaly my game using mouse/keyboard but if i connect a bluetooth controler and pair my PS3 gamepad game is very slow.
It add a big delay.
Have you this problem?
I've not test again with an usb cable connected on the gamepad
Hello, i can't actually pair the software with m'y hardware and i don't know why ...
i have the last java update, running on debian, i put the jar file in /home/pi (rename limelight).
when i do the command i have a strange reply and nothing on my computer
root@raspberrypi:/home/pi# java -jar limelight.jar -pair 192.168.0.42
Pair http://192.168.0.42:47989/pairstate?uniqueid=b8:27:eb:8c:7e:cd
i actualy have my firewall down on my computer, the last update of geforce experience, and i'm on Windows 8 ( yes yes , i know ...)
for comparison, the limelight app for android are pair and work without issue ...
if i miss anything (shame on me ^^') please explain me, and if you need any information, ask me !
Thank , guillaumedk
Hi
The input works for me not, neither keyboard, mouse or Xbox controller.
The image is transferred.
I also get no error message at startup.
Sorry for my bad english
Hi,
First, i'd like to say how much I appreciate the work you've done yet, this is an amazing project.
Sadly, it seems like limelight-pi v0.8 is not compatible with the latest version of GeForce Experience.
I get an RTSP OPTIONS request failed: 505
error on start at the RTSP handshake step.
I just wanted to report the issue, even if i'm guessing you're already aware of it.
Kind regards
Pairing get well. But when try start connection to pc, it say:
Starting app
com.limelight.nvstream.http.GfeHttpResponseException: GFE error: Streaming session has failed due to a game management error. (Error code: 522)
at com.limelight.nvstream.http.NvHTTP.verifyResponseStatus(Unknown Source)
at com.limelight.nvstream.http.NvHTTP.getXmlString(Unknown Source)
at com.limelight.nvstream.http.NvHTTP.getXmlString(Unknown Source)
at com.limelight.nvstream.http.PairingManager.getPairState(Unknown Source)
at com.limelight.nvstream.http.NvHTTP.getPairState(Unknown Source)
at com.limelight.nvstream.NvConnection.startApp(Unknown Source)
at com.limelight.nvstream.NvConnection.establishConnection(Unknown Source)
at com.limelight.nvstream.NvConnection.access$300(Unknown Source)
at com.limelight.nvstream.NvConnection$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
GFE error: Streaming session has failed due to a game management error. (Error code: 522)
Connection Error Starting app failed
tried test different java versions and different limelight versions. Nvidia Experience is 2.1.3.0
Environment:
Raspberry model b
Archlinux, with oracle jre, and limelight 0.6 (all installed yesterday).
opus installed with pacman -S opus
(I'm not familiar with archlinux).
alsa installed with pacman -S alsa-lib
(missing libasound if not installed).
dota 2 executed in GFE computer.
Problem:
Firstly sound seemed to work perfectly, but when I entered to watch a live game at dota 2, sound just broke, and only noise could be heard.
I'm not sure sound broke at the moment I went to watch that game, but it happent between that and starting dota.
Even with the newest limelight-pi version, I'm getting this error message (it worked with 2.1.0):
Starting RTSP handshake
java.io.IOException: RTSP OPTIONS request failed: 505
at com.limelight.nvstream.rtsp.RtspConnection.doRtspHandshake(Unknown Source)
at com.limelight.nvstream.NvConnection.doRtspHandshake(Unknown Source)
at com.limelight.nvstream.NvConnection.establishConnection(Unknown Source)
at com.limelight.nvstream.NvConnection.access$300(Unknown Source)
at com.limelight.nvstream.NvConnection$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:744)
RTSP OPTIONS request failed: 505
Connection Error Starting RTSP handshake failed
any ideas? thx
I have issues with the streaming audio stuttering and I'm getting many OOS messages in the bash shell, visible when I quit limelight-pi. The stuttering is quite extreme, with considerable gaps of silence in between snippets of sound. The video stream shows no issues and when at 720p 60fps looks fantastic with little to no latency when playing a game.
I've tried both Raspbian and Arch - Arch gave a better audio performance than Raspbian when using ethernet but still had stuttering. Both distros give stuttering audio when using wifi.
I've tried changing command line arguments for limelight-pi like "-720 -30fps -bitrate 10000" etc, but nothing seems to improve matters greatly. I've also tried changing Host and Client settings in Steam BPM.
I've also tried reinstalling all Nvidia drivers and software, including testing with GFE 2.0.1 and reinstalling Steam; non made any difference to the problem.
My set up when using wireless is as follow:
PC:
Intel Core i5 4570s @2.90 GHz
8GB DDR3 RAM
EVGA Geforce GTX670
GFE 2.1.0.0
Nvidia drivers version 337.88
Intel I217-V gigabit ethernet NIC (wired to Buffalo router below)
Router:
Buffalo WZR-HP-G300NH wireless n router
Openwrt Attitude Adjustment 12.09
N wireless 40MHz bandwidth, channel 1 HT40+
(uses ath9k module)
Raspberry Pi:
512MB second version
Raspbian / Arch linux
TP-Link TL-WN722N 150Mbps USB wireless dongle with attached aerial (uses ath9k_htc module)
Oracle JDK 8
Overclocked to 1000MHz using standard overclocking config
128MB RAM for GPU
I've tested wireless throughput between my Raspi and my PC using iperf and constantly achieve 24-56 Mbps TCP and average 38.8 Mbps when forcing iperf to 40 Mbps for UDP throughput tests as follows:
iperf -fm -c192.168.10.142 -t30 -u -b40M
Jitter varies from 0.35 and 0.40 ms over the 30 second UDP test, with one datagram arriving out of order.
The average throughput on both tests does vary from test to test and I'm trying to determine whether this has something to do with ath9k automatic rate adaptation.
When doing these tests, I have only two or three devices connected via wifi to my router, non of them doing any kind of streaming and are just sitting idle.
I live in an area where there is little to no wifi interference from other APs.
The limelight android client on my Jolla phone (which connects via wifi to the same router) seems to work well and hardly has any audio stuttering, though it does occur occasionally and intermittently, maybe one tiny audio glitch every 4-8 seconds
Are the some other tests I can do to find the cause of the problem? What steps could I take next to troubleshoot? I'm thinking issues with the ALSA audio buffer, ALSA audio bitrate, libopus issues......
Hi
I'm working on a low latency streaming program for the Pi, but it needs to work on both AMD and Nvidia cards. So I'm writing a program to stream on AMD cards and need to know, how to I properly handshake and communicate with limelight-pi using my third party program, well actual I guess this would be fourth party lol.
Have you tested this on other ARM devices besides the Pi?
I haven't looked much at the code for limelight-pi, so wasn't sure if there's a lot of Pi specific code in here, but it might be worthwhile to have this be a more generic version that would run on any low power ARM device (cubox-i, hummingbird, jetson tk1, etc...)
If i am playing a game vi the pi, then exit out of the game into the main Steam full screen, I dont seem to get any menu items, I just see the Steam background. I normally have to exit steam on the PC and restart my pi to get it working again. Seems to happen with all the games i've tried.
Is there any logging somewhere i can look at to try and narrow down the issue?
Version 0.4, on latest raspbian. Pulseaudio is not installed and sound works correctly with omxplayer.
Hey irtimmer,
How do you build the JNI bindings for limelight pi?
I have figured out how to get the program to compile with the limelight-common library and have got a successful build but there are several errors regarding the jni files:
compile-native:
[exec] rm: cannot remove `*.o': No such file or directory
[exec] rm: cannot remove `libnv_omx_dec.so': No such file or directory
[exec] In file included from nv_omx_dec_jni.c:1:0:
[exec] nv_omx_dec.h:1:17: fatal error: jni.h: No such file or directory
[exec] compilation terminated.
[exec] /usr/bin/ld: cannot find -lilclient
[exec] collect2: ld returned 1 exit status
[exec] rm: cannot remove `*.o': No such file or directory
[exec] nv_opus_dec_jni.c:4:17: fatal error: jni.h: No such file or directory
[exec] compilation terminated.
[exec] rm: cannot remove `*.o': No such file or directory
[exec] rm: cannot remove `libnv_alsa.so': No such file or directory
[exec] nv_alsa.c:6:28: fatal error: alsa/asoundlib.h: No such file or directory
[exec] compilation terminated.
[exec] In file included from nv_alsa_jni.c:1:0:
[exec] nv_alsa.h:1:17: fatal error: jni.h: No such file or directory
[exec] compilation terminated.
[exec] gcc: error: *.o: No such file or directory
[exec] rm: cannot remove `*.o': No such file or directory
[exec] Result: 1
[exec] rm: cannot remove `*.o': No such file or directory
[exec] rm: cannot remove `libnv_io.so': No such file or directory
[exec] nv_io_jni.c:2:17: fatal error: jni.h: No such file or directory
[exec] compilation terminated.
[exec] gcc: error: *.o: No such file or directory
[exec] rm: cannot remove `*.o': No such file or directory
[exec] Result: 1
What do I need to install to build these?
Thanks,
Alan Jenkins
Any chance you can roll a release with the new limelight-common? You'll need to bundle tinyrtsp.jar from Limelight-PC and add bitrate when constructing StreamConfiguration.
You can look at Limelight-PC as a reference for the bitrates for each resolution/FPS combo. I'd encourage you to do testing on the Pi of the bitrate settings before releasing. Find a scene that changes a lot of the picture fairly rapidly and let it run for a while (bandwidth increase occurs logarithmically over a few minutes) when you're testing.
Hopefully this will fix your 1080p bug too.
I've got my PS3 controller connected over USB, got it working using jstest /dev/input/js0.
It also works in retropie, but in steam it isn't recognized. when i go to options in steam, and to controller. It seems to recognize an controller. But it doesn't take inputs. I have tried to use the -input /dev/input/js0 parameter. but it doesn't make a difference. I'm also not familiar with mapping files. So I haven't created one.
anyone having luck setting an PS3 controller up and letting it work in steam?
EDIT: This is the error code I get:
Exception in thread "Input - Receiver" java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310)
at com.limelight.input.EvdevHandler.parseEvent(Unknown Source)
at com.limelight.input.EvdevReader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:744)
Hello irtimmer,
can you compile a newer version of limelight-pi for me.
Or can you tell me how to compile the source code ?
Are there any dependencies?
Kind regards,
Pair GFE error: Streaming session has failed due to a game management error. (Error code: 522)
I am getting this error when I pair the devices.
I have tried things like removing all my game directories, and adding just one game in the additional games section in the GameStream settings page.
I have GFE installed on my C:/ drive and my game installed on my D:/ drive.
I am unable to pair my Raspberry Pi with my computer. Both systems are up to date and my computer says that game streaming is ready in the GeForce Experience control panel. "Allow this PC to stream games to SHIELD devices" is checked and both computers are on, running, awake, and on the same network.
Whenever I try to pair (sudo java -jar limelight-pi.jar -pair
), I get the error that "Pair Failed to resolve host". I also get the warning that X server is probably running, but I can't find that when I run top
, so I try and pair with the -notest
option. Nothing appears to work, unfortunately.
I was wondering if there was any sort of additional trouble-shooting that I can to do try and get this working or figure out where it's failing.
I have also tried compiling the source on my Pi to no avail.
I think you forgot to add the file
[javac] Compiling 14 source files to /home/pi/limelight-pi/classes/src
[javac] /home/pi/limelight-pi/src/com/limelight/binding/audio/AlsaAudioRenderer.java:3: error: cannot find symbol
[javac] import com.limelight.LimeLog;
[javac] ^
[javac] symbol: class LimeLog
[javac] location: package com.limelight
[javac] /home/pi/limelight-pi/src/com/limelight/Limelight.java:238: error: cannot find symbol
[javac] Logger.getLogger(LimeLog.class.getName()).setLevel(debug);
[javac] ^
[javac] symbol: class LimeLog
[javac] location: class Limelight
[javac] /home/pi/limelight-pi/src/com/limelight/binding/audio/AlsaAudioRenderer.java:30: error: cannot find symbol
[javac] LimeLog.warning("Alsa error from writei: "+rc);
[javac] ^
[javac] symbol: variable LimeLog
[javac] location: class AlsaAudioRenderer
[javac] /home/pi/limelight-pi/src/com/limelight/binding/audio/AlsaAudioRenderer.java:32: error: cannot find symbol
[javac] LimeLog.warning("Alsa short write, write "+rc+" frames");
[javac] ^
[javac] symbol: variable LimeLog
[javac] location: class AlsaAudioRenderer
[javac] 4 errors
My steps for reproduction are as follows:
The sound works correctly when using a client on the mac, it is only the pi version that doesn't work.
Hi guys, im new to all this so please bear with me
I've had limelight up and running for a few days without problem however i havent been able to use it properly as i have been waiting for my xbox wireless receiver to arrive so i have been testing framerates etc using the mouse and keyboard connected to my pc which has worked flawlessly
My wireless receiver arrived today and ive managed to get the controller running using xboxdrv
The problem i am now having is that the audio is stuttering quite badly, it appears to be dropping alot of frames and there is alot of lag from the controller or button presses aren't registering at all. I've tried several settings (-720 -30fps) which haven't made a difference. I did also drop to bitrate down to 1500 which did make a difference to audio and video stuttering however the controller problem remained
Im using a model b pi over ethernet on raspbian
Thanks in advance
hey,
with older version the input is fine and close to no delay, but with 0.5 my input delays for like 1 second. tried most recent raspbian and openelec and on both systems the same problem.
Since i switched to GeForce Experience 2.1.2.0 i always get this error:
GFE error: Streaming session has failed due to a game management error. (Error code: 522)
I already upgraded to Limelight Embedded 1.1
Hi!
I am trying out Limelight with a Xbox360 Controller on Pi with raspian. I installed xboxdrv as daemon and succesfully created a mapping file for the controller. But when I start a stream some buttons (specially the B Button) aren't working. Only the left stick and X-Button.
Second thing i found out is when i start a game and quit again sometimes the usb keyboard isn't working anymore.
Is this a bug or am I doing something wrong? I'm trying for several hours now.
Edit: I tested now with a generic usb controller with a fresh map file i created and same issue. I think there is something broken.
I use a xbox controller with xboxdrv, same bug with xpad.
After the stream started the selector is moved to the left, only constant spamming can move it in another direction.
i use limelight-pi 0.6
evtest log:
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "Xbox Gamepad (userspace driver)"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 304 (BTN_A)
Event code 305 (BTN_B)
Event code 307 (BTN_X)
Event code 308 (BTN_Y)
Event code 310 (BTN_TL)
Event code 311 (BTN_TR)
Event code 314 (BTN_SELECT)
Event code 315 (BTN_START)
Event code 316 (BTN_MODE)
Event code 317 (BTN_THUMBL)
Event code 318 (BTN_THUMBR)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min -32768
Max 32767
Event code 1 (ABS_Y)
Value 0
Min -32768
Max 32767
Event code 3 (ABS_RX)
Value 0
Min -32768
Max 32767
Event code 4 (ABS_RY)
Value 0
Min -32768
Max 32767
Event code 9 (ABS_GAS)
Value 0
Min 0
Max 255
Event code 10 (ABS_BRAKE)
Value 0
Min 0
Max 255
Event code 16 (ABS_HAT0X)
Value 0
Min -1
Max 1
Event code 17 (ABS_HAT0Y)
Value 0
Min -1
Max 1
Properties:
Testing ... (interrupt to exit)
Hi this is my first issue in GitHub, so please be gentle. ;)
I have used limelight-PI 0.9.1 for the last few weeks, but now limelight just shows text in the console instead of switching to the videostream:
(Kitty only used for easier capture - also doesn't work if typed in on PI)
I've tested limelight-pi 0.9.1, limelight embedded 1.0 and limelight 1.1.1 with Geforce Experience 2.1.1 and 2.1.2 and I'm using the newest steam release.
Can you give me any advise?
Hi,
I test limelight on my rpi and the pc version on a laptop but i got the same problem.
The pairing request is working very well but when i launch the stream, the Big Picture is beginning with lots of lag (instead of no lag when no stream) and there are no menus ! There is just the animated background and that's all ! I don't think it's coming from the RPI because even there is lag, i need to have at least the menu !
Do i need a specific package to install ? I installed all the packages listed in the readme...
I have paired my computers long time ago. Have win7 with latest geforce and raspberry pi with latest limelight version. when try start streaming its say that computers are not paired. and when try pair them, it give that number what have to set to pc and long http url where is my pc localipaddress:port/537634562346323634673.... and lot of numbers, but nothing appear to my pc and not get paired.
i set up a new image for my pi with running raspbian. with version 0.3
i can't get the audio work. i tried install libasound2-dev
but no effect. also followed the instructions here http://blog.scphillips.com/2013/01/sound-configuration-on-raspberry-pi-with-alsa/
no effect - no audio. with version 0.2 sound is working :/
output give me no errors...any ideas?
0.8 release worked fine, audio and video.
Installed 0.9 today and it works with the latest gforce experience and video is fine but sound is totally broken, its cracking up all the time and then breaks totally and i get total silence.
Ive seen there were some changes made to the 0.9 release for audio/video, is this causing the problem?. Ive looked at the pi output and it keeps on saying 'pulled from the reorder queue', never had this with 0.8
8/10 time this happens:
The initial GAMESTREAM screen is displayed, 2 seconds of steam bubbles then back to GAMESTREAM. The Pi then DC with the following error:
java -jar limelight-pi.jar.1 -720 -30fps 192.168.1.64 Starting app
Starting RTSP handshake
Starting control connection
Starting video stream
Starting audio stream
Starting input connection
Video 87kB/s 3
Video 186kB/s 1
Video 0kB/s 1
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
at java.net.SocketOutputStream.write(SocketOutputStream.java:147)
at com.limelight.nvstream.control.ControlStream.sendPacket(Unknown Source)
at com.limelight.nvstream.control.ControlStream.sendLossStats(Unknown Source)
at com.limelight.nvstream.control.ControlStream.access$000(Unknown Source)
at com.limelight.nvstream.control.ControlStream$1.run(Unknown Source)
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
at java.net.DatagramSocket.receive(DatagramSocket.java:786)
at com.limelight.nvstream.av.video.VideoStream$1.run(Unknown Source)
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
at java.net.DatagramSocket.receive(DatagramSocket.java:786)
at com.limelight.nvstream.av.audio.AudioStream$2.run(Unknown Source)
Connection Terminated The connection failed unexpectedly
2/10 times: Steam will show, but with no menu buttons. Just the pretty background. 10 seconds or so later the Pi will DC.
Starting app
Starting RTSP handshake
Starting control connection
Starting video stream
Starting audio stream
Starting input connection
Video 10kB/s 5
Video 4kB/s 1
Video 10kB/s 2
Video 2kB/s 3
Video 3kB/s 1
Video 21kB/s 2
Video 20kB/s 2
Video 16kB/s 1
Video 18kB/s 1
Video 16kB/s 2
Video 8kB/s 2
Video 4kB/s 2
Video 6kB/s 2
Video 7kB/s 2
Video 6kB/s 1
Video 7kB/s 2
Video 10kB/s 1
Video 6kB/s 2
Video 5kB/s 2
Video 6kB/s 3
Video 9kB/s 3
Video 12kB/s 2
Video 12kB/s 2
Video 7kB/s 1
Video 10kB/s 1
Video 14kB/s 1
Video 18kB/s 1
Video 20kB/s 1
Video 21kB/s 1
Video 14kB/s 5
Video 17kB/s 2
Video 19kB/s 2
Video 17kB/s 1
Video 18kB/s 1
Video 18kB/s 1
Video 10kB/s 1
Video 6kB/s 2
Video 6kB/s 1
Video 6kB/s 2
Video 6kB/s 1
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
at java.net.SocketOutputStream.write(SocketOutputStream.java:147)
at com.limelight.nvstream.control.ControlStream.sendPacket(Unknown Source)
at com.limelight.nvstream.control.ControlStream.sendLossStats(Unknown Source)
at com.limelight.nvstream.control.ControlStream.access$000(Unknown Source)
at com.limelight.nvstream.control.ControlStream$1.run(Unknown Source)
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
at java.net.DatagramSocket.receive(DatagramSocket.java:786)
at com.limelight.nvstream.av.video.VideoStream$1.run(Unknown Source)
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
at java.net.DatagramSocket.receive(DatagramSocket.java:786)
at com.limelight.nvstream.av.audio.AudioStream$2.run(Unknown Source)
Connection Terminated The connection failed unexpectedly
Hi guys, first sorry for my english i'm french ^^
So yesterday i bought a raspberry pi b+ and i try to match limelight-pi with my computer wich support Nividia Gamestream.
With the 2.1.1 GFE i can't paired my stuff and with the 2.0.1 GFE i get the error 470 wich make me mad !!!!! I try to search some suotions but nothing help me so please HELP ME !!
It seems to be com.limelight.nvstream.etc....(Unknown Source) problems
PS : It's work on my Xperia m2 but with the 2.1.3 GFE version :)
After updating im geting "Your device is processing the A/V data too slowly. Try lowering stream resolution and/or frame rate." Error. I have my RPi overclocked and 128Mb of GPU ram.
Nvidia changed the streaming service to require encryption for Geforce 2.1.
This has already been implemented in the limelight-android app. Please implement it here asap.
In the meantime does anybody know how to downgrade geforce experience?
hey,
im using "Limelight Embedded 1.0" and have still problems with stuttering sound, also my xbox controller (usb) has problem. either the keys are switchted (bit.trip runner left/right and up/down are switched, same with the other keys) or keys stuck (for example: if i shot, it is possible the key gets endless pressed, till i restart the game). my keyboard seems to work fine.
i tried limelight on archlinux and openelec (both overclocked to 1ghz), with wifi or lan. sound gets a bit better with lan, but still far from perfect. im running a steam machine in same network over far far longer wifi without any problems.
the picture is fine, and i have nearly no delay, but sound and input makes so much troubles.
Hi,
I have been trying to run limelight on my raspberry pi.
Video and sound works fine, but i cant get limelight to pass my gamepad input to my computer
After an afternoon of trying i gave up and now I hope someone can help me,
First I tried 'java -jar limelight.jar stream -input /dev/input/event0 192.168.1.201' , my gamepad had a second input device called js0 so I tried adding both, still nothing.
Then i saw the mapping option, so i tried that. Everything went well, the mapping file was created.
After that i added the '-mapping rumblepad2.map' argument to my command, no difference.
Running as root did not help
Is there anything else i can try?
Hi
I went and go a Nvidia 680 and lime light runs very nice with little latency however it does not support the native resolution for the Oculus Rift which is 1280x800 and when running in 1080p and 60fps(i tried 30fps and the motion blur it causes is nauseating) which the Oculus auto down samples to its native resolution I notice some jitter in the playback on the pi. I have lime light pi source code and can get it to compile. I just could not find the specific code I would need to edit so that the resolution is right to prevent the jitter when stream at 60fps.
Hi,
any one who knows what the problem is. Trying to stream to my rasbmc, so I first exit xbmc, start the pairing (which works fine), and then start limelight. For a second I can see the streaming-menu at my raspberry pi, then it is gone.
this is what I get:
pi@raspbmc:$ sudo initctl stop xbmc$ sudo su
xbmc stop/waiting
pi@raspbmc:
root@raspbmc:/home/pi# java -jar limelight-pi.jar -pair 192.168.0.24
pair Already paired
root@raspbmc:/home/pi# java -jar limelight-pi.jar -720 -30fps 192.168.0.24
Starting app
Jul 09, 2014 7:22:49 PM com.limelight.LimeLog info
INFO: Loaded key pair from disk
Jul 09, 2014 7:22:57 PM com.limelight.LimeLog info
INFO: Launched new game session
Starting RTSP handshake
Starting control connection
Starting video stream
Starting audio stream
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
java.lang.IllegalStateException: Alsa renderer initialization failure: -2
at com.limelight.binding.audio.AlsaAudioRenderer.streamInitialized(UnknownSource)
at com.limelight.nvstream.av.audio.AudioStream.setupAudio(Unknown Source)
at com.limelight.nvstream.av.audio.AudioStream.startAudioStream(UnknownSource)
at com.limelight.nvstream.NvConnection.startAudioStream(Unknown Source)
at com.limelight.nvstream.NvConnection.establishConnection(Unknown Source)
at com.limelight.nvstream.NvConnection.access$300(Unknown Source)
at com.limelight.nvstream.NvConnection$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:744)
Alsa renderer initialization failure: -2
java: pcm.c:1117: snd_pcm_drain: Assertion `pcm' failed.
Aborted
root@raspbmc:/home/pi# ALSA lib confmisc.c:768:(parse_card) cannot find card '0'^C
root@raspbmc:/home/pi# pi@raspbmc:~$ sudo initctl stop xbmc
thx a lot
Hi, I'd like to thank your first for the great work you are doing.
I tried the new 0.9.1 release to see if it fixed the audio stutter compared with 0.9.0. Sadly audio stutter still exists in both the downloaded release and the compiled version, but video works fine. My OS is RaspBMC. I have tried running limelight pi as
java -XX:+UseConcMarkSweepGC -XX:+UseThreadPriorities -jar limelight-pi.jar 192.168.0.4 -720 -30fps
and
java -jar limelight-pi.jar 192.168.0.4 -720 -30fps
but the garbage collection does not appear to make a difference. Audio stuttering still exists on WiFi and wired networks, though there's a little less stutter on the wired interface. Increasing GPU memory did not prevent stuttering as well. I hope this information is helpful in some way.
First off, can't believe how easy this was to set up and get going last night on my rev1 raspi! Looks great.
While trying to get my xbox360 wireless controller working, I'm running into the error in the attached screenshot:
It only happens after I hit the left stick right, as requested, so I know it's attaching and listening to the stick at least partially. Let me know if there's any other tests I can do to help debug, it's a rev1 raspi running raspbian, latest limelight release as of last night, and the latest xboxdrv w/ xbox360 wireless controller.
I tried to map my Device a "Logitech Dual Action" Gamepad ... the following happened:
root@raspberrypi:/home/pi# java -jar limelight.jar map -input "/dev/input/js0" logi.map
Left Stick Right
Exception in thread "Input - Receiver" java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310)
at com.limelight.input.GamepadMapper.parseEvent(Unknown Source)
at com.limelight.input.EvdevReader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:744)
Hello.
I have tested the latest version (1.0) on a raspberry with a xbox controller (wireless).
Testing the controller with evtest all works fine, but inside limelight, the dpad have the axis switched. I mean, pressing the dpad left/right the game moves the cursor up/down, and the same for up/down.
It could be cool to allow configure the key mapping with a configuration file too.
Thanks
Hello,
I wanted to try the newest limelight-pi release today, but every time I want to start it with the -pair option, it crashes.
Java Error Message:
java.net.UnknownHostException: -pair
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286)
at java.net.InetAddress.getAllByName0(InetAddress.java:1239)
at java.net.InetAddress.getAllByName(InetAddress.java:1155)
at java.net.InetAddress.getAllByName(InetAddress.java:1091)
at java.net.InetAddress.getByName(InetAddress.java:1041)
at com.limelight.nvstream.NvConnection$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:724)
Connection Terminated The connection failed unexpectedly
Is this error produced by the limelight-pi software, or is my Pi the Problem?
Thank you!
Hi,
I have an AZERTY keyboard connected to my RaspberryPi and it unfortunatly turns to QWERTY when I start streaming from my main PC with limelight-embedded.
Is there any way to avoid that kind of behavior ?
Attempting to run Limelight-pi on Rasbain and was getting some iffy results.
^Cpi@raspberrypi ~ $ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode)
pi@raspberrypi ~ $ ^C
pi@raspberrypi ~ $ sudo java -jar limelight-pi.jar -1080 -60fps 192.168.0.2
Starting app
Resumed existing game session
Starting handshake
Starting control connection
Starting video stream
Using omx decoding
Start omx rendering
Starting audio stream
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /tmp/nv_opus_dec-3827740582147952232.so: libopus.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.limelight.nvstream.av.audio.OpusDecoder.(Unknown Source)
at com.limelight.nvstream.av.audio.AudioStream.setupAudio(Unknown Source)
at com.limelight.nvstream.av.audio.AudioStream.startAudioStream(Unknown Source)
at com.limelight.nvstream.NvConnection.startAudioStream(Unknown Source)
at com.limelight.nvstream.NvConnection.establishConnection(Unknown Source)
at com.limelight.nvstream.NvConnection.access$300(Unknown Source)
at com.limelight.nvstream.NvConnection$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:744)
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
at java.net.SocketOutputStream.write(SocketOutputStream.java:147)
at com.limelight.nvstream.control.ControlStream.sendPacket(Unknown Source)
at com.limelight.nvstream.control.ControlStream.sendHeartbeat(Unknown Source)
at com.limelight.nvstream.control.ControlStream.access$000(Unknown Source)
at com.limelight.nvstream.control.ControlStream$1.run(Unknown Source)
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
at java.net.DatagramSocket.receive(DatagramSocket.java:786)
at com.limelight.nvstream.av.video.VideoStream$2.run(Unknown Source)
java: pcm.c:1117: snd_pcm_drain: Assertion `pcm' failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.