yashsingh1/xdaforums huggingface dataset:
[Shield General] harpocrates:
issue with gamestream that affects limelight too

I have gamestream problems that transfer over to limelight. I found limelight while trying to fix my issue and was hoping this would let me ignore the issues nvidia has.

My problems started after they added the wake on lan feature which worked great, but at some point it would often disconnect and show that the gamestream pc is offline.

I decided to troubleshoot this and deleted gamestream pc from shield to find it again. I did this as geforce experence 2.1.1 was being updated on pc. After that it could not find any gamestream pc's. Searched every post possible and did every troubleshooting step out there. found that with geforce experience 2.0 the shield could see the gamestream pc. Hwever it would not allow me to connect as it would require that geforce experience was updated. Once geforce experience was updated, I was back to square one. Someone here suggested I uninstall the shield hub updates as the factory version allowed you to connect with geforce experience 2.0, but just before i could try that, the shield 88 update (or 82) was pushed out today which makes the shield hub, the default version so you cannot uninstall updates and gamestream. I am in contact with shield support but so far they have not found an answer. It is clearly and issue that starts with geforce experience 2.1 and above.

Can people who have this issue please contact support so they know that 2.1+ are broken geforce experience updates. I wouldnt mind if they removed the wake on lan if it could fix this. Better to stream a bit than to not stream at all.

Limelight on my shield and galaxy note 3 will find the pc but show it as offline even though its on.

Im posting this here as well because Ive been an xda member for years and somehow members here always come together to find solutions for things.

I have forwarded all the required ports mentioned here for an asus rt-n56u router. I have latest geforce drivers and geforce experience with several uninstall and reinstalls. Even factory reset my shield.

The problem seems to be with geforce experience 2.1 and above.

hoping anyone can help.
[Shield General] cgutman:
You can get a version of Limelight that supported GFE 2.0.1 from here - https://github.com/limelight-stream/limelight-android/releases/tag/v2.5.1.1

Then you should be able to stream on your Shield and Note 3 until Nvidia fixes GFE 2.1.
[Shield General] sutherlandpb:
option to have menu key mapped to right click

So the "menu" key that exists on galaxy devices and some others is currently unmapped. I added the mapping in the main game.java and it works great. I am planning on adding it as an option in the config menu "Use menu key as right click." for completeness, since I am not sure everyone would want this.

Is this a commit that I should try to push to master? Would you rather I didn't?

This is pretty huge for me, since that means you can play Civ V pretty flawlessly with no peripherals.
[Shield General] d1wepn:
Awesome thanks! That has fixed it! Both my raspberry pi and note 3 are working great! :laugh:
[Shield General] d1wepn:
Has anyone else using Limelight-Pi worked out a way to have the raspberry pi auto boot up Limelight? Instead of having to run commands manually.

Would be awesome if someone more talented then myself could make an official Limelight-Pi distro for raspberry pi :laugh: !!!!

Maybe based of one of those crazy small distros that are like 22mb +java +dependencies +limelight.jar +autoboot :D:D:D
[Shield General] bunchies:
Cronjob you could have it run at boot with a script
[Shield General] SeeDborg:
Type :

sudo crontab -e

add at the end of the file :

@reboot sudo java -jar /home/pi/limelight.jar 192.168.0.1

Be careful, you might have to change the path to your limelight file, and/or the ip adress of your main PC.

Then press CTRL+X, then Y, then enter, you're ok, just reboot the Pi :)
[Shield General] seekey:
I just picked up a Minix X8-H and Im getting very laggy results in Limelight.

The Minix X8-H is hooked up to my Xfinity gateway with a Cat5e cable. But my computer (i5 w/ GTX760) is only connected with a Cat5.

It seems that the Minix only has a 10/100 RJ45 connection anyways so I guess Im limited to 100 regardless. Unless I go wireless.

The Minix has a Quad Core ARM Cortex-A9 @ 2.0GHz and Octo-core Mali-450 GPU. The first post seems to indicate I should be able to do this. Edit: System specs even indicate it supports H.264 video decoding.

Is it the Minix not having enough power under the hood?

Is the 10/100 or Cat5 the bottleneck?

Should I switch to wireless?

Also having an unrelated issue of getting a 360 controller to pair but I currently have a 3rd party 360 wireless adapter and I think thats my issue. Getting an offical one this weekend.

Any help would be greatly apprecaited.
[Shield General] Speedy Gonzalez:
is any way you can add 1920x1200 streaming option for the shield tablet ? the original nvidia hub streaming only works at 720p and it looks blurry but using limelight at 1080p its better I just wish there was an option for 1200p native res :)
[Shield General] cgutman:
Ethernet (even 10/100) is best because latency and loss rates are more important than bandwidth.

Can you capture a log while trying to stream? http://xdaforums.com/showthread.php?t=2274119

Also try forcing hardware decoding in the advanced settings to see if that changes anything.
[Shield General] Willzar:
Icons

Absolutely love this application, I never thought it possible to stream games at such a low latency and at that quality.

My one gripe is the icon, I know its nit picky but I think it really affects the whole experience.

I made a couple up for personal use.

If anyone is interested or wishes to use them, please feel free.
[Shield General] bluegizmo83:
Is there any way to adjust the thumbstick deadzones for the Moga Pro controller? It seems like in Mobe B (which is whats used for Limelight) the thumbsticks both have about a 30 to 40 percent deadzone... When using my wired Xbox 360 gamepad though it feels like maybe only a 5 to 10% deadzone which is perfect.

EDIT:

Ok so I figured out how to change the gamepad deadzone settings in the android system files by editing the .kl file associated with the gamepad, but apparently LimeLight or the Nvidia service on the PC end doesn't get the controller deadzone from the kl files because when I was using a wired Xbox controller, changing the flat value in the kl file made no differences whats so ever in limelight.

With the Moga Pro controller, it uses the Generic.kl file for it's axes mapping and that file has no listed flat values for axes. When I added the flat values to the Generic.kl file, Limelight would no longer even register the stick movements at all for the Moga controller once the Limelight connection was made to the PC (they still worked everywhere else in android though and in the limelight app itself, just not once the video stream was started and inputs were sent to the PC).

So I'm only guessing here, but I'm thinking the Limelight app has it's own hard coded deadzone/flat values for gamepads.
[Shield General] cgutman:
We're using the InputRange's flat value. What values were you using for flat values? Maybe Android itself doesn't respect the flat value when generating those synthetic events to manipulate the UI.

https://github.com/limelight-stream...ght/binding/input/ControllerHandler.java#L129
[Shield General] bluegizmo83:
Well, the default flat values for the Xbox 360 controller in the Vendor_045e_Product_028e.kl file is 4096, which I tried changing to as low as 512 and as high as 16000 which made no difference in Limelight. I like the xbox 360 deadzone the way it is though, it feels like about 5 to 10%. I was just testing to see if changing it values made any difference.

The Moga Pro is the one I'm having issues with, as it's deadzone feels like about 30 to 40%. The Moga Pro uses the Generic.kl file which has no flat values set in that file, so I tried adding "flat 4096", as well as other values, to the end of the axes mappings like it is in the xbox kl file but once I did that Limelight wouldn't register any inputs from the sticks anymore once I started a game or the steam interface.

EDIT:

Nevermind! I found the problem! ... I still don't understand WHY, but I found the problem.

After looking through the sourcecode you linked, I couldn't see anything that would be causing the issues I described. So I went back and started adding and changing flat values in the Generic.kl file for the Moga Pro and here is what I found.

In the xbox 360 kl file I saw this line explaining the flat values:

"# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.

# This confuses applications that rely on the flat value because the joystick actually

# settles in a flat range of +/- 4096 or so. We override it here."

That is where I got the 4096 value to add to the Generic.kl file for the Moga Pro. I tried all the way down to a value of 512 but still LimeLight stopped registering the stick inputs with any value I enter.

Well today I decided to try some more values, and I found that LimeLight is registering the max stick value of 128, not the +/- 32768 value described in the kl files! So when I entered 512 it was too much. Any flay value between 1 and 127 in the Generic.kl file has a correct effect on the deadzone withing the Limelight game or steam interface!

So now I can set the deadzone for my Moga Pro within Limelight. I don't understand WHY limelight takes values between 1 and 128 for deadzone, but it does and it works.
[Shield General] cgutman:
Limelight's current deadzone method is pretty bad since we're doing axial deadzones rather than circular ones. It can lead to some strange behavior with controllers (like Moga Pro) that have getFlat() values. http://www.third-helix.com/2013/04/12/doing-thumbstick-dead-zones-right.html

This APK does scaled radial deadzones for the sticks. See if you like it any better. https://www.dropbox.com/s/yu3nwcddcc2pm8p/Limelight-radial.apk
[Shield General] bluegizmo83:
Thanks! I'll give it a try... Because unfortunately even when I set the flat value in the Generic.kl file to a value of 1, it's still not quite low enough.

---------- Post added at 12:37 AM ---------- Previous post was at 12:24 AM ----------

Unfortunately, that alternate APK seems to have no effect with the Moga Pro. I tried it with and without flat values in the Generic.kl file. I couldn't tell any difference between this alternate APK and the normal one. I do understand how a radial deadzone would be better overall, but for my issue of the deadzone being too large I couldn't tell a difference.
[Shield General] kill_dano:
So I've installed game links directly in GFE, so they show up in the limelight menu and I don't have to go through steam. Problem is now I can't get into steam, even when I want to cause the default steam link in the limelight menu disappears when I add any apps into GFE. No problem, I'll just add Steam separately, but it doesn't work. How do I restore the link to Steam mode and have it enter big picture and allow me to open and play games?
[Shield General] mastertiti2000:
I send you mp to see my logcat. I hope this will help you

Edit: this is with the last update who change nothing to my problem
[Shield General] wayzhc:
I have tried to get the Limelight-pc to work for few days. I need some help with this. I'm trying to stream between my gaming pc and HTPC. My HTPC is running on Windows Server 2012 R2 and gaming pc is running on Windows 8.1. The problem is that limelight wont run on the HTPC. Double clicking the jar doesn't do anything and manually running it with command promt returns an error. Limelight works on my gaming pc by double clicking it and via command promt.

Here is the error:

I have tried:

Updated JRE to latest 64Bit

Added missing xinput1_4.dll and xinput9_1_0.dll files (not sure if necessary)

Tried custom TEMP location to test if it was a permission problem

Unzipped the jar and manually dropped all the files from the binlip to TEMP

Installing all Directx libraries

I don't know what to try next as i don't understand the error message at all. Is there somekind of option/feature which has to be enabled/disabled on Windows Server to get this work? I have used Steam In-Home Streaming for a long time and found out about limelight few days ago and i would like to test it out.

Specs for the PCs:

GAMING PC: ASRock Z77 Extreme4 | Xeon E3 1230V2 | Gigabyte GTX 780 OC | 8GB RAM | W8.1

HTPC: Asus B85M-G | i3 4130 | Intel HD 4400 | 4GB RAM | WS2012R2
[Shield General] tux_topo:
The HTPC uses the Intel 4400 gpu? Then, there is your problem. This app, works only with GeforceExperience and nvidia gpu...
[Shield General] kill_dano:
Can you please tell me exactly what to change in the generic.kl file? I have a Moga and I'm also not happy with the deadzones.
[Shield General] bluegizmo83:
Sure. The Generic.kl file is located in /system/usr/keylayout folder. You will need a root file explorer with a text editor, or some other way to edit root files, I used ES File Explorer. Open the Generic.kl file and scroll all the way to the bottom and you will see these lines:

axis 0x00 X

axis 0x01 Y

axis 0x02 Z

axis 0x05 RZ

there will be other axis lines as well, but the ones I listed are the only ones that matter, those are the right and left thumbsticks.

now just add "flat 1" at the end of each of those axis listings, so that each one that I listed should now look like this:

axis 0x00 X flat 1

axis 0x01 Y flat 1

axis 0x02 Z flat 1

axis 0x05 RZ flat 1

You can change the value after flat to anything between 1 and 127. Where 1 is the smallest deadzone and 127 and the largest. With that said, even a value of 1 still isn't quite small enough for my liking, but it helps some.
[Shield General] kill_dano:
I do believe I see some improvements. The sticks in Modern Combat 5 were really bugging me. Thanks for the info.
[Shield General] wayzhc:
What do you mean? The receiving device can be nearly any device as far as i've understood. Limelight works with android devices, RPi, iOS and so on. Those devices don't have any Nvidia hardware on them. Why would i need a nvidia GPU on the receiving end (HTPC)? The streaming pc that does all the work has GTX 780 in it.

Just watched a video where someone played with limelight on a laptop that had only Intel iGPU. So i call bs. I don't need nvidia gpu on the receiving end and i'm pretty sure about it.
[Shield General] cgutman:
Here's an APK that doesn't do deadzones at all. See if this is any better. https://www.dropbox.com/s/jt1lxcu722mdyhu/Limelight-nodz.apk
[Shield General] bluegizmo83:
Honestly I can't tell any difference with this new APK... I'm starting to think it's an Android or Moga Pro issues and not a limelight issue. Using a wired xbox 360 controller the sticks and very sensitive, just not with the Moga Pro. It's not an issue of my moga controller being worn out or anything though. I have even tested it with an android app called JoystickTests which shows numerical values for the sticks and in that app it registers even the tiniest of movements. Thank you for trying though!
[Shield General] harpocrates:
That is actually exactly what I did and it works but im not updating geforce experience till it has a version beyond 2.1.1 and if it doesnt work again, I downgrade again.

Thank you.
[Shield General] :
I still have the problem of rstp handshake failed. I have a Xperia Z that i have tried with 4.2.2 and 4.4.2. I tried it too with a asus memo pad 7 and have the same error. 770M with geforce 2.1.1
[Shield General] cgutman:
Try this: http://xdaforums.com/showpost.php?p=54630647&postcount=1055
[Shield General] nk33:
Hi,

When I double click it, it asks me which program to open it with - where is the Java exe file located so i can tell it?

I have downloaded the proper java, and also verified it...

Many thanks

Nick
[Shield General] NapalmDawn:
JRE isn't Java. Follow the steps in the section you quoted. Having just the standard Java is different from the JRE
[Shield General] wayzhc:
Original post(s) in spoiler

Any thoughts on this? Anyone? Haven't still got any luck on this. Is there anything i can do? And i want to make it clear that the HTPC is the receiving pc. Any help is appreciated.
[Shield General] nk33:
Hi,

thanks for that...but for some reason, I restarted the pc, and the jre file then had a java icon on it and it worked.

the problem i seem to have now is that I am getting the following message after trying to connect after successfully pairing:

"The app steam is not in the GFE app list"

to clarify, I click "start streaming", the screen goes black and says "starting app", then it goes back to my main desktop and gives me the message above. When I click ok to that, I get the message below:

"starting app failed"

Is this happening because I am running the latest version of GFE? Which version should I be running? and where can I obtain archive versions?

many thanks for all your help.

It works 100% fine from my Galaxy Tab Pro apart from the fact I havent got a proper controller for it yet as I dont know which one is compatable and will work with Limelight...any ideas/advice on this would be good also...thanks
[Shield General] nk33:
Hi Mate,

Did you ever solve this issue? I am getting same messages

thanks

Nick

---------- Post added at 11:35 AM ---------- Previous post was at 11:35 AM ----------

Hi Mate,

Did you ever solve this issue? I am getting same messages

thanks

Nick
[Shield General] GunFishin:
Thanks!

Just wanted to say thanks to the team that developed this app. I had originally purchased a Shield and found that the screen was too small for my liking. After returning it, I went with the tablet approach with a Nexus 7 (2013) + GameKlip + PS3 controller.

This has worked 10x better for me as the screen is larger, clearer and I can use the tablet outside of gaming. It's really nice being able to play my PC games on the couch next to my wife then switching over to surfing the net.

Had so much success with this method I decided to create a demo of my experience: http://youtu.be/iE_Zr0jj9kg
[Shield General] davew:
Limelight works so well on my Nexus 7 2013 that I thought I'd try the windows version.

On my 2009 MacBook Pro (running Windows 7 via bootcamp) the Limelight stream looks really bad compared to how it does with the android app - lots of heavy banding, very blocky and full of artifacts. I've set the resolution to 720p/30fps on both android and windows. I also get frequent stutters.

It doesn't seem to be a network or hardware issue - Steam in-home streaming on the same laptop looks pretty good at 720p/60fp with the new Nvidia hardware encoder in the latest beta, so long as the bandwidth limit is set high enough (10mb/s or more). I noticed there's no bandwidth setting in Limelight for windows, could that be the problem? what does it use as the default? is it using hardware decoding?
[Shield General] nk33:
ok guys...sounds good but does anyone know why after I pair my pc with my nvidia pc I keep getting this message?

"The app steam is not in the GFE app list"

it works perfectly from my 2 android devices...

thanks in advance...
[Shield General] Yegwen:
Hey. My google-fu failed me.

The app itself seems to work fantastic on NVIDIA Shield Tablet - it produces better quality image than the NVIDIA's stock application.

Here's my problem - I have no idea how to perform a right click. Neither with the on-screen touchpad that is the default control or the bluetooth mouse I have. Any ideas?
[Shield General] goldennboy:
Is there a step-by-step instruction on how to use the "Moga Pocket" controller with limelight? I am having a very hard time getting the controls to work in Skyrim. Right now I am using the Moga Universal Driver. In gamepad mode none of the controls are working - in keyboard mode i can use the right analog stick to walk around, but nothing more.
[Shield General] ofb:
Ok, figured out what my problem was. If you are running server 2012 or 2012 r2 instead of windows 7 or 8, you HAVE to have Quality Windows Audio Video Experience (aka qwave) installed as a feature. If not, it will never actually launch anything because nvstreamer.exe silently errors out. If you run that file manually in windows from the NvStreamSrv folder, it will error out saying it can not find qwave.dll. Installing the said feature fixes this as soon as you restart. Figured I would post this in case anyone else comes across this issue.
[Shield General] linkandzelda:
Hello,

Thought I would post to say this is a fantastic project, and it's working fantastically well. To see something running at 1080p 60fps on my phone, it's simply incredible, never expected to do this in a long time. The question I have is regarding packet loss. I have a TP LINK N600 connected via ethernet to my PC, and connected to my Note 3 on 5GHz wifi. This device is also separated from my main network and feeds off another router. I've set the bitrate in the app to 20 Mbps. Every 2-3 mins I get about 10 seconds of packet loss where the FPS is about 5-10, completely unplayable during these episodes, to which things return to normal. I'm not sure if this is a common experience but I get the same issues with 1080p @ 30fps. I just wondered if this is an issue with my network setup, my device, my PC or the app itself. I'm grateful for anyone who has any tips or tricks I can do to fix it since its running so perfectly otherwise.

Thanks in advance.

EDIT: Forgot to add, I'm using a iPega controller connected via bluetooth, though from what I understand 5GHz wifi shouldn't be affected by it.

EDIT2: Took off the controller, the issue still happens, so I guess that can be ruled out.
[Shield General] ofb:
I don't know if this will help for you but I set my droid bionic to 720p/30fps and then to 20Mbps and it helped mine quite a bit, will do more testing later though.

Also, the reason I'm using 720p is because I kept getting messages saying my device wasn't decoding fast enough, though at those settings my games seem to be pretty playable and the pauses went away.
[Shield General] linkandzelda:
Thanks for the tip, tried 720 @ 30 and @60, got the same issues unfortunately with no seeming difference between all 4 settings. I'm gonna try another device for the hell of it. Will keep experimenting.
[Shield General] ofb:
One thing I noticed on mine, if I change the bandwidth setting before changing the size/fps setting, it changes the bandwidth setting. So 720 @ 30 set mine to 5Mbps, I had to go in after that and increase it. Just something to check?
[Shield General] linkandzelda:
Just tried it on the nexus 7 2013, the issue is much much less apparent if at all present, only happened once in 10 mins. All on the same network, im beginning to think its the note 3 at fault. I make sure the bitrate settings are correct each time I startup.
[Shield General] TehCrucible:
Anyone know where this is at with Ouya? Still got no right stick on the default controller. Any workarounds?
[Shield General] cgutman:
Huh? Can you clarify?

You're testing on the Ouya with the Ouya controller? Are you using Ouya store version of Limelight, Amazon store version, or a manually sideloaded APK?
[Shield General] TehCrucible:
Haha sorry, my post wasn't very informative, was it? I'm using Ouya 1.1 (new black one) on latest firmware. Tried both Ouya store version and sideloaded apk. Using latest version of limelight (2.5.3 is it? sorry not at home). Latest driver and GFE for a GTX780. Xbox 360 controller works fine, however standard Ouya controller's right stick doesn't seem to work. I've tested one or two controller supported games from steam, as well as the controller mapping software Pinacle Game Profiler (which works, detecting limelight as an nvidia shield, however same issue: no right thumb stick).

I'll be home in an hour or so if you want me to post my vendor .kls for the Ouya? Perhaps they changed something with the new revision? Thanks for the quick reply. To be honest, I haven't really spent a lot of time looking into it at the moment, I just posted here on the off chance it was a known issue.
[Shield General] goldennboy:
Okay found out what was wrong: You have to use x360ce and, if youre using ENB, switch to the ENB Injector version.