VOGONS

Common searches


VIDEO - 3dfx voodoo emulation (SDL1)

Topic actions

Reply 60 of 139, by Serious Callers Only

User metadata
Rank Member
Rank
Member

Another small question: does anyone know of a hacked version of glide2x.ovl that works with this emulation but doesn't have the unskippable 3dfx logo at the start? It's sort of annoying..

Reply 61 of 139, by FeedingDragon

User metadata
Rank Oldbie
Rank
Oldbie

Environment variable will do it.

FX_GLIDE_NO_SPLASH=1

A good source for other environment variable. They have information on other things as well 😀

http://www.mdgx.com/3dfx.htm

Feeding Dragon

Reply 63 of 139, by Serious Callers Only

User metadata
Rank Member
Rank
Member

Another question: this patch only emulates a voodoo 1 right? I tried a v2 glide2x.ovl in tomb raider and it ran, but with degraded image quality. Though that's maybe tombraider not working well with that ovl.

(since this is using grep, it's missing env variables that do not start with SST)
If you're curious:

$ strings GLIDE2X.OVL  | grep SST
_GRSSTQUERYBOARDS@4
_GRSSTQUERYHARDWARE@4
_GRSSTSELECT@4
_GRSSTSCREENWIDTH@0
_GRSSTSCREENHEIGHT@0
_GRSSTVIDMODE@8
_GRSSTWINOPEN@28m
_GRSSTWINCLOSE@0n
_GRSSTCONTROL@4o
_GRSSTPERFSTATS@4p
_GRSSTRESETPERFSTATS@0q
_GRSSTSTATUS@0r
_GRSSTVIDEOLINE@0s
_GRSSTVRETRACEON@0t
_GRSSTISBUSY@0u
_GRSSTIDLE@0w
_GRSSTORIGIN@4x
_GRSSTCONFIGPIPELINE@12y
FX_SST2
grSstSelect: non-existent SST
guMovieStart: unsupported on SST hardware
guMovieStop: unsupported on SST hardware
guMovieSetName: unsupported on SST hardware
SST_BOARDS
SST_VGA_PASS
sst1InitMapBoard(): Using SST_VGA_PASS=%d
SST_IGNORE_INIT_REGISTERS
SST_TF_FIFO_THRESH
SST_PFT_CLK_DEL
SST_TREX0INIT0
sst1InitRegisters(): Using SST_TREX0INIT0 environment variable
SST_TREX0INIT1
sst1InitRegisters(): Using SST_TREX0INIT1 environment variable
SST_PTF0_CLK_DEL
SST_TREX1INIT0
sst1InitRegisters(): Using SST_TREX1INIT0 environment variable
SST_TREX1INIT1
sst1InitRegisters(): Using SST_TREX1INIT1 environment variable
SST_PTF1_CLK_DEL
SST_TREX2INIT0
sst1InitRegisters(): Using SST_TREX2INIT0 environment variable
SST_TREX2INIT1
sst1InitRegisters(): Using SST_TREX2INIT1 environment variable
SST_PTF2_CLK_DEL
SST_SLOWPCIWR
SST_FASTPCIRD
SST_FASTMEM
SST_MEMFIFO_LFB
SST_MEMFIFO_TEX
SST_TEXMAP_DISABLE
SST_NOSHUTDOWN
sst1InitShutdown(): Bypassing shutdown with SST_NOSHUTDOWN
sst1InitShutdown(): Shutting down SST-1 #%d...
SST_BOARDS
SST_IGNORE_SLI_CHECK
SST_SLIS_VOUT_CLKDEL
SST_SLIS_PVOUT_CLKDEL
SST_SLIS_VIN_CLKDEL
SST_PCIFIFO_LWM
Show last 71 lines
SST_MEMFIFO_LWM
SST_SLIM_VOUT_CLKDEL
SST_SLIM_PVOUT_CLKDEL
SST_SLIM_VIN_CLKDEL
SST_VIDEO_NOCLEAR
SST_VIDEO_CLEARCOLOR
SST_SLIDETECT
SST_TMUCFG
SST_TMUMEM_SIZE
SST_FBIMEM_SIZE
SST_FBICFG
SST_NODEVICEINFO
SST_DEBUGDAC
SST_INITDEBUG
SST_INITDEBUG_FILE
SST_DEBUGDAC
SST_GRXCLK
sst1InitCalcGrxClk(): Overriding default clk frequency with SST_GRXCLK
SST_IGNORE_INIT_VIDEO
SST_SCREENREZ
SST_SCREENREFRESH
SST_ARCADE
SST_VIDEO_24BPP
SST_HSYNC
sst1InitVideo(): Using SST_HSYNC=0x%x
SST_VSYNC
sst1InitVideo(): Using SST_VSYNC=0x%x
SST_BACKPORCH
sst1InitVideo(): Using SST_BACKPORCH=0x%x
SST_DIMENSIONS
sst1InitVideo(): Using SST_DIMENSIONS=0x%x
SST_MEMOFFSET
SST_TILESINX
SST_TRIPLE_BUFFER
SST_VFIFO_THRESH
SST_MEMFIFO_LWM
SST_MEMFIFO_HWM
SST_PCIFIFO_LWM
SST_MEMFIFO
SST_MEMFIFO_ENTRIES
SST_VIN_CLKDEL
SST_VOUT_CLKDEL
SST_VIDEO_FILTER_DISABLE
SST_VIDEO_FILTER_THRESHOLD
SST_FT_CLK_DEL
SST_TF0_CLK_DEL
SST_TF1_CLK_DEL
SST_TF2_CLK_DEL
SST_VIDCLK2X
SST_VIDEO_NOCLEAR
SST_VIDEO_CLEARCOLOR
SST_VIDEO_DISABLE
SST_DEBUGDAC
SST_RGAMMA
SST_GGAMMA
SST_BGAMMA
SST_GAMMA
SST96_TMUMEM_SIZE
SST_DUALHEAD=1
SST96_FBIJRINIT1
SST96_FBIJRINIT0
SST_TREX0INIT0
SST_TREX0INIT1
SST96_FORCE_TRIPLE
SST96_INITSWAPCOUNT
SST96_FORCEALIGN
VoodooMEssage: pSST: 0x%x data0: 0x%x data1: 0x%x fn: 0x%x
SST_INITDEBUG
SST_DUALHEAD
DPMI: SST_DUALHEAD, *NOT* loading fxmemmap.vxd

while the degraded image quality later ovl (latest dos version) has:

$ strings GLIDE2X.OVL | grep SST
_GRSSTQUERYBOARDS@4$
_GRSSTQUERYHARDWARE@4%
_GRSSTSELECT@4&
_GRSSTSCREENWIDTH@0'
_GRSSTSCREENHEIGHT@0(
_GRSSTVIDMODE@8)
_GRSSTWINOPEN@28v
_GRSSTWINCLOSE@0w
_GRSSTCONTROL@4x
_GRSSTPERFSTATS@4y
_GRSSTRESETPERFSTATS@0z
_GRSSTSTATUS@0{
_GRSSTVIDEOLINE@0|
_GRSSTVRETRACEON@0}
_GRSSTIDLE@0~
_GRSSTISBUSY@0
_GRSSTORIGIN@4
_GRSSTCONFIGPIPELINE@12
_PCISETPASSTHROUGHBASE@8
grSstSelect: non-existent SST
SSTV2_DEBUGDAC
SSTV2_DEVICEID
SSTV2_NOREMAP
SSTV2_SWAPBOARDS
SSTV2_VGA_PASS
sst1InitMapBoard(): Using SST_VGA_PASS=%d
SSTV2_IGNORE_INIT_REGISTERS
SSTV2_TEXMAP_DISABLE
SSTV2_TF_FIFO_THRESH
SSTV2_PFT_CLKDEL
SSTV2_TREX0INIT0
sst1InitRegisters(): Using SST_TREX0INIT0 environment variable
SSTV2_TREX0INIT1
sst1InitRegisters(): Using SST_TREX0INIT1 environment variable
SSTV2_PTF0_CLKDEL
SSTV2_TREX1INIT0
sst1InitRegisters(): Using SST_TREX1INIT0 environment variable
SSTV2_TREX1INIT1
sst1InitRegisters(): Using SST_TREX1INIT1 environment variable
SSTV2_PTF1_CLKDEL
SSTV2_TREX2INIT0
sst1InitRegisters(): Using SST_TREX2INIT0 environment variable
SSTV2_TREX2INIT1
sst1InitRegisters(): Using SST_TREX2INIT1 environment variable
SSTV2_PTF2_CLKDEL
SSTV2_SLOWPCIWR
SSTV2_FASTPCIRD
SSTV2_SLOWMEM_WTR
SSTV2_SLOWMEM_RTW
SSTV2_FASTMEM_RAS_READS
SSTV2_MEMFIFO_LFB
SSTV2_MEMFIFO_TEX
SSTV2_NOSHUTDOWN
sst1InitShutdown(): Bypassing shutdown with SSTV2_NOSHUTDOWN
sst1InitShutdown(): Shutting down SST-1 #%d...
SSTV2_BOARDS
SSTV2_IGNORE_CACHING
SSTV2_TEXMAP_DISABLE
SSTV2_TMUCFG
Show last 83 lines
SSTV2_TMU_MEMSIZE
SSTV2_NUM_TMUS
SSTV2_FBI_MEMSIZE
SSTV2_FBICFG
SSTV2_NODEVICEINFO
SSTV2_TEXMAP_DISABLE
SSTV2_CMDFIFO_DIRECT
SSTV2_CMDFIFO_NOHOLES
SSTV2_IGNORE_IDLE
SSTV2_SIPROCESS_CNTR
SSTV2_IGNORE_INIT_VIDEO
SSTV2_SCREENREZ
SSTV2_SCREENREFRESH
sst1InitVideo(): Allocating 1 Aux Buffer for SST-1 Compatibility...
SSTV2_ALLOC_COLOR
SSTV2_ALLOC_AUX
SSTV2_VIDEO_24BPP
SSTV2_HSYNC
sst1InitVideo(): Using SST_HSYNC=0x%x
SSTV2_VSYNC
sst1InitVideo(): Using SST_VSYNC=0x%x
SSTV2_BACKPORCH
sst1InitVideo(): Using SST_BACKPORCH=0x%x
SSTV2_DIMENSIONS
sst1InitVideo(): Using SST_DIMENSIONS=0x%x
SSTV2_MEMOFFSET
SSTV2_TILESINX
SSTV2_VFIFO_THRESH
SSTV2_MEMFIFO_LWM
SSTV2_MEMFIFO_HWM
SSTV2_PCIFIFO_LWM
SSTV2_MEMFIFO
SSTV2_MEMFIFO_ENTRIES
SSTV2_VIN_CLKDEL
SSTV2_VOUT_CLKDEL
SSTV2_VIDEO_FILTER_DISABLE
SSTV2_VIDEO_FILTER_THRESHOLD
SSTV2_VIDCLK2X
SSTV2_VIDEO_NOCLEAR
SSTV2_VIDEO_CLEARCOLOR
SSTV2_VIDEO_DISABLE
SSTV2_IGNORE_IDLE
SSTV2_DEBUGDAC
SSTV2_REFRESH_512x384
SSTV2_REFRESH_640x400
SSTV2_REFRESH_640x480
SSTV2_REFRESH_800x600
SSTV2_REFRESH_960x720
SSTV2_REFRESH_1024x768
SSTV2_MDETECT_CONST
SSTV2_MDETECT
SSTV2_IGNORE_CLKDELAYS
SSTV2_INIT_TF2_RESET_DELAY
SSTV2_INIT_TF1_RESET_DELAY
SSTV2_INIT_TF0_RESET_DELAY
SSTV2_FT_CLKDEL
SSTV2_TF0_CLKDEL
SSTV2_TF1_CLKDEL
SSTV2_TF2_CLKDEL
SSTV2_SLISWAP
SSTV2_SLIS_VOUT_CLKDEL
SSTV2_SLIS_PVOUT_CLKDEL
SSTV2_SLIS_VIN_CLKDEL
SSTV2_PCIFIFO_LWM
SSTV2_MEMFIFO_LWM
SSTV2_SLIM_VOUT_CLKDEL
SSTV2_SLIM_PVOUT_CLKDEL
SSTV2_SLIM_VIN_CLKDEL
SSTV2_IGNORE_IDLE
SSTV2_SLIDETECT
SSTV2_RGAMMA
SSTV2_GGAMMA
SSTV2_BGAMMA
SSTV2_GAMMA
?SSTV2_INITDEBUG
SSTV2_INITDEBUG_FILE
SSTV2_DEBUGDAC
SSTV2_GRXCLK
sst1InitCalcGrxClk(): Overriding default clk frequency with SST_GRXCLK
DPMI: VoodooMessage: pSST: 0x%lX data0: 0x%lX data1: 0x%lX fn: 0x%lX
SST_DUALHEAD
SSTV2_DUALHEAD

edit: found this topic:
Re: Voodoo Environment Variables

quite useful. The GAMMA env variables seem to do nothing in tomb raider, is this a patch bug?

Reply 64 of 139, by Serious Callers Only

User metadata
Rank Member
Rank
Member

Tried archimedean dynasty now. It seems to have z-fighting problems if you enable the cockpit. I was also wondering if there is a big difference on this game. It seems to me the view distance is still somewhat equal? That can't be right.

Reply 65 of 139, by telanus

User metadata
Rank Newbie
Rank
Newbie
Yesterplay80 wrote:

The patch you're trying to use is for Windows and differs from the one for Linux and possibly OSX. Please try this one:

1_voodoo_gl.diff

There's a thread about compilig DOSBox with 3Dfx under Linux: Tutorial: dosbox with Glide under Linux

I tried patching the source with the patch supplied, but it says "Reversed (or previously applied) patch detected!" and doesn't apply to it anymore

Reply 66 of 139, by Yesterplay80

User metadata
Rank Oldbie
Rank
Oldbie
telanus wrote:

I tried patching the source with the patch supplied, but it says "Reversed (or previously applied) patch detected!" and doesn't apply to it anymore

Which source? The code from SVN or th code from ECE?

My full-featured DOSBox SVN builds for Windows & Linux: Vanilla DOSBox and DOSBox ECE (Google Drive Mirror)

Reply 67 of 139, by telanus

User metadata
Rank Newbie
Rank
Newbie
Yesterplay80 wrote:
telanus wrote:

I tried patching the source with the patch supplied, but it says "Reversed (or previously applied) patch detected!" and doesn't apply to it anymore

Which source? The code from SVN or th code from ECE?

the one from ECE (not sure how this ended up here, and not in the right thread)

Reply 68 of 139, by MastaG

User metadata
Rank Newbie
Rank
Newbie
Yesterplay80 wrote:
telanus wrote:

I tried patching the source with the patch supplied, but it says "Reversed (or previously applied) patch detected!" and doesn't apply to it anymore

Which source? The code from SVN or th code from ECE?

Hi Yesterplay80, I also would like to build your ECE release for linux.
However in order to apply your 1_voodoo_gl.dif patch for linux, we first need to revert the one you've already applied (which only compiles on Windows).
So is it possible you could post your current vooodoo patch, so we can revert that one first?

Reply 69 of 139, by Yesterplay80

User metadata
Rank Oldbie
Rank
Oldbie

These are all the patches and changed graphics I used for the Linux version of ECE:

Filename
patches.zip
File size
128.56 KiB
Downloads
157 downloads
File license
Fair use/fair dealing exception
Filename
gfx.zip
File size
648.9 KiB
Downloads
123 downloads
File license
Fair use/fair dealing exception

I'd recommend using these instead of reversing the patches of the Windows source code.
So there was some need for a linux version after all it seems...

My full-featured DOSBox SVN builds for Windows & Linux: Vanilla DOSBox and DOSBox ECE (Google Drive Mirror)

Reply 70 of 139, by telanus

User metadata
Rank Newbie
Rank
Newbie
Yesterplay80 wrote:

I'd recommend using these instead of reversing the patches of the Windows source code.
So there was some need for a linux version after all it seems...

Thanx for the patches, will try and apply and compile over the weekend. And yes there is always a need for a linux version

Reply 71 of 139, by Enverex

User metadata
Rank Newbie
Rank
Newbie

I was using a big-faffy version of Glide support so I've just switched to your patch to see how well it works in comparison. Does anything need to be specified / enabled or turned on anywhere to be able to use it? Or should it "just work"?

Reply 72 of 139, by Yesterplay80

User metadata
Rank Oldbie
Rank
Oldbie
Enverex wrote:

I was using a big-faffy version of Glide support so I've just switched to your patch to see how well it works in comparison. Does anything need to be specified / enabled or turned on anywhere to be able to use it? Or should it "just work"?

It's not "my" patch, it was made by kekko. I just adapted it a little bit. It should just work, because it wraps Glide calls to OpenGL, so nothing more is required.

My full-featured DOSBox SVN builds for Windows & Linux: Vanilla DOSBox and DOSBox ECE (Google Drive Mirror)

Reply 76 of 139, by klafar94

User metadata
Rank Newbie
Rank
Newbie

here again, a Linux x86 32bit build with voodoo patch applied (only the voodoo patch).
It is working with Tomb Raider 1 and Archimedian Dynasty.
But Screamer Rally is crashing.
Maybe someone could help debugging?

Filename
dosbox_r4067_voodoo-patch_linux-x86.bz2
File size
4.36 MiB
Downloads
102 downloads
File comment
compressed, dosbox, rev 4067 with voodoo patch applied for linux x86 32bit
File license
Fair use/fair dealing exception

Reply 77 of 139, by klafar94

User metadata
Rank Newbie
Rank
Newbie

Screamer Rally segfaults when using 'output=opengl' or 'output=opengnb'.
It works with 'output=surface' or 'output=overlay' in config file but it is unplayable slow.

Funny that dosbox-daum from 25.jan.2015 was working perfect. But this I do not get compiled.

Reply 78 of 139, by tlk

User metadata
Rank Newbie
Rank
Newbie

Hi.
What's the principle obstacle to get 3dfx/opengl scaling (fullscreen) work?
Would like to play AD but without it switching to fullscreen the Voodoo emulation seems to be pretty useless... Or does it work for you (on Linux)?

BTW the source from the ECE website compiles on Linux (latest r4078 as of now) albeit with a couple of hiccups (mostly a few windoze-only bits scattered here and there and a missing typedef, easily fixable). Speed is good in AD, GALLIUM_HUD=fps shows anywhere between 20 and 45-50 fps on the MOGHS instant action map, depending on the scene in view. Keep in mind tho, my CPU is a pretty old FX-6100 @4400MHz
Whereas DOSBOX-X is dog slow and has a lot of rendering artifacts (mostly HUD and cockpit) and also won't go into fullscreen...

Reply 79 of 139, by tlk

User metadata
Rank Newbie
Rank
Newbie
tlk wrote:

Hi.
What's the principle obstacle to get 3dfx/opengl scaling (fullscreen) work?
Would like to play AD but without it switching to fullscreen the Voodoo emulation seems to be pretty useless... Or does it work for you (on Linux)?

CARMA works in fullscreen w/Voodoo emu. Performance however is pretty dire (regardless of windowed/fullscreen).

Is the problem game-specific then?