From: Aivils S. <ai...@un...> - 2005-12-21 13:23:06
|
Hi, Mike! About videoadapter reinit on SIGHUP under X I am partialy success, but i have not ready for use patch! It is very simple. When DM sends SIGHUP to X, then function Dispatch() break eternal cycle and return. Dispatch() is called from dix/main.c main() function. X count each restart in the variable serverGeneration. Our task is creation on additional condition checking if(serverGeneration > 1 ) in the main() function. I think , beter is our paralel trying. Seems screenInfo overwriting and InitOutput() must be disabled when serverGeneration > 1. May be only single dix/main.c main() function must be patched and we got stable output over all X sessions. Output initialised on X startup only. Of course on Ctrl-Alt-Backspace X dies anyway. Aivils |