yashsingh1/xdaforums huggingface dataset:
[Shield General] tallnerd1985:
cgutmen - Just as a proof of concept, would you be willing to look at the Chromecast SDK and see if its possible to GameStream to the Chromecast?

I figured that's more or not the easy part but I am not sure if there is documentation on setting up Xinput over Bluetooth on Chromecast.
[Shield General] bunchies:
where is the Pi version?

was about to try running the linux 32-bit version of limelight but if there is one built for the Pi id rather use that
[Shield General] gh0stpirate:
https://github.com/irtimmer/limelight-pi/releases
[Shield General] bunchies:
Thanks, have you tried Linux 32bit on the pi to see if it fixes your issue?
[Shield General] Motawa88:
Ok. Let's say I have the asus transformer tf701(tegra4) and a compatible graphics card. Can I play counter strikes with the keyboard and mouse connected to my asus or do I have to connect it to the PC?
[Shield General] somewhatdog:
I thought I'd test this on my 'set top box' - it's a Cyclone X2 which is one of the many branded variants of the Geniatech ATV 1200.

Good news is that it 'works' - and with the latest firmware the box supports a wired 360 controller as-is (it has 4 regular USBs) but it's GPU isn't supported by Limelight (Mali 400 - same as a Galaxy S2 I think?) and so performance is pretty dire.

I'm guessing the Mali might be seen as being a bit too-old - but it's now supported in XBMC where it streams 1080 just fine and it does support H.264 (High Profile) according to it's specs

Given that there are 1000s of these things out there - might be nice if anyone knows how to patch support into this?
[Shield General] Aaronneyer:
It would not be possible to have the Chromecast running Limelight itself. The Chromecast SDK is simply not meant for running something that complicated. The only thing that might be possible is running Limelight on an android device and having it do all the heavy lifting, and then just sending the video stream to the Chromecast.

I'm not too familiar with the Chromecast SDK but it seems like you can probably send an H264 stream from Android to chromecast. However, writing the software for that would probably be a bit of a waste of time as that's pretty much just doing a simple, and there are rumors that native android mirroring may be coming to the Chromecast soon anyways.
[Shield General] jerkyxi3:
As I recently purchased a chromecast I know I would definitely love support for it in limelight.

BTW thank you for doing this.
[Shield General] nivanov:
I'm having an issue with my controller and I was wondering if anyone had any advice:

I'm running Limelight Android on 4.2.2 RK1388 stick. The performance in 1080p is great! However, the D-pad on the Xbox 360 wireless controller is not working and the center light won't stop blinking. Because of that, I keep the controller connected to my host PC, and just take it into the living room when I'm gonna run limelight - it's wireless and has plenty of range.

There are a few games that work very well - Need for speed Hot Pursuit, Assassin's Creed IV, while some others don't - Mirror's Edge, Splinter Cell Conviction. Those that don't still load, but don't recognize the controller that I have hooked up. I think this is due to the control stream - I guess either Steam or GameStream creates a virtual controller that executes commands sent to it from Limelight. I think some games default to this controller, while others just respond to input from any of the controllers, which is why I'm having success with some games while having no success with others.

I was wondering if it's possible to stop this controller injection / interception altogether and just keep the actual controller that I have plugged in my host machine as default.

Thanks!
[Shield General] Motawa88:
will a transformer tf 201(Tegra 3) and a gtx 660 ti be enough for 1080p streaming?

Oh yeah and does this work over internet?

Does it mess up with battery? I mean, is it the same as playing a game on android?
[Shield General] cgutman:
There is a DLL that Nvidia is using to do this called rxinput.dll. It used to be loaded via the AppInit_DLLs registry value, but they seem to have changed that. Interfering with that DLL might do it, although it could break other things too.

Tegra 3 should be fine for 1080p streaming, assuming your wireless connection is good enough. It used to work over the Internet but Nvidia broke the feature recently. It's probably somewhere between watching a movie and playing a game in terms of battery usage.
[Shield General] tutchthesky7:
All the lags

The android app seems to be working better than the Raspberry Pi .Jar, the input lag when i try and use my mouse and keyboard connected to my Pi is about 2 seconds, where if I use my PCs mouse and keyboard, the delay to the Pi is only about .25 of a second, also the android version is almost lag free completely, the command line I was using on the pi was Java -jar limelight.jar -720 -60fps ###.###.###.### It seems at different resolutions / FPS the lag changes as expected, but I found higher settings to lag less for the most part!
[Shield General] nivanov:
Thank you for your help!!! I found this file at C:\Program Files\NVIDIA Corporation\NvStreamSrv, renamed it to rxinput.dll.old and now all my games work great!
[Shield General] irtimmer:
There is definitely something wrong with your software configuration on your Raspberry Pi as a 2 sec lag would make almost all games unplayable while Grid 2 is playable on mine.
[Shield General] Motawa88:
Will a galaxy note 1 be enough for this?
[Shield General] tutchthesky7:
You're absolutely right, it is unplayable at this point, can you maybe tell me what you're doing? I'm installing java 8.0 with tar xzvf javafile.tar.gz -C /Opt

Then

Sudo apt-get install libopus0

Sudo apt-get install alsa alsamixer

sudo mod probe snd_bcm2835

java -jar limelight.jar -1080 -60fps AtemGaming-PC
[Shield General] ColinFoster:
I have code to test this case specifically. On one Nexus 5X, I see a lot of dropped packets and blocking reads. On other devices I can received tens of thousands of packets in a row without a drop. This happens on one 5X and not on another, so I am thinking I might be running into a radio issue on the device...

package com.udp_receiver_test;

import android.content.Context;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.nio.ByteBuffer;

public class MainActivity extends AppCompatActivity {

private WifiManager.WifiLock wifiLock;
Thread t;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
wifiLock = wifiManager.createWifiLock(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "Player");
wifiLock.setReferenceCounted(false);
wifiLock.acquire();

// Use sustained performance mode on N+ to ensure consistent
// CPU availability
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
getWindow().setSustainedPerformanceMode(true);
}

startListenThread();
}

private void startListenThread()
{
t = new Thread() {
@Override
public void run()
{
DatagramSocket socket;

int nextSequenceNumber = 0;

ByteBuffer byteBuffer;

int BufferSize = 1292;
int NumRingElements = 784;
long correctPacketCounter = 0;

byte ring[][] = new byte[NumRingElements][1292];

try {
socket = new DatagramSocket(12345);
socket.setReceiveBufferSize(256 * 1024);
} catch (Exception e) {
e.printStackTrace();
return;
}

byte[] buffer;
int ringCounter = 0;
DatagramPacket packet = new DatagramPacket(new byte[1], 1);
//short rtpSequenceNumber;
int sequenceNumber;

while (!isInterrupted()) {
try {
buffer = ring[ringCounter];

packet.setData(buffer, 0, buffer.length);
socket.receive(packet);

if (packet.getLength() > 20) {

// Read the RTP sequence number field (big endian)
byteBuffer = ByteBuffer.wrap(buffer);
byteBuffer.position(16);
sequenceNumber = (byteBuffer.getInt() >> 8) & 0xFFFFFF;

if (sequenceNumber != nextSequenceNumber) {
Log.d("TAG", "Not next sequence number - Got:" + sequenceNumber + " Expected:" + nextSequenceNumber);
} else {

if (((++correctPacketCounter) % 100) == 0)
{
Log.d("TAG", "Correct packets = " + correctPacketCounter);
}

}

nextSequenceNumber = (sequenceNumber + 256) % 65535;
} else {
Log.d("TAG", "Message too short");
}

ringCounter = (ringCounter + 1) % NumRingElements;
} catch (Exception e) {
e.printStackTrace();
return;
}
}
}
};
t.setName("Receiver");
t.setPriority(Thread.MAX_PRIORITY - 1);
t.start();
}

@Override
public void onStop()
{
super.onStop();
wifiLock.release();
if (t.isAlive()) {
t.interrupt();
}
}
}
[Shield General] yeahman45:
I have connected 2 xbox 360 controllers to my android tv box and enabled Multiple controllers support but in my games (tried Lara Croft and the guardian of light and temple of osiris), only one gamepad is detected.

Tried it on my android phone also.

Also tried it on windows 10 with chrome extension and java app... still same result.

Anyone has a fix?

both xbox 360 gamepads are wired.
[Shield General] Xares:
Hello sorry for my english

I have problems on the smarphone oneplus 3t using the application "Moonlight Game Streaming".

I have micro stuttering in the oneplus 3t. In other smarphones much older as motog 2013, S3 and S4 works without problems.

I have tested it with two routers, and being right in front of the router, but there is always micro stuttering. Tested at 2.4ghz and 5ghz. The speed of the wifi is correct, The wifi signal is at maximum.

The version of OxygenOS is 3.5.3 with marshmallow 6.0.1

What will be the problem?

thanks
[Shield General] speloz:
I have the latest versions of GFE and moonlight. Also I have a wired 50/50 mbit connection. I use 1080/60 mode. Video is perfect but I have input lag. Also I tried 720/60. After streamig I have about 80-100 ms latency. I used this setup with roaming internet with open needed ports. How I can reduce input lag ? I use wireless keyboard and miouse with android TV with amlogic s912. May it depends of s912 and H264 decoding abilities? Also I have I shield TV , may be I can use Shield Hub files from there to reduce this? So, with that lag I cant play in anyone game except Civilisation)))):silly: Its so annoying:(
[Shield General] Andy4Shurr:
I own a shield tv connected via ethernet and I'm having a weird issue in that I get noticeable lag only when streaming 4k(30/60) using moonlight. The Nvidia gamestream app doesn't have any noticable lag at all when streaming 4k and using 1080p on moonlight is perfect.

I have tried lowering/increasing bitrate, thinking that would be the probable cause as well as enabling/disabling H.265 but I can't get Moonlight to function without the lag.

Does anyone else have this issue? I much prefer Moonlight to Nvidia's official app but I'm just using that for the time being due to this problem.
[Shield General] pbrites:
Streaming over the internet

I forwarded the ports that need to be enabled to work but I still can't connect over the internet. Is there anything else I need to do?
[Shield General] eliott94260:
Try to pass on 1gb ethernet on device manager click right on network card advanced and speed and duplex

Also maybe there is interference with WiFi if you on 2,4 ghz

---------- Post added at 03:04 PM ---------- Previous post was at 03:03 PM ----------

If you on geforce experience 3 are you enable gamestreaming on shield tab?
[Shield General] mhajii210:
Hi guys. I have everything setup and I'm streaming from my desktop PC to my Android TV in the living room using GFE version 3.3.0.95. When I connect using Moonlight on both my phone and my Android TV, it no longer displays any game icons. It lists the Apps on my PC, but it no longer loads any icons ever since I upgraded to the latest GFE. Anyone else seeing this? Is there any way to get the game icons to display properly as before? Other than this minor bug, I am able to stream games perfectly with minimal input lag using a wired connection.
[Shield General] cgutman:
This seems to be a bug in GFE 3.3 caused by the StreamingAssetsData folder not allowing permission for the service that is supposed to send box art to read from it. NVIDIA knows about it. There is a fix you can do on your PC to make box art load again.

- In explorer, type "%LOCALAPPDATA%\NVIDIA\NvBackend" in the navigation bar.

- Right-click on "StreamingAssetsData" and click Properties.

- Go to the Security tab.

- Click Edit, then Add.

- Type "Users" in the box and click OK on all the dialogs.

Box art should load after that.
[Shield General] hoduken:
I'm trying to use Moonlight to stream the desktop of a single computer to multiple other computers simultaneously. Is this possible? When i try and connect with a second client it simply gives me an error saying the host is busy and i need to stop streaming to pair.
[Shield General] nk33:
how can you play a game on different pc's at the same time? i dont get it?

anyway - its saying you havent paired the 2nd pc. i am sure if this was possible you would have to pair all the other pcs with the pin number before trying to connectr to them simultanioulsy (pmsl)
[Shield General] hoduken:
Thanks for the reply. I play local multiplayer games with friends. Like mame games, local couch coop games, etc. I'd love to be able to play with more than only one other person at once.

Anyway, that did work, however, whenever i connect one computer it kicks the other from the active session.

So now my question would be, can you allow multiple sessions simultaneously?
[Shield General] nk33:
my initial answer to that would be no. However, the developer may say there is a mod you can do on the host which will allow it....you may have to wait to see if they reply.
[Shield General] prouha:
moonlight connection gamestream no pc

hi,

moonlight work perfect in 2.4 ghz and usb tethered..my home pc detected gamestream ok.........but

i buy usb tp link t2u ac600 for create hotspot 5 ghz.....hotspot working but nothing in moonlight , add ip manuel say unable to conect to a specified computer......

all port open ..if 2.4ghz work................why not detect hotspot?

pc : connection ethernet

wifi : tp link non connecté (normal 5 ghz only)

create hotspot ex: myhotspot....password....launch and connect to my phone s6

s6 connected to "myhotspot"

reseau local 11 connected to "myhotspot" launch moonlight.......no pc , add manual adress to my hotspot is the same.........is possible or no ?

sorry for my poor english....................:silly:
[Shield General] prouha007:
give this error in moonlight , icone of my computer with wifi slash inside....clic on and "send wake on lan request......" but nothing !

wol is activated on my computer..................
[Shield General] nk33:
if S6 is connected to hotspot, and pc is connected to a different network it will not see your local ip will it mate
[Shield General] prouha007:
ok i understand this.....why connect my pc for find my hotspot and see my hotspot ip? ..........just want moonlight to nvidia gamestream in 5ghz

moonlight is only wifi no ? if connect my s6 to my wifi home is 2.4 ghz is not perfect....

trinus vr have option hotspot wifi..........launch this , force connect only 5ghz in usb tp link...more 400 mghz bande passante but for the pc ? if see only my real connection i understand why is not working.......

how connect trinus vr in hotspot wifi and my pc recognize this ? thanks :crying:

find my pc in moonlight but is very slow....and lost connection freely no icon on game steamon s6 and when launch app in gamestream shield ok to pc nothing on smartphone and cut connection..............

is very long time to find home pc perhaps moonlight say " 5 to 7 ms" good.............whats happen ?

changed drivers pc and today............no pc in moonlight !!!! gamestream shild activated ! can't paired ect.................
[Shield General] Hewell:
Hello everybody,

I installed for the first time the Moonlight into Google Chrome yesterday (before that i was using the java one) but I can't get nothing appart that beatifull loading moonlight plugin screen.

I had installed in other PC and it works from the begining, I'm not able to pass this screen on my laptop.

I'd tried unistallign, other build, canary build, beta...

I look around here and nobody talk about stuck at loading screen so I don't no what more to do. Thanks U
[Shield General] nk33:
i would recommend you did a full uninstall of chrome, reboot your machine, re-install chrome and then the addon - should work mate - i been using it on multiple pc's and laptops since it first came out.

its so much better than the Java version its unreal. Like 1000 times smoother
[Shield General] Hewell:
Thank U but.... I really had tried already this... so.... format? hahaha ... :crying:
[Shield General] nk33:
no way.

format is way too extreme here mate. unless you have minimal stuff on it.

one more thing - try using an older version of the addon. delete the version you have installed, restart chrome, then drag the previous version in. Honestly dont get why its not working.

Perhaps someone else who knows more about it can help?

it must be a problem with the addon because from what i understand, you are not even getting passed the loading screen right?
[Shield General] Hewell:
I'm not worry, it a little silly but, anyway I had tried with 0.6.2 and 0.6.1. so I'm going to install an earlier than this and and earlier chrome to....

Like you say, I'm not even getting passed the loading screen, I had tried in another laptop and it works at first so...

Mine is a new laptop from 6th january with all in data cloud and few software installed so... why not? If it work I edit this.
[Shield General] nk33:
all i can think of now is have you got any software anti-virus, firewall etc? turn off windows defender and everything else and see if it works.
[Shield General] Hewell:
Well, I had formated and... still loading moonlight plugin screen...

Anyone with a Surface Pro 4 - i5 4Gb 128GB had test it?

EDITED: After 2 days, it repair itself... computer magic ... ¬¬'
[Shield General] -SAIUN-:
I've been using Moonlight on a 2012 Nexus 7 and everything was working great, so I know my network is fine.

I now have a Huawei Mate 9 which is giving about 50ms hardware decoding latency. After some searching, it seems like forcing software decoding could fix my problem, but I can't seem to find the setting for that. Is this setting in the current version of Moonlight? If so, could anyone point me to how to change that setting?
[Shield General] godofbeerbeach:
Hi,

i tried to install moonlight on my Chromebox in Chrome just on the weekend. The problem is that current Chrome versions prevent installing non Web Store applications. Even with enabled developer mode i was not able to install it. Is there any way to get this done in a current Chrome version?

Thanks
[Shield General] nk33:
Simple, install a previous version of chrome which does work
[Shield General] godofbeerbeach:
how do i install older versions of Chrome on ChromeOs then?
[Shield General] nk33:
well that is a question for another forum...sorry never used ChromeOS.
[Shield General] Ghengis042:
I just got a Bluetooth controller for my Nexus 5, and while it works with Moonlight sometimes, I get crazy input lag and general lack of responsiveness after playing for a few minutes. I think I might be having the antenna conflict described in the Troubleshooting section of the docs -- if I use onscreen controls instead, the game stays responsive indefinitely.

This got me thinking: has anybody crowdsourced a list of affected devices? This would be really helpful, especially when I go to replace my aging device. I'm not saying I'd buy or ignore a device solely on the basis of its antenna design but I'd like to have the option of considering it...
[Shield General] nk33:
If you read fully you will see that this is not a problem with the tablet or the controller but this is an issue that will usually occur if you are using a 2.4ghz wifi network and not a 5ghz one. Use a dual band access point or use 4g on your mobile and you will see it wont happen

This is because bluetooth also uses 2.4ghz and conflicts with the wifi signal ?
[Shield General] Ghengis042:
Funny thing, this morning I played with the controller, I think on 2.4Ghz (didn't double check during play, it remembers both bands on my dual-band router and switches on its own sometimes) and had minimal input problems. Next time I have issues I'll try switching to see if it helps. Thanks for the tip!
[Shield General] nk33:
If I was you I would log into the router and change the name of the 5g SSID to something else so you know which one you are connected to… then you can troubkeshoot. Best thing to do on your device is to forget the 2.4ghz one as well. No point in ever connecting to that one really
[Shield General] Tefen:
I see the SideLoad about GearVR. What about Google Daydream VIEW VR?
[Shield General] Ghengis042:
I already have different names for the different bands, I just forgot to check when it was running well. Our house is really old construction and the walls tear up the 5G signal like crazy -- my bed is directly over my router, which is at the top of a bookshelf in the room below, and I barely get a single bar on the 5G network. I'm stuck with 2G if I'm not in the same room as one of my (two, dual-band) routers, so I guess it's just going to be hit or miss.
[Shield General] nk33:
all you have to do is get some decent ethernet powerline adatpers, then in your room buy a new dual band access point and just turn on 5g. will do the trick 100%. i have the one below and it runs perfect.

http://www.ebay.co.uk/itm/TRENDNET-...520124?hash=item2ef700cbbc:g:lCwAAOSwImRYISmF
[Shield General] JasonS7notG5:
With the Android 7.0 Nougat update on my Galaxy S7 edge (flashed BTU firmware) my Xbox One 2015 3.5mm controller gets my S7 edge into a bootloop when connecting with Samsungs own USB OTG adapter. I updated my Xbox One controller firmware with Windows 10 Xbox Accessories app to the newest one. Why does this happen? Is there any fix for that?

Atleast I can use my PS4 CUCH 1200/1216a controller (not Slim/Pro), I dont know if this was possible before but I think it wasn't until the Nougat update.

Edit: I tried using it with Bluetooth and it connected and worked but too much input lag and skipping some inputs etc. Wasn't there an app for better Bluetooth or does Moonlight need an update to support PS4 Bluetooth controller with Nougat?

Edit 2: I read that people had problems with the PS4 controller with Marshmallow when they connected it with USB OTG and it got their S7 into a bootloop just like now you get with the Xbox One controller with Nougat. They just reversed the problem... I am talking about the Xbox One 2015 non Bluetooth version, I think the 2016 Xbox One S controller will work.

Edit 3: The PS4 controllers works also with the Gear VR using Stream Theater (Moonlight) but with the same problems with Moonlight when using Bluetooth. It doesnt work with USB on the Gear VR, maybe because I have the 2015 model which everyone got free when preordering the S7. The 2016 Gear VR may work with USB. I tested a native Gear VR game and the same input lag and skipping input appeared just like Moonlight with PS4 Bluetooth controller. So this means the Bluetooth connection with the S7 is weak or doesnt work properly, it isnt a Moonlight problem.

I will try to get the Xbox One S controller but I would prefer playing with the PS4 controller wireless on Moonlight and Stream Theater with Bluetooth without any input lags etc.
[Shield General] white-rino:
xbox 360 controller bug

Hello,

I have a bug with my xbox360 controller ( work fine on my PC ).

With moonlight / raspbian, the controller is detected, i can use it, except of the D-pad.

up/down & left/right are reversed, and I don't know where to change those settings to make this change.

Sorry for my english.

When i push :

up it's left

down it's right

left it's up

right it's down

thanks for your help