microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.1k stars 304 forks source link

Refresh rate does not apply #1142

Open PedroMPagani opened 10 months ago

PedroMPagani commented 10 months ago

Windows build number:

10.0.22621.2506]

Your Distribution version:

Ubuntu 22.04

Your WSL versions:

wsl --version WSL version: 2.0.9.0 Kernel version: 5.15.133.1-1 WSLg version: 1.0.59 MSRDC version: 1.2.4677 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.2506

Steps to reproduce:

https://github.com/microsoft/wslg/wiki/Controlling-WSLg-frame-rate

[Ubuntu] WESTON_RDP_MONITOR_REFRESH_RATE=100

This is my config, whenever doing a cat on the wsl, the weston log shows something different.

WSL logs:

weston.log

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

I can feel that every single app is not the refreshrate determined, and the weston log also shows that the refresh rate there is 60Hz

PedroMPagani commented 10 months ago

Ok, this is a miss-information on the docs. The actual required Directory to change the refresh rate is the C:/Users, not the WSL/