XGetImage returns junk with Xorg/dummy_drv/VTs

McDonald, Michael-p7438c Michael.McDonald at gdc4s.com
Mon Nov 24 10:40:22 PST 2008


 

> -----Original Message-----
> From: Adam Jackson [mailto:ajax at nwnk.net] 
> Sent: Monday, November 24, 2008 11:07 AM
> To: McDonald, Michael-p7438c
> Cc: xorg at lists.freedesktop.org
> Subject: RE: XGetImage returns junk with Xorg/dummy_drv/VTs
> 
> On Mon, 2008-11-24 at 10:19 -0700, McDonald, Michael-p7438c wrote:
> >   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.  

  But that's not true in the general case. If I don't have vtSema, all
it should mean is I'm not the current virtual terminal. I may have
multiple graphics cards, each exclusively owned by a separate X server.
So I believe that the meaning of vtSema got overloaded.

  Yes, I know that for most people, one system means one card and one
VT. It's just not the case for what I need. And I'd think with PCs
capable of supporting multiple graphic cards, more and more people would
want to be able to run multiple X servers.

> 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...

  Yup, kind of figured it was from the Xfree86 days. Guess I'll have to
figure out how to build an X server without any VT support. Oh fun!

Mike McDonald



More information about the xorg mailing list