dxvk: [D3D9] Cannot select proper resolutions using dxvk with GTA IV

Software information

GTA IV Complete Edition, up to date as of today, running on Windows 10 Professional.

System information

  • GPU: RTX 3090
  • Driver: 457.30.0
  • Wine version: N/A (Windows 10 DLLs only: d3d9.dll + dxgi.dll + dxvk.conf)
  • DXVK version: 1.7.2
  • Monitor: LG TV, 4K resolution @ 120hz, connected with HDMI 2.1 cable

Log files

dxvk.conf:

dxgi.maxFrameLatency = 1
d3d9.maxFrameLatency = 1
d3d9.maxAvailableMemory = 16384

The problem

I cannot select the correct native resolution when using dxvk. The native resolution is 4k (3840x2160) and 120hz. The game allows me to select a max resolution of 1600x1200 at 100hz for some reason, not allowing me to go any higher in resolution nor refresh rate. See logs for more info. Resolution and refresh rate selection works fine when running it without dxvk (meaning I can select 4k@120hz). Any ideas on how to fix this?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 43 (4 by maintainers)

Most upvoted comments

In my case, I was stuck at 25 Hz for some reason (as well as limited res options), connected to an LG OLED 4K (HDR enabled). By passing the launch arguments: -width X -height Y -refreshrate Z as well as -availablevidmem T, I was able to get 4K 60 going smoothly.

Much to my surprise, and not diving too much into details, I’m running 2 x 970 in SLI - It looks like SLI support was also gone with DXVK, whereas without it it scales beautifully and gives decent performance.

HDR seems to have been broken too, but I can’t confirm just yet, will do some more tests soon.

where do I put this?

Once DLL copied to game folder, next to it create file named dxvk.conf and insert this parameter there. PCGamingWiki also suggests few more lines, but in this case those are irrelevant.

For me in game settings I get 2GBs of memory available, but so far no problems observed with that.

Beauty Reck ?! Try this: Steam Launch Options: -norestrictions -width 3840 -height 2160 %command% No Steam Launch Options: -norestrictions -width 3840 -height 2160

This works, but it’s still obviously broken. In game it caps out for me without using launch options at 1360x768 @ 144 Hz, where my native is 2560x1440 @ 165 Hz and my only DSR resolution is 5120x2880 @ 165 Hz. Resolutions above 1360x768 @ 144 Hz appear fine without DXVK. Screenshot (218)

I’m running Windows 10 as well with a RTX 3090.

Can you guys give it a try with latest dxvk master. Can be downloaded from here https://github.com/doitsujin/dxvk/actions/runs/7586479700

nevermind… I am a moron… instead of dxvk.conf I named the config file dxkv.conf -.-

“d3d9.forceAspectRatio = 16:9” This fix actually works without a problem and it wasn’t a temporary fix. I don’t know why the other guy said it like that. It also detects DSR resolutions too. No arguments needed. image