wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

When external monitor is set to mirror laprop screen it get hard-swched to low 1920x1200 resolution

Open mark-herbert42 opened this issue 1 year ago • 2 comments

Wayfire git version, Mesa git, 6.9-rc7.

I use GPD win max 2 laptop with 2560x1600 screen, and connect Zeuslap 16" monitor with exactly same 2560x1600 resolution.

It connects fine - and I can choose the resolution I want up to native 2560 and 144Hz. But - until I do

[output:DP-1] mode = mirror eDP-1

When I do so - external monitor falls back to 1920x1200 and I can not do anything with it so mirror is totally unusable. But I do have both screens capable to have 2560 resolution natively when they run independently. And my internal e-DP screen continues running native resolution - so only mirrored output is affected by this.
If I try to set native resolution on external monitor - it stops mirroring and just works as separate output.

mark-herbert42 avatar May 07 '24 17:05 mark-herbert42

Yes, this is because mirroring currently always takes the preferred mode, which for this monitor seems to be the 1920x1200 one. There is a pending PR for this with some requested changes and with most things actually already iimplemented, so if you feel up to the task, feel free to continue the work (I think at least you should be able to rebase the changes on top of latest master for your personal use): https://github.com/WayfireWM/wayfire/pull/1716

ammen99 avatar May 07 '24 17:05 ammen99

I've tried 1716 - applied OK but does not work. Looksl like wf-configb patch is broken. If I simply hardcode the mode in 1716 instead of trying to read it - works like a charm

mark-herbert42 avatar May 07 '24 18:05 mark-herbert42