Do not display the screensaver

Kai-Uwe Behrmann ku.b at gmx.de
Wed May 19 04:21:48 PDT 2010


Gamma ramps vary from card to driver. 8,10,12-bit Who knows? A correct 
implementation has to check the gamma ramp size. I thought to have read 
somewhere in the adverticing material that ATI has more then 8-bit ramps.

kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org


Am 19.05.10, 19:01 +0800 schrieb Cui, Hunk:
> Hi, Jackson,
> 	First thanks for your explanation, through the debugging, I found when I start the "fade to black", the gamma values will be setup to the default value (1.0), it will be transferred to the XServer. And in XServer, the value will be write into the VidModeSetGamma -> xf86ChangeGamma -> xf86RandR12ChangeGamma -> gamma_to_ramp (calculate the RGB values) -> RRCrtcGammaSet. Now I have some difficulty. In gamma_to_ramp step, I found the type of ramp value is CARD16. Why is not the CARD8? For R,G,B values, it only have 256bytes RAM.
> 	Can you tell me the reason?


More information about the xorg-devel mailing list