https://bugs.winehq.org/show_bug.cgi?id=52907
Bug ID: 52907 Summary: Etra's Training Grounds: Black solid models Product: Wine Version: 7.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: joseskvolpe@gmail.com Distribution: ---
Created attachment 72291 --> https://bugs.winehq.org/attachment.cgi?id=72291 Shell log
Solid models on Etra's Training Grounds game are all dark Once starting, the game displays a lot of fixmes and errors: 0110:fixme:d3d11:d3d11_device_CheckFeatureSupport Unhandled feature 0x3. 00000000055CDC10: "GL_INVALID_ENUM in glTexBufferRange(internalFormat GL_RGBA8_SNORM)". 016c:fixme:d3d_shader:shader_glsl_interpolation_qualifiers Unhandled interpolation mode 0x3.
On Windows 10 using the same hardware, the solid models are rendered correctly, indicating that's not a issue with my Intel integrated graphics.
Procedure: 1 - Open the game
Download: https://etra-etra-games.itch.io/a-beginners-guide-to-fps-games SHA-1(Lesson-FPS_Buff-High Quality-64bit.zip): 56ec1d6098ccfc638d955cc3f093c77ae6749224 SHA-1(Lesson-FPS_Not-Buff-Lower Quality-64bit.zip): 7ce3384e3e5954beb1b84cbe1b9344e020b5387a I've used Lesson-FPS_Buff-High Quality-64bit.zip on the screenshots and log, low-quality version is glitch aswell, i didn't tested 32-bir versions
https://bugs.winehq.org/show_bug.cgi?id=52907
--- Comment #1 from Josesk Volpe joseskvolpe@gmail.com --- Created attachment 72292 --> https://bugs.winehq.org/attachment.cgi?id=72292 Screenshots 1
https://bugs.winehq.org/show_bug.cgi?id=52907
--- Comment #2 from Josesk Volpe joseskvolpe@gmail.com --- Created attachment 72293 --> https://bugs.winehq.org/attachment.cgi?id=72293 Screenshots 2
https://bugs.winehq.org/show_bug.cgi?id=52907
Josesk Volpe joseskvolpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Other
https://bugs.winehq.org/show_bug.cgi?id=52907
--- Comment #3 from Josesk Volpe joseskvolpe@gmail.com --- Created attachment 72295 --> https://bugs.winehq.org/attachment.cgi?id=72295 DXVK
With DXVK, it works as it should be
https://bugs.winehq.org/show_bug.cgi?id=52907
Josesk Volpe joseskvolpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://etra-etra-games.itc | |h.io/a-beginners-guide-to-f | |ps-games Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=52907
Nipun Garg nipung271@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nipung271@gmail.com
--- Comment #4 from Nipun Garg nipung271@gmail.com --- I can confirm that the problem exists.
From the debug log:
-------- 017c:fixme:d3d_shader:shader_glsl_interpolation_qualifiers Unhandled interpolation mode 0x3. 017c:err:d3d:wined3d_debug_callback 000000000C10E140: "GL_INVALID_ENUM in glTexBufferRange(internalFormat GL_RGBA8_SNORM)". 017c:err:d3d:wined3d_debug_callback 000000000C10E140: "GL_INVALID_ENUM in glTexBufferRange(internalFormat GL_RGBA8_SNORM)". 017c:fixme:d3d_shader:shader_glsl_interpolation_qualifiers Unhandled interpolation mode 0x3. --------
The problem seems to be that the application is passing GL_RGBA8_SNORM to glTexBufferRange as an internal format, but glTexBufferRange doesn't support GL_RGBA8_SNORM as an internal format.
I replaced GL_RGBA8_SNORM with GL_RGBA8 to test it and that seems that fixes it. Would it be correct to add checks for SNORM textures in glTexBufferRange?
https://bugs.winehq.org/show_bug.cgi?id=52907
--- Comment #5 from Josesk Volpe joseskvolpe@gmail.com --- ¿May you upload the patch? please owo
https://bugs.winehq.org/show_bug.cgi?id=52907
--- Comment #6 from Nipun Garg nipung271@gmail.com --- (In reply to Josesk Volpe from comment #5)
¿May you upload the patch? please owo
I'm working on a proper patch for it right now. If that doesn't pan out, I'll send my hacky solution that gets the game to load.