VOGONS


First post, by McMick

User metadata
Rank Newbie
Rank
Newbie

I had this hazy vision in my head the other night, where I could run multiple instances of Windows using VirtualBox or VMWare or whatever on one PC, hook a couple of gamepads up, then run a split-screen sort of setup to my TV (one window could take left half of screen, or top, and the other window could take right or bottom). Then have them running the same multiplayer game at the same time. TWO PLAYER SPLIT-SCREEN!!!!

But then I thought, "Oh, well one of the windows will have to be in focus and will therefore cause the other one to lose priority and it will pause! Also it will have trouble sharing resources like the sound card."

But then I thought, "Gee, I have an account at the Vogons forum. I'll ask the brainiacs (and I'm not using that word negatively) what their opinion of the viability of this sort of setup is!"

So, brainiacs, what's your opinion of the viability of this sort of setup? TIA

In an only very slightly related question, is there a wiki or a youtube video or something, which demonstrates how many 8086 or PC/XT machines can be emulated simultaneously on a modern PC? You know, to emphasize the awe factor of just HOW FAR WE'VE COME SINCE THE OL' DAYS.

Reply 1 of 2, by weldum

User metadata
Rank Member
Rank
Member

well it mostly depends on what "age" are you wanting to emulate but it can be done
if you aim for dos games, i guess that dosbox can do it just fine, one problem would be sound routing to each corresponding headphone, and the fact that only one can use keyboard and mouse
if you aim for newer, windows based games, then you should consider using an hypervisor, then add the corresponding cards needed and run two windows instances at once, each with it's own soundcard, videocard and ethernet card, the limit is, however, that you may end using 6 PCI slots and still you will be lacking keyboard and mouse support on one machine

there's a Linus Tech Tips video in where they use a workstation/server class machine with XEN i think, and two video cards, so they can use that machine like if it where two of them, but the price for such a thing can be really high

DT: R7-5800X3D/R5-3600/R3-1200/P-G5400/FX-6100/i3-3225/P-8400/D-900/K6-2_550
LT: C-N2840/A64-TK57/N2600/N455/N270/C-ULV353/PM-1.7/P4-2.6/P133
TC: Esther-1000/Esther-400/Vortex86-366
Others: Drean C64c/Czerweny Spectrum 48k/Talent MSX DPC200/M512K/MP475

Reply 2 of 2, by CwF

User metadata
Rank Member
Rank
Member

I have built such a thing, not for the same reasons, and there are variables.

I use qemu-kvm with vfio passed hardware. The specifics of motherboards will allow/disallow things depending on details you can't really figure out until you try the hardware. Everything depends on how the IOMMU groups work out. On larger Xeon server boards this usually works out well. On lesser things shortcuts taken can affect the available configurations, regardless of how many slots and usb ports you have. Older pci-e lanes from chipsets, pch, mhc, and the like are often easier to route than cpu provided lanes. Available lanes change according to whats plugged in, you can run out of lanes...

Generally, a single hdmi/dp video card passes sound and video entirely independent of the host. Host doesn't necessarily need it's own card, or can use onboard. USB may enumerate into 3 or 4 groups, each passable to a vm for keyboard and controllers. That may physically make sense on how they are laid out, maybe not. Save a slot for an extra eth card to pass, this help certain things like vnc control from the host. Some 2 port cards will group into two ports, one per machine. Four ports so far I only see 2x2, I'm still looking for a four port that groups 1x4.

So sound and control can be isolated. There are no focus issues. 2 or 3 people can work on one machine and never know they're sharing. Twice in the last year I've had the host interface lock (nvidia+xfce) while a vm was recording tv and working in another with no effect. When done I came in from another machine and cleanly restarted the host, that's independent proof right there...

I used to know what I was doing...