You are not logged in.

#1 2025-06-16 16:17:47

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

Resolution issues after tested another monitor.

I have 2 monitors on my system. The main is 1920x1080 connected on display port and the other 1680x1050. While I was on niri compositor I swiched the 1920x1080 monitor with another with same resolution which also connected to display port. From this point I had a resolution problem. The new monitor automatically change the resolution to 1366x1024. Using wlr-randr I manually changed it to 1920x1080. After I used it for some hours, I disconnected it and connected the old monitor back.
Again the resolution changed from 1920x1080, and always swiches to that(lower) resolution unless I manually change it using wlr-randr. But the problem is more general and not only on niri compositor.
Now when I reboot also grub's resolution is lower and also cannot switch Os because of this(I'm using a grub theme) and if I try the pc hangs at a black screen. If I don't press anything, I can boot to arch which is the default Os, but again with the wrong resolution which also causes problem on login. I'm using a custom script as sort of login manager and this script which uses ncurses, crashes not and give a curses error. So I can only manually run niri from tty in which again I have the wrong resolution. I have in niri config a line with the correct resolution but it doesn't work any more. Any idea what's happened? I didn't change anything, I haven't update the system, install/remove anything, so I don't understand how this happened.

Offline

#2 2025-06-16 16:42:03

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

Re: Resolution issues after tested another monitor.

I'm answering myself because after I poweroff the pc, the problem solved. I also changed grub's GFX_PAYLOAD from keep to the monitor's resolution, but probably needed to poweroff the machine only, because only after that it worked(not with the reboot).

Offline

Board footer

Powered by FluxBB