Page 4 of 4

Re: Future graphics card emulation

Posted: Fri 26 Mar, 2021 7:32 am
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.

Re: Future graphics card emulation

Posted: Fri 26 Mar, 2021 1:06 pm
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.

Re: Future graphics card emulation

Posted: Fri 28 May, 2021 5:09 pm
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.

Re: Future graphics card emulation

Posted: Wed 23 Mar, 2022 11:03 pm
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).

Re: Future graphics card emulation

Posted: Sat 16 Apr, 2022 9:11 pm
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/

Re: Future graphics card emulation

Posted: Sun 17 Apr, 2022 12:45 pm
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.

Re: Future graphics card emulation

Posted: Thu 23 Jun, 2022 9:58 am
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?

Re: Future graphics card emulation

Posted: Thu 23 Jun, 2022 10:34 am
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).

Re: Future graphics card emulation

Posted: Sat 25 Jun, 2022 2:52 pm
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)

Re: Future graphics card emulation

Posted: Sat 25 Jun, 2022 6:01 pm
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.

Re: Future graphics card emulation

Posted: Sun 03 Jul, 2022 7:53 am
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

Re: Future graphics card emulation

Posted: Thu 21 Jul, 2022 2:30 am
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)

Re: Future graphics card emulation

Posted: Fri 12 Aug, 2022 4:01 pm
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

Re: Future graphics card emulation

Posted: Fri 12 Aug, 2022 11:04 pm
by leilei
Quicktime has nothing to do with new video chipsets.

Re: Future graphics card emulation

Posted: Mon 13 Feb, 2023 7:58 am
by unreal9010

Re: Future graphics card emulation

Posted: Wed 15 Feb, 2023 1:04 am
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

Re: Future graphics card emulation

Posted: Thu 16 Feb, 2023 8:25 am
by unreal9010
I know. Still interesting, though.

Re: Future graphics card emulation

Posted: Sat 18 Feb, 2023 1:45 am
by leilei
with sarah's naming conventions, if it doesn't end with em or ulator, it's probably not an emulator.

Re: Future graphics card emulation

Posted: Sat 18 Feb, 2023 10:07 am
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.

Re: Future graphics card emulation

Posted: Sun 19 Feb, 2023 1:50 am
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:

Re: Future graphics card emulation

Posted: Tue 21 Feb, 2023 1:39 pm
by MiaPintu
useful information

Re: Future graphics card emulation

Posted: Thu 30 Mar, 2023 11:51 am
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.

Re: Future graphics card emulation

Posted: Fri 31 Mar, 2023 11:05 pm
by leilei
Windows9xFan wrote: Thu 30 Mar, 2023 11:51 am You forgot
Read the room and check your entitlement.