Speaking of X Windows, here is an interesting idea...

Instead of trying to map the video card to the guest operating system or
hack at it some other way you could just run X Windows and xhost the
localhost on the guest. Install an X server on the host operating system and
then you trap the guest X Window messages over a loopback and display it on
the host. Surely this would be a better method, and much faster. So, to run
MS Windows as the guest you'd need to install an X server on it. Maybe that
defeats the purpose, I don't know. But, IMHO Plex86 shouldn't have to worry
about the video card. Of course, there is also VNC which is based off of the
X Windows protocol and I think it gets better mileage.

http://www.uk.research.att.com/vnc/

If you're going to decide to map the video card memory instead, there is
going to be very noticeable latency. And as you pointed out there are
disadvantages to virtualizing the VGA access.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Corin Talkobt
Sent: Tuesday, October 31, 2000 7:32 PM
To: [EMAIL PROTECTED]
Subject: Re: plex86 video proposal


Let me argue the opposite approach for a bit Virtualizing the VGA
access.

There are several advantages to this: 1) It would provide support for
OS's other than Windows ( how does running Windows within X within X
within X sound? ). 2) Full-Screen mode could be modified, as appropriate
to bypass the virtualization mode so apps could still run in
full-screen. 3) With a "shallow" virtualization there would be no
noticable loss in performance.

Point 3 is the probable sticking point. The basic problem is mapping one
video system into another. By translating the VGA registers 'et all into
a simplified set ( perhaps do what some of the Commodore emulators do
and have a sub-thread perform a scanline sweep to determine what to
display ), I don't think performance would be that impacted. This would
also avoid the issue with worrying about the amount of memory within the
video buffer etc.

The virtualization I'm thinking of would implement a modest but capable
"video set" and then the guest OS would use the driver for that "modest
but capable" video set.

The problems I see with no virtualizing is it that basically you'll be
unable to run plex86 more than once. This would arrise out of the issue
with over-riding management of the Video Card's ram. There would also be
problems with running it windowed in differant color settings etc..
Doing partial virtualization in windowed mode would run into color
translation, bitmap plane issues etc.


Reply via email to