protonscr

Gta 4 low fps and stuttering

dxvkclosed d3d9
doitsujin/dxvk#5011 · opened 2025-06-14 by DanielPopRe · updated 2025-06-16 · 16 comments · github
1 matching comments, n / p to jump
DDanielPopRe 2025-06-14 github

Please describe your issue as accurately as possible.
I have with the latest realsed version (2.6.1) good fps like 50 fps decently stable. With this version the game runs at 30 fps or 40 or even below 30 fps almost when i don t have dxvk installed.
If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Name of the game, settings used etc.
Gta 4

System information

Apitrace file(s)

  • Put a link here

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

Please attach Proton or Wine logs as a text file:

  • When using Proton, set the Steam launch options for your game to PROTON_LOG=1 %command% and attach the corresponding steam-xxxxx.log file in your home directory.
  • When using regular Wine, use wine game.exe > game.log 2>&1 and attach the resulting game.log file.
Ddoitsujin maintainer 2025-06-14 github

This isn't actionable and also missing logs.

Needs more info (e.g. what's the dxvk hud showing) or a proper bisect or something.

DDanielPopRe 2025-06-14 github

info: Game: GTAIV.exe
info: DXVK: v2.6.1-339-gdc5b8832
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 @ 0x694f1760
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
info: Found device: NVIDIA GeForce RTX 3050 Ti Laptop GPU (NVIDIA 576.28.0)
info: Found device: AMD Radeon(TM) Graphics (AMD proprietary driver 2.0.279)
info: Skipping: Device does not support required feature 'maintenance5' (extension: VK_KHR_maintenance5)
info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info: D3D9: Hiding actual GPU, reporting:
info: vendor ID: 0x1002
info: device ID: 0x73df
info: device description: AMD Radeon RX 6700 XT
info: Process set as DPI aware
info: Creating device:
info: NVIDIA GeForce RTX 3050 Ti Laptop GPU:
info: Driver : NVIDIA 576.28.0
info: Queues:
info: Graphics : (0, 0)
info: Transfer : (1, 0)
info: Sparse : (0, 0)
info: Memory:
info: Heap 0: 3.86 GiB (DEVICE_LOCAL)
info: Budget: 3.28 GiB
info: Type 1: DEVICE_LOCAL
info: Type 2: DEVICE_LOCAL
info: Type 5: DEVICE_LOCAL | HOST_VISIBLE | HOST_COHERENT
info: Heap 1: 15.71 GiB
info: Budget: 14.96 GiB
info: Type 0: (None)
info: Type 3: HOST_VISIBLE | HOST_COHERENT
info: Type 4: HOST_VISIBLE | HOST_COHERENT | HOST_CACHED
info: Enabled extensions:
info: VK_EXT_attachment_feedback_loop_layout
info: VK_EXT_conservative_rasterization
info: VK_EXT_custom_border_color
info: VK_EXT_depth_clip_enable
info: VK_EXT_depth_bias_control
info: VK_EXT_descriptor_buffer
info: VK_EXT_extended_dynamic_state3
info: VK_EXT_fragment_shader_interlock
info: VK_EXT_full_screen_exclusive
info: VK_EXT_graphics_pipeline_library
info: VK_EXT_hdr_metadata
info: VK_EXT_line_rasterization
info: VK_EXT_memory_priority
info: VK_EXT_multi_draw
info: VK_EXT_non_seamless_cube_map
info: VK_EXT_pageable_device_local_memory
info: VK_EXT_robustness2
info: VK_EXT_shader_module_identifier
info: VK_EXT_swapchain_maintenance1
info: VK_EXT_transform_feedback
info: VK_EXT_vertex_attribute_divisor
info: VK_KHR_external_memory_win32
info: VK_KHR_external_semaphore_win32
info: VK_KHR_load_store_op_none
info: VK_KHR_maintenance5
info: VK_KHR_maintenance6
info: VK_KHR_maintenance7
info: VK_KHR_pipeline_library
info: VK_KHR_present_id
info: VK_KHR_present_wait
info: VK_KHR_swapchain
info: VK_KHR_swapchain_mutable_format
info: VK_KHR_win32_keyed_mutex
info: VK_NV_raw_access_chains
info: Enabled features:
info: depthBiasClamp : 1
info: depthBounds : 1
info: depthClamp : 1
info: drawIndirectFirstInstance : 1
info: dualSrcBlend : 1
info: fillModeNonSolid : 1
info: fragmentStoresAndAtomics : 1
info: fullDrawIndexUint32 : 1
info: geometryShader : 1
info: imageCubeArray : 1
info: independentBlend : 1
info: logicOp : 1
info: multiDrawIndirect : 1
info: multiViewport : 1
info: occlusionQueryPrecise : 1
info: pipelineStatisticsQuery : 1
info: robustBufferAccess : 1
info: sampleRateShading : 1
info: samplerAnisotropy : 1
info: shaderClipDistance : 1
info: shaderCullDistance : 1
info: shaderFloat64 : 1
info: shaderImageGatherExtended : 1
info: shaderInt16 : 1
info: shaderInt64 : 1
info: shaderSampledImageArrayDynamicIndexing : 1
info: sparseBinding : 1
info: sparseResidencyBuffer : 1
info: sparseResidencyImage2D : 1
info: sparseResidencyImage3D : 1
info: sparseResidency2Samples : 1
info: sparseResidency4Samples : 1
info: sparseResidency8Samples : 1
info: sparseResidency16Samples : 1
info: sparseResidencyAliased : 1
info: shaderResourceResidency : 1
info: shaderResourceMinLod : 1
info: tessellationShader : 1
info: textureCompressionBC : 1
info: variableMultisampleRate : 1
info: vertexPipelineStoresAndAtomics : 1
info: wideLines : 1
info: shaderDrawParameters : 1
info: storagePushConstant16 : 1
info: bufferDeviceAddress : 1
info: descriptorIndexing : 1
info: descriptorBindingSampledImageUpdateAfterBind : 1
info: descriptorBindingUpdateUnusedWhilePending : 1
info: descriptorBindingPartiallyBound : 1
info: drawIndirectCount : 1
info: hostQueryReset : 1
info: runtimeDescriptorArray : 1
info: samplerFilterMinmax : 1
info: samplerMirrorClampToEdge : 1
info: shaderInt8 : 1
info: shaderOutputViewportIndex : 1
info: shaderOutputLayer : 1
info: timelineSemaphore : 1
info: uniformBufferStandardLayout : 1
info: vulkanMemoryModel : 1
info: dynamicRendering : 1
info: maintenance4 : 1
info: robustImageAccess : 0
info: pipelineCreationCacheControl : 1
info: shaderDemoteToHelperInvocation : 1
info: shaderZeroInitializeWorkgroupMemory : 1
info: synchronization2 : 1
info: VK_EXT_attachment_feedback_loop_layout:
info: attachmentFeedbackLoopLayout : 1
info: VK_EXT_conservative_rasterization:
info: extConservativeRasterization : 1
info: VK_EXT_custom_border_color:
info: customBorderColors : 1
info: customBorderColorWithoutFormat : 1
info: VK_EXT_depth_clip_enable:
info: depthClipEnable : 1
info: VK_EXT_depth_bias_control:
info: depthBiasControl : 1
info: leastRepresentableValueForceUnormRepresentation : 1
info: floatRepresentation : 0
info: depthBiasExact : 1
info: VK_EXT_descriptor_buffer:
info: descriptorBuffer : 1
info: VK_EXT_extended_dynamic_state3:
info: extendedDynamicState3AlphaToCoverageEnable : 1
info: extendedDynamicState3DepthClipEnable : 1
info: extendedDynamicState3RasterizationSamples : 1
info: extendedDynamicState3SampleMask : 1
info: extendedDynamicState3LineRasterizationMode : 1
info: VK_EXT_fragment_shader_interlock:
info: fragmentShaderSampleInterlock : 1
info: fragmentShaderPixelInterlock : 1
info: VK_EXT_full_screen_exclusive:
info: extFullScreenExclusive : 1
info: VK_EXT_graphics_pipeline_library:
info: graphicsPipelineLibrary : 1
info: VK_EXT_hdr_metadata:
info: extHdrMetadata : 1
info: VK_EXT_line_rasterization:
info: rectangularLines : 1
info: smoothLines : 1
info: VK_EXT_memory_budget:
info: extMemoryBudget : 1
info: VK_EXT_memory_priority:
info: memoryPriority : 1
info: VK_EXT_multi_draw:
info: multiDraw : 1
info: VK_EXT_non_seamless_cube_map:
info: nonSeamlessCubeMap : 1
info: VK_EXT_pageable_device_local_memory:
info: pageableDeviceLocalMemory : 1
info: VK_EXT_robustness2:
info: robustBufferAccess2 : 1
info: robustImageAccess2 : 1
info: nullDescriptor : 1
info: VK_EXT_shader_module_identifier:
info: shaderModuleIdentifier : 1
info: VK_EXT_shader_stencil_export:
info: extShaderStencilExport : 0
info: VK_EXT_swapchain_colorspace:
info: extSwapchainColorSpace : 0
info: VK_EXT_swapchain_maintenance1:
info: swapchainMaintenance1 : 1
info: VK_EXT_transform_feedback:
info: transformFeedback : 1
info: geometryStreams : 1
info: VK_EXT_vertex_attribute_divisor:
info: vertexAttributeInstanceRateDivisor : 1
info: vertexAttributeInstanceRateZeroDivisor : 1
info: VK_KHR_external_memory_win32:
info: khrExternalMemoryWin32 : 1
info: VK_KHR_external_semaphore_win32:
info: khrExternalSemaphoreWin32 : 1
info: VK_KHR_load_store_op_none:
info: khrLoadStoreOpNone : 1
info: VK_KHR_maintenance5:
info: maintenance5 : 1
info: VK_KHR_maintenance6:
info: maintenance6 : 1
info: VK_KHR_maintenance7:
info: maintenance7 : 1
info: VK_KHR_pipeline_library:
info: khrPipelineLibrary : 1
info: VK_KHR_present_id:
info: presentId : 1
info: VK_KHR_present_wait:
info: presentWait : 1
info: VK_KHR_swapchain:
info: khrSwapchain : 1
info: VK_KHR_swapchain_mutable_format:
info: khrSwapchainMutableFormat : 1
info: VK_KHR_win32_keyed_mutex:
info: khrWin32KeyedMutex : 1
info: VK_NV_descriptor_pool_overallocation:
info: descriptorPoolOverallocation : 0
info: VK_NV_low_latency2:
info: nvLowLatency2 : 0
info: VK_NV_raw_access_chains:
info: shaderRawAccessChains : 1
info: VK_NVX_binary_import:
info: nvxBinaryImport : 0
info: VK_NVX_image_view_handle:
info: nvxImageViewHandle : 0
info: Descriptor sizes (set alignment: 64)
info: Sampler : 4
info: Uniform buffer : 8
info: Storage buffer : 16
info: Uniform texel buffer : 16
info: Storage texel buffer : 16
info: Sampled image : 4
info: Storage image : 4
info: Memory type mask for sparse resources: 0x2
info: Memory type mask for buffer resources: 0x3b, usage: 0x219ff
info: Creating sampler descriptor heap (8 kB)
info: DXVK: Graphics pipeline libraries supported
info: Creating resource descriptor heap (4096 kB)
info: D3D9DeviceEx::ResetSwapChain:
info: Requested Presentation Parameters
info: - Width: 3440
info: - Height: 1440
info: - Format: D3D9Format::A8R8G8B8
info: - Auto Depth Stencil: false
info: ^ Format: D3D9Format::D24S8
info: - Windowed: false
info: - Swap effect: 1
info: Setting display mode: 3440x1440@0
info: Setting display mode: 3440x1440@0
info: DXVK: Using 16 compiler threads
info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info: D3D9: Hiding actual GPU, reporting:
info: vendor ID: 0x1002
info: device ID: 0x73df
info: device description: AMD Radeon RX 6700 XT
info: Process set as DPI aware
info: Device reset
info: D3D9DeviceEx::ResetSwapChain:
info: Requested Presentation Parameters
info: - Width: 3440
info: - Height: 1440
info: - Format: D3D9Format::A8R8G8B8
info: - Auto Depth Stencil: false
info: ^ Format: D3D9Format::D24S8
info: - Windowed: false
info: - Swap effect: 1
info: Setting display mode: 3440x1440@110
info: Setting display mode: 3440x1440@110
info: Presenter: Actual swapchain properties:
info: Format: VK_FORMAT_B8G8R8A8_UNORM
info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info: Buffer size: 3440x1440
info: Image count: 3
info: Device lost
info: Device not reset
info: Device reset
info: D3D9DeviceEx::ResetSwapChain:
info: Requested Presentation Parameters
info: - Width: 3440

BBlisto91 2025-06-14 github

Attach as a file in the future so it doesn't fill so much.
Can you attach a screenshot of the game running with dxvk.hud = full inserted in to a file called dxvk.conf next to the exe?

DDanielPopRe 2025-06-15 github

Image

DDanielPopRe 2025-06-15 github

Sry for the picture quality but my phone has a setting with ai and i don t know how to turn it off. But I guess it ok.

DDanielPopRe 2025-06-15 github

Anyways with an older version it was almost perfect line graph and a decently stable 50 fps

KK0bin maintainer 2025-06-15 github

Can you try the release version 2.6.1 and see if that has the same problem?

Also: Can you make an apitrace?

BBlisto91 2025-06-15 github

Does it help if you put dxvk.enableDescriptorBuffer = False in to a file called dxvk.conf next to the exe?

KK0bin maintainer 2025-06-15 github

The DXVK HUD in your screenshots indicates you're using this version:
https://github.com/doitsujin/dxvk/commit/dc5b8832

That's an unfinished version of a change I've been working on. Please try a proper release.

DDanielPopRe 2025-06-16 github

Image

DDanielPopRe 2025-06-16 github

So these results are with dxvk 2.6.2. Almost a perfect experience

DDanielPopRe 2025-06-16 github

Image

DDanielPopRe 2025-06-16 github
BBlisto91 2025-06-16 github

That commit comes from some work in progress code that was not ready to be tested yet.

KK0bin maintainer 2025-06-16 github

The commit you linked is an outdated version with a bug that was fixed before you even opened the issue.

DDanielPopRe 2025-06-16 github

Ok, thanks

Launch options

DLLs