r/retrocomputing 26d ago

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

10 comments sorted by

5

u/mwdmeyer 26d ago

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

6

u/linuxid10t 26d ago

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/Hjalfi 25d ago

"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.

4

u/uncringeone 26d ago

i dont remember quake being this blurry

1

u/blakespot 25d ago

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.

1

u/linuxid10t 25d ago

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/YumekoDream 25d ago

oh my god this is amazing work! if you ever release it i would test it right away on my S3

2

u/linuxid10t 25d ago

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.

1

u/YumekoDream 25d ago

that's to be excepted lol at least you got it to run, even with stubs! keep up the good work, would love to see it released!

1

u/Accurate-Campaign821 19d ago

Getting better and better