[Bug 41674] New: Dungeon rats - black squares in some textures
https://bugs.winehq.org/show_bug.cgi?id=41674 Bug ID: 41674 Summary: Dungeon rats - black squares in some textures Product: Wine Version: 1.9.22 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs(a)winehq.org Reporter: amagarrsh(a)gmail.com Distribution: --- Created attachment 56065 --> https://bugs.winehq.org/attachment.cgi?id=56065 complete log Dungeon rats need d3dcompiler_43 override or the game crashes. With d3dcompiler_43.dll native game works perfect but there are black squares in some textures. There are quite a few messages in the log: fixme:d3d:wined3d_texture_generate_mipmaps texture 0xbee87e0 stub! err:d3d:wined3d_debug_callback 0x2e2b040: "GL_INVALID_OPERATION error generated. Cannot begin query on an active query object.". err:d3d:wined3d_debug_callback 0x2e2b040: "GL_INVALID_OPERATION error generated. <target> does not have an active query.". err:d3d:wined3d_debug_callback 0x2e2b040: "GL_INVALID_OPERATION error generated. Query object not found.". -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 --- Comment #1 from amagarr <amagarrsh(a)gmail.com> --- Created attachment 56066 --> https://bugs.winehq.org/attachment.cgi?id=56066 screenshot Screenshot with black squares -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |directx-d3d --- Comment #2 from Matteo Bruni <matteo.mystral(a)gmail.com> --- The bug might be unrelated to the error messages in the log, which don't look that good though. It's possible those are caused by the game misusing query objects. Can you please attach a +tid,d3d9,d3d log? Quit the game as soon as you get to the bugged scene to keep the log relatively short and compress the log if necessary. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 --- Comment #3 from amagarr <amagarrsh(a)gmail.com> --- Created attachment 56427 --> https://bugs.winehq.org/attachment.cgi?id=56427 +tid,d3d9,d3d Log with WINEDEBUG=+tid,d3d9,d3d added -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 --- Comment #4 from Matteo Bruni <matteo.mystral(a)gmail.com> --- Thank you for the log. Looking at it, it seems pretty clear that the GL errors are due to the game misusing occlusion queries. Not sure we should be doing anything about it. I'm still unconvinced that the black areas are due to that. If you can compile Wine yourself, you could try to comment out the line of the gl_extension_map array (it's in dlls/wined3d/directx.c) containing "GL_ARB_occlusion_query" and see if that makes any difference. The wined3d_texture_generate_mipmaps() fixme may be relevant too and I happen to have some WIP patches in that area. I'll post them here for testing when (if) I manage to get them in some decent shape. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 --- Comment #5 from amagarr <amagarrsh(a)gmail.com> --- Sorry, didn't work compile with the line "GL_ARB_occlusion_query" comment out and still in wine-2.0-rc6. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 --- Comment #6 from amagarr <amagarrsh(a)gmail.com> --- When I change any setting in the graphics options, this message appears in the command line: fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #110: fixme:d3d_shader:print_glsl_info_log Vertex info fixme:d3d_shader:print_glsl_info_log ----------- fixme:d3d_shader:print_glsl_info_log 0(15) : warning C7050: "vs_out[1].zw" might be used before being initialized -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #7 from joaopa <jeremielapuree(a)yahoo.fr> --- Is still a bug in current wine(3.20)? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41674 --- Comment #8 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Matteo Bruni from comment #4)
The wined3d_texture_generate_mipmaps() fixme may be relevant too and I happen to have some WIP patches in that area. I'll post them here for testing when (if) I manage to get them in some decent shape.
Sorry, I entirely forgot about this. Those patches are in Wine now. I don't think that they will matter but you might want to retest. Looking at it now, it seems possible that those artifacts are a variation of bug 34266. -- 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.
participants (1)
-
wine-bugs@winehq.org