Skip to content

HiDPI Scaling #388

@alterae

Description

@alterae

Environment

Windows build number: 10.0.22000.0
Your Distribution version: Ubuntu 20.04
Your WSLg version: Unknown (cannot seem to find Windows 11 settings)

Steps to reproduce

  1. Have a machine with a HiDPI display (such as 3840x3160p, with the windows display scaling option set to 200%), running any version of Windows and WSL that supports WSLg.
  2. Install GUI-based apps (such as Nautilux, Emacs, Sublime Text, and Alacritty) in WSL
  3. Run those apps

WSL logs:

Expected behavior

All applications should properly scale with regards to system resolution and DPI. They should be the correct size, and should not be pixelated.

Actual behavior

Some apps (such as all GNOME programs, Alacritty, and Sublime Text) scale properly. Others, such as Emacs, lxappearance, and vlc, display at the correct size but are pixelated. Checking the resolution from within a program that does not scale properly reveals that it thinks the resolution of the monitor is 1920x1080p.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions