[Bug 53107] New: LUNARiA trial: some effects fail to display with bogus "Failed to allocate system memory" error

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jun 5 20:40:59 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53107

            Bug ID: 53107
           Summary: LUNARiA trial: some effects fail to display with bogus
                    "Failed to allocate system memory" error
           Product: Wine
           Version: 7.10
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: fallenguru at protonmail.com
      Distribution: ---

Created attachment 72543
  --> https://bugs.winehq.org/attachment.cgi?id=72543
terminal output, three ways

Trial download page: https://key.visualarts.gr.jp/kinetic/lunaria/#download
Trial download direct link:
https://sample9.dmm.com/digital/pcgame/vsat_0274/vsat_0274t.zip
Trial SHA1: 4c0f3e206406d36e32634e8f56b558b5accf73ce  vsat_0274t.zip

It probably needs Japanese locale (LANG=ja_JP.UTF-8) to run.

To make video playback work, I ran StartData/Config.exe and switched the method
from WMP to MCI; then transcoded the videos from WMV to WEBM.

Start a new game, then best hold down the left ctrl key to fast-forward.
Assuming you can't read Japanese, or at least don't want to read it all,
specifying where the error occurs is a bit difficult. I can attach my savegame
directory on request, but the upshot is that it shouldn't crash nor throw any
other error.

Anyway, WINE doesn't like some animated(?) effects the game tries to display:

010c:err:d3d:wined3d_resource_allocate_sysmem Failed to allocate system memory.
010c:err:d3d:texture_resource_sub_resource_map Failed to prepare location.
(Neither RAM nor VRAM are anywhere near capacity.)

Vanilla WINE crashes right after this with an unhandled page fault. 
Setting WINE_LARGE_ADDRESS_AWARE=1 got me past the first of these effects (that
I noticed); for a later one there's a good chance the game itself pops up an
error message instead, roughly: "Image file ef_cyberline could not be opened.
An error has occurred in the function LockRect. hr 0x8007000e (E_OUTOFMEMORY)".
In that case, it continues to run after and just skips the effect.

So I installed DIVK into the prefix and that has been flawless so far, so I
thought a bug in WINE's Direct3D implementation might be in play.

Fresh 7.10 prefix (winehq official repo, Ubuntu 18.04).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list