PCem 11 and Voodoo

Support and general discussion.
Post Reply
User avatar
omarsis81
Posts: 922
Joined: Thu 17 Dec, 2015 6:20 pm

PCem 11 and Voodoo

Post by omarsis81 »

Did anyone successfully try to launch ANY voodoo game with the new (ver 11.0) release? Quake 2, Forsaken, and everything that worked with 10.1 crashes with the new version. Am I doing something wrong?
Battler
Posts: 793
Joined: Sun 06 Jul, 2014 7:05 pm

Re: PCem 11 and Voodoo

Post by Battler »

Try disabling the Voodoo recompiler.
User avatar
SarahWalker
Site Admin
Posts: 2014
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCem 11 and Voodoo

Post by SarahWalker »

Also, please provide your pcem.cfg file.

Is it PCem crashing, or the games crashing?
User avatar
omarsis81
Posts: 922
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCem 11 and Voodoo

Post by omarsis81 »

Battler wrote:Try disabling the Voodoo recompiler.
I tried disabling the voodoo recompiler to no avail :( I will post the CFG file later when I get home
UPerschke
Posts: 55
Joined: Wed 25 May, 2016 7:43 pm

Re: PCem 11 and Voodoo

Post by UPerschke »

Same here, with and without Voodoo recompiler.
Win98SE + latest 3dfx reference driver(5/1999) + DX7.0a

Even starting dxdiag crashes PCem.

Code: Select all

gameblaster = 0
gus = 0
ssi2001 = 0
voodoo = 1
model = 38
cpu_manufacturer = 0
cpu = 11
cpu_use_dynarec = 1
gfxcard = 15
video_speed = 5
sndcard = 7
cpu_speed = 24
has_fpu = 1
slow_video = 0
cache = 4
cga_composite = 0
disc_a = 
disc_b = 
mem_size = 262144
cdrom_drive = 0
cdrom_enabled = 0
cdrom_channel = 2
cdrom_path = 
vid_resize = 0
vid_api = 0
video_fullscreen_scale = 0
video_fullscreen_first = 1
hdc_sectors = 63
hdc_heads = 16
hdc_cylinders = 4092
hdc_fn = IDE0-0
hdd_sectors = 63
hdd_heads = 16
hdd_cylinders = 4092
hdd_fn = IDE1-0
hde_sectors = 0
hde_heads = 0
hde_cylinders = 0
hde_fn = 
hdf_sectors = 0
hdf_heads = 0
hdf_cylinders = 0
hdf_fn = 
drive_a_type = 7
drive_b_type = 7

[3DFX Voodoo Graphics]
framebuffer_memory = 4
texture_memory = 4
bilinear = 0
dacfilter = 0
render_threads = 2
recompiler = 0
User avatar
SarahWalker
Site Admin
Posts: 2014
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCem 11 and Voodoo

Post by SarahWalker »

Okay, looks like I screwed up and the Voodoo recompiler in current v11 binary doesn't work when Data Execution Protection is enabled. I'll put together a fixed binary, but I'm not sure why this should also crash when the recompiler is disabled...
User avatar
SarahWalker
Site Admin
Posts: 2014
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCem 11 and Voodoo

Post by SarahWalker »

Okay, I've replaced the V11 Windows download. Can you try it and let me know if it works?
UPerschke
Posts: 55
Joined: Wed 25 May, 2016 7:43 pm

Re: PCem 11 and Voodoo

Post by UPerschke »

Unfortunately not for me, with both Voodoo recompiler states.
Host: Win10 Pro x64 recent patchlevel. DEP enabled for essential Windows programs and services only.

Maybe you should wait for omarsis81 reply.

If you would pn me your debug build I could send logs and dumps. However I might as will build one tomorrow myself if needed.

From Windows event log:
Exception code: 0xc0000005 (figures)
Error offset: 0x00150223
User avatar
omarsis81
Posts: 922
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCem 11 and Voodoo

Post by omarsis81 »

UPerschke wrote:Maybe you should wait for omarsis81 reply.
Unfortunately it doesn't work for me either.
I suspected it could be an issue with nVidia cards, so I switched to Intel HD, but it didn't work also.
My host OS is Windows 8.1. Maybe that's the cause?

Here goes the pcem.cfg

gameblaster = 0
gus = 0
ssi2001 = 0
voodoo = 1
model = 38
cpu_manufacturer = 0
cpu = 11
cpu_use_dynarec = 1
gfxcard = 15
video_speed = 5
sndcard = 7
cpu_speed = 24
has_fpu = 1
slow_video = 1
cache = 3
cga_composite = 0
disc_a = C:\PCem\Dos6.22.img
disc_b = C:\Dropbox\speedsys478.IMA
mem_size = 131072
cdrom_drive = 73
cdrom_enabled = 1
cdrom_channel = 1
cdrom_path =
vid_resize = 0
vid_api = 1
video_fullscreen_scale = 0
video_fullscreen_first = 1
hdc_sectors = 63
hdc_heads = 16
hdc_cylinders = 3876
hdc_fn = D:\win98.img
hdd_sectors = 0
hdd_heads = 0
hdd_cylinders = 0
hdd_fn =
hde_sectors = 0
hde_heads = 0
hde_cylinders = 0
hde_fn =
hdf_sectors = 0
hdf_heads = 0
hdf_cylinders = 0
hdf_fn =
drive_a_type = 0
drive_b_type = 0

[3DFX Voodoo Graphics]
framebuffer_memory = 2
texture_memory = 2
bilinear = 1
dacfilter = 0
render_threads = 2
recompiler = 0
User avatar
omarsis81
Posts: 922
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCem 11 and Voodoo

Post by omarsis81 »

If it helps, here is Windows 8.1 crash error:

Problem Event Name: APPCRASH
Application timestamp: 5755e238
Exception Code: c0000005
Exception Offset: 00150223
OS Version: 6.3.9600.2.0.0.256.48
Additional Infomatation 1: 5861
Additional Infomatation 2: 5861822e1919d7c014bbb064c64908b2
Additional Infomatation 3: 3a20
Additional Infomatation 4: 3a20a93c34687143a5bf7d33f1cf3ccc
User avatar
SarahWalker
Site Admin
Posts: 2014
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCem 11 and Voodoo

Post by SarahWalker »

Okay, think I know what this is (Windows crash error is actually useful!). I've replaced the download again. Third time lucky?
User avatar
omarsis81
Posts: 922
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCem 11 and Voodoo

Post by omarsis81 »

SarahWalker wrote:Okay, think I know what this is (Windows crash error is actually useful!). I've replaced the download again. Third time lucky?
Yup! Very lucky indeed! It works now! What was it? A million thanks!
Last edited by omarsis81 on Tue 07 Jun, 2016 12:28 pm, edited 1 time in total.
UPerschke
Posts: 55
Joined: Wed 25 May, 2016 7:43 pm

Re: PCem 11 and Voodoo

Post by UPerschke »

Curious as well. Wasn't clear to me why it would crash without DEP and without recompiler.
MSYS2 build from current repo works fine btw. It's noticably larger than your binary, though (3.5 MB).
User avatar
SarahWalker
Site Admin
Posts: 2014
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCem 11 and Voodoo

Post by SarahWalker »

Only change is that I rebuilt it with -mstackrealign. Technically it's my fault for forgetting that flag, but I prefer to blame whichever Intel designer decided that SSE2 wouldn't support unaligned accesses.
UPerschke
Posts: 55
Joined: Wed 25 May, 2016 7:43 pm

Re: PCem 11 and Voodoo

Post by UPerschke »

Oh, yes now I see it. Your repository Makefile.mingw includes -mstackrealign. Makefile.am doesn't for CPU_I386. I was using Makefile.mingw with MSYS2.

If you want to blame someone it better be GCC designers for not implying -mstackrealign with -msse2 :P
It's known that SSE2 access to unaligned memory areas can at least cause a lot of time penalty.

I believe Intel has addressed alignment related issues in SSE3.
RetroGIG94
Posts: 92
Joined: Wed 30 Mar, 2016 4:09 am

Re: PCem 11 and Voodoo

Post by RetroGIG94 »

Well I tried but it didn't do anything for Lego Creator to use the Voodoo cards on Hardware.
RetroGIG94
Posts: 92
Joined: Wed 30 Mar, 2016 4:09 am

I tried to get LEGO creator to use Voodoo but nothing works

Post by RetroGIG94 »

I know Omarsis81 has been helping to get Lego creator to have better speed on Windows 95 on PCem and I haven't gotten through with the problem but...

I tried all of the Mach64 GX drivers that Omarsis81 gave me to use for the 2D card but nothing is working for me, to get Voodoo working with "Lego creator." I tried all of the content in each folder of the "Mach64 GX" folder of where it's contained but all of the drivers don't work. There must be something that I did wrong.

So Omarsis if you are seeing this can you see what your PCem v11 configuration, the directx version you are using and how you installed your Mach64 gx drivers and Voodoo 1 3.01.00 drivers on your Win9x.
Bladeforce
Posts: 2
Joined: Tue 07 Jun, 2016 3:43 pm

Re: PCem 11 and Voodoo

Post by Bladeforce »

Can this fixed binary be added to the linux download too please as it crashes on linux too
Post Reply