https://bugs.winehq.org/show_bug.cgi?id=52235
Bug ID: 52235 Summary: Many surfaces in the game Obduction look black Product: Wine Version: 7.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: zerooneo@01101001.net Distribution: ---
Created attachment 71338 --> https://bugs.winehq.org/attachment.cgi?id=71338 Screenshot
When running the game Obduction in wine, an interesting effect occurs where most surfaces are pure black, yet with some lighting etc. applied, leaving the game looking extremely dark. This effect does not occur when running the game with DXVK, meaning there's a very specific difference the two implementations that has a large effect on this game.
The log shows a few DirectX and Direct3D-messages initially (counts on the left):
1 03d8:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x1. 1 03d8:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20. 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x12d2cad0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8d30, modes 0x7fe90cc3ac00 partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x12d2cad0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8d30, modes (nil) partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0xed354e0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8ad0, modes 0x18fa4d80 partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0xed354e0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8ad0, modes (nil) partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0xed39050, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8ab0, modes 0x1aece780 partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0xed39050, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8ab0, modes (nil) partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0xf0f51c0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8d50, modes 0x1af84680 partial stub! 1 03d8:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0xf0f51c0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x4e8d50, modes (nil) partial stub! 2 04a8:fixme:d3d:create_texture_view Depth slice (0-1) not supported. 10 04a8:fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_stream. 46 03d8:fixme:d3d11:d3d11_device_CheckFeatureSupport Unhandled feature 0x3. 432 04a8:fixme:d3d_shader:shader_glsl_interpolation_qualifiers Unhandled interpolation mode 0x3.
And then thousands of these:
1080 04a8:err:d3d:wined3d_debug_callback 0x578c00: "GL_INVALID_ENUM in glTexBufferRange(internalFormat GL_RGBA16_SNORM)". 4632 04a8:err:d3d:wined3d_debug_callback 0x578c00: "GL_INVALID_ENUM in glTexBufferRange(internalFormat GL_RGBA8_SNORM
Might it be that certain textures or shaders aren't supported, and that that leads to them being rendered as black?
This game also requires some other features in order to work fully, but it might be worth it to fix this issue either for the sake of other games, or in case further support for this game is added in the future.
https://bugs.winehq.org/show_bug.cgi?id=52235
--- Comment #1 from David Oftedal zerooneo@01101001.net --- Created attachment 71339 --> https://bugs.winehq.org/attachment.cgi?id=71339 Screenshot
https://bugs.winehq.org/show_bug.cgi?id=52235
--- Comment #2 from David Oftedal zerooneo@01101001.net --- Created attachment 71340 --> https://bugs.winehq.org/attachment.cgi?id=71340 Console log
https://bugs.winehq.org/show_bug.cgi?id=52235
David Oftedal zerooneo@01101001.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |None (was not working | |before)
https://bugs.winehq.org/show_bug.cgi?id=52235
David Oftedal zerooneo@01101001.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zerooneo@01101001.net
https://bugs.winehq.org/show_bug.cgi?id=52235
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|None (was not working | |before) |
https://bugs.winehq.org/show_bug.cgi?id=52235
David Oftedal zerooneo@01101001.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.0-rc2 |7.1
https://bugs.winehq.org/show_bug.cgi?id=52235
--- Comment #3 from David Oftedal zerooneo@01101001.net --- Changed version to 7.1, as the issue also occurs in 7.1.
https://bugs.winehq.org/show_bug.cgi?id=52235
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.1 |7.0-rc2 CC| |o.dierick@piezo-forte.be
--- Comment #4 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to David Oftedal from comment #3)
Changed version to 7.1, as the issue also occurs in 7.1.
Hello,
No, no. The version field is meant to show the earliest version that is known to be affected by the issue. It must not be updated with newer versions.
I'll revert that.
Simple comments such as "Issue still present in version X.XX" are preferred.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=52235
--- Comment #5 from David Oftedal zerooneo@01101001.net --- The texture issue persists in Wine 7.11, but interestingly, another problem related to Windows Media Foundation has now been half solved, so that the audio from in-game videos can be heard, albeit without video. So the game is getting closer to being playable.
https://bugs.winehq.org/show_bug.cgi?id=52235
--- Comment #6 from David Oftedal zerooneo@01101001.net --- On a possibly related note, in-game videos also became viewable for the first time in Wine 7.15, but only when using DXVK. Which might indicate that the videos are rendered to a texture and affected by this same issue.
https://bugs.winehq.org/show_bug.cgi?id=52235
Guido guidoj2269@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guidoj2269@gmail.com
--- Comment #7 from Guido guidoj2269@gmail.com --- I can confirm that many surfaces are still rendered black in Wine 7.20 (did not try using DXVK).
Official screenshots for reference: https://obduction.com/media/screenshots/
https://bugs.winehq.org/show_bug.cgi?id=52235
--- Comment #8 from Guido guidoj2269@gmail.com --- Texture issue is still present in Wine 8.14