softgpu icon indicating copy to clipboard operation
softgpu copied to clipboard

DDRAWEX.DLL memory access violations

Open ppw0 opened this issue 1 year ago • 5 comments

Hello,

I've installed SoftGPU in a 9x virtual machine in QEMU and I keep getting DDRAWEX.DLL memory access violations and WINED3D.DLL illegal operations when I open certain applications. The installer would also complain that "No working PCI bus was found", but the PCI bus was properly installed and there were no remaining yellow exclamation marks in Device Manager. Is this because of a lack of 3D support for QEMU?

ppw0 avatar Nov 30 '23 07:11 ppw0

I think release 0.5 supports that via QEMU-3dfx?

Also related:

  • #13

Torinde avatar Mar 19 '24 21:03 Torinde

I don't know, I haven't tried the latest release. Does it require patching QEMU?

ppw0 avatar Mar 21 '24 09:03 ppw0

Patching QEMU isn't required, but all acceleration is software only then.

Make also sure you have right VGA adapter (-vga std). QEMU also has sometimes problems when emulating some advanced instructions. Try to set -cpu pentium3 when you have strange invalid memory access errors. Full commands, that I'm using to run QEMU are here:

https://github.com/JHRobotics/softgpu/issues/63#issuecomment-2022677497

JHRobotics avatar Mar 27 '24 13:03 JHRobotics

Turned on both "-vga std" and "-cpu pentium3" and same issues. (Using v0.5.2024.29-alpha2 now.)

Addendum: Following the exact full command that you posted instead just causes the application to come to a halt, without any error messages.

ppw0 avatar Jun 20 '24 14:06 ppw0

Here's an example of DDRAWEX.DLL memory access violation:

ddrawex.dll

And here's the "no working PCI bus found" message:

PCIbus

And here's the command line I'm using:

qemu-system-i386 \ 
-bios seabios-nopnp.bin \
-nodefaults \
-rtc base=localtime \
-display sdl,grab-mod=rctrl \
-M pc,accel=kvm,hpet=off,usb=off \
-cpu pentium3 \
-m 1024 \
-vga std \
-device lsi \
-drive if=floppy \
-drive id=win98,if=none,file=win98.qcow2 -device scsi-hd,drive=win98 \
-cdrom softgpu-0.5.2024.29.iso

ppw0 avatar Jul 08 '24 20:07 ppw0