https://bugs.winehq.org/show_bug.cgi?id=53863
Bug ID: 53863 Summary: Tsui no Stella = Stella of the End: doesn't launch anymore (GL_INVALID_OPERATION) Product: Wine Version: 7.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: pernegger@gmail.com Distribution: ---
Created attachment 73393 --> https://bugs.winehq.org/attachment.cgi?id=73393 terminal output for 7.20 and 7.19
You can get a trial copy of the game here: https://key.visualarts.gr.jp/kinetic/stella/#download. Random direct link: https://sample9.dmm.co.jp/mono/pcgame/1041apc14123/1041apc14123t.zip
The game runs fine in 7.18 and 7.19 at least, but it fails to launch for me after the update to 7.20:
0118:err:d3d:wined3d_debug_callback 0A542890: "GL_INVALID_OPERATION in glMapBufferRange(access indicates neither read or write)". 0118:err:d3d:wined3d_allocator_chunk_gl_map Failed to map chunk memory. 0118:err:d3d:wined3d_bo_gl_map Failed to map chunk. 0118:err:d3d:wined3d_context_gl_map_bo_address Failed to map bo.
(Downgrading to 7.19 fixes the issue.)
[Ubuntu 18.04.6, WINE packages from the official WineHQ repo]
https://bugs.winehq.org/show_bug.cgi?id=53863
pernegger@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=53863
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Hi, I can reproduce the issue.
git bisect says ebbcc10b0593948657b8e684c3a9be8ace1a5d25 is the first bad commit: commit ebbcc10b0593948657b8e684c3a9be8ace1a5d25 Author: Zebediah Figura zfigura@codeweavers.com Date: Mon Sep 19 13:21:32 2022 -0500
wined3d: Do not enforce GL map access for resources with WINED3D_RESOURCE_ACCESS_CPU.
d3d maps of such resources will map the CPU copy, and uploads and downloads use glBufferSubData() and glGetBufferSubData() respectively. There is no need to map the BO.
This improves performance of Indivisible on NVidia GPUs. The game uses a d3d9 MANAGED buffer for streaming vertex data, which results in poor performance on NVidia when using GL_MAP_READ_BIT | GL_MAP_PERSISTENT_BIT. With this change we use neither.
This change should only affect managed resources, i.e. those with both CPU and GPU access. We never create a BO for CPU-only resources.
https://bugs.winehq.org/show_bug.cgi?id=53863
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be Regression SHA1| |ebbcc10b0593948657b8e684c3a | |9be8ace1a5d25
https://bugs.winehq.org/show_bug.cgi?id=53863
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://sample9.dmm.co.jp/m | |ono/pcgame/1041apc14123/104 | |1apc14123t.zip
https://bugs.winehq.org/show_bug.cgi?id=53863
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de, | |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=53863
flampool@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flampool@protonmail.com
https://bugs.winehq.org/show_bug.cgi?id=53863
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- Pixel Puzzles Traditional Jigsaws fails with:
0504:err:d3d:wined3d_debug_callback 00D74CA8: "GL_INVALID_OPERATION error generated. Neither read nor write access was specified.". 0504:err:d3d:wined3d_allocator_chunk_gl_map Failed to map chunk memory. 0504:err:d3d:wined3d_bo_gl_map Failed to map chunk. 0504:err:d3d:wined3d_context_gl_map_bo_address Failed to map bo. Assertion failed: flags & WINED3D_MAP_NOOVERWRITE, file ../wine/dlls/wined3d/cs.c, line 3010
https://bugs.winehq.org/show_bug.cgi?id=53863
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- Giants: Citizen Kabuto (GOG) is also affected by this.
https://bugs.winehq.org/show_bug.cgi?id=53863
--- Comment #4 from pernegger@gmail.com --- Still present in 8.0-rc2.
The game LUNARiA (by the same developer) is also affected in the same way. In fact, I wouldn't be surprised if all games using (a recent version of their) SiglusEngine were: https://vndb.org/v?f=N18fwSiglusEngine- .
Is there any way to get this fixed in time for 8.0? From what I understand the offending commit is "just" a performance optimisation?
https://bugs.winehq.org/show_bug.cgi?id=53863
--- Comment #5 from pernegger@gmail.com --- (P.S. The dash at the end is part of the URL. Apparently Bugzilla's URL parser chopped it off.)
https://bugs.winehq.org/show_bug.cgi?id=53863
--- Comment #6 from Rafał Mużyło galtgendo@o2.pl --- mr1864 might be a solution of this problem.
https://bugs.winehq.org/show_bug.cgi?id=53863
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |734190a78c132c384ff2593a458 | |84dfc40baae44 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Zeb Figura z.figura12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/734190a78c132c384ff2593a45884dfc40baae44.
https://bugs.winehq.org/show_bug.cgi?id=53863
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=53863
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stabilergriller@gmail.com
--- Comment #9 from Zeb Figura z.figura12@gmail.com --- *** Bug 54332 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=53863
--- Comment #10 from Zeb Figura z.figura12@gmail.com --- *** Bug 54329 has been marked as a duplicate of this bug. ***