protonscr

Can't run GTA IV

dxvkclosed windowsprobably not our bug
doitsujin/dxvk#5082 · opened 2025-07-10 by ayechief · updated 2025-07-12 · 25 comments · github
Aayechief 2025-07-10 github

Using Windows 11 fresh install. Running the game with dxvk gives an error as on picture below. Previously it worked fine but I played on Windows 10.

Image

Software information

GTA IV Complete Edition (Steam)

System information

  • GPU: RTX 2060 6GB
  • Driver: 576.80
  • DXVK version: 2.7
BBlisto91 2025-07-10 github

Hi there. Please attach the dxvk log that appears next to the games exe.

Aayechief 2025-07-10 github

Hi there. Please attach the dxvk log that appears next to the games exe.

It doesn't

BBlisto91 2025-07-10 github

There is no GTAIV_d3d9.log?

Aayechief 2025-07-10 github

There is no GTAIV_d3d9.log?

it is empty 0 B file

KK0bin maintainer 2025-07-10 github

I test the game semi-regularly. This is most likely a Windows issue that's out of our control.

Aayechief 2025-07-10 github

I test the game semi-regularly. This is most likely a Windows issue that's out of our control.

is there any fix like changing compatibility to older systems?

BBlisto91 2025-07-10 github
Aayechief 2025-07-10 github

Does this build give any log output? https://github.com/doitsujin/dxvk/actions/runs/16193938708

Yes, it does, thanks:

info:  Game: GTAIV.exe
info:  DXVK: v2.7-2-ge940893b
info:  Build: x86 gcc 15.1.0
info:  Found built-in config:
info:    d3d9.deviceLossOnFocusLoss = True
info:    d3d9.supportDFFormats = False
info:    dxgi.maxDeviceMemory = 128
info:    d3d9.hideNvidiaGpu = True
info:  Effective configuration:
info:    d3d9.hideNvidiaGpu = True
info:    dxgi.maxDeviceMemory = 128
info:    d3d9.supportDFFormats = False
info:    d3d9.deviceLossOnFocusLoss = True
info:  Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x5e9b1760
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
FFreerubuk 2025-07-10 github

Maybe try run your game mutiple time because rockstar games failed to recognize this game was legit

Aayechief 2025-07-10 github

Have tried multiple times without having it finally running

FFreerubuk 2025-07-10 github

Maybe the only solution that is downgrade or doing some uhh tweak to get rid of rockstar launcher

Aayechief 2025-07-10 github

Maybe the only solution that is downgrade or doing some uhh tweak to get rid of rockstar launcher

"Bypassed" R*Launcher and now I'm getting GTAIV_dxgi.log:
warn: CreateDXGIFactory2: Ignoring flags info: Game: GTAIV.exe info: DXVK: v2.7-2-ge940893b info: Build: x86 gcc 15.1.0 info: Found built-in config: info: d3d9.deviceLossOnFocusLoss = True info: d3d9.supportDFFormats = False info: dxgi.maxDeviceMemory = 128 info: d3d9.hideNvidiaGpu = True info: Effective configuration: info: d3d9.hideNvidiaGpu = True info: dxgi.maxDeviceMemory = 128 info: d3d9.supportDFFormats = False info: d3d9.deviceLossOnFocusLoss = True info: Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x66651760 info: Extension providers: info: Platform WSI info: OpenVR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: OpenXR info: Enabled instance extensions: info: VK_EXT_surface_maintenance1 info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface err: DxvkInstance::enumAdapters: Failed to enumerate adapters

FFreerubuk 2025-07-10 github

Maybe another can help i dont know

KK0bin maintainer 2025-07-10 github

@ayechief Looks like Vulkan is just broken on your system.
I guess try reinstalling your graphics driver.

KK0bin maintainer 2025-07-10 github

Image

As expected: Works fine.

WWinterSnowfall 2025-07-10 github

Also make sure you don't have Dozen installed: https://github.com/doitsujin/dxvk/wiki/Windows#dozen

Aayechief 2025-07-10 github

@ayechief Looks like Vulkan is just broken on your system. I guess try reinstalling your graphics driver.

Reinstalling did not help. The same logs as these firstly uploaded here.

Also make sure you don't have Dozen installed: https://github.com/doitsujin/dxvk/wiki/Windows#dozen

Thanks, never thought such thing exists. Don't have it.

Aayechief 2025-07-10 github

Game runs without dxvk but when only dxvk is applied, it doesn't run at all.

I have no clue how to tell the other game works on dxvk. I have some installed but can't tell the difference

Aayechief 2025-07-11 github

Sorry for the stupid question but does the game work for you without DXVK installed? I ask because GTA4 is one of my favorite games which is installed on my PC pretty much all the time. Ever since that piece of s... oftware called rgl became mandatory for the game, it refuses to launch half of the time even on Windows 10, giving the same error as shown in your original post. Sometimes it launches from the first try, and sometimes it takes up to five attempts to launch it.

And one other stupid question if i may... Does DXVK work for you in any other d3d9 game?

Also, since the game fails to recognize your GPU when you install DXVK and tries to launch in some weird low resolution which may or may not be supported by your system, try launching the game with following parameters: -availablevidmem 4096 -windowed -width 1024 -height 768

I've tried a different game and there is the same problem:

info: Game: PrinceOfPersia.exe info: DXVK: v2.7-2-ge940893b info: Build: x86 gcc 15.1.0 info: Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x5ffb1760 info: Extension providers: info: Platform WSI info: OpenVR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: OpenXR info: Enabled instance extensions: info: VK_EXT_surface_maintenance1 info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface

FFreerubuk 2025-07-11 github

Maybe Try this tool to install dxvk https://github.com/gillian-guide/GTAIVSetupUtilityWPF

Aayechief 2025-07-11 github

Maybe Try this tool to install dxvk https://github.com/gillian-guide/GTAIVSetupUtilityWPF

The thing is that other games don't run with dxvk neither. I don't think that's game-related as some other game didn't start too.

FFreerubuk 2025-07-11 github

Okay

WWinterSnowfall 2025-07-11 github

The logs seem to be indicate there is a problem with the Vulkan driver on your system. As to what that problem is, not entirely sure. If nothing listed here helps: https://github.com/doitsujin/dxvk/wiki/Windows , not sure what else to suggest, but it is clearly not a dvxk bug.

Aayechief 2025-07-11 github

Fixed by updating integrated GPU drivers (AMD) and getting rid of R* Launcher

Aayechief 2025-07-11 github

Just the main menu is working. the game itself quits

EDIT: works as for now

DLLs