MAMEWorld Central >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 1323
Send PM
Re: MAME is one of the few emulators that can't work at all with this app
03/01/17 12:41 PM


> Do you guys have any idea why most PC games and a few systems won't even work with
> this app if I attempt to stream anything?
>
> What's the technical reason that explains why I am having such a hard time with PC
> games, for example? Do they crash when I send them to fullscreen or try to open them
> because Microsoft Remote Desktop is limited or because they need a good improvement?
>
> I thought streaming whatever it was happening on my PC was going to be easy...

Remote Desktop is not intended for streaming games. It's intended for remotely using "well-behaved" Windows applications which tend to use Windows's built-in UI widgets. In those cases, sending updates to the window state across the network is easy, because to update some text, it just needs to send the updated text in string form, not in bitmap form. To move a button, Windows just needs to send a simple command over the wire to move the button - it doesn't need to repaint the entire window and then send that as a bitmap over the network.

It's possible to force an application to send its window contents in bitmap form over the network by making it use one of the most basic Windows drawing APIs, like GDI, but you seem to have noticed that it's slow. That's because all of the rendering, in that case, is done with your CPU, not your video card.

By contrast, trying to stream a modern PC game using the Remote Desktop Protocol is an exercise in failure. Why? Because most of the time, those games are going to be drawing the contents of their window using the GPU of the machine running the actual application, and the result of that drawing is going to be contained within the video memory of that machine. It's not going to be available to the CPU of the machine running the application, and so it can't send the image over the network to your local machine. Computers just don't work that way.

In all honesty I'm not sure where you got the idea that you could use Remote Desktop Protocol for something like this, as efficiently streaming a game's video one way and the inputs the other way with as low latency as possible is a problem that has literally had hundreds of millions of dollars and hundreds of people looking at it - just look at the likes of OnLive, Gaikai, what NVidia are doing with game streaming these days via the Shield, and what Microsoft are looking at with their planned Xbox-on-PC tech. You're not going to manage to solve this problem using off-the-shelf tools like Microsoft Remote Desktop, that's for sure.







Entire thread
Subject Posted by Posted on
* MAME is one of the few emulators that can't work at all with this app Perene 02/24/17 01:36 AM
. * Re: MAME is one of the few emulators that can't work at all with this app Vas Crabb  02/24/17 03:48 AM
. * Re: MAME is one of the few emulators that can't work at all with this app AaronGiles  02/24/17 02:58 AM
. * Re: MAME is one of the few emulators that can't work at all with this app Vas Crabb  02/24/17 03:49 AM
. * Re: MAME is one of the few emulators that can't work at all with this app Perene  02/24/17 07:55 AM
. * Re: MAME is one of the few emulators that can't work at all with this app MooglyGuy  03/01/17 12:41 PM
. * Re: MAME is one of the few emulators that can't work at all with this app Perene  03/03/17 01:42 AM
. * Re: MAME is one of the few emulators that can't work at all with this app MooglyGuy  03/03/17 02:21 PM
. * Re: MAME is one of the few emulators that can't work at all with this app Perene  03/12/17 04:09 PM
. * Re: MAME is one of the few emulators that can't work at all with this app John Doe  03/15/17 08:44 PM
. * Re: MAME is one of the few emulators that can't work at all with this app lharms  03/03/17 09:04 PM
. * Re: MAME is one of the few emulators that can't work at all with this app R. Belmont  03/01/17 08:57 PM
. * Re: MAME is one of the few emulators that can't work at all with this app casm  03/01/17 02:00 PM
. * Re: MAME is one of the few emulators that can't work at all with this app John Doe  03/01/17 10:15 AM
. * Re: MAME is one of the few emulators that can't work at all with this app Sacrilego  03/01/17 10:10 PM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
0 registered and 5 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 760