winft / disman

Qt/C++ display management library
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Pick preferred mode with auto resolution and rate #35

Closed romangg closed 7 months ago

romangg commented 3 years ago

When both, resolution and refresh rate are set to automatic, we should not pick the mode that offers the highest of both but rather the preferred mode as it is advertised by the windowing system.

romangg commented 3 years ago

In GitLab by @TheLich132 on Oct 16, 2020, 17:36

As you said, that it's unlikely to have weird preferred refreshrates, then I think it can be a good change.

For example, I have set 144Hz in nvidia-settings (probably that's why it is preferred for me in xrandr). But when I will want to change to 165Hz or whatever refreshrate, I will need to change it only in nvidia-settings, than in both programs, since Disman will automatically set refreshrate by preferred value.