OneLiberty / moonlight-chrome-tizen

A WASM port of Moonlight for Samsung Smart TV's running Tizen OS (5.5 and up)
GNU General Public License v3.0
185 stars 15 forks source link

Few question on usability #6

Open raven02 opened 8 months ago

raven02 commented 8 months ago
  1. Wonder how to check rendering FPS and which codec (h.264 or hevc) has been used ?
  2. Everytime I start the game streaming , it shows my windows desktop then start the program .Any trick can allow the program start alone without showing the desktop ?
OneLiberty commented 8 months ago
  1. You should be able to see the used codec using the debug logs, but you'll have to debug to app to see them. I won't provide a guide on how to do this as it's pretty long to explain. Maybe if I find an easy way to debug, i'll share it. To keep it simple, there is no way of seeing this informations... yet...

Seeing those might indeed be helpful for the user to diagnose an issue. Any suggestion on how to implement this is welcomed.

  1. I don't think it's possible, nor needed. We could do this by adding something like a timer and show the stream when it's at 0, but i don't think this is useful as it heavely relies on the user/program or/and pc. I'll look into the other clients of moonlight to see if it opens only when the app is launched, and if it's the case, i might look into it.
raven02 commented 8 months ago

@OneLiberty Thanks for your prompt reply and your hard work on improving this client .

  1. Do you mean I can set debug mode in sunshine? then I can see which codec has been used. I remeber other moonlight client on let say iOS can show such informaiton . Anway , it is not very important :)

  2. Another way I can do is to use Steam big picture mode which able to start the games without the desktop itself.

OneLiberty commented 8 months ago

@raven02 No problem, i try to help whenever i can.

  1. No, this is not the same thing as the sunshine logs (here is documentation about this)

  2. Yeah, this might be the way. In that case, give playnite a go, it works more or less the same way as big picture.

raven02 commented 8 months ago

@raven02 No problem, i try to help whenever i can.

  1. No, this is not the same thing as the sunshine logs (here is documentation about this)
  2. Yeah, this might be the way. In that case, give playnite a go, it works more or less the same way as big picture.

Thanks. Will try playnite as well :)

aaronmee commented 8 months ago

My thoughts to number two: Why don't you like to see your desktop when starting a game? I mean, when you go to your pc and launch a game from the desktop, you see the desktop first as well. Moonlight just starts the stream immediately but the application needs some time to start. If you're bothered by it, just look away a few seconds :)

Another possible workaround could be to create a script that shows a black screen for a few seconds and use it as a preparation command in sunshine.

AlexPresso commented 7 months ago

Also, I just want to say, seeing the desktop has no impact on performance. Sunshine is not recording the "desktop", it's recording/copying what your GPU sends to your display monitor.

It's very different from recording the desktop or recording specific application in OBS for example. Sunshine is always in the end of the rendering pipeline, right before your display monitor.

PS: But putting your game in windowed mode / borderless-mode instead of fullscreen mode does have an impact on performance. When using windowed-mode and borderless-mode (in many cases), the rendering is going through another stack: The windows compositor, which is handling the rendering of your windowed app + the possible other windowed apps + the desktop and then mixing everything to make a frame out of it to send to your display. Putting your game in fullscreen bypasses it completly, no more compositing, straight GPU frame to display presentation.