Using X and SVGAlib Concurrently?
Walter Bell asks: "I have two video cards in my Linux PC, one of which has a TV out jack. I would like to connect the TV out jack to my color LCD panel and use it as a system status monitor (kind of like this), while I am running X on the other video card to serve as my desktop. Is it possible to use SVGAlib/GGI and X at the same time on two different video adapters? Right now I can switch between the two but only one of the adapters is active at a given time, depending on which virtual console is active. Is there a workaround?"
Hello NASA! :)
On another note, is it possible to run two instances of X on the same machine with 2 videocards? I would like to use a USB keyboard/mouse on one screen and the normal PS2/ stuff on the other. And I particularly want to run 2 instances of xdm/gsm/kdm/your-favourite-dm.
The reason is that my GF sometimes wants to read her mail while I am working and this cannot possibly be such a CPU drain (I have a GB of RAM, after all).
Any ideas?
L
The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
Well there is a hack i have running at home that i found on google...
I have a geforce2 ultra outputting to its tv-out
and i have a voodoo2 for a desktop...
That way my wife can play games while I get work done...
http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/
a few people reported that they were able to get this hack to work with an s3 virge...
but I was only able to get it to work with a voodoo and a voodoo2 as the secondary...
- r0gu3 at subspace dot net
The reason I ask is because you essentially want to convert a VGA signal, to a TV signal, then show that on an LCD panel. You have a lot of conversion going on there, and all to display what? Stats for the system?
Perhaps you could display some large text, or perhaps some largish bar graphs - but output in the manner you are wanting to do this is going to look very "fuzzy" - this is fine for games and video (ie, stuff that moves a bit) - but it isn't what you want for a text display - or at least a "clean" display.
If all you want are stats - save the LCD panel for another project. Drop the second card (unless you are using it for something), and add a simple LCD display via the parallel port, and run LCDPROC. A couple of cheap pushbuttons and some port monitoring and you can easily add page up/down capabilities from the case. I can't really see the need to do what you are planning, unless you are planning on running fancy screensavers or something on the box when it isn't displaying stats or whatnot...
Reason is the Path to God - Anon
It is possible, but it depends on the X Server being used. XFree86 provides X Servers and only the Matrox Server provides dualhead support. The question is:
/tmp directory. The X Server must not support the same videocard as in the case with the XFree86_SVGA X Server being use to support many different brands of Videocards for 2D SVGA Display; in that matter, all videocards have integrated VGA controllers and they may conflict with eachother on bootup and will either 1)prevent the system from booting, or 2)the videocard in question may be disable by the BIOS or simply disable itself. Some videocards allow disabling their integrated VGA controller, like the Elsa GloriaXL; in my experience, allowing usage of another videocard's VGA controller, but the real issue is whether Plug'N'Play can live upto its name and how the Computer's BIOS interacts with PCI devices.
Can i easily use a dualhead videocard or two videocards in one computer with its own instance of X Windows and an X Login manager?
The answer is:
Yes, however, no Linux distribution has arranged programs to interact with X this way. A user login must set thier $DISPLAY environment variable to that of the X Server needed to be used. And at the same toke, X Servers are questionable whether you can change any X Server to use a different port on a network or pseudo-network interface. You would have to modify the actual code of the X Server to allow it to bind to a separate network port and coexist peacefully with another X Server, and I mean to say that the *must* be separate X Servers and they can't use the same lock files in the
XFree86 provides a Matrox X Server to allow cascaded desktops for a single X Windows session and no more; no multi-X Windows sessions allowed; for what I know.
You must custom build/modifiy an X Login Manager for each videocard, an X Server for each videocard, and redesign the second X Server to use a different input device system. In short, their must be compilations for a Primary X Server and those otherwise running in parallel shall be known as the Secondary, Tertiary, etc, and that all other X Servers have their own Virtual Terminals, etc. This will not be a rewrite of system software because remember, only the Primary X Server/Videocard has its integrated VGA controller enable and is the only one with the virtual terminals. Were talking about some simple X Server programming, no hooks. The only possibility this may happen is by designing it on a LinuxFromScratch system via participation with the knowledgebase of www.linuxfromscratch.org, and submit the design specs for the modification to the MIT X Consortium for approval of integration into the sourcebase.
But I'm sure you already Gnu that.