https://bugs.winehq.org/show_bug.cgi?id=44141
Bug ID: 44141 Summary: Divinity: Original Sin 2 massive slowdown with shadows enabled Product: Wine Version: 2.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: r9shackleford@gmail.com Distribution: ---
Created attachment 59889 --> https://bugs.winehq.org/attachment.cgi?id=59889 Log file running Divinity:Original Sin 2 with shadows enabled.
Enabling shadows fills the log with:
fixme:d3d:wined3d_debug_callback 0x2377a6a0: "Program undefined behavior warning: Sampler object 24 has depth compare enabled but is bound to a non-depth texture, and used by a program that samples it with a shadow sampler. This is undefined behavior.".
Driver is Nvidia Proprietary, no idea what other drivers say with shadows enabled. It goes away when shadows are disabled, and framerate returns to normal.
Possibly related log messages that seem unrelated to shadows being enabled/disabled:
fixme:d3d11:shdr_handler Unhandled chunk "RDEF". fixme:d3d11:shdr_handler Unhandled chunk "STAT".
fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x800000c2. fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x00155543.
fixme:d3d11:wined3d_depth_stencil_view_desc_from_d3d11 Unhandled depth stencil view flags 0x3.
Clean wine directory, absolutely no dll overrides.
Attached is a log of running the game to the menu screen with shadows enabled. The game menu screen has 3D rendering which triggers the bug. A log without shadows is essentially identical sans the wined3d_debug_callback line spammed as stated above.
https://bugs.winehq.org/show_bug.cgi?id=44141
Aaron Franke arnfranke@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arnfranke@yahoo.com
--- Comment #1 from Aaron Franke arnfranke@yahoo.com --- How did you get around 43890? https://bugs.winehq.org/show_bug.cgi?id=43890
https://bugs.winehq.org/show_bug.cgi?id=44141
--- Comment #2 from Rusty Shackleford r9shackleford@gmail.com --- (In reply to Aaron Franke from comment #1)
How did you get around 43890? https://bugs.winehq.org/show_bug.cgi?id=43890
I didn't experience that bug.
https://bugs.winehq.org/show_bug.cgi?id=44141
Lucian Poston lucianposton@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lucianposton@gmail.com
--- Comment #3 from Lucian Poston lucianposton@gmail.com --- I'm also experiencing this issue. The only workaround is to completely disable shadows, which increases the FPS from 18 to 40.
When shadows are enabled, I also get the same fixme output warnings about undefined behavior described in comment #1.
proprietary nvidia-drivers-387.22 GeForce GTX 1070
https://bugs.winehq.org/show_bug.cgi?id=44141
--- Comment #4 from Lucian Poston lucianposton@gmail.com --- (In reply to Lucian Poston from comment #3)
When shadows are enabled, I also get the same fixme output warnings about undefined behavior described in comment #1.
comment #0, I meant
https://bugs.winehq.org/show_bug.cgi?id=44141
Jaka registracije+winebugs@lynxlynx.info changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |registracije+winebugs@lynxl | |ynx.info
--- Comment #5 from Jaka registracije+winebugs@lynxlynx.info --- Older Nvidia card, proprietary drivers, wine 5.2. and no issues here. The game automatically selected ultra high settings.