https://bugs.winehq.org/show_bug.cgi?id=42572
Bug ID: 42572 Summary: Revenant has some graphical issues with official Nvidia drivers & hardware Product: Wine Version: 2.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fjfrackiewicz@gmail.com Distribution: ---
Created attachment 57483 --> https://bugs.winehq.org/attachment.cgi?id=57483 Screenshot to show the graphics issues in the game
In Wine-2.2-276-ge6f8f136fa Revenant no longer crashes at start but it still has some graphics issues.
1. The player character's model is completely black as are other characters in the game.
2. Some characters instead of being completely black are displayed with a "ghostly" white color.
3. Lastly, the player's paper doll (see the flesh colored model on the right side in the screenshot) is animated but the graphics for the frames of the paper doll are not cleared so you have this sort of "hall of mirrors" effect. Hopefully the attached screenshot will illustrate what I mean.
My hardware and driver info:
Nvidia 970 GTX Driver version 378.13
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #1 from fjfrackiewicz@gmail.com --- Created attachment 57484 --> https://bugs.winehq.org/attachment.cgi?id=57484 Terminal output Wine-2.2-276-ge6f8f136fa
This is the terminal output I get from the first few minutes of the game and hopefully it gives some clue as to why the graphics are the way they are...
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #2 from fjfrackiewicz@gmail.com --- This let's play video shows how the game is supposed to look in action: https://www.youtube.com/watch?v=diqXjhNm4mM (the actual game play starts at about 2:09.)
https://bugs.winehq.org/show_bug.cgi?id=42572
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Confirming, same issue with the demo.
https://bugs.winehq.org/show_bug.cgi?id=42572
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://alexa.pro.br/~bruno/ | |revenant.zip
https://bugs.winehq.org/show_bug.cgi?id=42572
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- (In reply to Olivier F. R. Dierick from comment #3)
Confirming, same issue with the demo.
I was about to try the demo but it complains something about surface not in vidmem or something like that reminds me of some regression bug.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to winetest from comment #4)
(In reply to Olivier F. R. Dierick from comment #3)
Confirming, same issue with the demo.
I was about to try the demo but it complains something about surface not in vidmem or something like that reminds me of some regression bug.
The staged patch [1] from bug 34906 addresses this.
[1] https://github.com/wine-compholio/wine-staging/blob/master/patches/ddraw-Ren...
https://bugs.winehq.org/show_bug.cgi?id=42572
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen@gmail.com
--- Comment #6 from Alexandr Oleynikov sashok.olen@gmail.com --- Can confirm in 2.21 (also present in staging). Bug #43411 is possibly a duplicate (https://bugs.winehq.org/show_bug.cgi?id=43411).
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #7 from Alexandr Oleynikov sashok.olen@gmail.com --- Fixmes and graphicals issues from Bug 37070 are very similar. Possibly regression?
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #8 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Alexandr Oleynikov from comment #7)
Fixmes and graphicals issues from Bug 37070 are very similar. Possibly regression?
Not at all.
The other bug was about INVISIBLE objects/characters as in not rendering at all or partially, as can be seen in the comparison screenshots.
This bug is about black textures and inventory background not refreshing.
This bug was already present when I filed the other bug. The other bug was fixed, this one has never been. They are separate issues. No regression.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #9 from Alexandr Oleynikov sashok.olen@gmail.com --- Bug 43411 has very similar symptoms (visually and in similar terminal outputs), can the The Sims be added to the list of affected apps then? Also, I tested and this issue is not exclusive to Nvidia drivers, the same stuff happens with open source drivers and on machines with AMD and Intel GPUs. Also, still present in 3.7.
https://bugs.winehq.org/show_bug.cgi?id=42572
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=42572
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Revenant has some graphical |Older directx games |issues with official Nvidia |(Revenant, The Sims) have |drivers & hardware |black/white character | |models
--- Comment #10 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- For clarification, let's make this bug about black/white character models, and bug 43411 about the game(s) not redrawing properly.
As per comment #9, the bug is not NVidia related.
https://bugs.winehq.org/show_bug.cgi?id=42572
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42572
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #11 from Paul Gofman gofmanp@gmail.com --- Created attachment 64018 --> https://bugs.winehq.org/attachment.cgi?id=64018 Fix various lighting issues
I've tested the Revenant demo and could see the issue with dark textures. I am attaching the patchset which seemingly fixes the textures for me. The patchset fixes 3 different issues related to lighting.
I also tested this under Windows and yet I don't get the textures exactly the same as I see on Windows at start. The difference is that the character's model looks a bit bluish when run under Wine. But this seems to correspond to night light color in game's text area.def file. After a couple of minutes passes the day probably begins and texture becomes lit like I see it on Windows at start. At the same time, I got some flickering, strange colored and hardly readable text under Windows (which I don't get in Wine), so it may happen that there is nothing wrong with those colors under Wine. It would be interesting if someone who has the full game or can go further with demo can report if there are lighting issues remaining.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #12 from Alexandr Oleynikov sashok.olen@gmail.com --- It fixed issues with textures in Revenant for me too but not The Sims. So it's likely that the issues are probably unrelated (despite looking quite similar) and should be further split up.
https://bugs.winehq.org/show_bug.cgi?id=42572
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |directx-d3d Ever confirmed|0 |1
--- Comment #13 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- I confirm the patch fixes lighting issues with Revenant (full game and demo).
If you disable 'use enhanced 3D lighting' in the options menu, does it looks like what you get under Windows?
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #14 from Paul Gofman gofmanp@gmail.com ---
If you disable 'use enhanced 3D lighting' in the options menu, does it looks like what you get under Windows?
Yes, it does actually. But it seem to disable day / night light transitions. I did not disable enhanced 3D lighting on Windows, and I am inclined to think that there is some problem on Windows, at least my Windows setup. Some part of interface flickers terribly, there is unreadable text (like messages displayed one on top of the others with strange and flickering colors). It looks like maybe game goes with some enormous acceleration (which happens sometimes when old games run on the new hardware), but I did not verify that really.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #15 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Paul Gofman from comment #14)
If you disable 'use enhanced 3D lighting' in the options menu, does it looks like what you get under Windows?
Yes, it does actually. But it seem to disable day / night light transitions. I did not disable enhanced 3D lighting on Windows, and I am inclined to think that there is some problem on Windows, at least my Windows setup. Some part of interface flickers terribly, there is unreadable text (like messages displayed one on top of the others with strange and flickering colors). It looks like maybe game goes with some enormous acceleration (which happens sometimes when old games run on the new hardware), but I did not verify that really.
There are many complains about that game being glitchy in hardware Direct3D mode under Windows, so I'm inclined to think that the remaining issues are game bugs/features. Software rendering mode is what most people use under Windows and it disables lighting effects internally. It seems that Wine is better at running this game than Windows.
[1] https://www.youtube.com/watch?v=bUGlmcCPoN0 [2] https://www.gog.com/forum/revenant
(In reply to Alexandr Oleynikov from comment #12)
It fixed issues with textures in Revenant for me too but not The Sims. So it's likely that the issues are probably unrelated (despite looking quite similar) and should be further split up.
I'm sorry about that. You're welcome to open a new bug for The Sims white character models.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #16 from Paul Gofman gofmanp@gmail.com --- Should be fixed now after commit addc611b2ac56d4fc59a9df8f129f96ea4105773.
https://bugs.winehq.org/show_bug.cgi?id=42572
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |addc611b2ac56d4fc59a9df8f12 | |9f96ea4105773
--- Comment #17 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Paul Gofman from comment #16)
Should be fixed now after commit addc611b2ac56d4fc59a9df8f129f96ea4105773.
Thank you Paul!
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #18 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Confirming fixed in Revenant demo and full game with current git Wine.
https://bugs.winehq.org/show_bug.cgi?id=42572
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Older directx games |Older directx games |(Revenant, The Sims) have |(Revenant) have black |black/white character |character models |models |
--- Comment #19 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Revising summary because white characters in The Sims is a different issue per comment #12.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #20 from Paul Gofman gofmanp@gmail.com --- (In reply to Olivier F. R. Dierick from comment #19)
Revising summary because white characters in The Sims is a different issue per comment #12.
I suppose Sims was affected by this issue too. I am unclear though if The Sims have any remaining issue besides Bug #43411. https://bugs.winehq.org/show_bug.cgi?id=43411#c27 suggests that it works fine with the patch from that bug (another one tested in that comment has been merged). But maybe it does not cover all the editions of the game, I don't know.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #21 from Alexandr Oleynikov sashok.olen@gmail.com --- (In reply to Paul Gofman from comment #20)
(In reply to Olivier F. R. Dierick from comment #19)
Revising summary because white characters in The Sims is a different issue per comment #12.
I suppose Sims was affected by this issue too. I am unclear though if The Sims have any remaining issue besides Bug #43411. https://bugs.winehq.org/show_bug.cgi?id=43411#c27 suggests that it works fine with the patch from that bug (another one tested in that comment has been merged). But maybe it does not cover all the editions of the game, I don't know.
Yeah, the patch for Revenant doesn't really affect Sims at all. Deluxe Edition had character textures rendering properly even before, and now that redrawing issues were resolved, it's playable now. But it doesn't render completely correctly: the plumbob (the green thing that appears above sims) doesn't look properly (it's supposed to have planes but instead it's displayed as a flat green diamond) but not critical for the gameplay. While in Complete Collection the opposite happens - the plumbob renders correctly, while characters are all completely white, which kinda of makes completely unplayable.
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #22 from Paul Gofman gofmanp@gmail.com --- (In reply to Alexandr Oleynikov from comment #21)
in Complete Collection the opposite happens - the plumbob renders correctly, while characters are all completely white, which kinda of makes completely unplayable.
Thanks for the information. Which version did you test it with? To make it even more messy, there was also an update to a Staging patch a few days ago which definately affected The Sims.
It might help if you can test with the latest Wine Staging after its next rebase (so it picks up the patch merged yesterday) with this patch: https://bugs.winehq.org/attachment.cgi?id=63990. Or if before that with the 2 patches referenced in this comment on top of 4.5 Staging: https://bugs.winehq.org/show_bug.cgi?id=43411#c26
If the issue is still there, can you please open a separate bug report and attach WINEDEBUG=+ddraw,+d3d,+d3d_shader output?
https://bugs.winehq.org/show_bug.cgi?id=42572
--- Comment #23 from Alexandr Oleynikov sashok.olen@gmail.com --- Yeah that did not affect the game. I've opened bug 46948 for it like you asked.
https://bugs.winehq.org/show_bug.cgi?id=42572
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.6.