Open LordSalahuddin opened 4 months ago
Try using the latest master build. Can be downloaded here https://github.com/doitsujin/dxvk/actions/runs/9838048395
Else i would try to downgrade the driver.
Edit: Also make sure Dozen isn't installed https://github.com/doitsujin/dxvk/wiki/Windows#dozen
Alright, checked for Dozen and nope, I don't have it installed (yaay!). Just tried the latest master build and got the same error in the Kenshi logs, the DXVK logs look the same basically, nothing has changed as far as I've seen. Anyways, time to downgrade drivers then, or wait until this gets fixed.
Have you tried any other D3D11 games with DXVK on your setup? This doesn't sound like something that would only break one single game.
Either way, Kenshi still works on Proton.
To answer your question , I have not. I don't really use DXVK for anything else. In fact I started using DXVK + Kenshi around December 2023 to fix a very annoying texture flickering bug that only seems to appear if the user has an AMD GPU (which is weird , but it seems to be related to the devs not having AMD GPUs to playtest their game) and yeah , it worked flawlessly ! So I really don't know what could be causing this issue , but I'm quite inclined to believe it's the drivers (or something related to that) , due to them being the only thing that has changed ever since I played Kenshi + DXVK in February.
Edit: Okay searching around I saw this: https://www.nexusmods.com/kenshi/mods/1294?tab=posts. There are recent comments , explaining something similar to the issue I'm having. - Just adding this as some additional info.
I tried installing 24.3.1 for my iGPU (rdna2) but am able to start the game fine.
I don't think it would do anything but you could try deleting shader cache in your Radeon settings.
Alright, I ended up testing 2 games using DXVK. Hearts of Iron 4: Instantly crashed at launch (DX11) - Log files are similar to Kenshi. Crusader Kings 3: Same as HOI4 (DX11) - Log files are similar to Kenshi. GTA San Andreas: Working (DX9).
Gonna try deleting the shader cache, if not I'll reinstall the drivers or something.
EDIT: Added CK3 and HOI4 logs. CK3 ck3_d3d11.log ck3_dxgi.log HOI4 hoi4_d3d11.log hoi4_dxgi.log
Alright deleted the shader cache, nothing changed. I DDU'd the current drivers and reinstalled them (clean-new download) and still nothing. Still getting the same logs.
Do you have HDR enabled or something? Might just be the AMD driver trying to do something with DXGI and loading ours or something, wouldn't be the first time that happened.
Nope, I don't have HDR enabled. Oh btw, added CK3 and HOI4 logs above, don't know if those will help.
Yeah, don't know what's going on, I don't think this is somerthing we can fix.
Ah, damn. I might just do what I said before and roll back to a previous driver version and see if that works, hopefully it does but again it's super weird that it isn't at this moment. Anyways, thanks a lot everyone for your help and time, I appreciate it a lot.
Okay I found something interesting (I hope). First of all, I ended up downgrading to 3 different versions, and still got the same error every single time (using different DXVK versions) After that I thought, "wait the event viewer should be throwing some indication about the issue that the app is having or why it is crashing". Checked it and found out that there's a module that is having an error when running the app (Kenshi): ntdll.dll Now I am gonna go scan my PC and see if that dll got f'ed or something.
Edit: Welp, just updated Windows, scanned for errors, fixed some of them (none related to this), and still nothing. Lol, I'm going insane over this.
Not just you, I can't launch any game with DXVK since a Windows and NVIDIA graphics driver update today, I was running these fine yesterday.
Edit: I restarted Windows and it seems to work fine, ignore me.
@LordSalahuddin What happens if you use a older release like 1.10.3
Mhmm, I'll try that and come back with the results.
Well, at least something changed, we got new errors.
Are you able to check in Windows Event Viewer if there are any interesting errors. Look under Custom Views and then Administrative Events. You can sort by time and double click on a event to get more information.
Yeah, I'm getting the same error I got yesterday:
Faulting application name: kenshi_x64.exe, version: 0.0.0.0, time stamp: 0x6602d59d
Faulting module name: ntdll.dll, version: 10.0.19041.4522, time stamp: 0x8a1bb6f3
Exception code: 0xc00000fd
Fault offset: 0x000000000002b866
Faulting process id: 0x970
Faulting application start time: 0x01dad2e165d45ceb
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Kenshi\kenshi_x64.exe
Faulting module path:: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 25bfa29d-fa82-473f-8274-3a4b28afa200
Faulting package full name:
Faulting package-relative application ID:
What i can gather a 0xc00000fd is a Stack Overflow Exception
Well, continued testing DXVK with other games, it seems I can't run DX11 games using DXVK. Tested MGSV GZ, MGSV TPP, and a couple of other games, to no avail. Something interesting that I found is that MGSV GZ and TPP threw some more info about the error and in the event viewer section I am getting: "Exception Code: 0xc0000005" and "Faulting Module: amdvlk64.dll_unloaded" (amdvlk64.dll). Don't know if that helps at all, hopefully it does.
MGSV TPP logs: mgsvtpp_d3d11.log mgsvtpp_dxgi.log
Well basically the game isn't launching at all while using DXVK. However, it used to work a couple of months ago, so I'm inclined to believe it might be related to my AMD drivers (which are up-to-date). I added Kenshi's logs as part of the log files, at the very end it's throwing me the following error: "OGRE EXCEPTION(80004005:RenderingAPIException): Failed to create Direct3D11 device in D3D11RenderSystem::D3D11RenderSystem at ......\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp (line 265)" Again, I would like to clarify that this is the first time something like this has happened, Kenshi used to work flawlessly using DXVK, so I really don't really know what happened. In any case, thanks!
Software information
Kenshi
System information
Apitrace file(s)
Log files
kenshi_x64_d3d11.log kenshi_x64_dxgi.log kenshi.log