-
Notifications
You must be signed in to change notification settings - Fork 899
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
Comments
Do the games you have tried have anything in common like engine or bitness? |
If you're using Nvidia PRIME I'd recommend trying:
|
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.
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. |
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. |
Does anything appear in dmesg or journal when a game crashes? |
No. Literally nothing. |
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. |
How do I do this on Steam Proton? |
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. |
DXVK v2.5.1: borealAlyph_dxgi.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. |
I don't see anything relevant in the logs sadly, so it's very unlikely anything odd happens inside dxvk code.
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. |
You don't perhaps have any overlays or such running? Might also be worth trying to disable steam overlay. |
I have tried 530 drivers - it happened there. No overlays are running. |
Don't have any good ideas then sorry |
Any ideas on how to softwarely increase stability? |
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. |
Possibly disabling power saving functionality (GPU, CPU, PCI-e, etc.) |
HAs anyone tried to make this work with War 3 Reforged and Diablo 2 Ressurrected? 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 |
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 |
I'm also seeing this issue, and I think the The game will play fine for some amount of time, typically a few minutes, before freezing. It does not hard crash. I cannot locate anything in the logs that corresponds to the moment of freezing. I do have a PRIME setup, and I think that's related. I have not seen this issue on any non-PRIME machines in an otherwise similar setup (same distro, same Wine build, same game/version). Occurs on Nvidia drivers 550.135, and 565.77. It's not load related. I have tried setting Nvidia to performance profile. I have ensured the dedicated charger is plugged in to ensure the GPU has sufficient current. I have monitored the GPU usage. The game in question is WoW Classic, which is not hitting the GPU very hard (RTA 5000 Ada). Issue occurs even on minimum settings and resolution. I have tried loading the machine with Linux native games from Steam. None of them exhibit the issue, even at very high GPU load. |
If it's PRIME related, just follow these steps and it should be sorted: #4503 (comment). I was having regular freezes that I can only attribute to Vulkan device order changes (device lost type errors), but the issue hasn't reoccurred after setting a dxvk device filter for the card you intend to use with games (typically Nvidia) and avoiding to use HDMI altogether. Using HDMI over a DP-to-HDMI adapter will work. The lockups when using HDMI outputs directly are common to all Vulkan applications and are in fact caused by the Intel driver stack when using the "On Demand" PRIME mode. |
Already doing all of these. |
Just to clarify, did you try to limit the framerate? In my case, limiting the framerate extended the time before freezing. |
I've been using vsync and the framerate has been a steady 60 FPS. Limiting it below that isn't an acceptable solution, especially if it still freezes eventually. Might as well fall back to VKD3D, but the performance with WoW is nowhere near as good as DXVK. Edit: I've been able to confirm that disabling vsync / frame cap makes the game freeze much sooner. But this is not an indication that it's load related, because monitoring doesn't suggest the GPU is highly loaded, and I cannot reproduce in any non-DXVK scenario, even with dedicated Vulkan benchmarks. To me it suggests something like a counter overflowing, but I have no idea to begin where to look to debug this. |
In my case limiting the framerate down to 35 lets me play the game for a good while. Seems like some kind of... Memory leak or overflow, yeah. |
Interesting. |
Um... What does this have to do with DXVK acting up? |
@seacat17 Could you please list some games that have this problem on your system? I just played several hours of Mass Effect Legendary edition on Proton without any problems (Nvidia GPU too). So it obviously doesn't affect every game. We do need a few examples for games where you are sure that you ran into this problem to investigate further. |
Indigo Park, Voices of The Void, Phasmophobia, Astroneer, F.E.A.R., Boreal Alyph... Should I continue? These games have little to nothing in common. |
Got same problem with Scrap Mechanic and Deep Rock Galactic. Also, needs to say that that issue didn't appear for me before 2024 year... So... Maybe it's not dxvk bug, but... What the hell must be responsable for such a terrific problem? Updates to the linux core it self? Or maybe something related to Nvidia PRIME tech? |
Testing |
Same thing, it all started in summer of 2024. |
Well... Guess it's a bug, but not dxvk bug... |
VKD3D acts weird for me. With capped FPS I was able to complete Indigo Park without a single crash but with uncapped FPS I got crashed even before main menu could display. |
My FPS is always capped (45), but it not helping much... As I said before, after 38 minutes of gameplay with any Also need to say that when launching Very ""good"" New Year present actualy... Another bug that probably will not be fixed in next 2 years... Maybe I realy should return back to Windows... Maybe full Linux system downgrade will help? I mean from |
That sounds like this Steam issue #4436 |
New data... Problem seems to appear only in 3D scenes... I tested 2d visual novel that uses |
I also tried running another Xorg server on another tty and guess what? I am playing Indigo Park with DXVK with FPS uncapped for like 15 minutes now. No crashes so far. |
Damn! Looks very familiar! Thanks! If it helps this issue could be marked as "partly-closed": I will post some kind of tutorial, how to launch a game on completly empty |
1 similar comment
Damn! Looks very familiar! Thanks! If it helps this issue could be marked as "partly-closed": I will post some kind of tutorial, how to launch a game on completly empty |
The thing is that I cannot take screenshots or capture that Xorg server in any way. Maybe there is a way to just fix this issue with all the data we gathered so far? |
Thank you very much! You have no idea how long I suffered from that! That's awesome!!!!! |
@seacat17, this is data from my The first solution for that problem (found by me) was diabling ability of my My current solution:
Yes, that solution is quite cursed, but work for me, hope it works for everyone who will face such problem with Also need to say that this "solution" is not perfect: if you jumped to first X server and spend a few minutes in it (5+ minutes) most games will crash (and, it also may case some small problems with some progs on first server too)! This probably can be fixed with a few tweaks (with Here is my Also xorg.conf: xorg.conf.txt I am not very sure about this "fix", but it helped me, and I hope it will help you. |
I did it a bit differently. I jumped to |
Good to know... Crossout is still unplayable for me, unfortunatly, but it mosuly because of |
FOUND IT! The main problem is So, I guess the best solution is replacing |
No way I'm using Wayland. I hate Wayland, everything it does is breaking things, and also the DE of my choice won't work on Wayland. Is there any way to contact the only remaining Xorg dev? |
Well... I am not into Wayland too, but I love games more than hate Wayland. It just helps me play games on the same display without Also I found out that in fullscreen mode on
What the? Excuse me, did Xorg really mantained by ONE person???? Thats horrible! Probably it's posible to contact them throught GitHub, but I don't think they will do anything to fix this problem... So. At this moment next solutions are avaliable:
|
I use MATE which is not compatible with Wayland.
I have HP Pavilion laptop too, with 100% load it heats up to 67°C max. Also
I have external cooling system that cools it down to 60°C.
I will try those solutions once I'm home.
пт, 17 янв. 2025 г., 13:40 MAGGen-hub ***@***.***>:
… No way I'm using Wayland. I hate Wayland, everything it does is breaking
things, and also the DE of my choice won't work on Wayland.
Well... I am not into Wayland too, but I love games more than hate
Wayland. It just helps me play games on the same display without X11VNC
instalation or constant jumping from one screen to other. So I can just
enable youtube on background and listen my favorite chanels with no
problems.
Also I found out that in fullscreen mode on Wayland my GPU heats less
then on X11. (4C degree difference)
Current GPU chip is new, old one died from overheat (Yea, HP Pavilion
Laptops has worst coolling ever) so, probably in future I will use Wayland
only, because 80C+ temp on normal quality settings in almost ANY dxvk games
is quite big...
Last time I played Deep Rock Galactic it was near 76C which is great, I
think.
Is there any way to contact the only remaining Xorg dev?
What the? Excuse me, did Xorg really mantained by ONE person???? Thats
horrible!
Now I am really scared about Xorg future and ammount of bugs it may have...
Probably it's posible to contact them throught GitHub, but I don't think
they will do anything to fix this problem...
This bug related only with DXVK but not all other apps.
So DXVK it self should adapt to new environment, not xorg...
So. At this moment next solutions are avaliable:
1. Run games on second X server.
2. Use this one
<#3670 (comment)>
- it do nothing for me but may help you, to run games on X11 as
before:
- Disable "Force Full Composition Pipeline" in xorg.conf, OR
- replace DXVK with VKD3D and use VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_id,VK_KHR_present_wait
%command%
3. Replace X11 with Wayland and problem will disapear (better to use
GNOME or KDE or Wayland may case much more problems related to all other
apps...)
4. Install Wayland and compositor (see this
<https://wiki.archlinux.org/title/Wayland#Compositors>) to run steam
it self on second display. It probably may help launching games like
Crossout and WarTunder when your main desktop session is under X11.
(Launching Crossout using solution 1 will produce the same problem
with DXVK).
—
Reply to this email directly, view it on GitHub
<#4503 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZB5K5PPC3SREGVYOHTACKD2LD25NAVCNFSM6AAAAABSYXHVXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJYGI4DCMBYG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
How do you do this? |
Look here: ValveSoftware/Proton#6869 (comment) Last time I messed up with Nvidia drivers (not related to this issue), it took three hours of my life to reinstall them correctly... So I am still afraid of ANY stuff, related to Nvidia, Xorg, and all their almost INFINITE configs... If you use HP Pavilion laptop too, you also may bump into same problem. If you find solution how to set it correctly, please tell me. I found a forum, with the same problem, by typing my error in google, but still don't get how to fix it... I wrote a few scripts in Lua for Xfce, so using Wayland may become a bit more comfortable, but... Meh... Xfce is still xfce, and it's Wayland support is not very good: |
Software information
Any game with any settings.
System information
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.
The text was updated successfully, but these errors were encountered: