You are not logged in.

#1 2021-11-08 21:17:24

aryl_halide
Member
Registered: 2021-11-08
Posts: 4

[SOLVED] Messed up UI scaling after update

Hello! I've done a full update via pacman -Syyu, and on logging out I saw that sddm's UI elements are too large and take up the whole screen, same for i3wm and KDE Plasma.
LightDM does not have this issue, but it persists when i boot into a DE or WM.

I use xf86-video-amdgpu, and the problem persists on both the normal and zen kernels. The problem does not persist on other OSes.

My hardware setup is an AMD Ryzen 3400G for the GPU and an HDMI monitor.

Last edited by aryl_halide (2021-11-09 08:50:00)

Offline

#2 2021-11-08 21:30:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,750

Re: [SOLVED] Messed up UI scaling after update

This can generally happen due to loading races, you might want to try enabling early KMS: https://wiki.archlinux.org/title/Kernel … _KMS_start

Offline

#3 2021-11-08 21:43:11

aryl_halide
Member
Registered: 2021-11-08
Posts: 4

Re: [SOLVED] Messed up UI scaling after update

Tried it, didn't work, just to confirm that we're on the same page, these are the scaling issues im talking about: https://files.catbox.moe/42iflj.png .

(I used i3-gaps as an example but it persists everywhere except for LightDM)

Offline

#4 2021-11-08 22:12:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,750

Re: [SOLVED] Messed up UI scaling after update

What exactly was updated? This just looks like higher DPI than normal and if you're maybe running testing and got a new xorg server it will be more aggressive ins setting detected DPI values instead of unconditonally opting for 96 https://wiki.archlinux.org/title/Xorg#D … ze_and_DPI

Offline

#5 2021-11-08 22:34:15

aryl_halide
Member
Registered: 2021-11-08
Posts: 4

Re: [SOLVED] Messed up UI scaling after update

Thanks for the tip about testing repo, I disabled it in pacman.conf, downgraded xorg and now the scaling is back to normal!

Offline

#6 2021-11-08 22:52:32

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Messed up UI scaling after update

xorg 21 is not going to stay in testing forever. It'll eventually make its way to the main repos, and then you'll just be facing the same issue again. If you have time, you might want to look into properly fixing the config, so it'll be done and you won't have to fix it later.

Offline

#7 2021-11-10 08:05:02

tyatlas
Member
Registered: 2021-06-18
Posts: 2

Re: [SOLVED] Messed up UI scaling after update

You were right.
I updated today and got the same issue .

fortunately i had 4 days prior backup .. and restored to that for the time being.

Ammako wrote:

xorg 21 is not going to stay in testing forever. It'll eventually make its way to the main repos, and then you'll just be facing the same issue again. If you have time, you might want to look into properly fixing the config, so it'll be done and you won't have to fix it later.

Offline

#8 2021-11-10 08:14:13

seth
Member
Registered: 2012-09-03
Posts: 51,357

Re: [SOLVED] Messed up UI scaling after update

hogan-heroes.gif

Offline

#9 2021-11-11 09:26:22

rnovatorov
Member
Registered: 2020-08-31
Posts: 1

Re: [SOLVED] Messed up UI scaling after update

I had the scaling issue after upgrading `xorg-server` (1.20.13-3 -> 21.1.1-2). Some programs (e.g. `keepassxc`, `dmenu`, `telegram-desktop`) suddenly became larger.

Turned out that [DPI of X server](https://wiki.archlinux.org/title/Xorg#D … ze_and_DPI) was auto-configured. Seems like the upgrade brought a change (bug?) in auto-configuration logic.

Configuring the DPI manually by adding `xrandr --dpi 96` to `.xinitrc` fixed the issue for me.

Offline

#10 2021-11-11 10:31:41

phollox
Member
Registered: 2013-05-04
Posts: 61

Re: [SOLVED] Messed up UI scaling after update

I've been using Linux for years. And I always read stuff about how dreadful is X11. It's part of the lore. But I've never face any major issues until this morning.

Spend the whole morning trying to avoid the downgrade solution. Make the config file, according to the Wiki information, without success. Then I gave up, downgraded and the machine is now bricked. Thanks to this issue, I now know why X11 is frustrating.

I will do the DPI setting with xrandr. If that doesn't work, which packages should be downgraded? I downgraded the server and the server-common.

Finally, what's the right way to set the DPI within X11?

Thanks


I divide by zero, multiple times per day. Also, I don't believe in tipping
Arch + i3wm (still learning)

Offline

#11 2021-11-11 11:14:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,750

Re: [SOLVED] Messed up UI scaling after update

Add -dpi 96 to the startup arguments. Where you have to do that depends on your way of starting X. FWIW the change got reverted and will be the old behaviour once 21.1.1-3 gets out of testing. 96 is technically wrong for a lot of cases but there are so many things that just plain assume that to always be the case that they lead to "breakage"

Last edited by V1del (2021-11-11 11:16:34)

Offline

#12 2021-11-12 08:09:28

DoXer
Member
Registered: 2017-08-27
Posts: 36

Re: [SOLVED] Messed up UI scaling after update

Wit Xorg 21.1.1-3 the issues seams be solved. I also had fonts that were too big, but with the last update I was able to remove the forced setting to 96 DPI.


--
Regards
Michael

Offline

#13 2021-11-12 08:19:57

seth
Member
Registered: 2012-09-03
Posts: 51,357

Re: [SOLVED] Messed up UI scaling after update

There was nothing really solved, the DPI just isn't autocalculated by again fixed on (the probably false value)  96.

Offline

Board footer

Powered by FluxBB