yashsingh1/xdaforums huggingface dataset:
[Shield General] powermarcel:
Hi guys, in the first place, thanks for all of your work! I'm really impressed by the smoothness and low latency of this software. Never seen anything like this that is working so well!

One thing I'm struggling with..

I'm using this to stream games to my note4 with a homido as VR solution. This in combination with tridef 3d.

Problem is that the image is sent in full screen to the note, and that is to big to fitt the screen for the homido. The homido has round lenses, so I can't see anything that is in the squares of the screen. Is there a way to get the image that comes to my screen make a bit smaller?

Verstuurd vanaf mijn SM-N910G met Tapatalk
[Shield General] seven2099:
today's your lucky day! :)

I have a perfectly working similar setup.

You don't know how hard it was to find a good solution for this, I looked everywhere... Here's what I figured out though

Since the lenses on the homido don't actually do anything other than compensate for having the screen close to your eyes, what need to do is create custom resolutions to stream the game.

1920x2160 (8:9 screen ratio) or for better performance

1280x1440

This shrinks the whole view perfectly into a working aspect ratio you can see through your lenses so it looks like you are watching everything in a big cinema instead of having everything squashed and skew.

This can be done for both nvidia or ATI using their driver interface (google it)

Once you've created the custom resolutions, they will be select-able (in most modern games at least) and that will solve everything for you.

If you combine your Homido with TrinusVR you can get decent gyro headtracking going for games like Alien Isolation or Outlast (which are mind blowingly scary)
[Shield General] powermarcel:
Hi! Thanks for your reply! :) Really apriciate it..

I have tried your solution, but can't get it done. Let me explain what I did.

I have a 40" 4K monitor, and I created the resolution you told me (1920x2160) On my monitor, I see now black bars on each side, so that's fine. Problem is that when I start a game using moonlight/tridef/nvidiastreamservice, the image is still full size on the screen of my Note4! Whatever I change to the resolution in game or in Windows, the image on the phone will stay fullscreen, and it neet be be smaller.

Can you confirm that you have black bars on your phone? Normally I hate black bars, but for now, I need them! :p
[Shield General] seven2099:
Yes, I have the black bars on the top and the bottom. That way the game looks like if its on a normal giant TV, instead of being stretched all the way to the top and bottom.

Oh! I forgot to tell you, the custom 8:9 screen ratio resolution requires it to be derived from the full screen resolution of your phone so this is what may be causing problems for you.

In my case I'm using a OnePlus One which has a native resolution of 1920x1080 (in landscape mode). This means that by setting the resolution of 1920x2160 what I'm doing is actually doubling the vertical lines displayed on my phone so I can have black bars on the top and bottom of my screen, therefore creating a smaller screen, with the correct aspect ratio for most games to work in.

So in your case, your phone I think it has a much higher resolution than 1080p and also a different aspect ratio (not sure) so what I would do is grab the resolution of your phone and simply double the vertical resolution like I've done with 1920x1080.

1080 x 2 = 2160, so I'd try the same with the vertical resolution of your phone.

Note that when I refer to vertical resolution, I mean as if you are holding the phone in landscape mode.

Does this make sense?

Note 4 = 2560x1440

You'd need to double 1440 and use that as your vertical resolution number

So create a resolution of 2560x2880 or a derivative of it (2560x2880 divided by 2 for a lower resolution, better performance)

but just to be sure, make sure you create a custom resolution with the numbers in the correct place. Meaning, the 2560 would be your horizontal resolution, and 2880 your vertical one, that way when Tridef doubles image for side by side 3d, it gets squashed to the correct aspect ratio.

Also make sure your display scaling is done by your GPU and not your display, that way you force the correct aspect ratio to show up. This can be configured in the same driver settings for both ATI and Nvidia GPUs.

If you can't figure it out let me know and I'll gladly help any way I can.
[Shield General] powermarcel:
Thanks again for your help. I tried what you said and created a couple of 8:9 resolutions. They are showing well on my monitor, but what ever I try, the image on my Note is still full screen. It's driving me crazy!

Tried a lot of different settings, but it doesn't effect the image size of my phone. Can you tell me wich version you use of Moonlight and Geforce Experience? Maybe a new version will always sent a full screen signal..

Strange thing is that there is an option in the moonlight app where you can select: "Stretch video to full-screen". But with or without this setting enabled, it doesn't make any difference..

I you have any other suggestions, they are welcome!
[Shield General] seven2099:
Did you try changing this? (see attached screenshot for GPU scaling settings)

Moonlight version (latest playstore version) - last played today.

selected resolution 1080p @ 60fps

stretch video - enabled

optimize GPE settings - enabled

play audio on PC - enabled

I'll post a screenshot and picture of what it looks like with 8:9 with these settings both on my screen and phone.
[Shield General] powermarcel:
Also with that settings configured, I'm getting full screen on my phone..

I have no idea what it is. Maybe the phone is stretching the image? I don't know.. It looks like nVidia stream service override the pc settings and does what ever 'he' wants..
[Shield General] seven2099:
This is what it looks like with these settings at 1920x2160 (see both a picture of my screen, and phone)

As well as the custom resolution in the nvidia panel.

Also, some games refuse to scale properly without extra modification (all of the source games, HL2, portal, l4d2). Despite showing the correct resolution, the games stretch to 4:3, 16:9 and 16:10 (mainly because of UI issues). To fix that for these games you need to google a bit for custom display ratios for this engine.

In the end, if all of your settings are in order the next thing to check is game settings.

Here is Assassin's Creed 3 running in 3D

pic3 is a photo of my screen

screenshot_2015xxxx is a screencapture of my android screen taken natively

and capture2 is my nvidia panel resolution settings for different custom resolutions I use

Do you know that if your game is a DX9 game, you can natively set up tridef to run in Occulus mode which does exactly what you want it to do (squashed image, forced 8:9)? You need the latest paid version of tridef for it though and it doesn't work so well for all games
[Shield General] powermarcel:
Thanks.

It would be nice if we can get something like this on our phone:

But what you get is allready a lot better than the results I have. However, can you see the whole picture true your VR glasses from left to right? I mean, you have black bars up and down, but not left and right..

I have downloaded the vr add-on allready for tridef, but was not able yet to get it working. Maybe that has something to do with the directX9 thing. I will see if I have something on my pc with directx 9! Thanks for the suggestion..

Will that addon make the screen look like the image I posted above? That would be awesome.
[Shield General] seven2099:
Yes it will.

In Tridef 6.6 go to:

Tridef Ignition -> Tools -> Display Settings -> Occulus Rift -> Any setting will work

Like I said, it only works on dx9 games. I'll take some pics for you of Outlast running in my VR HMD
[Shield General] powermarcel:
Great, will check it out!

I am downloading farcry 3 now as I can't find my original copy. That game can be played with Directx 9 and has also support for tridef.

Oh and a screenshot will be nice! :)
[Shield General] seven2099:
Here you go!

Pictures of the headset left and right eye + screen in the background
[Shield General] powermarcel:
Nice! Really nice!
[Shield General] powermarcel:
A small update; using the rift addon for tridef is it working really wel! Only problem that only directx 9 games are working but they are working on that so let's hope that other games will work soon. Trinus for mouse tracking is working also very well! Thanks for all your help!

Verstuurd vanaf mijn SM-N910G met Tapatalk
[Shield General] seven2099:
glad I could help!
[Shield General] mrgoochio:
Android Keyboard

I haven't used moonlight in a while (since it was still Limelight) but it seems like my android keyboard isn't working anymore. I've updated to latest version of Moonlight for Root (3.1.7 - June 15, 2015 version) and I've tried using latest GFE 2.4.5.57 and I've tried downgrading to GFE 2.4.5.54 but didn't have any luck getting my on screen keyboard to work at all.

I have a Nexus 6 on 5.1 and I used to be able to use the on screen keyboard with SwiftKey Keyboard because the stock Google keyboard didn't work, but SwiftKey Keyboard doesn't seem to be working anymore either.

Anyone else have this problem? Pretty frustrating :(
[Shield General] Bboy486:
Game streaming to other Android devices or PCs with Moonlight and GeForce Exp...

Hi the Internet streaming link just goes to the nvidia futon landing page. Is this by design or is it an old link?
[Shield General] jeebspawnshop:
Gotta love people that quote the ENTIRE OP.
[Shield General] NapalmDawn:
Glad somebody beat me to it.
[Shield General] Bboy486:
Game streaming to other Android devices or PCs with Moonlight and GeForce Exp...

I'm a jerk apparently. I edited it. Apologies.
[Shield General] cgutman:
Fixed the link. Thanks.
[Shield General] Lexiy:
steering wheel

I use Moonlight for streaming games on Android-device. I control the game on the PC using the keyboard and mouse. But when connected to a computer steering wheel or a gamepad - the game does not see it. Is there a solution to this problem?

(sorry for my english)
[Shield General] jpeich:
Hi,

Back button on Nvidia Shield Android TV game pad does not exit stream, only Home button does . NP but it would be great to have it done.

I don´t use gamehub streaming, Moonlight is infinitely better!

Thanks
[Shield General] NapalmDawn:
So this is interesting. You have direct experience using nvidia's streaming service on the nvidia tv and moonlight? You like moonlight better?

Have you rooted the box yet? I have mine but haven't hooked it up yet as I plan to go right into rooting it before starting (the pro/500 gig version)
[Shield General] jpeich:
Yes, moonlight streaming gives better quality for similar bitrate imho.

I haven´t rooted the box as I don´t need it and also becasue I have experienced that rooting/kernel changing can make latency worse or break some features. I have tested xiaomi mipad (tegra k1) , zte funbox (tegra 4), intel (google nexus tv) and the Shield Android TV is simply gorgeous at streaming. The nearest device was xiaomi mipad but it was not connectable to TV. I remember having worse latency when using a non stock ROM. I also have experienced worse latency (17 ms) in tegra devices because of "project butter" vsync implementations.

If you are not using cifs shares or exotic backup utils I don´t see the need for rooting... or at least not risking the faboulous performance of gamestream of this box.

Regards
[Shield General] ciscossj2:
Hey guys, first off, thank you so much for making my dream possible with this app allowing me to stream my PC from my phone. It works beautifully. You guys are Gods in my eyes. Lol

I have one problem though that i really don't understand and have tried searching for an answer but have failed.

When I'm connected to ANY other networks but my home network (WiFi, LTE) on my phone, i am able to establish a connection to my PC through Moonlight, i am able to launch anything with no errors, but i only get audio, no video. While testing at home (phone connected to LTE) i can control my PC perfectly and hear everything with about 22 ms latency but no video. I have tried playing with every Moonlight setting available. Set the bitrate to 1Mb, 720p 30 fps, different decoders. Router ports are forwarded correctly. No issues connecting. The only thing i thought could be the issue was Internet speeds. At home i have a 150 Mbps connection and thats the only place i get video. Other connections ive tested are between 3-15 Mbps but no video. Is there a specicific limitation i am not aware of? I have read some posts of people working fine on a 3 Mb connection on LTE. I apologize if im missing any necessary details needed in my explanation, i just don't think it's PC related. By the way, i have a Note 4 with a Snapdragon 810 chip. Thank you in advance.

Edit: Figured out my problem. One of the ports i needed to forward was set up as TCP instead of UDP. I feel dumb :rolleyes:
[Shield General] NapalmDawn:
Thanks for the information. I'll try it right out of the box then.
[Shield General] tallnerd1985:
[MENTION=2844433]cgutman[/MENTION], holy cow, the new GFE 2.5.11.45 that loaded last night has totally killed Moonlight on Android as far as decoding goes, about 90ms decode time. But I am guessing you already know this
[Shield General] cgutman:
I'm seeing low latency 20-30ms on my Snapdragon test device (Nexus 7 2013 running 5.1.1). Can anyone else confirm?
[Shield General] jeebspawnshop:
On my Xperia Tab Z (Snapdragon 600) I'm getting 45ms with the latest GFE.

I think they're the same numbers I was getting before, but now the audio isn't out of sync like it used to be; the audio sync fix is quoted in the changelog.

EDIT: I should add that I was on my local network when I tested it, and I'm running the rooted Moonlight.
[Shield General] saiotek:
Nexus 7 2012 was 22ms now 88ms

S4mini was 35ms now 135ms

FireTV Stick was 30ms now black screen

:crying:
[Shield General] cgutman:
What GPU do you have? What driver version are you running? What resolution and frame rate are you using?
[Shield General] saiotek:
I have a 760 gtx and playing at 720p 60

Lastest geforce drivers and ge 2.5.11

Deinstalled 2.5.11 and installed latest 2.4 everything is fine
[Shield General] nk33:
Everything fine with latest GE for me as well. Needed a reboot after install as well
[Shield General] akaballer8:
Streaming over the Internet

Can someone please teach me how to setup my device and router to stream over the internet. I opened the ports and used my public IP address with no luck.
[Shield General] jeebspawnshop:
Then you did it wrong.

Nobody can teach you anything that the OP doesn't already indicate.

Review your process, find out what you did incorrectly, and re-do it all.

I followed those same instructions, and succeeded on my first attempt.
[Shield General] cgutman:
I have 2 APKs for you guys to try. Please state the results of each on your affected devices. Make sure you're running GFE 2.5.11.45 for the test.

Please include device model, Android version, and GPU in your post.

NF1 - https://www.dropbox.com/s/3n1u1055m3oz0le/moonlight-nf1.apk?dl=0

NF4 - https://www.dropbox.com/s/252m4kk8xarpt06/moonlight-nf4.apk?dl=0

Use new link: http://xdaforums.com/showpost.php?p=61919159&postcount=2707
[Shield General] halfluck:
134ms and 141ms respectively, i was getting 16ms previously.

Cheers
[Shield General] cgutman:
What device and Android version?
[Shield General] halfluck:
Hello Cgutman,

Android TV ADT-1, Lollipop 5.0.2

Thanks!
[Shield General] cgutman:
Thanks, I have a new build for testing with those having video latency/problems with GFE 2.5.11.

Please mention your device, Android version, and GPU.

https://www.dropbox.com/s/b65m71o8fgt6ibh/moonlight-nf5.apk?dl=0
[Shield General] halfluck:
Thanks! I cant believe how quick you are onto this, why isn't it a paid app?

This version was 159ms, cleared cache, unistallled the old one and rebooted everything (router, pc, android tv)

strange thing is when i revert back to the old play store version I get the same toast lag messages but its more usable.

(GTX 750, Wired Ethernet, Netgear D6300 Router)
[Shield General] cgutman:
Can you confirm that you did stream with low latency with GFE 2.4.5.57 and Moonlight v3.1.7 on your ADT-1 recently? The build I posted fixes my issues and I want to be sure we're not debugging two different things here.
[Shield General] akaballer8:
Fixed

I finally got it to play remotely. I did a factory reset on both my modem and router and then did the same step I did before.
[Shield General] taplamp:
Hello, Gamepad Issues

Hey, I'm having trouble diagnosing an issue that I've got with gamepads. I've used 2 gamepads so far and they both have the same outcome. I'll try and be as descriptive as possible so we can figure something out.

A wired Xbox 360 Gamepad with OTG cable

+

A wired Logitech F310 Gamepad with OTG cable

I'm trying to stream games from GFE on my PC to my Android phone (Moto X) and the latency is terrific, I love this app! But the only issue is that with my gamepad plugged into the phone through OTG, only a few games will work. Here are 3 examples with varying symptoms.

-LIMBO or FEZ on Steam: The gamepad works perfectly, all buttons are functional.

-Sniper Elite III or Portal 2 on Steam: The title menu can detect a 360 controller since the user interface changes to show buttons. But the gamepad controls nothing. UPDATE: I tried Portal 2. All of my gamepad buttons will navigate the menu perfectly fine. Joystick, d-pad, A and B will go everywhere on the menu, but once in game, the controller does nothing other than being able to hit pause and go through the menu some more.

-Half Life 2 on Steam or Garden Warfare on Origin: The gamepad is neither detected nor does any input go through. Completely dead here. Keyboard and mouse through the OTG cable DO work with these however. Only the gamepads seem to have an issue.

Also, I've tried getting this to work on the following devices:

Samsung Galaxy Tab 3: OTG cable detection doesn't work.

Motorola Droid 4: OTG cable detection doesn't work.

Moto X: OTG cable works completely. Gamepad detection is as described above.

Samsung Galaxy Note Edge: Same as Moto X.

Any help is very much appreciated.

Thanks for this app so much, it gives me hope!
[Shield General] nk33:
Sounds like a faulty OTG cable to me!
[Shield General] Bboy486:
Does anyone know why i am seeing this error: connection error failed to start <game>

GFE error: cannot launch the game as isn't been started locally error code 526.

Before I get flamed the game isn't running locally in the pc this happens with all the games I try to run with moonlight (non root) on Nvidia shield tablet.
[Shield General] taplamp:
Fortunately for me, I own 2 OTG cables. After testing your hypothesis, I can confirm it is not the cables. Both cables give the same results. It's more likely software, since the OTG cable (hardware) performs perfectly for some software but not so for others.
[Shield General] halfluck:
Hello Cgutman,

I will try downgrade now, took a while to find a download link for it ==> http://forums.videocardz.com/topic/1247-nvidia-geforce-experience-24557/

Cheers Rob.

---------- Post added at 10:41 AM ---------- Previous post was at 10:25 AM ----------

One thing I notice on these nf1,4,55 builds is I get the toast notification "poor network connection" which I do not get when i roll back to v3.1.7

I run 720p 30fps.

---------- Post added at 10:42 AM ---------- Previous post was at 10:41 AM ----------
[Shield General] Bboy486:
How does this work though. If the 360 controller is connect tot the PC with the usb dongle and you are out of range wouldn't the controller not connect to the dongle? I tried it and it keep disconnecting due to distance.
[Shield General] halfluck:
[MENTION=2844433]cgutman[/MENTION], i've had some success. Down to 36ms on GeForce_Experience_v2.5.11.45 moonlight-nf5.apk. after a full uninstall and and reinstall of moonlight-nf5.apk
[Shield General] MusikMonk:
Moonlight will not magically increase the range of the controller.

This interest of doing this is to play when you're at home and in range of your PC, otherwise you need to get yourself an OTG cable and preferably a wired 360 controller, or something completely different, because the wireless one requires root and a lot of tinkering to work properly (haven't tried it myself as I have an NVIDIA controller, but that's what I've seen others say).
[Shield General] M0rr1s0n:
I was getting a latency increase from approx. 22ms to 45ms while using my tablet with GFE 2.5.11.

I tried this new build and now it's back at 22-23ms as it was before. Works fine as ever!

I'm using an ACER ICONIA A1-810 on Android 4.2.2. The GPU is a PowerVR SGX544.
[Shield General] Bboy486:
Game streaming to other Android devices or PCs with Moonlight and GeForce Exp...

Completely understand. I was not assuming it was an extender just making sure I was reading the info correctly.
[Shield General] ciscossj2:
Hey, how did you fix that intermittent stutter issue you were having? I have the exact same issue no matter what resolution and FPS i choose.
[Shield General] kill_dano:
It just starstarted working better when I updated the app and GFE. I haven't used it in a while and I've got a note 4 now, but IIRC, the stuttering issue was present on my Note 4.
[Shield General] akaballer8:
Download Speed:Lag

Hi, I wanted to know if my lag is do to my device or download and upload speeds. I have the note pro 12.2 verizon. Home internet speeds according to speed test is 70 Mbps download and 11 Mbps upload speed. Work internet 31 download and 26 upload. I tried my games at all settings and even 1 Mbps refresh rate (looks ugly but lags a lot less than any other setting. Same thing happen playing at home on my tablet or at work on my tablet. Any thoughts on this.
[Shield General] akaballer8:
I think it has to do with my device. I used my note edge and the display looked better than my monitor. Is anyone else having this issue on the Samsung Galaxy Note Pro 12.2 LTE? Last question, is this a hardware issue or could it be fixed with software.
[Shield General] nk33:
There is no tinkering with a wireless xbox controller unless you are using a non-genuine receiver. Even in Windows these require you to install the driver manually. the genuine ones simply work when plugged in and need no timkering both on windows and android.
[Shield General] akaballer8:
Desktop to Laptop

Can anyone give me a yes or no. Is streaming from a desktop to laptop available. If yes then were can I find a setup guide.
[Shield General] markb38:
Does anyone know if the rooted version works with Moforoot on the Droid Turbo (Verizon)? Or does the write-protection make the root Moonlight version not work?
[Shield General] cgutman:
Yes, although the PC client is very rough around the edges. Make sure you have Java installed. Download the JAR for your OS from https://github.com/moonlight-stream/moonlight-pc/releases

The rooted version doesn't modify the system partition so it should run fine with write-protection.
[Shield General] markb38:
Sweet! Thanks for the reply!
[Shield General] tallnerd1985:
[MENTION=2844433]cgutman[/MENTION] too bad there ain't any APIs for head tracking while using Moonlight and a Gear VR. I think that is the next step for your app to be fully dominant over any official Shield product.
[Shield General] cgutman:
Check out Stream Theater. It's a Moonlight-based GearVR app.

http://www.reddit.com/r/streamtheater
[Shield General] tallnerd1985:
Are you doing the port or is that someone completely different?
[Shield General] cgutman:
It's done by another developer (not any of the original Moonlight team - similar to Moonlight Embedded). Stream Theater is based on Moonlight Android and Oculus Cinema code. I've used it on my S6 Edge and it works pretty well. I haven't used the SBS mode though.
[Shield General] tallnerd1985:
[MENTION=2844433]cgutman[/MENTION] holy cow, it works pretty damn well over the last couple days. Now if only we could find a way for full immersive stereoscopic 3D mode, then this will be the ultimate combination.