Accepted xresprobe 0.4.24ubuntu1 (source)

Timo Aaltonen tjaalton at cc.hut.fi
Thu Mar 8 10:14:05 GMT 2007


On Wed, 7 Mar 2007, Matt Zimmerman wrote:

>> could be that "Virtual size" isn't the best string to match..
>
> Does this provide us with any useful information?  Does the VESA BIOS
> accurately report the size of an attached LCD?

No it doesn't, but the server autoprobes the best values it can use.

>> That's correct, but this can be reverted easily before the beta if it
>> creates more problems than it solves.
>
> No, I don't think it can.  The beta freeze is next week, and the beta
> release the week after.  I don't think this can be credibly tested before
> then.  We simply won't know whether it breaks too much until huge numbers of
> people try the beta.

That's correct.. we can narrow the change:

>> The old version probes with a config that has a 'Mode "1024x768"' set,
>> which means that the string I'm trying to match with vesa would be just
>> that (->no progress).
>
> There were no bug numbers included in the changelog, so it isn't clear what
> problem you're attempting to solve.  Perhaps if you discuss it here on the
> list, we can come to a consensus about the best way to proceed.

Well, we can make it to only use autoprobing when the driver is vesa. 
Like this (xprobe.sh):

if [ "$DRIVER" = "vesa" ]; then
   /usr/bin/Xorg :67 -ac -probeonly -logfile "$TMPLOG" > "$TMPOUT" 2>&1
else
   /usr/bin/Xorg :67 -ac -probeonly -logfile "$TMPLOG" -config "$TMPCONF" > "$TMPOUT" 2>&1
fi

Note that all of this is only for laptop owners which have to use the 
vesa-driver (newer ATI chips, for instance). If it's not a laptop, a 
different method is used to probe the resolution (=ddcprobe).


t



More information about the ubuntu-devel mailing list