XGetImage returns junk with Xorg/dummy_drv/VTs
ajax at nwnk.net
Mon Nov 24 10:06:38 PST 2008
On Mon, 2008-11-24 at 10:19 -0700, McDonald, Michael-p7438c wrote:
> > Yes, it does that. When Xorg loses the VT, it empties the
> > clip list for the root window. All drawing to the root window gets
> > thrown away, and all readbacks from it do nothing (which looks like
> > uninitialized data).
> Why would it do that? X apps don't know anything about VT switching,
> nor should they.
Because when you don't have the VT, you don't have the hardware, so you
can't submit commands to it. We don't preserve the framebuffer when we
VT switch away, we just generate exposures for all windows when we
There was some debate about this way way back in like xfree86 4.0 or so.
I don't remember what the motivation was for what we've got now, but
it's what we do, so...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the xorg