On Mon, 2003-11-03 at 16:51, Gerhard W. Gruber wrote:
> I'm working on a kernel debugger which is similar to SoftICE on WIndows. I
> would like to take advantage of the graphics mode when a user activates the
> debugger under X and so I was investigating how to solve this. When I use
> normal VGA mode it doesn't work on my card when I have X running while a
> fellow coder has a similar card with also nvidia drvier and it works for him
> (more or less). 
> Now I wonder what is the relation of the video driver to X. What is happening
> when i.e. the user changes to a console? X must save the current state of the
> VGA card (i.e. resolution, frequency, etc.) and switch to a suitable console
> mode. Similarily when the user switches back to X this has to be reversed and
> the state restored. Now I wonder how exactly this is going to happen. Since
> nvidia doesn't open it's code I can't look at it, but there has to be some
> interface so that X can do this stuff without knowing the details of the
> driver. Can I use this interface in kernel modules as well? I think it should
> be possible.

You would probably need to use an XFree86 extension. Look at the DGA
extension.

-- 
Torgeir Veimo <[EMAIL PROTECTED]>

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

Reply via email to