protonscr

Alt tabbing in GTA 4 for more than a few seconds causes game resolution to be lowered significantly (from 1440p to 480p), unable to change resolution back since the resolution in GTA 4 requires commandline arguments in order to change the resolution

dxvkclosed help wantedwindows
doitsujin/dxvk#2656 · opened 2022-05-28 by Shivtosh-14 · updated 2023-05-03 · 7 comments · github
SShivtosh-14 2022-05-28 github

Software information

Grand Theft Auto 4
Normal in game settings (dxvk.conf is unchanged)

System information

  • GPU: NVIDIA RTX 2060
  • Driver: 512.95
  • Wine version: On Windows (Sorry if problems on windows aren't supported)
  • DXVK version: v.10.1

Log files

KK0bin maintainer 2022-05-28 github

GTA IV has a bunch of bugs related to alt+tab. It seems to be super sensitive to the exact window messages it receives.

No idea what's wrong or how to debug this, so don't expect a fix for this any time soon.

SShivtosh-14 2022-05-29 github

Okay thanks for the reply, also I play GTA 4 in windowed borderless mode since that is meant to help with alt+tabbing, but I really appreciate the reply

Llextra2 2022-05-30 github

I guess you already did this, considering your title?
Try making a shortcut with -nomemrestrict -norestrictions
Or make a text file and name it commandline.txt with the same commands and move it to the same folder as GTAIV.exe

This should unlock resolution in the game graphic settings.

Also, does the same happen without dxvk?

Ddeton24 2022-06-14 github

Similar issues on AMD (Polaris), I think not always, but I'm able to change my resolution back to normal on R* Launcher version of the game.
It even happened that it switched the resolution to the lowest on startup, not only after alt tabbing.
JFI also once when I showed up ENB panel in-game using DXVK and I think Reshade, it made the game stutter for too long and the game crashed, but I think it didn't happen more than twice if at all in normal gameplay.

Vvermium 2022-10-11 github

Same problem!

BBlisto91 2023-03-27 github

@BUNGUS-is-stupid @deton24 @VermiumSifell Please try with this PR https://github.com/doitsujin/dxvk/pull/3316. You can find a download of it here https://github.com/doitsujin/dxvk/actions/runs/4537356630

KK0bin maintainer 2023-05-03 github

This is hopefully fixed now.

Upstream links