The-Wineskin-Project / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.47k stars 170 forks source link

Visual Glitch on Skyrim waters #402

Open Ant-V opened 1 year ago

Ant-V commented 1 year ago

Environment (please complete the following information):

Describe the bug The water seems to have some weird glitch, appearing as an iridescent rainbow of colors, either not having loaded some texture or something else. I believe it is in the engine version, as the same issue does not exist in Crossover.

To Reproduce Make new Wrapper, install downloaded installer, run game, look at water. Faster way to see the bug is to open the map, as the same issue appears on any water-surface that is outside.

Expected behavior Water appears as water in games from 10+ years ago, instead of an oil spill...

Screenshots Screenshot 2023-05-22 at 03 09 21 Screenshot 2023-05-22 at 03 06 49

Screenshot 2023-05-23 at 19 28 47

Colors change depending on angle you are looking them from.

LastRunWine.log LastRunWine.log

Additional context

Yes the 2 first images are in a modded game, which is when I noticed the issue, last one is clean install on a clean wrapper. I believe it is in the engine version, as the same issue does not exist in Crossover. I tried running a new wrapper with a different Engine, but game does not launch, only spawning minimally active wine64-preloader apps in the system monitor. Also tried mods that change the water in different ways; nothing happened. Any and all reflection options in the .ini do not seem to change anything.

Gcenx commented 1 year ago

I have a feeling this was caused by my importing some texture hacks that fixes UE4 games.

Ant-V commented 1 year ago

I'm in no way an expert when it comes to graphics, but the more I look at it, the more this feels like some sort of reflection issue. Let me know if I can check anything else.

Ant-V commented 1 year ago

Issue persists in 22.1.1-2

Gcenx commented 1 year ago

Issue persists in 22.1.1-2

Like I’d mentioned above I don’t believe this has anything todo with wine but MoltenVK

Try swapping out the copy of libMoltenVK.dylib from inside the wrappers /Frameworks directory with the one from this archive https://github.com/The-Wineskin-Project/MoltenVK/releases/download/v1.2.3/macos-1.2.3.tar.xz

Ant-V commented 1 year ago

Yup, indeed this fixes it! I do not know if I should mark this as closed though. Maybe add a note somewhere in the wiki?

Gcenx commented 1 year ago

Yup, indeed this fixes it! I do not know if I should mark this as closed though. Maybe add a note somewhere in the wiki?

Lets leave this open for the moment since it’s not fixed within the master wrapper as you’d just fixed it locally.