You are not logged in.

#1 2020-07-30 03:30:35

Nimlot
Member
Registered: 2013-02-12
Posts: 9

[SOLVED] Unexpected resolution change a few minutes after login

I have a laptop connected to a 4k external monitor. At boot, X detects the external monitor and sets the resolutions to 3200x1800 (laptop) and 3840x2160 (external). Immediately after logging in, the resolutions remain correct on both monitors.

About 5-10 minutes after logging in, the resolution on both monitors suddenly changes. The change is somewhat unpredictable, but here's what I've observed:

  • 3200x1800 laptop, 800x600 external

  • Incredibly high resolution (something like 15000x10000) with fractional scaling on laptop, mirrored on external

The laptop is running Xorg 1.20.8-2 and bspwm 0.9.9-1. Here's what I've tried so far that didn't fix the problem:

  • Checking the X logs (I didn't see anything unusual)

  • Installing and configuring autorandr

  • Removing ~/.config/monitors.xml

  • Removing resolution-related files in /etc/X11/xorg.conf.d

Does anyone have suggestions about how I can diagnose what's causing the resolution change? Thanks!

Edit: It seems like this might be a bspwm problem, since it doesn't happen if I use i3 instead.

Last edited by Nimlot (2020-07-30 06:22:32)

Offline

#2 2020-07-30 05:07:07

Awebb
Member
Registered: 2010-05-06
Posts: 5,523

Re: [SOLVED] Unexpected resolution change a few minutes after login

You might want to inspect the systemd journal and dmesg at the time around the event.

Offline

#3 2020-07-30 06:22:18

Nimlot
Member
Registered: 2013-02-12
Posts: 9

Re: [SOLVED] Unexpected resolution change a few minutes after login

Thanks! That helped me figure out that it was a udev rule I set up a long time ago and had forgotten about.

Offline

Board footer

Powered by FluxBB