# Scaling Problem In Linux

**URL:** <https://discourse.glfw.org/t/scaling-problem-in-linux/2964>\
**Category:** support\
**Created:** [October 3, 2025, 3:18pm UTC](https://discourse.glfw.org/t/scaling-problem-in-linux/2964 "2025-10-03T15:18:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SonOfCosgrove](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/sonofcosgrove/32/1046_2.png) [@SonOfCosgrove](https://discourse.glfw.org/u/SonOfCosgrove)\
**Post date:** [October 3, 2025, 3:18pm UTC](https://discourse.glfw.org/t/scaling-problem-in-linux/2964/1 "2025-10-03T15:18:18Z")

</div>

I am trying to understand how GLFW window sizes works in conjunction with system scaling.. I am using Ubuntu 24.04 with X11. When I request a window using GFLW of size, for example 1600x1200, I get a window with identical frame buffer size and window size.  
However, the size of the window on screen gets smaller as I increase the system scaling. At 100%, the size seems correct on my 2560x1600 pixel display. But it keeps shrinking as I increase the system scaling, even though the window/frame buffer sizes are held constant. Why is this happening? Shouldn’’t the frame buffer size reflect the actual number of pixels on screen?

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [October 3, 2025, 3:59pm UTC](https://discourse.glfw.org/t/scaling-problem-in-linux/2964/2 "2025-10-03T15:59:11Z")

</div>

This sounds like [Display - wrong behaviour of scale (#259) · Issues · Xfce / xfce4-settings · GitLab](https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/259) i.e. display resolution scaling, which would make windows smaller when you increase the scale because you have increased the effective resolution of the display.

Also read: [GLFW: Window guide](https://www.glfw.org/docs/latest/window_guide.html#window_scale)
