Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any game that needs DXVK almost instantly freezes and eventually crashes #4503

Open
seacat17 opened this issue Nov 30, 2024 · 22 comments
Open

Comments

@seacat17
Copy link

seacat17 commented Nov 30, 2024

Software information

Any game with any settings.

System information

  • GPU: NVIDIA GeForce RTX 3050 Mobile
  • Driver: 565.57.01
  • Wine version: Proton 9.0-3
  • DXVK version: 1.7

Apitrace file(s)

NONE

Log files

borealAlyph_dxgi.log
borealAlyph_d3d9.log
steam-812370.log

...

Basically any game that needs DXVK to run either instantly freezes completely on startup or freezes a few minutes after the startup. Any game on any engine is unplayable on my system if it needs DXVK to work.

If using native OpenGL or Vulkan - there is no crashes. If using Valve's ToGL - there's no crashes. If using WineD3D - there is no crashes. The problem is with DXVK only.

@Blisto91
Copy link
Contributor

Do the games you have tried have anything in common like engine or bitness?
Also does this happen with older drivers?

@WinterSnowfall
Copy link
Contributor

If you're using Nvidia PRIME I'd recommend trying:

  • switching to Nvidia (Performance Mode)
  • launching games with DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce" when using dxvk
  • avoid using HDMI outputs entirely if possible due to driver jank around these kinds of setups (DisplayPort will generally be fine)

@seacat17
Copy link
Author

seacat17 commented Nov 30, 2024

Do the games you have tried have anything in common like engine or bitness? Also does this happen with older drivers?

No, they do not have anything in common. Any games on any engine be it Source, Unity or Unreal 4 or 5, be it 32-bit or 64-bit game - it will crash.

If you're using Nvidia PRIME I'd recommend trying:

* switching to Nvidia (Performance Mode)

* launching games with `DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce"` when using dxvk

* avoid using HDMI outputs entirely if possible due to driver jank around these kinds of setups (DisplayPort will generally be fine)

I use Nvidia only when playing games.

I did this right now. The result is the same.

I don't use HDMI outputs, the only output I have is the built-in laptop screen.

EDIT: newer logs.

borealAlyph_dxgi.log
borealAlyph_d3d9.log
steam-812370.log

@WinterSnowfall
Copy link
Contributor

I don't use HDMI outputs, the only output I have is the built-in laptop screen.

Alright, that should be fairly straight forward then. I'm on a NVIDIA GeForce RTX 4060 Mobile, but can't reproduce the behavior you're describing, everything is stable here. I've just played The Witcher 3 for about 3 hours or so, FWIW.

@Blisto91
Copy link
Contributor

Does anything appear in dmesg or journal when a game crashes?

@seacat17
Copy link
Author

Does anything appear in dmesg or journal when a game crashes?

No. Literally nothing.

@WinterSnowfall
Copy link
Contributor

WinterSnowfall commented Nov 30, 2024

Just noticed you are using dxvk 1.7 for some reason... how about upgrading to 2.5.1, since nobody tests ancient versions on new drivers? And please use all the dlls from a given version, don't mix and match. Your dxgi reports dxvk version 2.4, while d3d9 reports dxvk 1.7. That is not normal.

@seacat17
Copy link
Author

Just noticed you are using dxvk 1.7 for some reason... how about upgrading to 2.5.1, since nobody tests ancient versions on new drivers?

How do I do this on Steam Proton?

@Blisto91
Copy link
Contributor

You seem to have a d3d9.dll in the game folder so that is being used instead of the one Proton ships

@seacat17
Copy link
Author

You seem to have a d3d9.dll in the game folder so that is being used instead of the one Proton ships

O h . . .

Let me resolve that really quick.

@seacat17
Copy link
Author

seacat17 commented Nov 30, 2024

DXVK v2.5.1:

borealAlyph_dxgi.log
steam-812370.log
borealAlyph_d3d9.log

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

@WinterSnowfall
Copy link
Contributor

I don't see anything relevant in the logs sadly, so it's very unlikely anything odd happens inside dxvk code.

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

That sounds like some sort of system instability or overheating perhaps? Not much we can help with here I'm afraid.

@seacat17
Copy link
Author

I don't see anything relevant in the logs sadly, so it's very unlikely anything odd happens inside dxvk code.

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

That sounds like some sort of system instability or overheating perhaps? Not much we can help with here I'm afraid.

What's weird is that if there's no DXVK - everything works just fine. I played CS2 on Vulkan for 4 hours straight and I played Minecraft on OpenGL for 2 hours straight with no crashes like that and I completed FEAR on WineD3D with no crashes.

@Blisto91
Copy link
Contributor

You don't perhaps have any overlays or such running? Might also be worth trying to disable steam overlay.
Does it also happen on say the 535 drivers?

@seacat17
Copy link
Author

You don't perhaps have any overlays or such running? Might also be worth trying to disable steam overlay. Does it also happen on say the 535 drivers?

I have tried 530 drivers - it happened there.

No overlays are running.

@Blisto91
Copy link
Contributor

Don't have any good ideas then sorry

@seacat17
Copy link
Author

Don't have any good ideas then sorry

Any ideas on how to softwarely increase stability?

@Blisto91
Copy link
Contributor

FPS limits or power caps can improve stability on some setups. For the former you can just use the dxvk fps limiter. The later i haven't really messed with so not familiar with what software to use.

@netborg-afps
Copy link

Don't have any good ideas then sorry

Any ideas on how to softwarely increase stability?

Possibly disabling power saving functionality (GPU, CPU, PCI-e, etc.)

@Bittermens
Copy link

HAs anyone tried to make this work with War 3 Reforged and Diablo 2 Ressurrected?
DX11 in those games is more of an issue than help.

I was thinking of making a thread about this but this one pretty much asks the same question as i since the game crash before it loads

@K0bin
Copy link
Collaborator

K0bin commented Dec 5, 2024

Diablo 2 Resurrected does not support D3D11. VKD3D-Proton can run the game just fine though.

@Bittermens
Copy link

Diablo 2 Resurrected does not support D3D11. VKD3D-Proton can run the game just fine though.

War 3 reforged crashes when trying to load the game

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants