yashsingh1/xdaforums huggingface dataset:
[Shield General] cgutman:
I think that's an Android bug. It's receiving input from a device that it thinks has a mouse, even though the input itself is not from the mouse.

Anyway, I have a build that should fix it. Rather than disconnecting from a keyboard, this build will forward the keyboard events normally. https://www.dropbox.com/s/3ikt8hj6v25m5py/Limelight-root-kbdsupport.apk

Hardware decoder latency is the average time that a frame spends in the hardware decoder. Total client frame latency is the average time that a frame spends from the moment we get the first packet on the network to the moment it's sent to the display to be rendered.

High packet loss rates can cause both of these to go up (somewhat counter-intuitively). When packets are lost, the PC must send a full reference frame containing all the picture data. Normally, the stream is just a bunch of delta updates to the picture for lower bandwidth consumption. This is H264 compression in action. When a full reference frame is received, not only does it take longer to receive and process in the client, but the decoder often takes much longer to process it.

100 ms of latency for 1080p30 on a Nexus 7 may be a bit high but it's within range of what I'd expect.

Your frame rate will directly influence latency because most decoders buffer a fixed number of frames (vs. a fixed amount of time). Sending double the amount of frames in a given time period cuts the latency in half. This means that 30 FPS will almost always have more latency than 60 FPS (unless your device can't handle 60 FPS).

Higher resolutions make the decoder have to work harder to decode frames, so it makes sense that 1080p is higher latency than 720p.

Your Nexus 5 results are also quite typical. The Nexus 5 is running a Snapdragon 800 which has a more capable decoder than the Snapdragon S4 Pro in your Nexus 7 2013. Snapdragon 800 is capable of 1080p60 streaming, while earlier Snapdragon chips are not.

Your 2012 Nexus 7 runs a such low latency due to the Tegra video decoder. The latency of Tegra's video decoder is lower than anything else that I've seen on the market. It's not just because Nvidia also controls the GPU hardware on the PC either; the Tegra decoder is just better. Tegra is the outlier in decoding performance. A Tegra 3 from 2011 is still faster than a Snapdragon 801 from 2014, even when the Tegra 3 is decoding 1080p60 and the 801 is decoding 720p60.
[Shield General] MalaBouM:
ok you're not a master, just a god ! it's run perfectly with the last build, very thank you. i love your soft. i run sims 4 in 1080/60 on my tf701 with 6ms. Seriously you must published a paid version for your work or open an account to accept donate.

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] cgutman:
Thanks for your help. I have one final build for you to try. Please test bluetooth mouse, built-in trackpad in your dock, and the keyboard in your dock.

https://www.dropbox.com/s/wujxw7s98f2pd7f/Limelight-root-final.apk

It does connect to GFE for game streaming, but it always looks for Steam in the GFE app list.
[Shield General] nk33:
If it connects straight to gfe, then why when I use my android devices to connect, do I get a nice list of games from gfe click and play with ease, yet when I try and connect using limelight from pc, it gives me slow choppy steam interface?
[Shield General] cgutman:
Because somebody bothered to implement the fancy list UI on Android, but not yet on PC. The Steam choppiness is unrelated: https://forums.geforce.com/default/...ching-steam-on-the-shield-hub-i-see-bubbles-/

Limelight-PC is still technically a beta.
[Shield General] MalaBouM:
hi, bluetooth mouse works, dock keyboard to and built-in trackpad works perfectly !

All hardware inputs are working like a charm, thanks all my game seem to be perfectly playable.

For futur update can you add on option to add a steam banner for the game ?

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] nk33:
Fair enuff. Thanks for clearing that up mate.

Any idea how long before the pc version will work like android one?
[Shield General] MalaBouM:
hi Cameron, finaly i have a problem with your last build. The special function of keyboard dont work when limelight acquiere the root right. Is there a solution because the key shift-tab is very important for steam game. Thank you

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] cgutman:
What do you mean by a steam banner?

Hopefully soon. Last I heard the developer was making some modifications so we could merge it again.

I can't reproduce this with my USB keyboard. I suspect it's something to do with the dock itself. Is right click working on your dock?
[Shield General] MalaBouM:
OK i try this in few minutes.

Envoyé de mon LG-D802 en utilisant Tapatalk

---------- Post added at 08:35 PM ---------- Previous post was at 08:28 PM ----------

if i use the bult in trackpad right clic doesn't work and i have two mouse cursor. priority is alowed to android cursor but if i use bluetooth mouse right clic works great and this mouse controle juste the windows cursor. my english is very poor and i m sorry for this, i'm clear ? steam banner is jpg used by steam for games in grid view.

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] cgutman:
OK, see if this build fixes right click on your built-in trackpad. If not, please upload a logcat log of you trying to right click.

https://www.dropbox.com/s/y0oinhr4fqpramh/Limelight-root-debug.apk?dl=0
[Shield General] tallnerd1985:
cgutman - I think he means the posters from GFE to be displayed along with the text title kind of how the Shield does it.
[Shield General] MalaBouM:
Hi the last build have same issues that the previous version, right click with built in trackpad dont work and special key of the keyboard dont work too. the only difference with previous build is tha adroid cursor dont disapear.

here is the logcat: https://www.dropbox.com/s/pdo6krauzmezn65/limelight.txt?dl=0

i push right click of built in trackpad four times at the end of logcat.

Thank you

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] NapalmDawn:
WHat TF device and what ROM are you using? Also, are you using the stock ASUS keyboard? There are some roms that have issues with the special keys of the TF keyboard docks.
[Shield General] MalaBouM:
hi i use TF701 with stock but rooted 4.4.2. special keys works with limelight for no root but dont work with mouse enhanced version (with root)

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] daddylonglegs:
I don't know if this is the wrong thread for this, but I bought the NVidia Shield controller. Is there any way to get it to work on other Android devices (like the FireTV?). The Shield controller uses Wi-Fi/RF (the same thing the 360 controller uses) so I am not holding my breath but it would be nice.
[Shield General] ofb:
It basically only works with the shield tablet for now from what I understand since it's using wifi direct.
[Shield General] MusikMonk:
The Shield controller uses Wi-Fi Direct, the same thing as the Xbox One controller.

Edit: Ninja'd.
[Shield General] daddylonglegs:
Thanks. I guess I am not on the up and up with the terminology, but does that mean Wi-Fi direct does not work across devices?
[Shield General] ofb:
Very few devices use Wi-Fi Direct right now, the 360 does, and the shield tablet does, I think the original shield might but I could be wrong on that, other than those though, it's a very slim selection of devices that have the hardware to use Wi-Fi Direct devices.

Edit: Ok, guess I'm wrong on the hardware. Looks like it's backwards compatible BUT I'm not so sure on that since they said it was in android from version 2.3. Thing is, samsung seems to be the only other one doing Wi-Fi Direct, at least in their options, and from what their instructions say, you can't use the phone's wireless to connect to the internet and use Wi-Fi Direct at the same time, it's a one or the other type thing. Though those instructions may be a bit old so the newer devices may be able to do both. *shrugs*.
[Shield General] MusikMonk:
Theoretically, it makes it more likely to work with other devices since it's not proprietary and Android supports it.

But I'm not a developer (at least not that kind of developer), so I can't really say how feasible it actually is.

Anyway, I think that this is probably not the place to discuss this subject.

Edit: *sigh* Ninja'd yet again.

The 360 used a proprietary protocol. You're thinking about the One. And the original Shield does support it because it has been updated to work with the controller.

Also, I'm positive that most, if not all, of the recent high-endish Android devices support Wi-Fi Direct.
[Shield General] nk33:
Ipega gamepad...same as 360 pad...unbelievable it works just like it and has a place to hold your phone while u play!
[Shield General] cgutman:
Thanks, it's pretty much as I expected. There aren't any right mouse button events generated. Can you upload another logcat with that build left clicking a few times?

I've got one in the mail. Luckily all this work to support raw input for Limelight means I now have a good idea of how I'd go about writing an app to support the Shield controller. I already wrote tools for other projects that should make figuring out the controller details pretty easy. I wouldn't expect support for the integrated microphone or speakers though. Hopefully I'll know more about what's involved today or tomorrow.

It's true that the Shield controller does use Wi-Fi Direct which is present on many mid to high end devices for at least 3 generations. It's used for Miracast support also.
[Shield General] MalaBouM:
hi, i just made this logcat, https://www.dropbox.com/s/ndoh4r76qrb4dw2/limelight3.txt?dl=0 i have push 3 times left click and after 3 times right click on built in trackpad with the last build. thank you ! have you got my email ?

Envoyé de mon K00C en utilisant Tapatalk
[Shield General] daddylonglegs:
Oh wow, are you serious? You can actually implement the NVidia Shield controller to work? This is incredible! Do you have a donation page or something?

:highfive:
[Shield General] ElectricPulze:
I just wanted to bring forward my solution for others who might have the same problem as I had.

Just to let you know, I'm not sure if this is agains some XDA rule, but I'm going to be honest. I "pirate" apps (download the .apk's without paying) to see if the wanted app works on my phone. If it does and I want to keep it, I always buy the app to support the developer. If you want to try my method you have to own a legit version of the app.

I was on the edge of giving up when I found the help tab inside USB/BT Joystick Center GOLD. I was reading what you could do with it and suddenly I found the fix I tried to find earlier. A Xbox 360 Controller emulator! You need root access to use this function and my phone (i9305 running Cyanogenmod 11 Nightly at the time) couldn't use the Joy2Touch function properly (kept restarting/reseting). So I read about the FAQs/bugs.

It stated:

- CyanogenMod 11: "It seems that some devices get some problems with the newest CM11 Rom Version. Try to use the CyanogenMod 10"

- Samsung Galaxy S3: "There are some problems with Custom Roms + Joy2Touch (not working). I've tested the Joy2Touch with the rooted Stock Rom (Android 4.3) and all is working fine."

I didn't want to go back to Stock (to root and fiddle with KNOX) so I wanted to try another ROM with root access. My savior was named Android Open Source BAM. I installed AOSB, USB/BT Joystick Center GOLD and Limelight. Inside Joystick Center I had to manually configure my Xbox 360 Controller buttons to match the emulated x360 controller. The click buttons when you push in the dpads had to be added in the driver tab manually(create new button->spam the missing button to find the input->select the input so it's marked yellow->assign it to a button on the emulated controller). Then it's simply to follow the instructions in the help tab.

USING GAMEPAD EMULATION MODES (Native/X360/PS3):

A Lot of games have native support for X360 and PS3 gamepads. With the Gamepad Emulation Modes you can emulate a X360 or PS3 Controller with any of your Joysticks or Gamepads and so you can play a lot of games natively. Also you can use the NATive Mode to send the Keystrokes direct (NATIVE) to the Android System and not over the IME.

1. Enable IME (Input Method 'USBJoyGOLDIME')

2. Press 'Search' for connected Devices

3. Enable Gamepad Emulation Mode and switch to the needed Emulation Mode

5. Now you can map the Keys to hardware buttons

6. Press home and start the game
[Shield General] ofb:
Which model of the Ipega gamepad are you using?
[Shield General] nk33:
iPega PG-9021 mate. Use on both Galaxy Tab Pro 8.4 and my S5 flawlessly.
[Shield General] ofb:
Does the Tab Pro fit in the slide out holder? Been thinking of getting me one of these for my Tegra Note 7.

Edit: Nevermind, description says that it fits a 6 inch phone, guessing my 7 inch tablet it out, though it would still beat using a 3rd party wired xbox controller. *shrugs*
[Shield General] nk33:
No chance - LOL - even if it did, its way to heavy for a bracket like that to hold....even NVIDIA kept their shield tablet and controller separate for that very reason...
[Shield General] ofb:
Yah, thought as much after posting that, so I looked it up and read the description. lol Anyway, still thinking of getting one, like I said in my previous post after editing it, would be better than my 3rd party wired xbox 360 controller with that long white cable to deal with. Though I found that using my bluetooth keyboard and bluetooth mouse works great with the Note 7 for a lot of things, though playing an MMO or FPS at 1080p on a 7 inch 720p screen is kinda rough, think I may have to lower the resolution on the desktop first. lol
[Shield General] nk33:
yeah - mos def! - though i been playin wolfenstein using the pad on my Galaxy S5 and it feels fine. the Tab Pro 8.4 goes up to 1600 x 2560 so 1080 is a dream on it!

funny as i have found it to lag sometimes when i am on the same network even with a strong signal - yet with 4g will work flawlessly. i have realised this is due to the sheer amount of access points in my area causing major traffic collisions - changing channel sometimes works - using an N-Band access point is the only way to avoid any of this i have found...but once these become standard the problem will come back.
[Shield General] daddylonglegs:
I have never had luck with Bluetooth game controllers on any Android device. There is always a lot of lag. PS3 controller, random BT controller, it doesn't seem to matter. The only instances I don't see input lag is when it is wired over USB to the Android device, or when using a Wi-Fi Direct device like the NVidia Shield controller.

Isn't this just how Android handles Bluetooth and there's no way around it (besides using WiFi direct or USB)? Trying playing any NES or SNES platformer and it's almost impossible over Bluetooth in my experience.
[Shield General] ofb:
Well, just ordered one of the Ipega PG-9021's, it will be here Thursday so I'll find out then. In the mean time... I'm stuck dealing with the long cord on my 360 controller. Other than that, I was able to get in a quick session of STO using limelight just now, not bad but no point trying to read the chat on the 7 inch screen. lol
[Shield General] nk33:
anything bluetooth will never be 100%....that goes without saying. But all my games are 100% playable with that pad. If there is a lag, it isn't noticable....i suppose it also depends on how fussy you are I guess...

I use n64oid to play mario kart 64 with that pad and it works great...so snes and nes should be no problem!
[Shield General] daddylonglegs:
Trust me, try playing Super Mario World or Super Mario Bros 1. You will do much worse when using a Bluetooth controller.

I think the problem is just native to Android because the Wii and PS3 use Bluetooth and there is no input lag on those consoles.
[Shield General] nk33:
well maybe you are using the wrong controller because if it can play the new wolfenstein, fifa 14, ultimate street fighter all without any problems i am sure it can handle a 32mb 3d platformer....
[Shield General] daddylonglegs:
It has nothing to do with "handling" a 32mb platformer (I think you mean 16 bit?), it has to do with input lag and Bluetooth on Android. You might not notice it on games like Wolfenstein but on something requiring incredible reflexes (jumping onto a small block in Super Mario Bros) for whatever reason, Bluetooth on Android makes it near impossible.

Again, I've read it is an issue with the way Android handles Bluetooth.
[Shield General] nk33:
Good attempt to patronize with the 32mb thing but I was actually referring to the size of the rom (which was only a rough guess), not the architecture of the board or system.

Anyway, I understand it is to do with the signal etc, however with the games I mentioned you probably need to be more precise, eg aiming... I will attempt it on marioworld with this pad and report back.

---------- Post added at 08:24 PM ---------- Previous post was at 07:36 PM ----------

Ok, so just tested with Super Mario World and this ipega worked just like a snes pad...methinks its one or a combination of some of the following factors which is causing the issues you get.

1) bluetooth version - i have 3.0

2) device

3) gamepad

4) android version

5) emulator itself

I would suggest the pad and bt hardware are the 2 most likely
[Shield General] daddylonglegs:
I was not trying to patronize with the 32 MB comment. I just didn't know what you were going for. Chillax!! :highfive:

(By the way Suoer Mario World is half a MB if you can believe it :) )

The lag I am experiencing is with the PS3 controller. I had read back when the OUYA was released that it too had poor response time due to Bluetooth and how Android handles it. I am using the Fire TV and this app looks glorious by the way! Major props to the OP again!
[Shield General] jarjarfinks:
So, is there any more encoding options

So, so far there is only control over bitrate, resolution, and frame rate. I would assume that GFE is what actually sets that, and you can only go off of the bitrate "preset," correct me if I am wrong at any point.

I was wondering if theres a stream parameter, maybe in the headers sent for initization (which is how I figure you pick bitrate to begin with), to change the bitrate and other options to completely user defined constants. For example, I get about 3Mbps upload speed, despite Cox claiming I can get "up to" 10Mbps, I have had a tech come out more times than I can count on two hands, and with no fix. They are throttling my connection, and they can't convince me otherwise.

So, in that example, I'd like to say, GFE stream at 2384kbps, 30fps, and 720p for example. I figure motion estimation, quantanization and other variables are unavailable to change, but I am asking you really. Let me know what you can tell me or figure out if you can.
[Shield General] daddylonglegs:
I am assuming you are trying to stream from a different location than your home?

Otherwise your upload speeds should not matter. We lost internet in our home the other day and I was still able to stream to my FireTV just fine :)
[Shield General] tallnerd1985:
cgutman - Have you gotten your ADT-1 yet? I just got mine today and was going to load LimeLight on it later but was wondering if you have made use of the lean back UI yet?
[Shield General] Chaosgod27:
Wow, I tested this app again after 9 months or so and I'm amazed at how much this streaming platform has improved. It's way more efficient and fast than ever. It now runs on my old Tegra 2 Motorola XOOM tablet, which back then it used to struggle quite a bit.

Big props to cgutman and everyone who helped out!
[Shield General] YukiLong:
Works wonderfully

Tried this app recently, Works great. Tested with GS4. Can't get it to work on my work computers though (Probably firewalled). One thing I would like is native keyboard gesture, and maybe a gesture to get back to menu while streaming without closing the app. I haven't gotten to test it with a BT controller. I have just installed Sixaxis on my GS4 but I was having trouble pairing it with the controller i have.
[Shield General] jeccross:
Mouse support - spen

Hi,

Is there any chance of getting mouse support for the spen, Scumm emulator does this well with mouse moving when you hover, tap is left click and button press is right click?

If this was implemented it would seriously affect my next phone purchase.

Love the work youve done, has saved me from buying a dodgy shield tablet.
[Shield General] nk33:
Wonder if anyone can help.

When I exit a game from within the game's menu, it doesn't seem to exit properly, I always get the nvidia game streamin black screen and it hangs there...I cant even back out of Limelight...I have to force close it.

I then have to go back into Limelight to highlight the game from the list and hit quit in order to close it.

Anyone got any ideas?

Thanks
[Shield General] ElectricPulze:
I had the same issue, I got it to work by reinstalling Nvidia Experience and restarting the pc. Tried that?

---------- Post added at 06:02 PM ---------- Previous post was at 05:53 PM ----------

Has or Can someone measure the differance in latency between dual and singleband wifi? I really wonder if it's a good idea to upgrade from my Netgear Wnr2000v2...
[Shield General] nk33:
Mate N-band kicks ass over g. Its not because its much better, just because it's much rarer!
[Shield General] ElectricPulze:
Rarer? As in less networks interfering? I live in a small town where there's no interferance. I want to know if getting a dual band router would lower the latency with limelight and if so, how much? How do I know if I use the N-band on my current router? (It's set up to "allow up to 300mbit/s")
[Shield General] nk33:
IMO it won't make a difference for you.

I am in London. There are about 20 other G networks in my proximity.. only 2 N
[Shield General] ElectricPulze:
I am in a small town in Sweden, There's 1 G network and 1 N network in my proximity. Both are mine (One is a modem with built in wifi and the other one is my Netgear).
[Shield General] Crash Stuntman:
Amazon is reporting that my FireTV (rooted, version 51.1.1.0_user_511070220) is incompatible with Limelight. Is this expected? If not, are there any steps I can take to remedy?
[Shield General] laandennis:
hey guys,

I've got a HTC M8 (rooted) but I can't get limelight to work. I can't find my PC, even when manually inserted

What am I doing wrong ?? (kind of a noob in this section)

Edit: I'm on my home network with both of my devices
[Shield General] jpeich:
Bubbles steam problem solved with beta steam updates

Hi,

Just to note that for the bubbles steam problem, just enrolling onto beta updates the problem is solved.

Kind regards to everyone and keep the good job!
[Shield General] nk33:
Sorry mate, where can I find that setting?
[Shield General] jpeich:
Just entre on steam parameters/general enroll on beta updates...

Regards
[Shield General] Aaronneyer:
Do you have GFE installed and GameStream enabled?

Look for the GFE icon in your notification area, right click and "Open NVIDIA GeForce Experience", then go to Preferences > GameStream and ensure either "On my network" or "On my network and the Internet" is checked.
[Shield General] nk33:
And if that doesn't work, have you got a personal firewall on the GFE PC (host pc)?
[Shield General] laandennis:
yes GFE is installed and I've got the latest update (2.1.1.1) installed but I don't have any menu in preferences about gamestream.

and my firewall in windows standard, and I even turned when it's off but I still can't find my pc
[Shield General] nk33:
Ok, do me a favour and try this - i just want to see if your phone can see your pc on the network.Install an app from the Play store called "FING". It scansthe network via wifi and gives the IP address of every device on it.

Once installed, make sure wifi is switched on on your phone, and that your pc is on the same network. Then run the app and you should see, amongst all the other stuff on your network, your pc and its IP address.

tell me if you can or cant