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

quit menu superimposed #942

Closed
legluondunet opened this issue Mar 31, 2024 · 12 comments
Closed

quit menu superimposed #942

legluondunet opened this issue Mar 31, 2024 · 12 comments

Comments

@legluondunet
Copy link

legluondunet commented Mar 31, 2024

Hello Elisha,
I have an issue with latest sh2ee version (today's downloads):
when I want to quit the game, quit menu superimposed with main menu, main menu does not disappear to let the place to quit menu :

image

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

@elishacloud
Copy link
Owner

Can you tell me what build number it is and where you downloaded it from?

@legluondunet
Copy link
Author

legluondunet commented Apr 2, 2024

I own Director's cut MULTI 5 ( 3 cds ). Where can I find build number?

@elishacloud
Copy link
Owner

You can just upload your log file.

@legluondunet
Copy link
Author

This log file?

d3d8.log

@elishacloud
Copy link
Owner

Try changing the front buffer capture mode. There is GDI and DirectX. Try them both and let me know if either of them work for you or not.

image

@legluondunet
Copy link
Author

Results:

  • directx: issue present
  • GDI: issue not present:
    image
    Full black background menu is a normal behavior?

@elishacloud
Copy link
Owner

That is normal for Linux, for some reason. Linux handles GDI differently. But not sure why DirectX is not working here. Either way there is an issue with how the wrapper captures the front buffer.

@legluondunet
Copy link
Author

legluondunet commented Apr 6, 2024

I made some tests with front buffer capture option set to "auto" :

  • 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
    image

Do you know someone that can reproduce this issue?
Do you have a contact at the DXVK devs team?

@elishacloud
Copy link
Owner

I don't. But you can open an issue on their GitHub page: https://github.com/doitsujin/dxvk

@doitsujin
Copy link

So what exactly does this actually do with the "DirectX" option? Does this just call GetFrontBufferData on a swap chain before actually rendering the menu or something?

GDI is not expected to work since we don't want to do presentation on the CPU in DXVK.

@elishacloud
Copy link
Owner

Does this just call GetFrontBufferData on a swap chain before actually rendering the menu or something?

Yes, that is correct. You can see all the code here. We call that command after the Present() before any other call happens, see here.

Note: the game was created in Direct3D8 and we use d3d8to9 to convert it to Direct3D9. Also, we use an old build of ReShade to allow us to add shaders, see applicable code here. This means that the call may be going through a swap chain.

Let me know if you need any other information here.

@JoonasPitk
Copy link

JoonasPitk commented Apr 11, 2024

The only way I've ever managed to mitigate the issue fully on my Linux system was to set the Screen mode as Fullscreen. No superimposed text or black backgrounds in this mode.

@Polymega Polymega closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants