VOGONS


MS-Dos Voodoo2 mtrrlfbe

Topic actions

First post, by DOSShark

User metadata
Rank Newbie
Rank
Newbie

Greetings - ive got qdos, a voodoo 2 and a p3 550 mhz.
The AGP card is a GF FX5500. The qdos page says that mtrrlfbe can speed up my qdos voodoo 2 experience.
But mtrrlfbe does not list my voodoo 2, just my GF.

And qdos takes a LONG time to load up.

Using pure DOS 7.1
EMM386 and himem from M$.

Any suggestions? 😀

Thanks!

Reply 1 of 5, by amadeus777999

User metadata
Rank Oldbie
Rank
Oldbie

The Voodoo2's framebuffer is not used for the operations the "combined writing"-tool mtrrlfbe was designed for.
It's just there for the result of its internal rasterization and not the cpu's.
In contrast the GeForce has a frame buffer the cpu can manipulate and, if supported, use combined writing operations on.

Reply 2 of 5, by MoneySquirrel

User metadata
Rank Newbie
Rank
Newbie

Qdos loads pretty quickly on my p4 rig with a voodoo2. You don't need to use emm386 and that may be causing your loading problem. I use the mesa driver (not fxmesa or sage) and enable multitexturing with the -mtex command line argument. Multitexturing does seem to cause a few slowdowns in some specific rooms (like when selecting episode 2 on the first map) but also gives a 20-30% fps boost in general on my rig, despite what the readme claims. Also, you may have figured this all out since your post was from March 🤣.

Reply 3 of 5, by DOSShark

User metadata
Rank Newbie
Rank
Newbie

Thank you both for the replys 😀
@Squirrel, could you link me the package from your post so i can test it?

Reply 4 of 5, by Gmlb256

User metadata
Rank l33t
Rank
l33t

Official Glide libraries actually automatically enable write-combining on the framebuffer with Intel CPUs to provide speed-up in some scenarios. On the Voodoo2, it sets 8 MB from the physical memory address of the card to WC, then the first 4 KB of that address is set to uncacheable for stability reasons. Sadly, the latter can't be done with MTRRLFBE as that utility doesn't allow setting two different MTRRs starting from the same physical memory address.

As for QDOS, performance on the Voodoo2 can be improved by using FX_GLIDE_ALLOC_COLOR environment variable to enable triple buffering if vsync is used. Here is a batch file example:

@ECHO OFF
SET FX_GLIDE_ALLOC_COLOR=3
QDOS.EXE
SET FX_GLIDE_ALLOC_COLOR=

Multitexturing gives better performance too, but depending on the texture format used in those third-party drivers, it can cause significant slowdowns.

Edit: The correct environment variable is FX_GLIDE_ALLOC_COLOR, not SSTV2_ALLOC_COLOR. 😜

Reply 5 of 5, by MoneySquirrel

User metadata
Rank Newbie
Rank
Newbie
DOSShark wrote on 2025-02-02, 11:22:

Thank you both for the replys 😀
@Squirrel, could you link me the package from your post so i can test it?

I'm using the qdos version from this page: https://dk.toastednet.org/QDOS/

You have to copy two files from the opengl and voodoo folders to get your voodoo2 working, then launch qdos.exe with the -mtex command line argument to enable the multitexturing capability of your voodoo2.