https://bugs.winehq.org/show_bug.cgi?id=43479
Bug ID: 43479 Summary: Texture Bugs Product: Wine-staging Version: 2.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: footballteam000@wp.pl CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Some texture are black and sometimes with red strips.
https://bugs.winehq.org/show_bug.cgi?id=43479
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- This only appears with the staging patches? Please provide more information, like which game/program causes the issue.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #2 from SynneK footballteam000@wp.pl --- Raise Of The Tomb Rider, doesn' t even want to start using wine without staging
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Can you provide and apitrace for the DX11 calls? Just download the windows version from http://apitrace.github.io/#download and run it with "wine PathToApitraceExe trace -a dxgi PathToExe" while steam is running.
https://bugs.winehq.org/show_bug.cgi?id=43479
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Texture Bugs |Texture Bugs in Raise Of | |The Tomb Rider
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- (In reply to SynneK from comment #0)
Some texture are black and sometimes with red strips.
We will really need a bit more details to help you with this issue. Please attach terminal output of the application, take a look here how to collect it:
https://wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a._terminal...
Also, which graphic drivers do you use? If you use MESA drivers, does the trick suggested on the following website help?
https://www.reddit.com/r/linux_gaming/comments/6s0rro/small_workaround_to_fi...
It could still be a Wine bug, but if the same workaround helps in your case, this might give a first hint what could be going wrong.
https://bugs.winehq.org/show_bug.cgi?id=43479
BieHDC byi5000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byi5000@gmail.com
--- Comment #5 from BieHDC byi5000@gmail.com --- Created attachment 58891 --> https://bugs.winehq.org/attachment.cgi?id=58891 The requested logfile (~100mb unpacked)
Starting the game, run benchmark and closing it wine-2.14-staging + msvcr110 native (or the game crashes)
This is how the benchmark looks like: https://youtu.be/b6Btp1rXI5c?t=1m19s the video has an older wine version, but the visual bugs are still the same
https://bugs.winehq.org/show_bug.cgi?id=43479
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Summary|Texture Bugs in Raise Of |Texture bugs in Rise of the |The Tomb Rider |Tomb Raider Component|-unknown |directx-d3d
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com --- Probably not a staging-specific bug, moving to the Wine product.
https://bugs.winehq.org/show_bug.cgi?id=43479
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
--- Comment #7 from Fincer fincer89@hotmail.com --- *** Bug 43050 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #8 from Fincer fincer89@hotmail.com --- Created attachment 59230 --> https://bugs.winehq.org/attachment.cgi?id=59230 ROTTR log - Wine 2.17 Staging (~52mb unpacked)
After a long time, I ran ROTTR on 64-bit Wine 2.17 Staging (Steam version). The graphics have not been improved for a quite long time.
I have a log file attached which may give a clue what's going on under the hood. CSMT disabled. A lot of complaints about unimplemented D3D stuff or undefined behaviors.
Log file as a tar.xz archive, 52 MiB in size when unpacked.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #9 from Fincer fincer89@hotmail.com --- Created attachment 59231 --> https://bugs.winehq.org/attachment.cgi?id=59231 ROTTR gameplay (1)
Additional in-game screenshot added.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #10 from Pekka Helenius fincer89@hotmail.com ---
From user Zootal:
"There seems to be a limit to how many textures can be displayed at once. If you are in a small enclosed area, the graphics can look pretty good, but if you walk outside to a large area, it will drop a lot."
https://appdb.winehq.org/objectManager.php?sClass=version&iId=33591
https://bugs.winehq.org/show_bug.cgi?id=43479
Matthew Reed wine@zootal.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@zootal.com
--- Comment #11 from Matthew Reed wine@zootal.com --- If, for example, towards the beginning of the game you are in the Prophet's tomb, a small enclosed area. Here, the graphics/textures look fairly decent, though you can still see that white grid overlayed over everything. If you walk through the cave to the large outdoor area, you can see the textures start to drop off to be replaced with black patches. The larger the area, the worse it is, the further you go, the worse it gets.
Another thing I have noticed is that in a few areas, such as later on in the Prophet's Tomb when you are in the underground water tunnel/chamber, the lighting is inverted, as if it were a photographic negative. A lot of the cut-scene videos play like this, also.
I'll see if I can upload some pics later today demonstrating all of this, but it's fairly easily to duplicate - just spend a half hour playing from the beginning to the Prophet's tomb, you will see all of these grahpic defects in their glory.
I am using Wine staging 2.18. TROTTR won't start with Wine 2.18 non-staging.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #12 from Matthew Reed wine@zootal.com --- Created attachment 59422 --> https://bugs.winehq.org/attachment.cgi?id=59422 Missing textures example when in large outdoor area
Example of textures being dropped when you are in a large outdoor area. You an also see the white grid that gets overlayed over most everything.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #13 from Matthew Reed wine@zootal.com --- Created attachment 59423 --> https://bugs.winehq.org/attachment.cgi?id=59423 Small area with low detail. no missing textures.
This is mostly an indoor area. The outdoor area behind Lara does not have a lot of detail. No textures get dropped. This is about as good as it gets.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #14 from Matthew Reed wine@zootal.com --- Created attachment 59424 --> https://bugs.winehq.org/attachment.cgi?id=59424 Tearing texture example
This is an example of textures that tear/smear. I'm not sure what triggers this, it doesn't seem to be related to areas that have high or low detail. Sometimes it gets a lot worse than this. This is from the beginning of the game, Mountain Peak.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #15 from Matthew Reed wine@zootal.com --- PS: All of those images came from this rig:
Slackware 14.2 64 bit, 4.13.5. kernel (same results on 4.4.88 kernel) Ryzen 7, 8 core (16 virtual core) 16GB ram nVidia 660, proprietary drivers
Wine staging 2.18, 64 bit wine prefix.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #16 from Michael Müller michael@fds-team.de --- Can you attach a WINEDEBUG=+d3d_shader log? There are various problems regarding shader compilation. An apitrace replay file would also not hurt.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #17 from Matthew Reed wine@zootal.com --- Created attachment 59425 --> https://bugs.winehq.org/attachment.cgi?id=59425 Console Log, Prophet's Tomb
Console output from Prophets Tomb, cliffside, view transitions from low detail to high detail to demonstrate texture dripping and grid overlayed over scene.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #18 from Michael Müller michael@fds-team.de --- Please post the full log, the excerpt you provided does not contain the debug messages for the broken shaders and the first shader appearing in the log has the id 1147.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #19 from Matthew Reed wine@zootal.com --- Created attachment 59427 --> https://bugs.winehq.org/attachment.cgi?id=59427 Full log with +d3d_shader
Sorry, I had trouble capturing the log because of its size. This time I piped the entire output to a file, I think I have everything this time. This run has everything from wine startup, game load which triggers a Steam load. I loaded a save game from the very beginning of Syria where Lara falls from the blowing up truck. I walked forward a bit, looked up the trail where the complexity of the scene causes a lot of dropped textures. Looked down, where the complexity of the display allows all textures to be rendered, then looked up again. Maybe 15 seconds of gamep lay or so.
This log does not have tearing textures. Those don't happen every time, and I don't know what triggers them. One time they will tear, the next ten times they won't. If I can capture a log with tearing, I'll post it here.
I also have an apitrace with about 15 seconds of gameplay, but it's like 1.5GB in size, I'm not sure how to make it smaller. I'll try to find a place to host the file for you.
Let me know if I can do anything else to help.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #20 from Michael Müller michael@fds-team.de --- At least some of the shaders fail to compile, because Wine does not have support for multisampling yet. Wine can therefore not correctly translate instructions like "dcl_resource_texture2dms" or "ld2dms".
I am not sure if this is the reason for all graphic bugs but at least some of them will not go away until bug 42820 is solved.
https://bugs.winehq.org/show_bug.cgi?id=43479
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #21 from Pekka Helenius fincer89@hotmail.com --- This is still an issue with the latest Wine 3.5.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #22 from Pekka Helenius fincer89@hotmail.com --- Created attachment 60940 --> https://bugs.winehq.org/attachment.cgi?id=60940 ROTTR log - Wine 3.5 test run (~17mb unpacked)
In summary, the attached log contains a lot of the following messages:
-------
00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x800c0302. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x80010302. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x80000202. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x00111103. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x00199983. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x800000c2. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x00155543. 00c9:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x80000142. 009b:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x800000c2. 009b:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x00155543.
-------
009b:fixme:d3d11:shdr_handler Unhandled chunk "RDEF". 009b:fixme:d3d11:shdr_handler Unhandled chunk "STAT".
-------
00c9:fixme:d3d:wined3d_unordered_access_view_clear_uint Not implemented for WINED3D_RTYPE_TEXTURE_3D resources. 00c9:fixme:d3d:wined3d_stream_info_from_declaration Instance step rate 0 not implemented.
-------
00d0:fixme:d3d11:d3d11_immediate_context_RSSetState Ignoring DepthClipEnable 0. 00c9:err:d3d:wined3d_debug_callback 0x59bded0: "GL_INVALID_VALUE in glBindImageTexture(format)".
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #23 from Pekka Helenius fincer89@hotmail.com --- Created attachment 60941 --> https://bugs.winehq.org/attachment.cgi?id=60941 ROTTR log - Wine 3.5 test run, +d3d_shader (~264mb unpacked)
https://bugs.winehq.org/show_bug.cgi?id=43479
Anton mail.aermakov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail.aermakov@gmail.com
--- Comment #24 from Anton mail.aermakov@gmail.com --- Hello. Now the "Rise of the Tomb Raider" works just fine under wine-4.0-rc6 + dxvk-0.95. I want to thank Wine and DXVK developers and all other people who works on it! Best regards.
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #25 from Anton mail.aermakov@gmail.com --- Created attachment 63319 --> https://bugs.winehq.org/attachment.cgi?id=63319 wine-staging + dxvk (Soviet Installation 14%)
https://bugs.winehq.org/show_bug.cgi?id=43479
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #26 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.14?
https://bugs.winehq.org/show_bug.cgi?id=43479
--- Comment #27 from Matthew Reed wine@zootal.com --- Since they released a native Linux version, I don't think anyone has tried, however, I'll load it up and see what happens.
https://bugs.winehq.org/show_bug.cgi?id=43479
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
--- Comment #28 from winetaste@gmx.net --- Created attachment 72183 --> https://bugs.winehq.org/attachment.cgi?id=72183 RotTR: tearing, missing textures, wireframes
I us the current version from Epic Games Store (was free) and there is no Linux build. So I tested with 7.6 and I can confirm the bug. "Wireframe look", some missing textures and distorted/tearing character model (see screenshot).
I get a continuous stream of:
04dc:err:d3d:wined3d_debug_callback 0000000009AB64B0: "GL_INVALID_OPERATION in glUseProgram(program 941 not linked)". 04dc:fixme:d3d:wined3d_context_gl_bind_shader_resources Shader 000000001CE7D280 needs 35 samplers, but only 32 are supported. 04dc:err:d3d:wined3d_debug_callback 0000000009AB64B0: "GL_INVALID_OPERATION in glUseProgram(program 1541 not linked)". 04dc:fixme:d3d:wined3d_context_gl_bind_shader_resources Shader 000000001A4B7070 needs 36 samplers, but only 32 are supported. 04d8:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering and Scaling.
====
It works fine using current DXVK 1.10.1.
Btw: There is an extra D3D12-mode, but it crashes for me. Does vkd3d work out of the box with Ubuntu winehq-packages?
https://bugs.winehq.org/show_bug.cgi?id=43479
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch