How can I exclude the X default mode in RandR ?

Alex Deucher alexdeucher at gmail.com
Mon Mar 23 06:53:32 PDT 2009


On 3/23/09, GordonYuan at viatech.com.cn <GordonYuan at viatech.com.cn> wrote:
>
>
>
>
> Dear all,
>
>     In RandR, X will include the default mode (xf86DefaultModes) in the mode
> list. But it’s not useful for some devices (e.g. TV or HDMI). How can I
> delete these modes from the mode list? I don’t want to output these modes if
> I press the command “xrandr -q”.
>
>     It’s X behavior. It seems that driver can’t change the logic.
>
>     Thanks!

xserver 1.6 and newer only add the default modes if the edid has the
continuous frequency bit set.  If you don't want to add certain modes,
you can filter what gets added in your driver's mode_valid() function.

Alex



More information about the xorg mailing list