Skip to content

Resolution not taking #64

@jriker1

Description

@jriker1

I seem to keep writing you and then it resolves after some time and then let it go. Basically everything was working great and then after a reboot the resolution is not auto setting to my screen size. The logs show it's setting it just doesn't take. What happens with Moonlight on Windows connecting to the sunshine server desktop.

  1. Connects and shows a resolution similar to the device but small bars on the left and right.
  2. Screen flickers after a few seconds and sets to 4k 3840x2160 resolution.
  3. Logs show this:

Windows PowerShell transcript start
Start time: 20240424121333
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: 4232
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 1600 x 1200 x 60

However it's not 1600 x 1200. It's 3840x2160. I have tried updating to the latest nightly of Sunshine and this script to no joy. Tried instlaling the latest NVidia drivers but that didn't help. Rebooted and one time it came up as expected. Second time I connected went back to this again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions