Nonary / ResolutionAutomation

Automates changing the host resolution to match the client resolution of Moonlight, with capabilities of supersampling if required
The Unlicense
618 stars 18 forks source link

使用aster软件的主机修改分辨率失败,有其他分辨率修改方案么 #56

Closed rufengsuixing closed 6 months ago

rufengsuixing commented 6 months ago

图片 手动调整分辨率后显示器信息如下 图片

log如下


Windows PowerShell 脚本开始 开始时间: 20240303191245 用户名: xx RunAs 用户: xx 配置名称: 计算机: DESKTOP-0JI8RA2 (Microsoft Windows NT 10.0.22631.0) 主机应用程序: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File C:\Users\jie\Desktop\tools\ResolutionAutomation-main\ResolutionMatcher.ps1 -async True 进程 ID: 39608 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


已启动脚本,输出文件为 .\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 Before Override: 3200 x 1440 x 60 After Override: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Current Resolution: 3840 x 2160 x 60 Expected Requested Resolution: 3200 x 1440 x 60 Setting screen resolution to 3200 x 1440 x 60 Processing event: End Setting screen resolution to 3840 x 2160 x 60 Resolution changed successfully.


Windows PowerShell 脚本结束 结束时间: 20240303191257


Nonary commented 6 months ago

Do not duplicate displays. If you are using a dummy plug, it must be set as the primary display, and you must turn off the other displays. For automation of this process, refer to https://github.com/Nonary/MonitorSwapAutomation. Additionally, you should use CRU to add the custom resolution.