You are not logged in.

#1 2023-11-27 05:13:27

popoffka
Member
Registered: 2012-03-29
Posts: 16

Did Chromium introduce some new UI scaling logic?

I updated my system today and everything was working just fine until I disconnected my external monitor. With just the laptop's internal screen left, Chromium scaled its entire UI (and website content) to be smaller, and now all text looks terrible and fuzzy. Look at the bottom checkbox in this screenshot (scaled 2x), for example:

2023-11-27-000348_316x203_scrot.png

If I plug the external monitor back in and reenable it in xrandr, everything goes back to normal (regardless of which display the Chromium window is on):

2023-11-27-000419_402x247_scrot.png

Here's xrandr with the external monitor (DP3) enabled:

Screen 0: minimum 8 x 8, current 5760 x 2472, maximum 32767 x 32767
eDP1 connected 1920x1200+3840+1272 (normal left inverted right x axis y axis) 300mm x 190mm
   1920x1200     60.00*+
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  29.56
   2560x1440     59.95
   2048x1280     59.92
   2048x1152     60.00
   1920x1200     59.88
   1920x1080     60.00    60.00    50.00    59.94    24.00    23.98
   1600x1200     60.00
   1680x1050     59.95
   1280x1024     75.02    60.02
   1280x800      59.81
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    60.00
   800x600       75.00    60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    60.00    59.94
   720x400       70.08
DP4 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

The only other relevant thing I can think of is that I have "Xft.dpi: 120" set in .Xresources.

No other apps seem to be doing anything like this. Is this an intentional change in Chromium, and if so, can I disable it?

Last edited by popoffka (2023-11-27 05:16:57)

Offline

#2 2023-11-27 09:07:21

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

Re: Did Chromium introduce some new UI scaling logic?

Both outputs are ~160dpi, you set Xft.dpi: 120  and the images differ by ~120%
The ratio doesn't fit between 160 & 120 but between 120 and 96dpi

xdpyinfo | grep -i resolu # what resolution is the server running on
xrandr --dpi 120 # or 160 # what if you change that…

Online

Board footer

Powered by FluxBB