[Patch] Allow to configure RANDR 1.2 outputs with no device attached

Matthias Hopf mhopf at suse.de
Mon Mar 12 11:14:21 PDT 2007


On Mar 12, 07 10:28:37 -0700, Keith Packard wrote:
> On Mon, 2007-03-12 at 16:05 +0100, Matthias Hopf wrote:
> 
> > Anything that speaks against this patch, or shall I commit?
> 
> The most serious issue I see is that this will encourage people to
> configure the monitor before plugging it in, which will often fail for
> monitors which cannot use the default modes. Is it not better to wait
> for the monitor to appear before presenting the supported modes?

As this patch doesn't *configure* anything at all, I don't see this
issue. 99% of all users will do 'xrandr --auto', of which the semantics
aren't changed.

Only with an explicit 'xrandr --output VGA --mode 1024x768' an output
will be activated.

> I cannot see any particularily good reason to present modes to the user
> which may not actually work, especially when it is so easy to simply
> wait and present a legitimate set when the monitor is connected.

I cannot see any particularly good reason to hide modes to the user,
which are not explicitly non-working (i.e. a monitor told the system
that it won't work). OTOH, if xrandr was able to explicitly configure
modelines for a non-attached output device, this would be good enough
for me in this case.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de



More information about the xorg mailing list