Skip to content

xanadu-next: Game crashes with d3d8to9 and nine #350

@orbea

Description

@orbea

OS: Slackware64-current
wine-nine-standalone: iXit/wine-nine-standalone@b41e162
mesa: https://github.com/mesa3d/mesa/commit/21c795ab0723cf0595768ea3f2165c10e89fd8c1
wine: 4.11
d3d8to9: 1.9.2
GPU: RX Vega 56

I am trying to run the game Xanadu Next.

https://appdb.winehq.org/objectManager.php?sClass=version&iId=26343

This game uses d3d8, but its very broken graphically with wined3d and has been for a long time.

https://bugs.winehq.org/show_bug.cgi?id=40643

When using d3d8to9 and native versions of both d3dx9_43 and d3dcompiler_43 it actually seems to work with limited testing. However when nine is enabled the game will immediately crash.

Wine crash log: xanadu_backtrace.txt

I made an apitrace of the game with d3d8to9 without nine and replaying it with wined3d works, but it will also crash when replayed with nine.

Wine apitrace crash log: apitrace_xanadu_backtrace.txt
trace: xanadu-next_d3d8to9.trace.xz.txt

Note that this trace only contains the title screen which has always worked with wined3d unlike the actual gameplay.

Additionally when nir is enabled, wine itself will crash with this very unhelpful backtrace.

Thread 7 "XANADU.exe:sh2" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 23709]
0x77cba5e4 in ?? ()
(gdb) bt
#0  0x77cba5e4 in ?? ()
Backtrace stopped: Cannot access memory at address 0x5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions