dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Fallout: New Vegas Performance Issues - DXVK 2.6.1

Open TheCaptainKrunk opened this issue 8 months ago • 40 comments

Please describe your issue as accurately as possible:

Another user and I in the TES Reloaded community are experiencing issues pertaining to DXVK 2.6.1 in Fallout: New Vegas using AMD RX 9070XT GPUs on the same (latest) drivers. All versions of DXVK have been unsuccessful in testing, lending to worse performance than 2.6.1. With DXVK installed, massive stutter is had during gameplay. This will also occasionally lead to AMD driver crashes.

Video Proof

Software information

Fallout: New Vegas

System information

  • GPU: AMD RX 9070XT
  • Driver: 25.3.1
  • Wine version: N/A
  • DXVK version: 2.6.1

Apitrace file(s)

FNV trace

Log files

Log

TheCaptainKrunk avatar Apr 09 '25 23:04 TheCaptainKrunk

Could you upload a save of a spot where it happens? Last time I tried the game, it ran flawlessly and Apitraces aren't useful for performance issues most of the time.

Also: Are older DXVK versions impacted as well?

K0bin avatar Apr 09 '25 23:04 K0bin

Could you upload a save of a spot where it happens? Last time I tried the game, it ran flawlessly and Apitraces aren't useful for performance issues most of the time.

Also: Are older DXVK versions impacted as well?

I could upload a save, but due to being a modded playthrough, the save likely wouldn't load on a game that isn't identically set up with mods. I can always do it, though if insisted. I have tried new games as well, with the same issue. The issue does not persist if DXVK is removed, but the framerate is halved at least.

Oddly, there are many that use DXVK to great success, but it seems that the 9070XT dudes I have talked to suffer with some huge performance issues.

Older versions are impacted as well. I have tried almost every version on the Nexus, with some allowing me to launch a save and some not. As I stated in the initial report above, "All versions of DXVK have been unsuccessful in testing, lending to worse performance than 2.6.1."

Edit: I have recordings with DXVK HUD being on, showing diagnostics from different versions that did launch, if needed.

TheCaptainKrunk avatar Apr 10 '25 00:04 TheCaptainKrunk

To quote another user in the TESR community: "Hey man I really think its our GPU's, I have a heavy modlist and a fresh one with a viva new vegas one and I test them side by side and its always a stuttery mess (with DXVK)"

and

"but everything works stable no stutter if nvhr (New Vegas Heap Replacer) its only really dxvk that stutters"

TheCaptainKrunk avatar Apr 10 '25 00:04 TheCaptainKrunk

I have tried almost every version on the Nexus

Don't get DXVK off of NexusMods.

Edit: I have recordings with DXVK HUD being on, showing diagnostics from different versions that did launch, if needed.

That could be interesting. Record a video with DXVK_HUD=full please.

K0bin avatar Apr 10 '25 01:04 K0bin

Don't get DXVK off of NexusMods.

Got it, I can try with versions here, but I have been using the 2.6.1 version from GH.

That could be interesting. Record a video with DXVK_HUD=full please.

Will do, currently facing worse issues now somehow, where I am getting constant AMD driver crashes after DDU'ing and doing a proper fresh install of drivers. Once I get myself set back up tonight, I will do so.

TheCaptainKrunk avatar Apr 10 '25 02:04 TheCaptainKrunk

@K0bin Alright, all set. I loaded up my MO2 profile that is the vanilla game modded following the Viva New Vegas guide to a tee, so in essence this should be the most stable and performant the game (generally) can be.

You can see the stutters correlating to the graph spikes at to bottom left of the screen in the DXVK HUD. They are much more noticeable in-game, and when modded further. The largest stutter can be seen at the end of the video by the NCR tent.

I tested with no DXVK, and the game did not experience one single stutter when sprinting from Goodsprings to Primm also, like in the video.

DXVK HUD Video

TheCaptainKrunk avatar Apr 10 '25 02:04 TheCaptainKrunk

That video has a resolution of ~240p so I can't read the HUD at all.

Do the stutters also happen with a completely unmodded vanilla game or do they only happen with your mods?

K0bin avatar Apr 10 '25 02:04 K0bin

That video has a resolution of ~240p so I can't read the HUD at all.

Damn Imgur, here is a Mega link to the video

Do the stutters also happen with a completely unmodded vanilla game or do they only happen with your mods?

I will check completely unmodded, but VNV modded is revered to be more stable and generally a "fixed" FNV.

TheCaptainKrunk avatar Apr 10 '25 03:04 TheCaptainKrunk

@K0bin I am finally, finally, able to say by sheer chance my issue is fixed. Hard part is, I did 3 things and I do not know which fixed the issue. I have been battling with this for two weeks, and its finally over.

I noticed my 9070XT was going from 60fps down to 15fps randomly in Arma Reforger. I did some research and implemented some fixes to try and figure this out as it was obviously a GPU issue at this point.

My fixes:

Arma reforger went from an extremely inconsistent stuttery mess to stable 80-90fps. My sprint from from Goodsprings to Primm went flawlessly with DXVK showing no stutters on the HUD graph. I am going to test extensively tomorrow to get a definitive result, but so far, for the first time... no stutters.

Its over. Its finally over. Hopefully this can help someone else out in the future.

TheCaptainKrunk avatar Apr 10 '25 05:04 TheCaptainKrunk

When i use dxvk, the game loads but its just a black screen with game sound.

Zankom avatar Apr 10 '25 16:04 Zankom

@Zankom Make sure to set your monitor resolution in Documents\My Games\FalloutNV\FalloutPrefs.ini. Mine was misconfigured while using DXVK and OneTweak, and it resulted in this.

TheCaptainKrunk avatar Apr 10 '25 17:04 TheCaptainKrunk

The resolution setting in the launcher wont work?

Zankom avatar Apr 10 '25 17:04 Zankom

@Zankom If your resolution is in there, but I run an ultrawide so mine wasn't. I am not sure. Out of curiosity, does your issue relate to this thread in any way? Same GPU? DXVK?

TheCaptainKrunk avatar Apr 10 '25 17:04 TheCaptainKrunk

7900xt and yeah, dxvk. Im here because im trying to get vulkan working on new vegas ofc and saw it was a recent thread.

Zankom avatar Apr 10 '25 17:04 Zankom

7900xt and yeah, dxvk. Im here because im trying to get vulkan working on new vegas ofc and saw it was a recent thread.

@Zankom I hate to be rude man, but following the Viva New Vegas modding guide as a start and making a bug report here with the appropriate tece and log would be your best bet. This thread was created to highlight performance issues with the AMD 9070XT, which have since been solved.

TheCaptainKrunk avatar Apr 10 '25 17:04 TheCaptainKrunk

All good man no worries

Zankom avatar Apr 10 '25 17:04 Zankom

@K0bin We can be good to close this, final issue was determined to be AMD ULPS. This can be turned off with regedit to fix the stuttering.

TheCaptainKrunk avatar Apr 11 '25 10:04 TheCaptainKrunk

@K0bin Would it be possible to reopen this issue? Solved the driver timeout issues, but ULPS does not seem to be a fix after all. Stuttering is back, and heavy.

TheCaptainKrunk avatar Apr 28 '25 07:04 TheCaptainKrunk

Please upload your save. In the video it looks like it's shader compilation stutter. Make sure your driver supports VK_EXT_graphics_pipeline_library.

K0bin avatar Apr 28 '25 07:04 K0bin

@K0bin

For posterity, here is the d3d9 log as well (says the libraries are supported): Log

Save: Save

Found this link on AMD's forums, unsure if AMDs current drivers support it or don't. Not able to get a clear answer: AMD Forums post on pipeline library

I have also updated to Adrenalin driver 25.3.2, and I must say DXVK 2.6.1 does result in driver timeouts but 2.5.3 is where I get massive stutters, no timeouts. Odd that the behavior has switched suddenly.

If you need anything else, anything at all, let me know.

TheCaptainKrunk avatar Apr 28 '25 07:04 TheCaptainKrunk

Here is a current video of large stuttering trying 2.5.3: Medal Video

TheCaptainKrunk avatar Apr 28 '25 08:04 TheCaptainKrunk

I assume you have also tested standard dxvk? We don't support the various forks

Blisto91 avatar Apr 28 '25 08:04 Blisto91

I have tried 2.5.3 and 2.6.1 from here and every version on the FNV Nexus page, while I understand those are not supported. Just covering the bases. @Blisto91

TheCaptainKrunk avatar Apr 28 '25 08:04 TheCaptainKrunk

Could you try giving it a go with your iGPU? I am wondering if there is something special about AMDs compiler on rdna4. You should be able to select the iGPU by inserting dxvk.deviceFilter = "Radeon(TM) Graphics" into the config file

Blisto91 avatar Apr 28 '25 08:04 Blisto91

@Blisto91 I get about 1 FPS with using the iGPU. It is an actual slideshow. I can turn off all graphics mods and try again.

TheCaptainKrunk avatar Apr 29 '25 01:04 TheCaptainKrunk

@Blisto91 With no mods aside from the stability and performance-needed mods outlined in the Viva New Vegas guide, I get about 10 FPS, and it does still stutter quite a bit, but doesn't hard lock for a good second or so. This also might be due to the framerate, as I am sure long stutters are harder to see when the game is running at Gameboy Advance levels of FPS.

TheCaptainKrunk avatar Apr 29 '25 01:04 TheCaptainKrunk

@K0bin Any ideas I can try out?

TheCaptainKrunk avatar Apr 29 '25 04:04 TheCaptainKrunk

I need to look into this myself and haven't had time yet.

K0bin avatar Apr 29 '25 10:04 K0bin

@TheCaptainKrunk Your save game crashes when loading (probably because I don't have the same (or any) mods installed. Could you tell me the location in game? I hope I don't have to run across the map.

I did try another save I had and that ran at an almost flawless 120fps with some infrequent stutters here and there that were almost certainly because of level/asset streaming.

K0bin avatar Apr 29 '25 13:04 K0bin

@TheCaptainKrunk

You can try to disable Graphics Pipeline Library (GPL) in DXVK by adding config option dxvk.enableGraphicsPipelineLibrary = False in dxvk.conf:

  1. Download dxvk.conf example from DXVK repository on GitHub.

  2. Copy dxvk.conf to the application working folder (usually in the same folder as DXVK DLLs and game EXEs).

  3. Add to the dxvk.conf file next string:

    dxvk.enableGraphicsPipelineLibrary = False

  4. Save dxvk.conf.

  5. Run game.

It may solve your problem, because AMD Windows Vulkan Driver implementation of VK_EXT_graphics_pipeline_library extension leaves much to be desired. You can read comments in this issue: https://github.com/doitsujin/dxvk/issues/3859

Do note, that the game will exhibit stutters on first launch, but there will be/must be none on consequent launches.

Digger1955 avatar May 29 '25 21:05 Digger1955