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

The 2nd page of the medical examination diary: Another story of exciting days of me and my senpai (2243920) #7017

Open
2 tasks done
kzkz opened this issue Aug 15, 2023 · 7 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@kzkz
Copy link

kzkz commented Aug 15, 2023

Compatibility Report

  • Name of the game with compatibility issues:The 2nd page of the medical examination diary: Another story of exciting days of me and my senpai
  • Steam AppID of the game:2243920

System Information

  • Steam client version (build number or date): Steam Version: 1691097434 (Steam Deck Stable as of Aug 4, 2023)
  • Distribution (e.g. Ubuntu): SteamOS (OS Version: 3.4.8, OS Build: 20230508.1)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • GPU: Steam Deck
  • Link to full system information report as Gist and App Log:https://gist.github.com/kzkz/90b67dd8e87642c044c371033065f5c9
  • Proton version:8.0-3

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

When running on SteamDeck, the thumbnail image generated when saving on the save screen is black.
This does not occur in Windows 10 / 11 environments.

It seems that CopyResource cannot read pixel data from the back buffer in the swap chain created by DXGI_SWAP_EFFECT_SEQUENTIAL after Present.

Normally, after Present, you can select a presentation model (DXGI_SWAP_EFFECT_SEQUENTIAL) that does not discard the data used for Present.
But this is not working (i.e. DXGI_SWAP_EFFECT_DISCARD treatment?) It seems to be.

I expect this is a Proton or SteamDeck compatibility issue.

Reproduction

  1. Start the main game.
  2. "Menu"->"Save".
  3. Select any frame to save.

The correct behavior on Windows 10 and 11 is to display a picture of the main game as a thumbnail.
On SteamDeck, the picture will be black.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 15, 2023
@kisak-valve kisak-valve changed the title CopyResource cannot read pixel data from the back buffer in the swap chain created by DXGI_SWAP_EFFECT_SEQUENTIAL after Present The 2nd page of the medical examination diary: Another story of exciting days of me and my senpai (2243920) Aug 15, 2023
@kisak-valve
Copy link
Member

Hello @kzkz, this symptom sounds similar to a quirk I saw with save previews in Myst V. It might be interesting to test how the game behaves with generating a save while having the game's launch options set to PROTON_USE_WINED3D=1 %command%.

@kzkz
Copy link
Author

kzkz commented Aug 15, 2023

@kisak-valve, Thanks! PROTON_USE_WINED3D=1 %command% option and tried it, and the problem no longer occurs.
Is it possible to force this option only when running on SteamDeck?
Is the only way to put it in the startup options?
Or is there any negative effect with this command when run on Windows 10 / 11?

@doitsujin
Copy link
Collaborator

DXVK currently does not implement DXGI_SWAP_EFFECT_SEQUENTIAL any differently than DISCARD. This is the first game I've heard of that uses these present modes, and implementing these in DXVK is not trivial and will come at the cost of extra memory usage.

@kzkz
Copy link
Author

kzkz commented Aug 15, 2023

Thank you. I understand.
I was hoping that Proton would be highly compatible as a compatibility layer, but alas.
I hope it will be improved so that only those who want to care about performance can make it DISCARD.

@Blisto91
Copy link

Blisto91 commented Aug 24, 2023

@kzkz This should now be implemented and available on Proton Experimental Bleeding Edge. It will get pulled in to regular Experimental in next update that pulls in dxvk changes.

@Blisto91
Copy link

Sadly this work had to be reverted again. See commit comment for info doitsujin/dxvk@a3fa9c2

@Blisto91
Copy link

Blisto91 commented Oct 4, 2024

@kzkz This is now implemented again and currently available on the Proton Experimental Bleeding Edge beta branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

4 participants