[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: what does "+"(preferred) means in xrandr?
From:       Aaron Plattner <aplattner () nvidia ! com>
Date:       2018-11-26 18:51:34
Message-ID: 6e43a65b-3088-97af-6d19-b6e8a42ff284 () nvidia ! com
[Download RAW message or body]

"preferred" generally means that the Extended Display Information Data
(EDID) from the monitor indicates that that mode most closely matches
the native timings of the display. All modes listed by RandR for a given
monitor should work with that monitor, but the preferred mode should
work best (for some definition of "best").

RandR will send events when the list of modes for an output changes. To
receive those, you should use XRRSelectInput() to select for them. I
*think* the mask you want it RROutputChangeNotifyMask.

You can get more information about RandR resources and requests in
randrproto.txt:
https://gitlab.freedesktop.org/xorg/proto/randrproto/blob/master/randrproto.txt

On 11/24/18 8:20 AM, pengyixiang wrote:
> hello everyone!
>     What the “preferred" means in xrandr?  Is it setted by display
> hardware? Can we set it manual? If we call “XOpenDisplay” to open
> default screen and then poll the returned x11_fd, will we interrupted
> for “preferred" changed? Is there others docs about it? Looking forward
> to your reply.
> 
> 
> Cheers,
> Pencc
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic