protonscr

[d3d9] GTA: Vice City 1.0 crashes after intro video

dxvkclosed d3d9can't reproduced3d8
doitsujin/dxvk#4188 · opened 2024-08-04 by Omarock92 · updated 2025-05-24 · 19 comments · github
3 matching comments, n / p to jump
OOmarock92 2024-08-04 github

Please describe your issue as accurately as possible.

Game crashes right after intro video, works fine without DXVK. I've tested GTA 3 (classic) and it's working with DXVK on my system

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: Vice City (classic) 1.0, default settings

System information

  • GPU: RTX 3070
  • Driver: 560.70.0
  • OS: Win 10
  • Wine version:
  • DXVK version: 2.4

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:
gta-vc_d3d9.log

  • 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.
Nniresh1234 2024-08-05 github
BBlisto91 2024-08-05 github

@Omarock92 Hi there. What are you using to make the game d3d9? The original is using d3d8 out of the box.

Edit: Also mention if you use any mods or addons

OOmarock92 2024-08-05 github

Check if this v2.3.1 work or not? https://github.com/doitsujin/dxvk/releases/tag/v2.3.1

So far I've tried from v2.0 upwards and none of them worked.

@Omarock92 Hi there. What are you using to make the game d3d9? The original is using d3d8 out of the box.

Edit: Also mention if you use any mods or addons

Good call, forgot I'm using "Ultimate ASI loader" by ThirteenAG to load the widescreen fix .ASI mod (which contains a d3d8tod3d9 wrapper) by the same author.
I'm using the same setup on GTA 3 and DXVK works when using d3d9.dll.

Nniresh1234 2024-08-06 github

Show screenshot of your gta-vice_city directory and scripts/plugins Folder and modloader also (if exists)

also use
Use UAL dinput8.dll & d3d8to9-wrapper by clicking these

OOmarock92 2024-08-06 github

Show screenshot of your gta-vice_city directory and scripts/plugins Folder and modloader also (if exists)

also use Use UAL dinput8.dll & d3d8to9-wrapper by clicking these

Finally figured out what was triggering the crash! I have a wndmode.ini file in the game folder (part of widescreen fix, used to run the game at borderless window because fullscreen is capped at 60hz max refresh rate). Fixed by setting UseWindowMode=1 to 0 (strangely enough the game still ran at borderless window).

It's interesting that GTA 3 didn't have this issue with DXVK and UseWindowMode set to 1.

Grand Theft Auto Vice City Screenshot 2024 08 05 - 22 17 39 98

BBlisto91 2024-08-06 github

We are still interested in the crash if it doesn't happen without dxvk so no need to close

OOmarock92 2024-08-06 github

We are still interested in to crash if it doesn't happen without dxvk so no need to close

I've reopened. Let me know if you need anything, and yup it doesn't happen on dx9 and dx8 with that flag set to 1.

WWinterSnowfall 2024-08-06 github

Does d3d9.enableDialogMode = True in conjunction with UseWindowMode=1 fix it?

(strangely enough the game still ran at borderless window).

Something, something, Vulkan has no exclusive fullscreen, something, something :P.

OOmarock92 2024-08-06 github

Does d3d9.enableDialogMode = True in conjunction with UseWindowMode=1 fix it?

(strangely enough the game still ran at borderless window).

Something, something, Vulkan has no exclusive fullscreen, something, something :P.

I've just tried putting d3d9.enableDialogMode = True in dxvk.conf. It's crashing with UseWindowMode=1

Bboludoz 2024-08-10 github

Grand Theft Auto: Vice City uses Direct3D 8 (d3d8), not Direct3D 9 (d3d9). The title is incorrect.

WWinterSnowfall 2024-08-14 github

So I got Vice City, the Ultimate ASI loader and the Widescreen Fix mod - everything seems to work properly in terms of "widescreening", but I don't have any wndmode.ini file to edit (and hence the game just works, no crashes to speak of). @Omarock92 Care to elaborate on what I need to install to get that added in the mix?

Grand Theft Auto: Vice City uses Direct3D 8 (d3d8), not Direct3D 9 (d3d9). The title is incorrect.

The mod causing the crash (allegedly) comes with d3d8to9 by default, so it will bump you to d3d9 when it's installed (by default). But you are technically correct about the base game, the best kind of correct.

OOmarock92 2024-08-14 github

So I got Vice City, the Ultimate ASI loader and the Widescreen Fix mod - everything seems to work properly in terms of "widescreening", but I don't have any wndmode.ini file to edit (and hence the game just works, no crashes to speak of). @Omarock92 Care to elaborate on what I need to install to get that added in the mix?

Grand Theft Auto: Vice City uses Direct3D 8 (d3d8), not Direct3D 9 (d3d9). The title is incorrect.

The mod causing the crash (allegedly) comes with d3d8to9 by default, so it will bump you to d3d9 when it's installed (by default). But you are technically correct about the base game, the best kind of correct.

It's a part of the Widescreen Fix mod by ThirteenAG. You just have to create a wndmode.ini file in the root folder of the game and leave it blank. Once you execute the game, the .asi will automatically fill it out.

WWinterSnowfall 2024-08-14 github

It's a part of the Widescreen Fix mod by ThirteenAG. You just have to create a wndmode.ini file in the root folder of the game and leave it blank. Once you execute the game, the .asi will automatically fill it out.

Thanks. That did it, however I still don't get a crash. dxvk and WineD3D behave exactly the same here and the game is indeed windowed now. So not sure what the problem is, but the likelihood of it being a d3d issue is very slim.

P.S.: I'm using Wine Staging, so if you're seeing this on Windows it's more likely something that's outside of our control. Simply disabling the option is a fair workaround. Or, you could use dxvk's own frame limiter and keep the mod defaults anyway.

OOmarock92 2024-08-15 github

It's a part of the Widescreen Fix mod by ThirteenAG. You just have to create a wndmode.ini file in the root folder of the game and leave it blank. Once you execute the game, the .asi will automatically fill it out.

Thanks. That did it, however I still don't get a crash. dxvk and WineD3D behave exactly the same here and the game is indeed windowed now. So not sure what the problem is, but the likelihood of it being a d3d issue is very slim.

P.S.: I'm using Wine Staging, so if you're seeing this on Windows it's more likely something that's outside of our control. Simply disabling the option is a fair workaround. Or, you could use dxvk's own frame limiter and keep the mod defaults anyway.

Hmm, I'm on Windows. The only other possibility I can think of is Steam vs retail executables. Do you have the steam version?

WWinterSnowfall 2024-08-16 github

The only other possibility I can think of is Steam vs retail executables. Do you have the steam version?

I doubt it matters, but I'm using a retail copy, not the Steam version.

BBlisto91 2024-09-08 github

Tested this on Windows 11 and i have also been unable to reproduce.

The game starts fine for me with the windowed mode with dxvk using both Steam exe and 1.0.

Tested on a RX 7900xtx with 24.8.1

Nniresh1234 2024-09-09 github

@Blisto91 hare the package to reproduce this issue (need clean 1.0 game)

GTA-ViceCity-DXVK-Testing.zip

package contents:

  • d3d9.dll = dxvk dll (game is d3d8 but working with d3d9.dll using UseD3D8to9=1)
  • d3d8.dll = ultimate asi loader (with using UseD3D8to9=1)
  • wndmode.ini = wndmode function from asi loader to run game in windowed/borderless
  • scripts\global.ini = ultimate asi loader configuration file
  • scripts\widescreenfix asi/ini = widescreenfix by thirteenag
Nniresh1234 2025-05-24 github

@Omarock92 this issue is probably fixed in v2.6....... can you check?

OOmarock92 2025-05-24 github

@Omarock92 this issue is probably fixed in v2.6....... can you check?

Yes! It's indeed fixed in 2.6
First I was able to reproduce the issue in 2.4 and 2.5.3 then it ran fine on 2.6 with UseWindowMode=1

Launch options

DLLs