protonscr

SH2ee: incorrect directx front buffer

dxvkclosed d3d9
doitsujin/dxvk#3943 · opened 2024-04-07 by legluondunet · updated 2025-03-08 · 9 comments · github
1 matching comments, n / p to jump
Llegluondunet 2024-04-07 github

Hello,
SH2ee is an open source project to play Silent Hill 2 on modern computer, the devs maintain a Wine compatibility.
Since DXVK 2.2, an issue appears: when you want to quit the game, quit menu superimposed with main menu, main menu does not disappear to let the place to quit menu :

image

I opened an issue on SH2ee Github here:
https://github.com/elishacloud/Silent-Hill-2-Enhancements/issues/942

The SH2ee devs think it is related to directx front buffer

I make several tests and can not reproduce this issue with DXVK =< 2.1

  • try different Wine versions: issue still present
  • DXVK off: no issue
  • DXVK 2.3.1: issue still present
  • DXVK 2.3: issue still present
  • DXVK 2.2: issue still present
  • DXVK 2.1 and less: no issue

Thank you for your help.

my config:
Manjaro 23.1.3 Vulcan
Kernel: x86_64 Linux 6.6.19-1-MANJARO
Proc: AMD Ryzen 9 5900HX
GPU: AMD Radeon RX 6600M
Drivers: Mesa 24.0.2
Resolution: 1920x1080
32 Go RAM
DE: Xfce4

Llegluondunet 2024-04-07 github

I joined Wine log.

this is the log messages when I try to reproduce the issue:

warn:  D3D9Surface::QueryInterface: Unknown interface query
warn:  00000000-1c77-4d40-b0cf-98fefdffffff
NoTex Character
warn:  D3D9Surface::QueryInterface: Unknown interface query
warn:  22222222-1c77-4d40-b0cf-98fefdffffff
warn:  D3D9Surface::QueryInterface: Unknown interface query
warn:  11111111-1c77-4d40-b0cf-98fefdffffff

SH2ee_wine.log

BBlisto91 2024-04-07 github

Hi there.
Would it be possible for you to make a apitrace?

BBlisto91 2024-04-07 github

Thank you. Though it seems the issue is baked in to the trace as it shows with dxvk 2.1 too and wined3d.

Llegluondunet 2024-04-07 github

Do you need another apitrace? Others information?

BBlisto91 2024-04-09 github

No need. I managed to get my hands on a retail copy of the game.
I've bisected the issue to start with commit https://github.com/doitsujin/dxvk/commit/5443a2f9f581e2cc578579605bf028089a675ef9

BBlisto91 2024-04-10 github

Apitraces of both the native game and dxvk 2.3.1 on Windows
https://drive.proton.me/urls/YY20V9BS74#btRWEjecHSgc

AAlpyneDreams 2024-07-09 github

This definitely appears to be an issue with the Enhanced Edition and/or d3d9.

image

Testing d3d8 with the vanilla game gives no issues:

image

KK0bin maintainer 2024-07-09 github

@AlpyneDreams What they're doing is perfectly valid though.

Nothing extracted yet.