[RFC] xrandr: display gamma and brightness

Éric Piel E.A.B.Piel at tudelft.nl
Mon Jan 11 04:58:04 PST 2010


Op 10-01-10 13:02, Mikhail Gusarov schreef:
> 
> Twas brillig at 00:59:32 10.01.2010 UTC+01 when E.A.B.Piel at tudelft.nl did gyre and gimble:
> 
>  ÉP> Do you think it could be useful? If so, I can try to clean it up
>  ÉP> and send it again :-)
> 
> It would be useful. Some remarks:
> 
>  * do not output raw gamma values or at least make it use less screen
>    estate and put it after the output it belongs to.
Ooops, this part was actually just for debugging purpose, will remove it
entirely.

> 
>  * it would be nice to mark gamma/brightness fields as approximate in
>    output, unless it can be rounded in a useful manner (I have got gamma
>    1.0000006 and brightness 0.6999985 instead of 1.0 and 0.7).
Indeed. It comes from the whole conversion path from decimal to float to
fixed to float to decimal. It's opposite to the goal of being
user-meaningful. I can try a "use only four significant digits", and it
should get read of the approximation, without changing too much the numbers.

Eric



More information about the xorg-devel mailing list