You are not logged in.

#1 Yesterday 17:14:17

koroki
Member
Registered: 2013-08-03
Posts: 55

xwayland scaling is wrong

Since I updated to gnome 50, the xwayland scale is wrong completelly if I am using a fractional scaling. I use a 125% scaling and all wayland native programs works properly but programs taht runs over xwayland are unusable since appears super small...

Offline

#2 Yesterday 18:39:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,754

Re: xwayland scaling is wrong

programs that runs over xwayland  … appears super small

Can you quantify that? What processes specifically and how small is "super small"? 100% scale? 80% scale?
Do things works normally w/ any integer scale (100% or 200%)?

Offline

#3 Today 06:12:33

koroki
Member
Registered: 2013-08-03
Posts: 55

Re: xwayland scaling is wrong

seth wrote:

programs that runs over xwayland  … appears super small

Can you quantify that? What processes specifically and how small is "super small"? 100% scale? 80% scale?
Do things works normally w/ any integer scale (100% or 200%)?

I cannot... seams 50% but I cannot check it.

I upload a screenshot:

Captura-de-pantalla-de-2026-04-25-08-10-29.png
It is blackboc-terminal (GTK3/wayland) vs xterm (in xwayland) over my laptop screen FullHD at 125%.

Last edited by koroki (Today 06:13:33)

Offline

#4 Today 08:06:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,754

Re: xwayland scaling is wrong

The screenshot is scaled down?
Please don't embed "larger" images anyway but just link them.

xdpyinfo | grep -i resol
xrandr -q
seth wrote:

Do things works normally w/ any integer scale (100% or 200%)?

https://wiki.archlinux.org/title/HiDPI#Xwayland is enabled?

Though I'd actually not do that if your interest is xterm, https://wiki.archlinux.org/title/HiDPI#X_Server to scale dpi sized fonts will likely get you better visual results.

Offline

#5 Today 09:47:45

koroki
Member
Registered: 2013-08-03
Posts: 55

Re: xwayland scaling is wrong

Up as I know, since some years, this is not an experimental feature.

It does not happen when the scale is integer.
https://ibb.co/ds47JsjF

Offline

#6 Today 10:59:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,754

Re: xwayland scaling is wrong

fractional xwayland scaling is only supported since 20 months w/ v47, no idea whether it's still experimental.
You're apparently using a bitmap font, ie. it will not be DPI scaled and you'd *have* to employ some sort of (blurry) upscaling of the rendered image, is that intentional?

Offline

#7 Today 11:46:33

hex1337
Member
Registered: Today
Posts: 2

Re: xwayland scaling is wrong

Seth is right about the bitmap font that error is xterm failing to load it and falling back to something tiny.

Maybe try this:

xterm -fa 'Monospace' -fs 12

Or set it permanently in ~/.Xresources:

XTermfaceName: Monospace
XTermfaceSize: 12

Fix that first, then see if the scaling still looks off.

Offline

Board footer

Powered by FluxBB