>Fortunately XF86VidModeSetGammaRamp() and friends allow these values
>to be altered by any application while the server continues to run.
>This means that a configuration program can write the data to a file,
>then have a simple user-mode app run as part of the start-up script
>which reads the data and passes it to the server via 
>XF86VidModeSetGammaRamp().
>
>No need for this data to reside in a root-owned X server config file.

That is a help, but it doesn't totally solve the problem.

At the beginning of the thread we were talking about the need for
run-time and init-time configuration. I wasn't aware of this
XF86VidModeSetGammaRamp() function but it seems it is the opposite
of the other problems that were discussed. It _has_ run-time
configuration but no init-time configuration.

If an external tool is used, it will only solve the problem for
some of the cases. Set-top-boxes need to display a splash screen
asap, and nothing else until they are fully initialized. If the
splash screen comes up before we are ready to accept clients then
we can't have the correct gamma on the splash screen... It isn't so
much of a problem that the gamma is slightly off, but that it will
change while on-screen.

Lets not get into the details of solving the gamma issue, given any
single problem a solution could be worked out. The specifics aren't
important.

XFree currently has some init-time configurable parameters and
some run-time configurable parameters. It would be a good plan
to make any new configuration system/tool solve the init-time and
run-time problems for all parameters.

-Matt

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to