Re: [dev] [dwm] Incorrect resolution when turning on dual monitors
On Tue, May 24, 2022 at 10:06:21PM -0400, Christopher Brown wrote: > I am using the latest git version, so I reverted the commit. However, > I am still experiencing the issue after doing that. > > Christopher > > On Sat, May 7, 2022 at 12:15 PM 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? > > > > -- > > Kind regards, > > Hiltjo > > > Hi Christopher, OK thanks for testing and reporting back atleast, I'm not sure what the issue is. -- Kind regards, Hiltjo
Re: [dev] [dwm] Incorrect resolution when turning on dual monitors
I am using the latest git version, so I reverted the commit. However, I am still experiencing the issue after doing that. Christopher On Sat, May 7, 2022 at 12:15 PM 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? > > -- > Kind regards, > Hiltjo >
Re: [dev] [dwm] Incorrect resolution when turning on dual monitors
On Sat 07 May 2022, Yan Doroshenko wrote: > > 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 Is the “right way” (tm) to do it not to set things up in your Xorg.conf though? I am assuming that your errors have something to do with the state of X when dwm is started, thus surely the way way to solve it should be to ensure that X is in the state you want *before* dwm is launched, no? I know the Xorg.conf syntax and documentation is a bit of a mess, but I have never encountered any issues interacting with a WM once I got it configured.
Re: [dev] [dwm] Incorrect resolution when turning on dual monitors
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 OpenPGP_signature Description: OpenPGP digital signature
Re: [dev] [dwm] Incorrect resolution when turning on dual monitors
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? -- Kind regards, Hiltjo
Re: [dev] [dwm] Incorrect resolution when turning on dual monitors
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 > dwm is unlikely to be the culprit here, although it also doesn't help any. dwm only consumes the Xinerama information, it does not perform any settings itself. So whatever is going wrong is likely to be with the startup of your X server. I would suggest you investigate how the server starts in your case, and how it attempts to deal with multiple displays. Ciao, Markus
[dev] [dwm] Incorrect resolution when turning on dual monitors
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