yashsingh1/xdaforums huggingface dataset:
[Shield General] cgutman:
That's main reason I haven't merged a patch like this into official Moonlight. GFE is very much in flux with 4K support in beta. Once GFE 3.0 is production released in January (most likely), I'll look at it again.
[Shield General] pearce29:
Whatever I do I get sound but no video. HTC droid DNA cm 12.1
[Shield General] cgutman:
What version of Moonlight? Can you try disabling H.265 in settings?

Please also install AIDA64 and screenshot the codecs page (do multiple screenshots if you can't fit all of them on one page).
[Shield General] pearce29:
Disabling h.265 does nothing. Here's the screenshots
[Shield General] cgutman:
Can you send me ADB logs from when you're trying to stream? It looks like it might be trying to use your ROM's ffmpeg decoder instead of the hardware decoder.
[Shield General] pearce29:
I hope that's what u need

https://www.dropbox.com/s/sur3mtsmbpyes8x/Log_2015-12-18_19-17-17.txt?dl=0
[Shield General] rfgamaral:
Would it be possible/feasible to get a bitrate higher than 100mbps?

This is already higher than what GameStream supports by default, but even with 100mbps in Moonlight (I have 1Gbps cabling everywhere) I notice some compression artifacts. I would love to minimize this as much as possible, in other words, increase the video quality as much as possible. I don't know, it just feels like the video quality could be slightly better.

Does anyone notice these artifacts with 100mbps bitrate, or it's just me?
[Shield General] hunter99507:
I dont think this is a bug but just want to provide feedback. I have a shield tv connected to my asus 1900 router via 5ghz. I get about 8 - 10 ms of latency using the h.264 encoder. When i switch it to h.265 in moonlight i get around 260ms for the decoder.
[Shield General] cgutman:
Thanks for the report. Does this happen on all resolution and FPS combo?
[Shield General] hunter99507:
honestly not sure but my settings are 1080p 60fps at 50 Mbps
[Shield General] pearce29:
Find out anything?
[Shield General] cgutman:
Can you try a few other resolution and FPS combos and tell me what the latency is like?
[Shield General] pearce29:
Sorry if I'm sounding rude don't mean to sound rude bud
[Shield General] cgutman:
There is a point of diminishing return, based on the encoder and configuration. 100 Mbps is probably already greater than that point.

Because the encoder is severely time constrained, it can't encode the picture at as high quality as it could with more time.

Those logs didn't have the info I needed. I think you'll have to take them from a PC or some app that can view the full logs.
[Shield General] pearce29:
How would I go about doing that? I'm sorry I'm new to this thanks.
[Shield General] beanmiester:
Does anyone have any suggestions on how to fix this?
[Shield General] Bboy486:
Haven't had any success outside my network to stream games. A few things would help.

1. Auto calibrate settings based on connection and adjust framerate and the bitrate.

2. Automatically lower the resolution to the Internet connection you have

3. Warning if it would be too slow to stream
[Shield General] AlexVipXDA:
why can't get support? why not one help me? this app don't give any messagge of error, simply give me alway connection was trminate... bah!!
[Shield General] jeebspawnshop:
Hey, listen here!

Gutman gives more support than MOST devs on Xda, and he goes out of his way to troubleshoot stuff with everyone that needs it.

I'll also add that he does this all for FREE! HE DOES IT FREE! I can't even begin to describe the honor and kindness in such actions! His app could easily be a paid app, and he'd make a killing because it is a truly excellent app which many people would be happy to purchase.

In closing, I encourage you to either be kind and request his aid - or - get out of here.

PS: Quit complaining.
[Shield General] AlexVipXDA:
It free but i never say i dont appreciate, and if this will be paid if it work i bought. But Now for me not work and i ask help.. No one answare me, i add all details i can for be much easy help me and wait very much time bifore White again, Anyway i not have help

Inviato dal mio LG-D802 utilizzando Tapatalk
[Shield General] cgutman:
If you have root, you can capture log output with this app - https://play.google.com/store/apps/details?id=com.tortel.syslog&hl=en

You just need to capture the "Main Log".

So it's still not working even if you lower the resolution and bitrate as low as it goes?

It's likely that something on your PC stole focus from the streaming window which causes the connection to abort (on Nvidia's end, not mine). There are a few known compatibility issues with:

- Kaspersky AV

- Razer software

- DisplayLink software
[Shield General] AlexVipXDA:
If i take log i can understood wich is problem?

Inviato dal mio LG-D802 utilizzando Tapatalk
[Shield General] hunter99507:
I have tried other resolutions and here are my findings for H.265

1080p 60fps = 274ms

1080p 30fps = 512ms

720p 60fps = 264ms

720p 30fps = 509ms

I couldnt do 4k becuase i got a error that said my computer is only 1080p settings.

Specs

4790k

980ti

Asus 1900 connected 5ghz

Shield android TV with shield controller

Also on a side question. I think this is an issue with nvidia but i just want to confirm. Whenever i play fast moving games such as injustice, the shield drops frames from 60 to i would guess maybe 40 (if i were to guess) for like a half second every once in a while. Can she shield not decode fast enough? This happens on moonlight and gamestream. Also for this issue I am NOT dropping frames using the nvidia gamestream statistics.

Lastly I know you dont really want to but I would encourage you to add a donation app of moonlight to the app store. I would be more than happy to support all of your dedication and hard work.
[Shield General] cgutman:
A log from Moonlight wouldn't probably show the problem. You could get a log from the PC in: C:\ProgramData\NVIDIA Corporation\NvStream\NvStreamerCurrent.log

C:\ProgramData is hidden by default, so you might need to enable hidden folders to see it.

Thanks for the extra testing. It looks like the Shield is buffering 16 frames before rendering 1 (16 * 16 ms = 256 ms and 16 * 33 ms = 512 ms). I think I know how to fix it, but for now I'll disable using H.265 by default on Shield TV.

I have one more request while you're here. Can you update your GFE to the beta version and test 4K 30 and 4K 60 with H.265 disabled? I want to make sure 4K is performing well at low latency with H.264 decoding.

H.265 was enabled by default on your Shield TV right?

Edit: To answer your side question, it could be on the decoder or encoder side. Both have limits in terms of how many macroblocks per unit time they can encode/decode. In addition, you also have instantaneous bandwidth limits, which might force the server to transmit a frame across 33 ms rather than 16 ms to avoid going over the mbps limit.
[Shield General] pearce29:
Hello again, is this good? I used the app you said.

https://www.dropbox.com/s/w6kuk5805o3uec7/2015-12-19_20.53.zip?dl=0
[Shield General] AlexVipXDA:
Thanks for the answer, I immediately proceeded, attached are both logs.

First, however, I give an overview of my situation:

PC: HP Pavilion energy star with intel cpu i7-4510U 8Gb RAM and graphics card NVIDA geoforce 840M.

GFE: version 2.9.0.48 beta (the graphics card drivers are the latest released)

Phone: LG G2 32GB

Moonlight: joined the beta channel

Several times before this last test I uninstalled GFE and drivers of the GPU and have them installed again from scratch.

First I set in the "network card" the ip andress as static. The same ip i set as the "ip preferential" for my pc in the router, in the router I also manually open all the tcd and upd doors, and for last i completely disabled windows firewall; i think I did everything.

ps. is you need i can take log from moonlight, or if you want i can try other test... tell me
[Shield General] cgutman:
That's the log I need but it looks like the Moonlight-related stuff has scrolled out of the log. Can you try streaming then immediately capture the log?

Can you try Moonlight 4.0.1 (latest on Play Store) on your MXIII and see if H.265 improves anything for you? It should use H.265 by default.

The problem is that your Nvidia GPU isn't officially supported for GameStream. You need a GTX-series GPU. I'm surprised you even were able to pair with a machine without a supported GPU.

#6(E)[2015-12-20 02:39:13,598]{000015DC} Failed to open CUDA encoding session (NV_ENC_ERR_UNSUPPORTED_DEVICE).

The 840M is a Maxwell GPU so it is technically capable of working but requires a bit of work. Try following these steps: http://xdaforums.com/showpost.php?p=63335126&postcount=163
[Shield General] endomorphine:
I guess you're using borderless window video mode for your games, try fullscreen
[Shield General] cgutman:
Give this a shot: https://onedrive.live.com/redir?res...0674&authkey=!AKaNt7AWKS1ranU&ithint=file,apk
[Shield General] AlexVipXDA:
How is possible that i am not supported? See the photo.

Anyway thanks now i Try thay

Inviato dal mio LG-D802 utilizzando Tapatalk
[Shield General] pearce29:
Here you go.

https://www.dropbox.com/s/hhp2bncg4m54v99/2015-12-20_18.08.zip?dl=0
[Shield General] cgutman:
Based on your log, it seems to be choosing the correct decoder. It seems like it must be a ROM bug or something. Have you tested YouTube, Netflix, VLC, or others?

You could also see if using an older Moonlight version fixes it: https://github.com/moonlight-stream/moonlight-android/releases/tag/v3.1.13
[Shield General] pearce29:
Hmm, just tried Netflix and YouTube they work fine. The older version no video either.
[Shield General] pearce29:
I tried with a different game and got video! Hey how do I get tridef 3d to work with your app?

Nvm got it to work. Thanks
[Shield General] messiahfreedom:
This happens to me too when playing hyper dimension neptunia rebirth 3. Locally, the game responds to my 360 controller but when streaming, it doesn't detect it.
[Shield General] juasker:
Hello all, did anyone tested it with amlogic processors? How smooth will it work for example with s905? On full hd resolution?

I'm actually thinking to buy or not to buy tv box with this processor to use it for streaming to big tv, or it is waste of time and money
[Shield General] nk33:
When streaming, the 360 controler has to be connected to your device...not the host...is that what you have done?
[Shield General] igrik1986:
Hello,

Will introduce shortly into the problem I have. I got powerful computer(read server) with GTX 950, and many client computers running on Intel Core 2 Duo or even AMD Turion X2 64. I have also few android tablets and phones.

Streaming to android devices runs smoothly, though it does not on client Windows machines. When I start streaming The Witcher 3 on 720p and 30fps, it basically kills CPU, getting it to 100% constantly. Streamed game also lags, and is nowhere playable.

I do believe it could be related to software decoding of H.264, though, I am not sure. Is there away to get decoding quicker or somehow involved GPU decoding? ( I got old GTS 8800 on one of the client computers).

Thanks!
[Shield General] messiahfreedom:
Yeah, I use a USB OTG cable to connect my 360 controller to my phone and use that to play games. All my other games including steam run with the controller except that one game that doesn't seem to detect the 360 controller. Could it be that one game?
[Shield General] Bboy486:
I have that on 2K16 and cannot force it to full screen. Any suggestions?
[Shield General] damunk:
I'm trying to get my MXIII-G (Amlogic S812) to work with moonlight, but anything above 720p 30fps is unplayable because of lag. (1080p 60fps there is like a 5second delay)

Running Windows 10, latest version of GFE, GTX680

Android box is running lollipop, latest version of moonlight.

Everything is wired, speed test shows stable speeds >100mbs so I think this shouldn't be a problem. Streaming 4k from Plex is no problem.

The box should have a H.265 decoder, but I don't think it is working with moonlight. I think in the log it was showing it was using H.264, even though I forced H.265 from settings.

Anyone got any ideas on what I could check to get moonlight working for my setup?

Thanks for the great app!
[Shield General] Orihim:
First off, great application!

I got The Witcher 3 working quickly after adding it manually to the shield games library.

However, it will not find any steam games. The app only works when I don't search for any games. As soon as I search for games it adds about 20 games from my Steam library and Moonlight will be stuck on "Refreshing Apps..." untill it says "Lost connection to PC" (This can take a minute or much longer).

Could the problem be that my Steam.exe is located on my C drive (SSD) and all my games are located on my D drive (HDD)?
[Shield General] nk33:
yes, and you will only need to do this once....

1) launch the game on your device using moonlight

2) go to your host pc and press alt+enter on the keyboard. this will force it to full screen and it should remember the settings next time too

2k16 top game btw! Need a real high end pc to play it with ultra settings though..
[Shield General] Atent123:
Hey there im planning to buy a Pixel C Tablet.

Do you think it works if I set the Resolution of the Tablet AS custom Resolution in the Nvidia driver ?

Does the Ratio of the screen fits then ?

Do you think h265 will work fine in the x1 soc ?
[Shield General] endomorphine:
Moonlight shows applications that are added in GFE library. So if you manage to add only the ones that you need into GFE library, you will succeed to play those games, I guess.

And another guess is that you have poor connection / poor host pc, that's why it says lost connection (NVIDIA SHIELD server not responding).

it's only guesses.

As for Steam.exe located elsewhere, I have same configuration, it's not about Steam, it's all about Nvidia Geforce Experience, your connection and client device

also, you may use STEAM option in moonlight in order to launch Steam Big Picture and launch game from that. I believe it have no influence on FPS

sry for bad english.
[Shield General] TheUniquePaulSmith:
Support for 800x480 on RetroPie?

Sorry if this is a stupid question, but I can't find any posts/documentation/info on how to stream 480p or if it's even supported?

I have a Raspberry Pi 2, with a 5' 800x480 touchscreen LCD mounted.

I had to force a few config.txt parameters on the Pi as mentioned here. Can't post link yet, but it was the following settings

hdmi_group=2

hdmi_mode=1

hdmi_mode=87

hdmi_cvt 800 480 60 6 0 0 0

When looking at the moonlight parameters I see a -1080 and -720 switch but not 480. I also notice there is a -width & -height parameter. How do all these parameters work together?

Now, I am able to use the -720 switch and stream to the device, but there is 1 line above and below the screen where I can still see the terminal while streaming. Putting in the width/height doesn't seem to make a difference from what I saw.

s4.postimg.org/6ulxbo34d/Capture.jpg

Assuming I can stream 480p, will it make a difference at all in network traffic and resolve the aspect ration issue (assuming that is what i'm running into)?
[Shield General] qtong:
Hello everyone!

I'm having a problem with Moonlight connection. I'm getting error: connection refused: connect

I've tried forwarding the ports, reinstaling in clean installation with reboots. Connecting with LAN works perfect. Trying to connect throu internet not.

Got GF 980.

Looking forward hearing any ideas.
[Shield General] nk33:
Who is your isp?
[Shield General] qtong:
UPC , I'm from Europe, Poland. But why would that be of any relevance ?

Also can I check if my ports are open ? I mean i know port checking sites but they show its not opened, but then again it might be that because there is no signal from my "server" at all. Here is some more additional info:

I'm running win 8.1 x64. My aim is to connect from pc to pc. I tried using latest Nvidia Exp and beta aswell. In 1st post, in troubleshooting section there are 2 links. Upon clicking on 1st one I'm getting some gibberish in my browser, the second link does not work. I'm running eset smart security, turned it off - did not work. I have razer synapse running - killed processes, still nothing. I also used Kainy, some simmilar programme, uninstalled - no effect. I got it running throu LAN and it runs just perfect. I realy cant wait to try out the connection throu internet though. Love the programme anyway, keep up the goooooooood work !

Hope hearing from anyone of you guys soon !
[Shield General] nk33:
Your ISP is very important.

If moonlight is working localy but not over the internet, and all your ports are definitely being forwarded, then you will have to check your ISP is not blocking one or some of the ports.

It happens with budget ISPs
[Shield General] qtong:
If port checking sites say that port is closed does that necessary mean I haven't forwarded them correctly ?

Also I think my ISP is not a budget one, and they would definitely not block any of those ports. I might be wrong, need to ask them on livechat.
[Shield General] nk33:
could be you havent forwarded them correctly. Sometimes forwarding the ports is not enough, there may be another setting on your router which is overriding the forwardings.

I would look into the ISP thing though 100%. If you look further back on this forum, many have had issues.
[Shield General] qtong:
On their website they say they only block netbios port like tcp 139 445 and udp 137 138, and that would be all. Therefore I might have not opened the ports correctly. I'll try to uninstal eset. And poke around router again. Should I use port forwarding or triggering ?
[Shield General] nk33:
I use eset av and I am fine… router most likely…
[Shield General] qtong:
Ok, I've found out whats wrong. Turns out you cannot connect from same ip, namely I tried running a game on my pc and streaming it to my laptop, for some reason it failed. BUT when I connected my laptop over wifi to my tablets internet it connected without any problems. TY NK33 for taking interest in my case. The case was very strange one though, wasnt it ?
[Shield General] evildog1:
Hi [MENTION=2844433]cgutman[/MENTION]

Nice app you made, it works on my Z3 compact with Adreno 430 GPU, and my low-end tablet, Denver TAD-10023 with mali-400 GPU

I'm requesting those features that i want to have:

- On-screen xbox controller buttons for peoples who don't have any controllers. Can move buttons freely, and resize the buttons

- Windows 8/10 touch support. I need it for games that support touch, such as Heroes and Titans. I don't like move the cursor, click, move, click...

- A floating switcher that i can switch between trackpad mode and touch mode

- A floating button that i can open the on-screen keyboard.

- Auto hide status bar/soft keys for tablets, so it become full-screen

Thanks
[Shield General] Orihim:
Thanks for the reply!

I found out some more about my problem.

I have fixed all connectivity problems, I can also access my computer on different networks. My problem is that as soon as I manually add a game to my GFE library it will take over the app spot from Steam. So the steam app button in Moonlight turns into The Witcher 3 this way... Of course I now just put every game into the steam library and it'll work, but its still not the way its supposed to work.
[Shield General] OOPMan:
I recently updated to GFE 2.8.21 and Moonlight no longer works. Attempting to connect I get an error about failing to connect on port 47984.

I tested on my local machine and discovered that:

http://127.0.0.1:47989/serverinfo?uniqueid=1234 works

https://127.0.0.1:47984/serverinfo?uniqueid=1234 no longer works

Anyone know what to do about this?
[Shield General] godwisper:
on my acer E5-573G with 920m am getting this error

#7(I)[2015-12-26 13:00:23,959]{00001AE8} Started provider.

#8(E)[2015-12-26 13:00:23,962]{00001AE8} Failed to open CUDA encoding session (NV_ENC_ERR_UNSUPPORTED_DEVICE).

#9(I)[2015-12-26 13:00:23,962]{00001AE8} Error starting encoder.

#0(E)[2015-12-26 13:00:23,962]{00001AE8} Failed to start: Failed to start the video encoder.

#1(I)[2015-12-26 13:00:24,009]{00001AE8} Deinitialized CUDA context for adapter 0.

#2(I)[2015-12-26 13:00:24,010]{00001AE8} Deinitialized context for adapter 0

#3(I)[2015-12-26 13:00:24,010]{00001AE8} Stopping FbcFrameProvider.

#4(I)[2015-12-26 13:00:24,010]{00001AE8} Stopped.

#5(I)[2015-12-26 13:00:24,010]{00001AE8} Deinitializing FbcFrameProvider.

#6(I)[2015-12-26 13:00:24,010]{00001AE8} Destroying FBC object.

I did try this:

http://xdaforums.com/showpost.php?p=63335126&postcount=163

but same problem persist
[Shield General] flavivirus:
Im having an odd error. Running moonlight on my note 5. Ive clean installed nvidia drivers and GFE. After pairing (pin successful), i get "refreshing apps " and then about 40 seconds later " lost connection to pc." When i check my system i see that the nvidia service has stopped (restarting allows me to return to beginning but doesnt advance it further.) Ive scanned all my apps in gfe. Any ideas?
[Shield General] Deeco7:
I have added most non-steam games to steam, but everytime I load moonshine gamestream, it launches steam games details page and the game doesn't launch.

Would appreciate help, thanks
[Shield General] nk33:
You dont have to use steam to launch the games. just add the games' shortcuts to the gamestream section n gfe and they will be in the moonlight list.....then launch them from there.
[Shield General] Deeco7:
What do you mean? All my games are already listed, if I add in Preferences > GameStream section it will show duplicates and no covert art and I will have to add every game manually. Thanks
[Shield General] nk33:
Wont show duplicates, will work, who cares about cover art
[Shield General] nk33:
My host pc is connected to a TV whos display is max 1080p. My tablet and phone both have 4k resolutions… is there any way I can take advantage of the 4k resolution of my devices in moonlight without having to change to a 4k tv?

My graphics card is MSI 980ti
[Shield General] Bboy486:
And remove the automatically find games option
[Shield General] winggndm:
Nexus Player stuttering every few minutes

So i finally tracked the issue on the nexus player stuttering every few minutes. Every few minutes the wireless speed drops to really low values (from 585 down to 24mbps). At the same time I was logging the wireless on my router and notice that the power save mode flag activating for a second and then deactivating as reported by the router. So for some reason, the Nexus player is putting the wireless card in power save mode, causing the stream to stutter and then figure out that it doesn't have enough bandwidth, goes out of power save mode, and the stream goes back to being smooth. Does any one know how to disable power management on the wireless in the Nexus Player? This same issue might be affecting other devices as well if you notice periodic lag spikes even though you have a perfect connection.
[Shield General] nk33:
Yes definitely
[Shield General] sark666:
Very interesting! I was disappointed that the nexus player didn't seem up to the task of wireless streaming and that's why I went with Ethernet USB adapter. But I'd still like to use WiFi. I wonder if the couple of custom ROMs suffer from this. They probably use the same kernel so probably but if you find a way please post back. I'll see what I can find.

And Cameron I see your posts regarding the update for mouse capture with marshmallow! That you!! Life got hectic the last couple of weeks but going to try it soon. The last thing I'm hoping on is a more mature windows client. I want a good windows client so at a friend I can just use their computer.
[Shield General] magician369:
Hi guys,

controllers dont work for me.I tried the sixaxis enabler app.it works fine on the launcher,I can navigate with the joystick.but in streaming they just dont work.