> I can tell you from my own personal experience that the BIOS on the
> graphics card can nearly always restore the screen no matter what state
> you have put the graphics hardware into.
Great. It wasn't always so in the early 1990's. I once had a pc I had
to turn off whenever the os/2 video driver died. The pc would restart
using the reset button too, but the screen was black unless I powered
it off.
> Great, assuming you *have* a video driver for the card in question! There
> are lots of cards that can run on the VESA fbconsole driver that uses a
> mode set by the real mode boot loader and can never be changed once the
> system is up and running. For those particular devices using the BIOS is
> the *perfect* solution IMHO (if the driver was so easy to write it would
> already exist).
A driver supporting a modern video card may not be easy - supporting
mode changes _only_ (and use fbconsole for unaccelerated graphichs)
would likely be easy enough if stupid vendors didn't withold
information. I cannot imagine a trade secret in the mode change
programming.
>
> What about it? How do you think Linux brings up the secondary graphics
> card for dual head operations? It uses the *BIOS*!
I know. I tried, and it failed. :-/
> As far as legacy I/O port access
> goes, the BIOS will nearly always do that, but if you only run the BIOS
> on one card at a time, this is no problem. The PCI spec allows you to
> selectively enable and disable the I/O port access on any graphics card
> on the bus as you see fit. So you simply disable the primary card, enable
> the secondary card and let the BIOS have at it.
>
That works, but doing all that pci disabling looks like a silly
limitation to me. Of course it is necessary if no driver exists, but
then I wouldn't buy that card for a linux machine in the first place.
> No, it wouldn't and you would need to ensure mutually exclusive access to
> the graphics cards. Simple problem really and since XFree86 is not
> threaded is not a problem in the existing code anyway, but if it is that
> is pretty a simple multu-processor programming problem.
What I want is to run two xservers on different screens. Two processes
so they may run simultaneosly. And they shouldn't need to wait for each
other because the hardware itself don't need that.
Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/