https://bugs.winehq.org/show_bug.cgi?id=58071
Bug ID: 58071 Summary: Sacred Gold: Crash on startup with specific setup Product: Wine Version: 10.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: wine@kryotek.mozmail.com Distribution: ---
Created attachment 78325 --> https://bugs.winehq.org/attachment.cgi?id=78325 Tar containing the winedbg log and both system's info
The game crashes on startup on my desktop PC, but works on my laptop.
All the detailed info is in the attachment, here's a TLDR:
Game is really old and runs DX7
Both systems are running the latest Arch Linux with KDE Plasma on Wayland, using the zen kernel.
Laptop is old, with an integrated Intel i3 GPU and a dedicated NVIDIA 610M. I'm NOT using Nvidia dedicated drivers. Integrated display, it believes an external VGA is connected but that's disabled in KDE.
Desktop is a full AMD system with no integrated GPU and a dedicated 6750XT. I have a multi monitor setup with the main being a 1440p 165hz display with VRR, the secondary a 1280x1024 75HZ without VRR.
Initially I had the problem using Bottles, but I tried again with a fresh wine installation and a fresh wine prefix and had the same results.
I'm using the latest wine 10.5 and manually cloning and building wine didn't fix the problem.
The bug is triggered inside "d3d7_EnumZBufferFormats" because the device_iid pointer is 0x438, probably too low to be an actual pointer?
If you want help in reproducing and debugging I'm free most of the time and will be happy to help!