>
> Hmmm... OK, but this gives us only the VT's, keyboards and mice - the
> video problem is the same, isn't it? That is, unless we want to use
> the fbdev, losing all acceleration and support for many cards. Or am
> I wrong - is there some acceleration in the framebuffer and its X
> driver?

You are wrong. There is no accelleration in fbdev. I did not just contradict myself. 
it will become clear further down this message.


> XFree
> currently expects that it is the only program accessing any video
> hardware, 

XFree assumes it is the only program accessing that particular card.

> If I remember correctly, the original VGA has I/O ports at somewhere
> around 0x3C0, and memory at ...

> Again, if I understand correctly, for multiple X servers we would
> have to isolate all shared I/O port accesses and enclose them in
> lock acquire/lock release. For the rest of the servers' lifetime
> (when no mode change is occuring), the cards' I/O access should stay
> disabled. Right?

Wrong.

> Now, please tell me, someone knowledgeable, if my above written
> guesses and conclusions are anywhere near the truth. :-) Thanks.

Nope.

> In the positive case, is it even possible to isolate I/O accesses in
> a driver-independent way? Where would I start? I'm willing to try to
> do the hard work, but I need guidance from someone who understands
> XFree internals. (Even then, it may prove to be too much for me...)

>From `man 5 XF86Config`:

DEVICE SECTION
...
       BusID  "bus-id"
              This  specifies the bus location of the graphics card.  For PCI/AGP 
cards, the bus-id string has the form PCI:bus:device:func
              tion (e.g., "PCI:1:0:0" might be appropriate for an AGP card).  This 
field is usually optional in  single-head  configurations
              when  using the primary graphics card.  In multi-head configurations, or 
when using a secondary graphics card in a single-head
              configuration, this entry is mandatory.  Its main purpose is to make an 
unambiguous connection between the device section  and
              the hardware it is representing.  This information can usually be found 
by running the X server with the -scanpci command line
              option.


In other words, all the work involving the Video card is already done. It might even 
work with cards that do multiple heads on the same card (the function parameter).
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to