[Bug 46336] New: Resident Evil 4 on Steam (appid 254700) black textures in outdoor lighting
https://bugs.winehq.org/show_bug.cgi?id=46336 Bug ID: 46336 Summary: Resident Evil 4 on Steam (appid 254700) black textures in outdoor lighting Product: Wine Version: 4.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs(a)winehq.org Reporter: vash63(a)gmail.com Distribution: --- Created attachment 63085 --> https://bugs.winehq.org/attachment.cgi?id=63085 Black textures Almost every texture in the game is black including player characters, seemingly other than decals like some leaf textures which are fine. Some areas randomly have textures like normal, noticeably when you enter the first cabin you can see Leon as soon as you enter the door but right when you exit back to the outdoor lighting he turns black again. Similar reports: https://www.protondb.com/app/254700 Example image attached. Duplicated with wine4.0rc2, proton 3.16 and proton 3.7. -- 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=46336 --- Comment #1 from George Gibbs <vash63(a)gmail.com> --- Created attachment 63086 --> https://bugs.winehq.org/attachment.cgi?id=63086 WINEDEBUG=warn+d3d,warn+d3d9 log (includes Steam launching and closing) -- 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=46336 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Resident Evil 4 on Steam |Resident Evil 4 (Steam) - |(appid 254700) black |black textures in outdoor |textures in outdoor |lighting |lighting | Component|directx-d3dx9 |directx-d3d URL| |https://store.steampowered. | |com/app/254700/resident_evi | |l_4__biohazard_4/ -- 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=46336 George Gibbs <vash63(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vash63(a)gmail.com -- 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=46336 --- Comment #2 from Andrey Gusev <andrey.goosev(a)gmail.com> --- It seems a game bug. -- 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=46336 --- Comment #3 from George Gibbs <vash63(a)gmail.com> --- (In reply to Andrey Gusev from comment #2)
It seems a game bug.
What do you mean by this? It doesn't happen on Windows. What makes it a game bug vs. a WINE bug if it happens in Windows but not in WINE? -- 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=46336 Leopard <yurnerolinux(a)yandex.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yurnerolinux(a)yandex.com --- Comment #4 from Leopard <yurnerolinux(a)yandex.com> --- It seems like a Wine bug since game renders correctly on Windows. -- 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=46336 Leopard <yurnerolinux(a)yandex.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|yurnerolinux(a)yandex.com | -- 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=46336 --- Comment #5 from George Gibbs <vash63(a)gmail.com> --- https://mega.nz/#!GLYjSCoR!xFdiAUtm0rmzoxaMn7vsqfHM7L4tbXphps794mGyJRE I can play back this same apitrace in wined3d and it's black, in Windows and it looks fine. -- 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=46336 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #6 from Andrey Gusev <andrey.goosev(a)gmail.com> --- I recall some threads about black textures which happens on Windows as well. It looks quite the same, but yeah, I checked once again yesterday and found a difference. Confirming. -- 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=46336 Jonathan <jomarocas(a)outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jomarocas(a)outlook.com --- Comment #7 from Jonathan <jomarocas(a)outlook.com> --- i confirm this happen currently in all wine versions, i dont know how can debug this error and how can i help, thanks for more info for test -- 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=46336 mrdeathjr28(a)yahoo.es changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28(a)yahoo.es -- 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=46336 pattietreutel <katyaberezyaka(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka(a)gmail.com -- 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=46336 Paul Gofman <gofmanp(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp(a)gmail.com --- Comment #8 from Paul Gofman <gofmanp(a)gmail.com> --- Created attachment 63649 --> https://bugs.winehq.org/attachment.cgi?id=63649 A hack to avoid infinity result of rcp I tested apitrace provided in Comment #5. Sadly, this bug looks like some variation of Bug #34266 and such. I am attaching the application specific hack as a proof of concept which fixes the rendering of the provided apitrace for me (I don't have the game to test). It might be fixing the game or not (fully), as there are more operations that can result in infinity or NAN. -- 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=46336 --- Comment #9 from Andrey Gusev <andrey.goosev(a)gmail.com> --- (In reply to Paul Gofman from comment #8) Yes, it fixes the issue. FWIW, the hack from bug 36089 also helps. -- 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=46336 --- Comment #10 from Paul Gofman <gofmanp(a)gmail.com> --- This one, Bug #34266, Bug #36089, bug #30061 are about the same issue, with the most complete explanation in Bug #34266. Just to avoid any confusion in testing, the solution from here or Bug #36089 (both avoiding inf result from 1.0 / x) is absolutely not an universal hack for all the similar bugs (while 1.0 / x is probably rather common place to get inf). To make a universal hack, one needs to check and workaround NaN results for literally every operation generated in GLSL. -- 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=46336 soredake <yuno(a)hitler.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yuno(a)hitler.rocks -- 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=46336 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #11 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Paul Gofman from comment #10)
This one, Bug #34266, Bug #36089, bug #30061 are about the same issue, with the most complete explanation in Bug #34266.
Thanks Paul for debugging and the patch. I'm going to resolve this bug as a duplicate too, although I realize that e.g. this hack might not "fix" the issue in other games. *** This bug has been marked as a duplicate 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.
https://bugs.winehq.org/show_bug.cgi?id=46336 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Duplicate. -- 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