1) Install Ubuntu 22.04.3 LTS in WSL2 according to instructions here.
2) Install GNOME. Open GNOME desktop using X forwarding or TigerVNC server.
3) Open Display Settings to try to set fractional scaling, say 150%.
4) Install Wayland according to instructions here. Start weston.
5) Open Display Settings to try to set fractional scaling, say 150%.
6) Open GNOME Tweak to try to set fractional scaling, say 150%.
Expected Behavior
The fractional scaling of 150% can be set and visually verifiable.
Actual Behavior
Step 3), 5) and 6) of Repro Steps does not work. Now I can only set fractional scaling correctly using GNOME Tweak utility with X forwarding or TigerVNC server (both on Xorg. TigerVNC doesn't work when weston is installed). But this demonstrates that GNOME desktop of Ubuntu system is able to fractionally scale by itself. If it can't, I'm guessing it's because that piece of functionality is not correctly called for some reason inside WSL. So I think this is a bug and hope WSL team can fix it.
Diagnostic Logs
Let me know if you need more details when going through any step in Repro Steps.
Windows Version
Microsoft Windows [Version 10.0.19045.3803]
WSL Version
WSL version: 2.0.14.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.19045.3803
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-microsoft-standard-WSL2
Distro Version
Ubuntu 22.04.3 LTS
Other Software
GNOME
Repro Steps
1) Install Ubuntu 22.04.3 LTS in WSL2 according to instructions here. 2) Install GNOME. Open GNOME desktop using X forwarding or TigerVNC server. 3) Open Display Settings to try to set fractional scaling, say 150%. 4) Install Wayland according to instructions here. Start weston. 5) Open Display Settings to try to set fractional scaling, say 150%. 6) Open GNOME Tweak to try to set fractional scaling, say 150%.
Expected Behavior
The fractional scaling of 150% can be set and visually verifiable.
Actual Behavior
Step 3), 5) and 6) of Repro Steps does not work. Now I can only set fractional scaling correctly using GNOME Tweak utility with X forwarding or TigerVNC server (both on Xorg. TigerVNC doesn't work when weston is installed). But this demonstrates that GNOME desktop of Ubuntu system is able to fractionally scale by itself. If it can't, I'm guessing it's because that piece of functionality is not correctly called for some reason inside WSL. So I think this is a bug and hope WSL team can fix it.
Diagnostic Logs
Let me know if you need more details when going through any step in Repro Steps.