Re: [dev] [dwm] Incorrect resolution when turning on dual monitors

From: Yan Doroshenko <yan1994doroshenko_AT_gmail.com>
Date: Sat, 7 May 2022 19:10:13 +0200

On 07.05.22 18:13, Hiltjo Posthuma wrote:
> On Fri, May 06, 2022 at 10:27:32PM -0400, Christopher Brown wrote:
>> Hello,
>>
>> I have been intermittently encountering an issue where dwm messes up
>> my monitor resolutions when powering on my two monitors. Frequently,
>> both screens will be combined on one monitor while the other monitor
>> does not receive input. The "Two independent outputs" section of the
>> multi monitor dwm documentation seems to describe what I am
>> experiencing. I tried using the xrandr options it mentions, but I will
>> still sometimes encounter the issue. Does anyone know how to prevent
>> this from happening?
>>
>> Thank you,
>> Christopher
>>
> Hi Christopher,
>
> Do you run the latest git version?
>
> Can you try the commit
> https://git.suckless.org/dwm/commit/d93ff48803f04f1363bf303af1d7e6ccc5cb8d3f.html
> or if you run the git version revert the commit and see if it solves the issue?
>
Not sure if this is of any help, but I was having troubles with DWM on
two monitors as well, one screen was not recognized by DWM.

A 1 second delay before running my screen layout script was enough to
fix it, here's an explanation:

https://wiki.archlinux.org/title/xrandr#Setting_resolution_from_.xinitrc_doesn't_work


Regards,

Yan


Received on Sat May 07 2022 - 19:10:13 CEST

This archive was generated by hypermail 2.3.0 : Sat May 07 2022 - 19:12:08 CEST