protonscr

The 2nd page of the medical examination diary: Another story of exciting days of me and my senpai

protonopen appid 2243920Game compatibility - Unofficial
ValveSoftware/Proton#7017 · opened 2023-08-15 by kzkz · updated 2024-10-04 · 7 comments · github · game page · search this game
Kkzkz 2023-08-15 github

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:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] 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.

Kkisak-valve maintainer 2023-08-15 github

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%.

Kkzkz 2023-08-15 github

@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?

Ddoitsujin 2023-08-15 github

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.

Kkzkz 2023-08-15 github

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.

BBlisto91 2023-08-24 github

@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.

BBlisto91 2023-08-31 github

Sadly this work had to be reverted again. See commit comment for info https://github.com/doitsujin/dxvk/commit/a3fa9c26dce09a4e21935789e4f13bb537b19021

BBlisto91 2024-10-04 github

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

Proton versions

Launch options

Launch lines