You are not logged in.

#1 2021-08-31 14:37:53

lith/heli
Member
Registered: 2021-07-26
Posts: 66

[SOLVED] Monitor not scaling right

hello!

today i upgraded to a 1080p screen from a 720p one, but when i use my new 1080p screen nothing is scaled right even though in the gnome settings it says 1080p.

i hope you can help me!
ill give more information if needed

Last edited by lith/heli (2021-09-03 11:44:26)

Offline

#2 2021-08-31 15:05:32

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

Re: [SOLVED] Monitor not scaling right

1. What display server? X11 or wayland?
2. If X11, "xrandr -q; xdpyinfo | grep -i resolution; xrdb -q | grep -i dpi" - also the Xorg log, https://wiki.archlinux.org/title/Xorg#General
3. In any event also "printenv"

https://wiki.archlinux.org/title/HiDPI (despite 1080 probably not being "HiDPI" it has a lot onf information on what affects the UI scale)

Offline

#3 2021-08-31 15:12:08

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

Offline

#4 2021-08-31 15:22:59

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

Re: [SOLVED] Monitor not scaling right

HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm

Is the Monitor 1.6m wide?

This results in a physical resolution of ~30DPI, while you're most likely looking for 96

xrandr --dpi 96

(but this will only impact processes started afterwards)

===> Xorg log?

bash: xdpyinfo: command not found

=> package xorg-xdpyinfo

Offline

#5 2021-08-31 15:40:08

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

i think its 80cm wide
i did the "xrandr --dpi 96" but i dont think anything changed.
i saw 2 log files Xorg.0.log and Xorg.1.Log so heres both: https://gist.github.com/leathium/3fb19e … b9838fe0ea and https://gist.github.com/leathium/6a5151 … c3c71c0135
i have now installed the package!

Offline

#6 2021-08-31 15:47:34

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

Re: [SOLVED] Monitor not scaling right

Again, it'll do nothing to running processes.

[    54.583] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    54.592] (--) NVIDIA(0): DPI set to (30, 30); computed from "UseEdidDpi" X config
[    54.592] (--) NVIDIA(0):     option

/etc/X11/xorg.conf.d/20-nvidia.conf

Section "Device"
	Identifier "Default nvidia Device"
	Driver	"nvidia"
	Option  "DPI"					"96x96"
	Option	"UseEdidDpi"			"False"
EndSection

At 80cm (31.496") *width* (not diagonal?) the accurate resolution would be 60dpi…

Alternatively (the above *only* works for nvidia)
/etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
    Identifier "HDMI-0"
    DisplaySize  800 500 # make sure that's correct…
EndSection

Last edited by seth (2021-08-31 15:48:15)

Offline

#7 2021-08-31 16:07:05

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

okay i did both the thingies by doin "sudo nano [path]" then pasting the stuff you send me and both didnt work, the second actually made me unable to login with X11

Offline

#8 2021-08-31 16:13:57

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

Re: [SOLVED] Monitor not scaling right

Updated xorg log(s) and "xdpyinfo | grep -i resolution"?

Offline

#9 2021-08-31 16:17:15

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

i did remove them should i put the one that worked ( aka the one that did let me login with x11) back?

Offline

#10 2021-08-31 17:42:48

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

Re: [SOLVED] Monitor not scaling right

All of them, the good, the bad and the ugly.

Offline

#11 2021-08-31 19:31:23

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

im sorry for taking so long! here is the info you wanted,
"$ xdpyinfo | grep -i resolution
  resolution:    96x96 dots per inch"

without the /etc/X11/xorg.conf.d/20-nvidia.conf: https://gist.github.com/leathium/6debd4 … 499f7082f2 and https://gist.github.com/leathium/071d06 … f1517846f2

with the /etc/X11/xorg.conf.d/20-nvidia.conf: https://gist.github.com/leathium/265dcc … 691840f67e and https://gist.github.com/leathium/27a541 … 173d1eb59e

Offline

#12 2021-08-31 21:31:36

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

Re: [SOLVED] Monitor not scaling right

So the resolution is at 96dpi and it's (because it's) forced this way in the servers that start up with 20-nvidia.conf

The only way this could fall flat is if the clients randr-check the dimensions of the output and calculate their own resolution.
What's the xorg log for the failing server w/ 11-monitor.conf ?

Also maybe elaborate on what exactly is "not scaled right" how exactly (maybe a screenshot would help?)

Offline

#13 2021-09-02 09:49:47

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

hi! im sorry i took so long to respond ive been pretty busy. i hope we can still take time to solve this issue. ill bring you the info in a minute

Offline

#14 2021-09-02 10:01:32

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

What i mean by not scaling right is, that every that gnome and apps go past the size of my screen. for example i cant see the gnome top bar because its not on my screen its past that.
logs: https://gist.github.com/leathium/77f157 … 6876bb67ad and https://gist.github.com/leathium/33a10e … d5da86ca6c

Offline

#15 2021-09-02 13:50:41

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

Re: [SOLVED] Monitor not scaling right

Neither log indicates a server issue and neither makes an attempt to set DisplaySize for any output.
If you "fix" the server by removing the monitor configlet and then start X11, you'll have to look at the Xorg.*.log.old

Offline

#16 2021-09-02 15:31:08

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

so whats am i supposed to do?

Offline

#17 2021-09-02 15:32:35

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

Re: [SOLVED] Monitor not scaling right

Add /etc/X11/xorg.conf.d/11-monitor.conf, start X11 dump the log.
If gnome tries to use the physical resolution you'll have to communicate proper display dimensions (and they're not coming from the EDID)

Offline

#18 2021-09-02 16:19:44

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

Offline

#19 2021-09-02 16:36:41

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

Re: [SOLVED] Monitor not scaling right

That serer ran successfully for ~40 seconds and also has no indication of attempts to set DisplaySize.

Offline

#20 2021-09-02 16:45:41

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

thats about correct this is a log after a reboot and i just used the displaysize dimensions you gave me since i dont know what it is

Offline

#21 2021-09-02 20:00:57

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

Re: [SOLVED] Monitor not scaling right

What?
You're supposed to add /etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
    Identifier "HDMI-0"
    DisplaySize  800 500
EndSection

Then start the X11 server (which according to a previous post will fail) and post the resulting Xorg log.

Offline

#22 2021-09-02 20:02:51

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

it used to but now for some reason it doesnt fail

Offline

#23 2021-09-02 20:15:35

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

Re: [SOLVED] Monitor not scaling right

Ok, post the xorg log still. Also: did it have impact on the scaling situation?

Offline

#24 2021-09-02 21:14:53

lith/heli
Member
Registered: 2021-07-26
Posts: 66

Re: [SOLVED] Monitor not scaling right

did i not already send the right log? and sadly it didn't. some more info that might matter is that i can also see this at boot not just gnome

Offline

#25 2021-09-02 21:28:17

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

Re: [SOLVED] Monitor not scaling right

The server for the log in #18 does not attempt to set DisplaySize

at boot not just gnome

Does that mean "GDM" or the boot messages (maybe even the bootloader?)

Though from the description in #14 (which doesn't meet "dpi too low"), the weird EDID, the resolution and especially "LG Electronics LG TV":
https://wiki.archlinux.org/title/Xrandr … n_property
The preferable way to deal with that is however *not* to pre-downscale the image and have the TV upscale it (double-blur), but to deactivate the feature in the Tv (no blur)

Offline

Board footer

Powered by FluxBB