hansschmucker / NVStreamer1080

Utility to automatically detect NVidia GameStream activity and set a fitting resolution or switch to a second screen.
Apache License 2.0
111 stars 8 forks source link

Win 11 - Doesn't change Monitor #17

Closed thomasfjen closed 1 year ago

thomasfjen commented 1 year ago

Thank you for nice little tool! Sadly it doesn't work for me on Windows 11 when it should switch the monitor. It opens up the menu for switching the Monitor (Windows + P) but doesn't select the other Monitor. I guess that's a Windows 11 thing. Is there a way to fix that? PXL_20230309_081245624

hansschmucker commented 1 year ago

Hi Thomas What it does when switching the display is really terribly simple:

DisplaySwitch.exe /external

It works for me, but I'm stuck at an old Win11 build due to my aging CPU.

You could try it via the run dialog and see if it works there. If it works there it could have something to do with access rights, but if it doesn't work there either you're probably right and MS has broken display switching in a recent build. Could you try and report the result please?

thomasfjen commented 1 year ago

Yep, exact same behavior.

In the meantime i found an alternative solution and so far works great for me with the Monitorswitcher application and two profiles which are started before and after a stream by sunshine itself. https://www.reddit.com/r/MoonlightStreaming/comments/11mqegm/guide_when_starting_sunshine_stream_to_turn_off/

hansschmucker commented 1 year ago

Whatever works ^^

Thanks for the pointer, I'll try to port over the way that application works. At least as an option.

--hans

thomasfjen commented 1 year ago

Jeah would be nice to have an alternative way to not add the commands to each game profile in sunshine. 👍

// Whoops I closed the issue