Closed jriker1 closed 8 months ago
adding the resolution to moonlight or sunshine does not do anything. You need to add the resolution using nvidia control panel or CRU
Thanks I did both and was working. My laptop was showing full screen and even the HDR automation was working. Recently it stopped again and even thought he logs say it successfully changed to 3200 x 2000 x 60 when I look at the screen resolution the laptop screen has black bars top and bottom and the remote display is set to 3840 x 2160. Though the logs say it switched it. I see the HDR Automation triggered successfully.
Here are the logs after disconnecting:
**********************
Windows PowerShell transcript start
Start time: 20240121130424
Username:
RunAs User:
Configuration Name:
Machine: RENDER (Microsoft Windows NT 10.0.22631.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File C:\ResolutionAutomation\ResolutionMatcher.ps1 -async True
Process ID: 50916
PSVersion: 5.1.22621.2506
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.2506
BuildVersion: 10.0.22621.2506
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcript started, output file is .\log.txt
Id Name PSJobTypeName State HasMoreData Location Command
-- ---- ------------- ----- ----------- -------- -------
1 ResolutionMa... BackgroundJob Running True localhost ...
3 ResolutionMa... BackgroundJob Running True localhost ...
Waiting for the next event to be called... (for starting/ending stream)
Processing event: Start
Setting screen resolution to 3200 x 2000 x 60
Resolution changed successfully.
Request to terminate has been processed, script will now revert resolution.
Setting screen resolution to 3840 x 2160 x 60
Resolution changed successfully.
**********************
Windows PowerShell transcript end
End time: 20240121130506
**********************
Launch the desktop App in Sunshine, can you confirm if the black bars are showing up at the desktop or not? If you are not seeing black bars at the desktop, then it is a game issue. Make sure the game is running in borderless windowed, if it is, then the game does not fully support that resolution and black bars intentionally.
Not a game sorry using Moonlight Desktop
Can also say if I disable HDR in Moonlight then it switches to 3200x2000.
Not a game sorry using Moonlight Desktop
Your logs contradict that, it makes no sense to me how you can see black bars at desktop, other than the fact it didnt actually change the resolution /shrug
Can also say if I disable HDR in Moonlight then it switches to 3200x2000.
HDR only works on TV resolutions, there are ways around it but require registry changes on NVIDIA driver that are quite convoluted and never got it to work so cant help much there.
So what will happen is if you enable HDR the OS will swap you back to a TV Resolution to support HDR, instead of just turning off.
Thanks. In theory guess I could go "OK" and call it a day but the parts that confuses me.
Unable to replicate issue on my machine
Have been using ResolutionAutomation for a while now and other than some issues from time to time been great. Just bought a new Asus ProRes laptop with 3200 x 2000 resolution. Unlike my old laptop or my desktop, it doesn't connect at the set resolution and also I can alt-tab out of the full screen view where the others I have to ctrl-alt-shift-q to exist and do other things. Resolution seems to come up at 1280 x 1024. Tried adding 3200 x 2000 both to the sunshine supported list but no joy. Also have it set in moonlight as selected. It would be connecting to a 4k HDR dongle on my RTX 4090. Thoughts?
Note: not sure if related but thought I would mention. When I disconnect on my new laptop with ctrl-alt-shift-q it disconnects but when I go back into Moonlight and go to the DESKTOP icon it still shows a play and stop icon which the others dont.
Note Note: Just noticed also that it's connecting to the primary monitor and not the dongle. Tried connecting with another computer but same deal. So I existed. DESKTOP icon doesn't show the Play/Stop icon like the laptop keeps doing. Connecting again the other computer now shows fine so new laptop connection causing issues. Reconnecting with the new laptop again comes up at 3840x2160 instead of 3200x2000. I can still alt-tab out of the stream for some reason.
Figured out the settings to get it to end the session which I apparently did with the others on exit and to keep the alt and ctrl and stuff commands in the stream. Still having the resolution issues and it opening on the wrong monitor which is obviously the other script but both happening when the new laptop was introduced.