After a restart, everything on becomes big and its pretty hard to use, I guess its an resolution problem, but I’m not sure yet because the following things.
The results of
xrandr
is
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
1920x1080 144.01*+
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
And the KDE resolution settings are 1920 x 1080 too. But using screen.height and screen.width in chromium shows 797 and 1417 relatively.
I don’t know what have gone wrong and what extra info should I get, and how can I solve this problem. Can someone help me?
I’m sorry, but it didn’t work for me. In tumbleweed there’s no sddm.conf and I don’t think it is safe to create another, and I don’t think its a DPI error, for the resolution just changed after an restart and the resolution did change according to the nodejs and chromium javascript variables. Its really strange, is there a way to reset everything in KDE? removing ~/.kde5 didn’t work for me for some reason. Maybe because its tumbleweed?
When you say this happened after a restart, had updates/upgrades been applied? Could it be possible some upgrade to the X11 has changed your default driver?
I think I’ve seen similar behaviour when my proprietary Nvidia driver has been sidelined by an upgrade.
Perhaps there are clues in /var/log/Xorg.0.log or /home/<your_username>/.local/share/sddm/xorg-session.log