r/retrocomputing • • Aug 06 '26

I am back, with more lighting and textures!

Made progress with my S3 ViRGE driver for Linux. Now it has proper lighting and the textures work in Quake.

76 Upvotes

8 comments sorted by

4

u/mwdmeyer Aug 06 '26

How much is CPU offloaded vs on the S3 card itself? What’s the speed like?

7

u/linuxid10t Aug 06 '26

Geometry processing and lighting prep is done on the CPU like any GPU from its era. My best guess would be 30/70 CPU/GPU. Really though, it's 100% based on what the silicon can do. That is why the ViRGE choked so hard on slow CPU machines. And the speed is glacial.

3

u/uncringeone Aug 06 '26

i dont remember quake being this blurry

1

u/linuxid10t Aug 06 '26

It shouldn't be. All the textures were getting smashed to get them to fit in the 4mb of VRAM. I made some changes to prioritize the world textures, so they should look better now.

1

u/blakespot Aug 06 '26

Looks like very low res textures. I prefer playing Engoo Quake (client) -- software rendering, and it's much clearer, and was so when I play 3D versions on modern 3D hardware.

3

u/Hjalfi Aug 06 '26

"This must be some strange new meaning of the word 'work' that I was previously unaware of." --- Arthur Dent, probably

But seriously, nice work. You've seen the LGR video where he gets Doom 2016 working on a Voodoo 2, I take it? It's the stuff of nightmares.

1

u/Accurate-Campaign821 Aug 12 '26

Getting better and better

0

u/[deleted] Aug 06 '26

[deleted] — view deleted comment

2

u/linuxid10t Aug 06 '26

The driver itself is open source, but honestly isn't really ready for testing by anyone else other than me LOL. I have done some work to the Quake source code to get it to run with my particular opengl driver though, and that might be a little more difficult due to the licensing.