Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SH2ee: incorrect directx front buffer #3943

Open
legluondunet opened this issue Apr 7, 2024 · 9 comments · May be fixed by #3948 or #3949
Open

SH2ee: incorrect directx front buffer #3943

legluondunet opened this issue Apr 7, 2024 · 9 comments · May be fixed by #3948 or #3949
Assignees
Labels

Comments

@legluondunet
Copy link

legluondunet commented Apr 7, 2024

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:
elishacloud/Silent-Hill-2-Enhancements#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

@legluondunet
Copy link
Author

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

@K0bin K0bin added the d3d9 label Apr 7, 2024
@Blisto91
Copy link
Contributor

Blisto91 commented Apr 7, 2024

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

@legluondunet
Copy link
Author

@Blisto91
Copy link
Contributor

Blisto91 commented Apr 7, 2024

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

@legluondunet
Copy link
Author

legluondunet commented Apr 7, 2024

Do you need another apitrace? Others information?

@Blisto91
Copy link
Contributor

Blisto91 commented Apr 9, 2024

No need. I managed to get my hands on a retail copy of the game.
I've bisected the issue to start with commit 5443a2f

@Blisto91
Copy link
Contributor

Blisto91 commented Apr 10, 2024

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

@AlpyneDreams
Copy link
Contributor

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

@K0bin
Copy link
Collaborator

K0bin commented Jul 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants