Skip to content

Windows display scaling makes text blurry #31

Closed

Description

@Lugribossk

When running a gpuix app on Windows with display scaling set to higher than 100%, the app window itself is scaled up directly leading to blurry text.

Here's the example app with display scaling 100%
Image

And with 150%
Image

Notice how it's just larger with blurry text. You might have to open the images to see it rather than view them inline.

Claude tells me that the problem is:
On Windows, GPUIX windows are bitmap-stretched (blurry text) at >100% display scaling because the process is never DPI-aware: GPUI only declares PerMonitorV2 awareness via a manifest embedded in the executable, but GPUIX is a napi .node cdylib loaded into node.exe/bun.exe, whose manifests declare no DPI awareness. Fix: call SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) early in the Windows init path, before any window is created.

Activity

  1. added a commit that references this issue on Sep 1, 2026
    a24b4a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions