bottlesdevs / programs

Repository for programs installation
69 stars 72 forks source link

[BUG] Grand Theft Auto IV (GTA IV & EFLC): constant, cyclic visual artifacts during cutscenes & gameplay #44

Open stradicat opened 2 years ago

stradicat commented 2 years ago

Describe the bug Constant, cyclic visual artifacts during gameplay, like geometrical shimmering.

Installation

To Reproduce Steps to reproduce the behavior:

  1. Install GTA IV from DVD (using the Complete Edition pack here)
  2. Install dependencies: vcrun2005, vcrun2008, vcrun2010, vcrun2012, dotnet35sp1 or dotnet48
  3. Set caffe-7.0 as executor under Preferences (just to use a stable version, Proton and lutris do work as well)
  4. Run game using LaunchGTAIV or LaunchEFLC
  5. See that from the intro to gameplay, there are cyclic and constant visual artifacts, no matter what wine runtime is used (caffe, Proton or lutris).

Expected behavior No visual artifacts should be visible, as if run from PlayOnLinux or Lutris.

Screenshots A quick video recorded from my phone: https://youtu.be/iSFwwir-JcU

Desktop (please complete the following information):

mirkobrombin commented 2 years ago

Is dxvk on?

stradicat commented 2 years ago

Hello Mirko,

dxvk is off, esync is off, no options involving Vulkan or shader compilers are on, as the NVIDIA chip on this laptop doesn't support them.

Basically, a stock wine install plus dependencies required by the game, no performance enhancements active or added.

mirkobrombin commented 2 years ago

I should have gta 4 (I think) I'll try

stradicat commented 2 years ago

On a hunch, I decided to download lutris wine builds, place them under .PlayOnLinux/wine/linux-amd-64 as extra prefixes, install GTA IV in a new wineprefix with lutris-5.21, lutris-6.21 and lutris-7.1 builds, and the problem was reproduced.

Perhaps caffe wine builds share some additions to stock wine with lutris, but I'm just wildly guessing here. vaniglia also showed the same cyclic artifacts.

A stock wine 5.0.3, 6.0.1 or 7.0 installation will run the game without artifacts, for what I've just tested.

mirkobrombin commented 2 years ago

Caffe (and lutris?) are tkg builds, so it make sense. Vaniglia is just wine plus staging patches, so the problem can be caused by these.

Can you try to enable (or disable) DXVA2 from winecfg?

stradicat commented 2 years ago

DXVA2 was also inactive at runtime when I first saw this bug. Enabling it made no difference, so I switched it off again.

mirkobrombin commented 2 years ago

Fine, it was worth a try :D

stradicat commented 2 years ago

This, however, doesn't happen with stable wine releases (e.g. 5.0.3 or 6.0.1); perhaps it would be good to have them available as executors right besides the staging versions such as vaniglia (which fail with the same errors as their equivalent staging counterparts under PlayOnLinux). Just a suggestion.

Bottles brings the best features from Lutris along with prefix administration similar to PlayOnLinux, and I find it a very convenient way to install Windows software in Linux; let me know what else you'd need from me to improve the project.

stradicat commented 2 years ago

I ran another experiment:

I guess it could be a build issue of sorts with wine, but the game can be installed, managed and run with Bottles in a comfortable way. It could just be a matter of Bottles having official wine stable releases (5.0+) available for some quirky software.

mirkobrombin commented 2 years ago

I've forgot this issue, sorry.

Thanks for your tests, I think this is really a runner-related problem. I'll test on my own (I should have GTA:SA somewhere).

Moving to the right repository.