Incorrect window resolution on HiDPI display
When using the Minecraft Launcher on Linux with a HiDPI display, the resolution of the window is set incorrectly, causing it to appear blurry to the user compared to other nearby UI components such as the window title bar.
While the scaling of the window is handled correctly at 2×, the resolution is never changed to reflect this. For example, on a LoDPI display with scaling at 1×, the window is rendered at 1000×600 and displays in a 1000×600 pixel area. Each pixel rendered is displayed as one pixel on the screen. When this is taken to a HiDPI display with double the pixels on the screen, the window is correctly scaled by 2× to achieve the same physical size as the LoDPI display. The issue here arises when 2× scaling causes the window to render at 1000×600 in a 2000×1200 area, causing each pixel to display as 4 physical pixels. After this, the pixels are interpolated, causing them to appear blurry.
This is not a duplicate of MCL-10940, as MCL-10940 pertains to the scaling of the Minecraft Launcher, not the resolution of it. In my use case, MCL-10940 seems to have been fixed, as the window scales correctly at 2× the size. This issue may have been caused by the attempted fix for MCL-10940.
I have attached a screenshot of the issue using Minecraft Launcher version 2.2.909. Notice how the title bar is much more crisp and sharp to the eye than the rest of the Minecraft Launcher when zoomed in.
Environment
Operating System: Linux x86_64 5.10.6
Display Server: X11
Window Manager: Mutter
Display Manager: GDM
CPU: AMD Ryzen 7 3700x 8-core processor
GPU: GeForce RTX 2080 SUPER
NVIDIA Driver: 460.32.03
Display Dimensions: 3840×2160
Display Resolution: 96×96 DPI
Created Issue:
Incorrect window resolution on HiDPI display after being scaled
When using the Minecraft Launcher on Linux with a HiDPI display, the resolution of the window is set incorrectly, causing it to appear blurry to the user compared to other nearby UI components such as the window title bar.
While the scaling of the window is handled correctly at 2×, the resolution is never changed to reflect this. For example, on a LoDPI display with scaling at 1×, the window is rendered at 1000×600 and displays in a 1000×600 pixel area. Each pixel rendered is displayed as one pixel on the screen. When this is taken to a HiDPI display with double the pixels on the screen, the window is correctly scaled by 2× to achieve the same physical size as the LoDPI display. The issue here arises when 2× scaling causes the window to render at 1000×600 in a 2000×1200 area, causing each pixel to display as 4 physical pixels. After this, the pixels are interpolated, causing them to appear blurry.
This is not a duplicate of
MCL-11750, asMCL-11750pertains to the scaling of the Minecraft Launcher, not the resolution of it. In my use case,MCL-11750seems to have been fixed, as the window scales correctly at 2× the size. This issue may have been caused by the attempted fix forMCL-11750.I have attached a screenshot of the issue using Minecraft Launcher version 2.2.909. Notice how the title bar is much more crisp and sharp to the eye than the rest of the Minecraft Launcher when zoomed in.
Environment
Operating System: Linux x86_64 5.10.6
Display Server: X11
Window Manager: Mutter
Display Manager: GDMCPU: AMD Ryzen 7 3700x 8-core processor
GPU: GeForce RTX 2080 SUPER
NVIDIA Driver: 460.32.03
Display Dimensions: 3840×2160
Display Resolution: 96×96 DPI
Incorrect window resolution on HiDPI displayafter being scaled
When using the Minecraft Launcher on Linux with a HiDPI display, the resolution of the window is set incorrectly, causing it to appear blurry to the user compared to other nearby UI components such as the window title bar.
While the scaling of the window is handled correctly at 2×, the resolution is never changed to reflect this. For example, on a LoDPI display with scaling at 1×, the window is rendered at 1000×600 and displays in a 1000×600 pixel area. Each pixel rendered is displayed as one pixel on the screen. When this is taken to a HiDPI display with double the pixels on the screen, the window is correctly scaled by 2× to achieve the same physical size as the LoDPI display. The issue here arises when 2× scaling causes the window to render at 1000×600 in a 2000×1200 area, causing each pixel to display as 4 physical pixels. After this, the pixels are interpolated, causing them to appear blurry.
This is not a duplicate of
MCL-1, as1750MCL-1pertains to the scaling of the Minecraft Launcher, not the resolution of it. In my use case,1750MCL-1seems to have been fixed, as the window scales correctly at 2× the size. This issue may have been caused by the attempted fix for1750MCL-1.1750I have attached a screenshot of the issue using Minecraft Launcher version 2.2.909. Notice how the title bar is much more crisp and sharp to the eye than the rest of the Minecraft Launcher when zoomed in.
When using the Minecraft Launcher on Linux with a HiDPI display, the resolution of the window is set incorrectly, causing it to appear blurry to the user compared to other nearby UI components such as the window title bar.
While the scaling of the window is handled correctly at 2×, the resolution is never changed to reflect this. For example, on a LoDPI display with scaling at 1×, the window is rendered at 1000×600 and displays in a 1000×600 pixel area. Each pixel rendered is displayed as one pixel on the screen. When this is taken to a HiDPI display with double the pixels on the screen, the window is correctly scaled by 2× to achieve the same physical size as the LoDPI display. The issue here arises when 2× scaling causes the window to render at 1000×600 in a 2000×1200 area, causing each pixel to display as 4 physical pixels. After this, the pixels are interpolated, causing them to appear blurry.
This is not a duplicate of
MCL-10940, asMCL-10940pertains to the scaling of the Minecraft Launcher, not the resolution of it. In my use case,MCL-10940seems to have been fixed, as the window scales correctly at 2× the size. This issue may have been caused by the attempted fix forMCL-10940.I have attached a screenshot of the issue using Minecraft Launcher version 2.2.909. Notice how the title bar is much more crisp and sharp to the eye than the rest of the Minecraft Launcher when zoomed in.
When using the Minecraft launcher on Linux, the launcher does not scale its content according to the system's display scaling factor. According to user reports, this affects multiple Linux distributions, desktop environments, and windowing systems.
Impact
Users with HiDPI displays have extreme difficulty viewing and navigating the Minecraft launcher. Since the launcher does not scale properly according to the display scaling factor, the size of content is very small. For example, text with a 12px font size would be 4px on a typical 4k 13.3" laptop with 300% scaling (equivalent size as 150% scaling on a 1080p 13.3" display).
How to reproduce
- Set a display scaling factor on your Linux distribution that is not 100%. For example, on Linux distributions with the GNOME desktop environment, go to Settings > Displays > Scale and set it to 200%.
- Open the Minecraft Launcher.
→
The scale of the launcher content does not match that of the system. On HiDPI displays, the text size is unreadable and the interface is difficult to navigate.
Notes
If I remember correctly, this is an upstream issue with CEF. However, I can't seem to find a relevant issue report.This does appear to be an upstream issue. When using the latest beta build of the CEF sample application (94.2.2+g0c2cc26+chromium-94.0.4606.50), the scaling of the content is not correct on a HiDPI display.- In launcher versions prior to 2.2.2159, the content was scaled correctly. However, the resolution of the window was not changed, causing it to appear blurry. See
MCL-16405. - Since launcher version 2.2.2159, the size and resolution of the window are set properly, but the content scale is not. Try running the launcher with GDK_SCALE=1, GDK_SCALE=2, and GDK_SCALE=3. Notice how the window size grows, but the content size does not.

With launcher version 2.2.2159, it appears that this has been resolved, however
MCL-10940does occur again. This issue may be marked as resolved.