[PATCH] modesetting: Add common 16by9 and 16by10 resolutions to mode list

Adam Jackson ajax at nwnk.net
Wed Aug 23 20:14:19 UTC 2017

On Tue, 2017-08-22 at 15:12 -0500, Michael Cronenworth wrote:

> Today, the ms driver and xf86GetDefaultModes() grabs 4:3 modes only 

No it doesn't? There exist non-4:3 modes in the xf86DefaultModes list,
and nothing in the driver looks like it has any preference for 4:3
modes. How are you reaching this conclusion?

> Using a 2560x1440 mode to play any 3D application on an Intel IGP
> does not net a lot of frames per second. Downscaling to a 4:3 mode to
> end up with black bars on the monitor is not ideal either.
> What direction do you want this patch to take? Update the DMT list
> (if it needs it) and switch xf86GetDefaultModes() to use DMT?

Apparently I thought this was such a good idea that I'd implemented it
in RHEL6:


The "name compat" stuff there is just for binary compatibility with
upstream's Xorg and it's not bothering to delete the default mode
table, but otherwise that's pretty much the right idea I think.

As far as updating the DMT list, I think we're missing the equivalent
of bfcd74d2aeda25a78f7cc92f80650218b1bce0ca from drm, which would add
several more non-4:3 modes.

- ajax

More information about the xorg-devel mailing list