Whisky icon indicating copy to clipboard operation
Whisky copied to clipboard

[Bug]: GTA V Visual Glitches

Open MacM2Pro opened this issue 1 year ago • 3 comments

Description

GTA V invisible guns, weird green car windows, weird brightness indoors and reflection artifacts image Screenshot 2023-07-07 at 1 07 54

Steps to reproduce

GTA V Rockstar Launcher version. Tried to toggle windows version, dxvk, esync, retina, some in-game graphics.

Expected behaviour

Graphics issues

Logs

Whisky Version: 1.0.0
Date: 2023/07/07, 0:59:11
macOS Version: Version 14.0 (Build 23A5286g)
Bottle Name: rockstar
Wine Version: 7.7.0
Wine Binary Version: 4
Windows Version: win10
Bottle URL: /Users/datum/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6DE4550F-25E9-4CA4-A7B2-CBF02E1C1A97

Arguments: reg query HKCU\Software\Wine\Mac Driver -v RetinaMode 

Launched Wine (1886)

HKEY_CURRENT_USER\Software\Wine\Mac Driver
    RetinaMode    REG_SZ    n

Process exited with code 0

What version of Whisky are you using?

1.0.0

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

  • [X] Yes my issue is written in English

MacM2Pro avatar Jul 06 '23 16:07 MacM2Pro

You seem to have uploaded the wrong log file.

It is likely that this is a D3DM issue, in which case, there isn't much we can do, but there are a few things you can try. Disable DXVK, and make sure that in-game, you are using the DirectX 11 renderer instead of the DirectX 10 one. See if that has any improvement.

Windows version, Esync, and Retina Mode will not help you here.

IsaacMarovitz avatar Jul 06 '23 16:07 IsaacMarovitz

You seem to have uploaded the wrong log file.

It is likely that this is a D3DM issue, in which case, there isn't much we can do, but there are a few things you can try. Disable DXVK, and make sure that in-game, you are using the DirectX 11 renderer instead of the DirectX 10 one. See if that has any improvement.

Windows version, Esync, and Retina Mode will not help you here.

Thank you for your concern. Yeah, I'm not sure which log file I should use. I have uploaded the latest out of console log reports that includes Whisky.

Anyway, I have already tried using in-game DirectX 11 with DXVK disabled, this is kinda default configuration.

MacM2Pro avatar Jul 06 '23 17:07 MacM2Pro

Green car windows FIXED with in-game settings. Just turned on the MSAA. Still investigating other bugs.

MacM2Pro avatar Jul 07 '23 10:07 MacM2Pro

Had the same issue. It's caused by running through DXVK. When you toggle the metal HUD you will notice the game not running through D3DMetal. Had to open WineCFG and remove all the D3D entries present in the library override section. After doing so, GTA V uses D3DMetal without the graphical glitches. The Metal HUD then shows "D3D11". Also doubles performance compared to DXVK on my M2 Max.

CMMChris avatar Jul 07 '23 21:07 CMMChris

Had the same issue. It's caused by running through DXVK. When you toggle the metal HUD you will notice the game not running through D3DMetal. Had to open WineCFG and remove all the D3D entries present in the library override section. After doing so, GTA V uses D3DMetal without the graphical glitches. The Metal HUD then shows "D3D11". Also doubles performance compared to DXVK on my M2 Max.

Thank you for this idea, but in my case removing d3d and dxgi (= turn off dxvk) makes the game's graphics settings unswitchable, and the game stucks with some low-res windowed mode. Idk, probably this should be considered as a separate bug, anyway removing them really fixed the visual glitches.

MacM2Pro avatar Jul 09 '23 05:07 MacM2Pro

This is normal GPTK behavior. Game will use the screen or scaled resolution set within the macOS system preferences. Set to borderless windowed in game and it will be rendered full screen. Might need to restart the game.

CMMChris avatar Jul 09 '23 07:07 CMMChris

This is normal GPTK behavior. Game will use the screen or scaled resolution set within the macOS system preferences. Set to borderless windowed in game and it will be rendered full screen. Might need to restart the game.

Oh, man, thank you very much!

MacM2Pro avatar Jul 09 '23 08:07 MacM2Pro

This is normal GPTK behavior. Game will use the screen or scaled resolution set within the macOS system preferences. Set to borderless windowed in game and it will be rendered full screen. Might need to restart the game.

Do you have a fix for launching the game directly with the res of 1080 p instead the mac res ?

Lipooooo avatar Oct 24 '23 23:10 Lipooooo

For posterity this is still an issue. I got it to work by disabling DXVK.

When you disable DXVK you will get this error from the launcher (which is probably the reason why you enabled DXVK in the first place): image

To workaround this, Go to "Bottle Configuration" image

Then click "Open Win Configuration", click "Add application" and add Launcher.exe (e.g. most likely from C:\Program Files\Rockstar Games\Grand Theft Auto V).

image

Then click on the "Libraries" tab and the following overrides:

image

Then click "Apply" and you are done.

Now you should be able to start GTA V from Steam without enabling DXVK.

Cheers!

simonepri avatar Jul 10 '24 18:07 simonepri

This workaround no longer works for me after a full system reset (via DFU mode), however I managed to get the game up and running by adding one more library override on top of your modifications.

This is the settings I use: Screenshot 2024-07-27 at 19 27 47

(PS. I am not sure that this will work for everyone)

Systen Configuration: MacBook Pro M2 Pro, 2023 macOS 14.5 (23F79) Whisky and WhiskyWine are the latest version.

JSP100 avatar Jul 27 '24 18:07 JSP100

Hey! Thank you all for your fixes. Rn I am facing one texture glitch with pants, gloves, and eyes in GTA Online. Maybe someone has an idea of what's going on. I am not using DXVK, I made the same setup as in the previous post here.

PS: I understand that this type of problem is normally related to graphic drivers (I am a beginner in Wine so I don't know how to troubleshoot it)

System: MacBook Air M1, 8GB macOS 14.2.1 (23C71) Whisky and WhiskyWine are up to date

Screenshot 2024-08-02 at 14 08 21 Screenshot 2024-08-02 at 14 08 40 Screenshot 2024-08-02 at 14 09 09 Screenshot 2024-08-02 at 14 08 52

daniil-pogorelov avatar Aug 02 '24 13:08 daniil-pogorelov

Hey! Thank you all for your fixes. Rn I am facing one texture glitch with pants, gloves, and eyes in GTA Online. Maybe someone has an idea of what's going on. I am not using DXVK, I made the same setup as in the previous post here.

PS: I understand that this type of problem is normally related to graphic drivers (I am a beginner in Wine so I don't know how to troubleshoot it)

System: MacBook Air M1, 8GB macOS 14.2.1 (23C71) Whisky and WhiskyWine are up to date

Screenshot 2024-08-02 at 14 08 21 Screenshot 2024-08-02 at 14 08 40 Screenshot 2024-08-02 at 14 09 09 Screenshot 2024-08-02 at 14 08 52

Fixed by using GPTK 1 ¯_(ツ)_/¯

daniil-pogorelov avatar Aug 05 '24 14:08 daniil-pogorelov