doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.42k stars 867 forks source link

[d3d8] Pure Pinball 2.0 Redux locks up/crashes during startup #4222

Open WinterSnowfall opened 3 months ago

WinterSnowfall commented 3 months ago

I guess I'll probably have to record a video of what's going on, since apparently the trace captured invalid vertex positions for all the elements of the pinball table :frog:.

Here's a recording of the issue: https://drive.proton.me/urls/G24CPQ94BR#A3v4Ckv8g7fW

Anyway, there's geometry/lighting flickering in the upper side of all tables, which is apparent whenever the camera changes position. The game doesn't work with WineD3D, but I do remember it working well with d8vk 1.0, so this is most likely a post-merge regression.

Software information

Pure Pinball 2.0 Redux

System information

Apitrace file(s)

Pure Pinball 2.0 REDUX.trace.tar.xz

Log files

Pure Pinball 2.0 REDUX_d3d8.log

WinterSnowfall commented 1 month ago

The game's broken on master currently, and behaves similarly to WineD3D. After the loading screen and a short promo picture, the game ends up on a perpetual black screen instead of the main menu.

I've bisected it down to:

207e15eb24b8b4d562a8e461a668eefe1fcf3c0c is the first bad commit
commit 207e15eb24b8b4d562a8e461a668eefe1fcf3c0c
Author: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Date:   Mon Sep 30 13:53:31 2024 +0200

    [dxvk] Refactor swap chain blitter to use plain Vulkan

    Temporarily disable the HUD until that is refactored too.
WinterSnowfall commented 1 month ago

Flickering should be fixed by b99012d, I'll keep this to track the crashing (maybe someday we'll figure out what this game wants).