A quest to stream from mobile Kepler

THLW8+

Senior Member
May 19, 2013
54
3
0
Hello have already done that 3-4 times and it works.
Now I get the message
C: \ Program Files \ NVIDIA Corporation \ NvStreamSrv> C: \ Program Files \ python27 \ python.exe patch.py 0FD1
Access Denied
CMD started as administrator
 

rabidman

New member
Jan 13, 2018
1
0
0
Hello have already done that 3-4 times and it works.
Now I get the message
C: \ Program Files \ NVIDIA Corporation \ NvStreamSrv> C: \ Program Files \ python27 \ python.exe patch.py 0FD1
Access Denied
CMD started as administrator
I'm no expert here, but if you haven't modified python's install folder, it shouldn't be in Program Files; your command should be: C:\python27\python.exe 0FD1. Now I don't know if you moved the folder or not, but all I know is having spaces in file directories has thrown a bunch of different errors at me.

---------- Post added at 08:18 AM ---------- Previous post was at 07:51 AM ----------

Is it possible for this to work on an MX150 for the spectre x360 15 on Windows 10, or is it permanently fixed?
Geforce Experience Version: 3.6.0.74
Driver version: 382.59

I'd like to preface this by saying I'm a novice here. But here's what I've learned so far. The drivers for the MX150 from the NVIDIA website do not contain nvstreamuseragent.exe. The drivers for the MX150 from the HP support page do yield the nvstreamuseragent.exe file in the proper folder as it seems to be that MX150 is packaged with 940M drivers, which the previous version of the spectre x360 had, even if MX150 shouldn't support gamestreaming at all.

Anyways, by putting NvFBCEnable.exe in C:\Python27\ (as a easy to access folder without spaces in the name), I was able to do the "NvFBCEnable.exe -enable" command via Windows Powershell.

Unfortunately, I ran into the block of services.msc having "NVIDIA NetworkService Container" instead of "Nvidia Network Service"

I went ahead and disabled it just in case.

Anyways, using the 13D8 edit, this is my log from running the patch.py

Searching for target devid
Searching in nvstreamuseragent.exe
Found 2 matches (2 expected)
Stopping service
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Making backup of nvstreamuseragent.exe in nvstreamuseragent.exe.ori
Modifying file
Starting service
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Done


Getting this far, I ran server.py (placed in the Nvidia folder where the useragent file was) and went to the Geforce Experience settings where I only saw "General," "Account," and "Games" where I should have the additional "SHIELD" if this patch were to function.

Just in case, I did a clean install of the OEM drivers. I repeated the process and tried changing the 13D8 back to 13D9, but it found 3 matches instead of 2 in the script, so it didn't proceed. I dirtily changed the script to expect 3 and the script ran and it went to done again.
Running the server and going to GeForce Experience settings, I still lack the SHIELD option.

There's a category that says "My Rig" which still lists my GPU as MX150, so I guess this version of the patch isn't compatible with the latest drivers (if it is supposed to patch that at all). I really hope to enable Gamestreaming to Moonlight. Is there anyone with some pointers?
 
Last edited:

paypaytr

New member
Dec 3, 2015
2
0
0
C::\Program Files\NVIDIA Corporation\NvStreamSrv>C:\Python27\python.exe patch.py 1341
Searching for target devid
Searching in nvstreamer.exe
Found 2 matches (2 expected)
Searching in nvstreamer.exe.ori
Found 2 matches (2 expected)
Stopping service
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Using backup nvstreamer.exe.ori
Modifying file
Starting service
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Done

C:\Program Files\NVIDIA Corporation\NvStreamSrv>

---

Did NVIDIA changed name of their service?
SRV = 'nvstreamer.exe'
SERVICE = 'NvStreamSvc'
these are from my python file.
I assume nvstream.exe is correct because it finds 2 things but says service name is wrong or something

i'm on latest updates both driver and geforce
 

dmukhin

Senior Member
Mar 24, 2013
132
38
0
It doesn't work for on my GT640 with recent drivers and GeForce Experience. Service not found by patch.py. And actually I don't see service record exists in registry for nvstreamer.exe. When I changed hosts, started server.py and opened GeForce Experience settings it still says streaming not supported because I have no GTX. And when GeForce Experience opened server.py output doesn't log any mocked host access (but I see mocking works when I ping it from browser). Also I found enabled NvFBC disabled again on restart
 

AutoritySoldier

New member
Mar 20, 2018
2
2
0
Keep Calm

KEEP CALM and do reverse eng.
Ok, thanks for the thread it helpme alot, and for the people who posted the patch and nvfbcenable. greet work, i spend almost a week to solve it in recent version of gfe.
I hacked the recent beta latest of the latest version of the GFE. the difficult is medium.
Not going to share the process of the latest of the latest but another beta that is more easy for everyone and still be alot better than 2.x.x.

Im going to help with this version GeForce_Experience_Beta_v3.13.0.85. Yeah, This version still awesome. Don't use 2.x.x crap it have lot of bugs.

This are the steps to break the code.>
IMPORTANT. Restart your machine. And dont open GFE, until you complete 7 steps.
1. Download this version us.download.nvidia.com/GFE/GFEClient/3.13.0.85/GeForce_Experience_Beta_v3.13.0.85.exe
2. Install it
3. Enable nvfbcenable for better performance. you need the file already posted here. Nvge.zip and read how to.
4. Stop NvContainerLocalSystem service. This service control all plugins including streaming, shadowplay.etc.
5. The file you need to patch is this C:\Program Files\NVIDIA Corporation\NvContainer\plugins\LocalSystem\GameStream\Main\_NvStreamControl.dll
3. Edit the script like this:
SRV = '_NvStreamControl.dll'
SERVICE = 'NvStreamSvc'
TARGET_DEVID = 0x13D9

4. Dont worry for the NvStreamSvc tag you already stopped NvContainerLocalSystem service manualy, did you? i say that before.
5. PATCH the file, 2 times to be sure. You know how to? its already posted here. python patch.py YOURDEVID
6. Delete the files generated by the patch .ORI, .PREV // THIS IS IMPORTANT
7. Start the service NvContainerLocalSystem, wait some seconds.
8. Open GFE experience, you would see the shield tab there. // Moonlight is working with this version i used it for a week.

//FAQS
1. Yes the python script can patch dll too.
2. If you are in a remote server, you need to do other things to enable shield. Askme in chat, im playing in azure server, with 2 NVIDIA M60.
3. Yes, this is a experimental GFE, is even more latest than the you download in portal, and this process work in the same way if you want to use the stable.
4. Not going to share the process of the latest of latest experimental yet., because nvidia enable certification validation, in other terms code check and other things to prevent this kind of hacks. you need to patch the virtual memory instead of the file. you need a strong debugger x64 to do this. I will make the virtual memory patch later.

// THATS ALL. ENJOY

A LITTLE HELP TO ME:
Now i need help in other thing. GFE have the flag option to stop downloading latest driver, and not update your computer. But seems to be not working. I really like another driver version, instead of latest. So if anyone solve this to prevent update the latest driver in 3.x.x GFE. Can share this info to me. thank you.
 
Last edited:

dmukhin

Senior Member
Mar 24, 2013
132
38
0
AutoritySoldier, many thanks for research you did! I'll try to check it in my environment next days, hope it will help to avoid buying new GTX card
 

AutoritySoldier

New member
Mar 20, 2018
2
2
0
AutoritySoldier, many thanks for research you did! I'll try to check it in my environment next days, hope it will help to avoid buying new GTX card
Yeah, 1k for a new video card is to much. I have resurrected 2 old pc with this method to co-play with my friends and play outsite my home. the 3.x.x have alot of improvements to poor connections and play smooth.
 
Last edited:

pipyakas

Senior Member
Apr 22, 2013
1,164
280
103
KEEP CALM and do reverse eng.
Ok, thanks for the thread it helpme alot, and for the people who posted the patch and nvfbcenable. greet work, i spend almost a week to solve it in recent version of gfe.
I hacked the recent beta latest of the latest version of the GFE. the difficult is medium.
Not going to share the process of the latest of the latest but another beta that is more easy for everyone and still be alot better than 2.x.x.

Im going to help with this version GeForce_Experience_Beta_v3.13.0.85. Yeah, This version still awesome. Don't use 2.x.x crap it have lot of bugs.

This are the steps to break the code.>
IMPORTANT. Restart your machine. And dont open GFE, until you complete 7 steps.
1. Download this version us.download.nvidia.com/GFE/GFEClient/3.13.0.85/GeForce_Experience_Beta_v3.13.0.85.exe
2. Install it
3. Enable nvfbcenable for better performance. you need the file already posted here. Nvge.zip and read how to.
4. Stop NvContainerLocalSystem service. This service control all plugins including streaming, shadowplay.etc.
5. The file you need to patch is this C:\Program Files\NVIDIA Corporation\NvContainer\plugins\LocalSystem\GameStream\Main\_NvStreamControl.dll
3. Edit the script like this:
SRV = '_NvStreamControl.dll'
SERVICE = 'NvStreamSvc'
TARGET_DEVID = 0x13D9

4. Dont worry for the NvStreamSvc tag you already stopped NvContainerLocalSystem service manualy, did you? i say that before.
5. PATCH the file, 2 times to be sure. You know how to? its already posted here. python patch.py YOURDEVID
6. Delete the files generated by the patch .ORI, .PREV // THIS IS IMPORTANT
7. Start the service NvContainerLocalSystem, wait some seconds.
8. Open GFE experience, you would see the shield tab there. // Moonlight is working with this version i used it for a week.

//FAQS
1. Yes the python script can patch dll too.
2. If you are in a remote server, you need to do other things to enable shield. Askme in chat, im playing in azure server, with 2 NVIDIA M60.
3. Yes, this is a experimental GFE, is even more latest than the you download in portal, and this process work in the same way if you want to use the stable.
4. Not going to share the process of the latest of latest experimental yet., because nvidia enable certification validation, in other terms code check and other things to prevent this kind of hacks. you need to patch the virtual memory instead of the file. you need a strong debugger x64 to do this. I will make the virtual memory patch later.

// THATS ALL. ENJOY

A LITTLE HELP TO ME:
Now i need help in other thing. GFE have the flag option to stop downloading latest driver, and not update your computer. But seems to be not working. I really like another driver version, instead of latest. So if anyone solve this to prevent update the latest driver in 3.x.x GFE. Can share this info to me. thank you.
sorry for digging this up, but I just tried this method on my laptop with a 840M, and while the Shield tab is showing up, everytime I start a game via moonlight the game would crash immediately or 1/2s after. Is there a way to fix this? Im on driver 431 and GFE 3.19
 

dissidius

Senior Member
Nov 9, 2009
199
63
0
TIRANA
hello guys,
i have a laptop nvidia 940m gpu, latest driver latest geforce 445.87 i always get 1 target of 2 found. i modify the python.py to only check for 1 target than and it says done, i delete the .ori file and open geforce expirience and login. The Shield TAB doesn't show up. Any idea Why? whith the latest beta Geforce expirience present in this thread it say 0 target found ???
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone