Future graphics card emulation

Support and general discussion.
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Future graphics card emulation

Post by SarahWalker »

Given that you decided to make your first and at that point only post a request for stuff, I felt a little snark was in order.

Particularly as your request for the Trio3D suggests you didn't actually read this thread before posting.
User avatar
mijk
Posts: 16
Joined: Wed 24 Mar, 2021 11:49 pm

Re: Future graphics card emulation

Post by mijk »

I didn't see Trio3D in the original list. I didn't Ctrl-F either. I'll keep my requests to myself and ride out whatever comes. Thanks for your time.
Xanarki
Posts: 63
Joined: Tue 14 May, 2019 3:43 am

Re: Future graphics card emulation

Post by Xanarki »

Is the Matrox emulation still dead in the water? Even though it seemed really unique, simultaneously, I can see it being too big of a headache.

Also, I know someone mentioned the Number Nine Imagine 128, and that's basically a CAD card. But are there resources available for the Number Nine Revolution set? I'm only curious because it was, err, semi-successful, sort've...at least more so than a few others.
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

On the PCX1/2 front, this repository just happened

https://github.com/powervr-graphics/PowerVR-Series1

No tech docs, but the simulat2 (PCX1) and simulat3 (PCX2) folders have a lot of juicy bits for emulation reference in there as that's simulator code (among hardware registers, etc).
MrPepka
Posts: 9
Joined: Wed 22 Dec, 2021 9:02 pm

Re: Future graphics card emulation

Post by MrPepka »

That's my question. I wonder if this program could somehow help emulate the graphics card (assuming its source code would be published)?
https://www.3dfxzone.it/dir/tools/3d_analyze/download/
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

All 3DAnalyze does is inject overrides of caps and ids for Direct3D and OpenGL. It won't emulate anything. Way back then, it was mostly used to try to get DX8/9 games to work on DX7 hardware (often to trainwreck/slow results), and its hooking wasn't very stable.
GeoffreyMcJefferson
Posts: 4
Joined: Wed 02 Feb, 2022 10:57 pm

Re: Future graphics card emulation

Post by GeoffreyMcJefferson »

The Xemu original Xbox emulator emulates a GeForce 3 and at a pretty good performance too. Would it be possible to make use of this code in PCEM?
User avatar
unreal9010
Posts: 160
Joined: Sat 14 Nov, 2020 8:20 pm

Re: Future graphics card emulation

Post by unreal9010 »

GeoffreyMcJefferson wrote: Thu 23 Jun, 2022 9:58 am The Xemu original Xbox emulator emulates a GeForce 3 and at a pretty good performance too. Would it be possible to make use of this code in PCEM?
No (or at least not at this point). Not only it's difficult to write the code to accurately emulate such complex piece of hardware, currently there are no GF3 datasheets available.
Note that the GeForce 3 chips we had in our desktop PCs and the one found in Microsoft Xbox are not the same. The latter is a GF3 derivative known as NV2A.
Bear in mind that in order to get the most out of GeForce 3 you'd need at least an entry-level Pentium 4 processor. Given how things stand it wouldn't make any sense to actually write the code for GF3 emulation at this point. Currently the fastest CPUs that PCem emulates are upper tier Pentium II and AMD K6-III processors, none of which are ideal to pair with GF3, not to mention that even the fastest Alder Lake processors could barely handle them (I can hardly go above Pentium II 400 with my slightly overclocked 12900 KF).
I would say somewhere around 2030 would be the more realistic date to get the GF 3 emulation done (provided that datasheets with sufficient information are available by then, of course).
MrPepka
Posts: 9
Joined: Wed 22 Dec, 2021 9:02 pm

Re: Future graphics card emulation

Post by MrPepka »

And I have a question about the emulation of GeForce cards. Could these 2 repositories (+ nouveau driver source) help emulate these cards?
https://github.com/NVIDIA/open-gpu-kernel-modules
https://github.com/envytools/envytools
And is it possible to emulate hardware via High Level Emulation (it's not hardware emulation, but always something)? Because if so, maybe the TeknoParrot source code would help? - https://github.com/teknogods/OpenParrot There were also modified drivers for GeForce cards (X-Treme G for newer cards and Omega for older cards), but I don't know if this will help in this topic (probably none of these drivers has the source code disclosed)
User avatar
unreal9010
Posts: 160
Joined: Sat 14 Nov, 2020 8:20 pm

Re: Future graphics card emulation

Post by unreal9010 »

MrPepka wrote: Sat 25 Jun, 2022 2:52 pm And I have a question about the emulation of GeForce cards. Could these 2 repositories (+ nouveau driver source) help emulate these cards?
https://github.com/NVIDIA/open-gpu-kernel-modules
https://github.com/envytools/envytools
And is it possible to emulate hardware via High Level Emulation (it's not hardware emulation, but always something)? Because if so, maybe the TeknoParrot source code would help? - https://github.com/teknogods/OpenParrot There were also modified drivers for GeForce cards (X-Treme G for newer cards and Omega for older cards), but I don't know if this will help in this topic (probably none of these drivers has the source code disclosed)
No. PCem is a low level emulator where accuracy is a top priority so high level emulation is out of the question.
User avatar
CryptidWorks
Posts: 141
Joined: Fri 26 Apr, 2019 7:11 am

Re: Future graphics card emulation

Post by CryptidWorks »

unreal9010 wrote: Sat 25 Jun, 2022 6:01 pm
MrPepka wrote: Sat 25 Jun, 2022 2:52 pm And I have a question about the emulation of GeForce cards. Could these 2 repositories (+ nouveau driver source) help emulate these cards?
https://github.com/NVIDIA/open-gpu-kernel-modules
https://github.com/envytools/envytools
And is it possible to emulate hardware via High Level Emulation (it's not hardware emulation, but always something)? Because if so, maybe the TeknoParrot source code would help? - https://github.com/teknogods/OpenParrot There were also modified drivers for GeForce cards (X-Treme G for newer cards and Omega for older cards), but I don't know if this will help in this topic (probably none of these drivers has the source code disclosed)
No. PCem is a low level emulator where accuracy is a top priority so high level emulation is out of the question.
It would likely be a pain in the ass code high level emulation that wasn't extermely glitchy for something as complex as an entire IBM PC that's intended to run an OS and then software within that OS anyway. Especially since you'd have to ensure the high-level mode for each piece of hardware worked with the high-level mode on all the other relevant hardware.

Not like emulating a console where it's just one configuration and done
wishusknight
Posts: 38
Joined: Mon 18 Jul, 2022 9:07 pm

Re: Future graphics card emulation

Post by wishusknight »

GeoffreyMcJefferson wrote: Thu 23 Jun, 2022 9:58 am The Xemu original Xbox emulator emulates a GeForce 3 and at a pretty good performance too. Would it be possible to make use of this code in PCEM?
Xemu uses HLE. And as mentioned, its really only a gForce3 in name. Its pixel pipelines are based on a GF3 but have fewer stages, which would actually make them closer to a GF2 variant but with the bits of programmable IP blocks. While its shader core(s) is(are) based on a GF3 with some GF4 goodies like the more advanced color compression and HSR. It also has deeper state tables(?) to juggle bandwidth with a central CPU sharing it.

So XEMU just hooks calls to the hosts direct 3d with extensive work done to a bunch of timers to ensure accurate performance. (at least I think that is how its done)
Jonathan McEvoy
Posts: 18
Joined: Mon 02 May, 2022 8:36 pm

Re: Future graphics card emulation

Post by Jonathan McEvoy »

wishusknight wrote: Thu 21 Jul, 2022 2:30 am
GeoffreyMcJefferson wrote: Thu 23 Jun, 2022 9:58 am The Xemu original Xbox emulator emulates a GeForce 3 and at a pretty good performance too. Would it be possible to make use of this code in PCEM?
Xemu uses HLE. And as mentioned, its really only a gForce3 in name. Its pixel pipelines are based on a GF3 but have fewer stages, which would actually make them closer to a GF2 variant but with the bits of programmable IP blocks. While its shader core(s) is(are) based on a GF3 with some GF4 goodies like the more advanced color compression and HSR. It also has deeper state tables(?) to juggle bandwidth with a central CPU sharing it.

So XEMU just hooks calls to the hosts direct 3d with extensive work done to a bunch of timers to ensure accurate performance. (at least I think that is how its done)
Have you read about QuickTime on Windows 9x?
https://pcem-emulator.co.uk/phpBB3/viewtopic.php?t=3825
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

Quicktime has nothing to do with new video chipsets.
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

Tools about disassembling Verite library binaries could mean anything. like disassembling vquake's to study to attempt to reimplement all the vquake techniques in c for a verite-less vquake port for one use case
User avatar
unreal9010
Posts: 160
Joined: Sat 14 Nov, 2020 8:20 pm

Re: Future graphics card emulation

Post by unreal9010 »

I know. Still interesting, though.
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

with sarah's naming conventions, if it doesn't end with em or ulator, it's probably not an emulator.
User avatar
unreal9010
Posts: 160
Joined: Sat 14 Nov, 2020 8:20 pm

Re: Future graphics card emulation

Post by unreal9010 »

It's a disassembler. Might be of use to those willing to write the code of Rendition Verite-based cards in the future. Not that it would be much needed since PCem already emulates better 2D and 3D solutions.
The first Rendition chip (the V1000) that was released in the Fall of 1996 was famous for being the first 2D/3D card with surprisingly good 3D performance (in particularly when compared to competing 2D/3D cards from S3, ATi and Matrox). It was still slower than Voodoo Graphics. It also had its own 3D graphics APIs for Windows and DOS. Its VGA performance was abysmal, though. Not exactly ideal to pair with Voodoos and not a perfect standalone card either.
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

Verites are a little special because Sierra On-Line had a video card with it (Screamin' 3D) and Papyrus games were made to support that (up to Grand Prix Legends)

Papyrus has something to do with the Millennium 3D support in vNext too :eyes:
MiaPintu
Posts: 1
Joined: Tue 21 Feb, 2023 1:32 pm

Re: Future graphics card emulation

Post by MiaPintu »

useful information
Windows9xFan
Posts: 20
Joined: Fri 04 Jul, 2014 7:01 pm

Re: Future graphics card emulation

Post by Windows9xFan »

Don't forget the Sigma Designs Imaging Systems ƒ/64 (powered by the WEITEK Power 9100 graphics chip), which (apart from the ATi Mach64) is the only other way to get 4MB of VRAM recognized out of the box by OS/2 Warp.
Here's the datasheet for the WEITEK Power 9100 graphics chip.
Last edited by Windows9xFan on Mon 03 Apr, 2023 2:25 pm, edited 1 time in total.
I'm your biggest fan, Windows 9x series of operating systems!
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Future graphics card emulation

Post by leilei »

Windows9xFan wrote: Thu 30 Mar, 2023 11:51 am You forgot
Read the room and check your entitlement.
Post Reply