You are not logged in.

#1 2020-05-28 00:18:15

warpig
Member
Registered: 2020-05-28
Posts: 2

Broken screen resolution settings after unexpected poweroff

Hello,

My daughter accidentaly unplugged my machine, and when I powered it back on, the resolution on the TTY was different, also the X server res was way lower. I understand how to switch the resolution back to 1920x1080 using xrandr, but that doesn't fix the TTY resolution, and I have to keep using "xrandr -s 1920x1080" after each reboot. I would like to understand what happened. I've done some research in google and the arch wiki and forums but haven't found anything about this problem... if someone could please explain I would be really grateful. Thank you in advance. <3

Offline

#2 2020-05-28 06:36:19

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

Re: Broken screen resolution settings after unexpected poweroff

Were you conductign a system update while you stumbled ov… your daughter accidentally unplugged the AC?
It's pretty much the only scenario where I can see this incident leading to that outcome and in that case you probably have more problems.

Compare

pacman -Qs linux; uname -a

and try to enable early KMS, https://wiki.archlinux.org/index.php/Ke … _KMS_start

Offline

#3 2020-05-28 06:40:37

anti4r
Member
From: East Coast US
Registered: 2017-08-14
Posts: 3

Re: Broken screen resolution settings after unexpected poweroff

I don't know the underlying cause, but a temporary fix would be to create a systemd service to run the xrandr command at startup. Put

xrandr -s 1920x1080

in a script.sh file and point to it in the systemd service file with the line

ExecStart=/bin/bash /path/to/script.sh

Offline

#4 2020-05-28 06:42:49

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

Re: Broken screen resolution settings after unexpected poweroff

You could rather execute that in your session script or the Xserver scripts of your DM or set the PreferredMode, https://wiki.archlinux.org/index.php/Xr … esolutions

Offline

#5 2020-05-30 21:32:12

warpig
Member
Registered: 2020-05-28
Posts: 2

Re: Broken screen resolution settings after unexpected poweroff

Solved it... good old system reinstall. Lol

Thanks for your help!

Offline

Board footer

Powered by FluxBB