Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] Witcher 3 crashes on startup.

Witcher 3 crashes on startup. 1 year 6 months ago #1

Been using 18.4 with sweetfx since the game came out perfectly fine and dandy. Go to open the game today and the game wont even start. dxgi.log is below:

Warning: Spoiler! [ Click to expand ]


Witcher crash file:

Warning: Spoiler! [ Click to expand ]


I've tried reinstalling reshade and killing any overlay programs to no avail. It looks like any new dxgi.dll files I add are a different file size to the original (which is 975KB, new is 580KB) also the log file for that "original" dxgi.dll does not update (indicating that it is in fact the vanilla dll and not the reshade version).

Game works fine with the vanilla dxgi.dll btw.
Any ideas?
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
First of all: What does the vanilla dxgi.dll do in your game directory?

Anyway, try to install ReShade as d3d11.dll.
Cheers, crosire =)
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #3

Ok so the problem was I was trying to re-copy Reshade64.dll as dxgi.dll instead of d3d11.dll.

This needs to be more clearly explained in the ReadMe. I think it might actually be a typo?
Figure out which  API the game uses for rendering, or any of the following DLL
names the game loads and rename the DLL you just copied to that:
- Direct3D8 => d3d8.dll
- Direct3D9[Ex] => d3d9.dll
- Direct3D10.X => dxgi.dll
- Direct3D11.X => dxgi.dll<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<d3d11.dll????
- OpenGL => opengl32.dll (for 64bit too)


Still not sure what caused it to stop working in the first place but it now seems to work fine.
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
No, that's no typo. You would normally use dxgi.dll. d3d11.dll only works in certain cases if the game didn't link the library statically.
Cheers, crosire =)
Last Edit: 1 year 6 months ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: DijiGo

Witcher 3 crashes on startup. 1 year 6 months ago #5

crosire wrote:
No, that's no typo. You would normally use dxgi.dll. d3d11.dll only works in certain cases if the game didn't like the library statically.

Hi Crosire,

Unfortunately, the game now has it's own d3d11.dll as well, so can't overwrite that either I would think.

Any other solution, or am I missing something?

thanks, love your work. =)

Edit - p.s. these new files came down with a mini update that was included with the last 2 DLC packages, and the game state can't be reverted, I tried.
Last Edit: 1 year 6 months ago by DijiGo.
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #6

  • kanuuna
  • kanuuna's Avatar
  • Offline
  • Posts: 5
  • Thank you received: 2
Piling up on this issue doesn't really fix it, but I thought I'd drop that I also ran into this. I tried replacing and renaming things, but nothing I tried would work.

EDIT: Nevermind; something was messed up on my end. Verifying some files and replacing the d3d11.dll did the trick.
Last Edit: 1 year 6 months ago by kanuuna.
The administrator has disabled public write access.
The following user(s) said Thank You: DijiGo

Witcher 3 crashes on startup. 1 year 6 months ago #7

Well thanks to both of you, replacing the d3d11.dll worked!
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #8

I can confirm that today's update added a d3d11.dll in the game's folder, effectively preventing Reshade from loading.

Deleting this new .dll actually fixes Reshade and the game seems to run fine, so... I don't know.

On a side note: The Fallout 4 trailer is out!!! youtu.be/Lnn2rJpjar4
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #9

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
Went ahead and installed the 6 DLCs and patch 1.04. There was no dxgi.dll or d3d11.dll added to my game ...
Could somebody compare those new DLLs in his game directory with the ones in the Windows system32 folder?
Cheers, crosire =)
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #10

  • Martigen
  • Martigen's Avatar
  • Offline
  • Posts: 147
  • Thank you received: 35
crosire wrote:
Went ahead and installed the 6 DLCs and patch 1.04. There was no dxgi.dll or d3d11.dll added to my game ...
Could somebody compare those new DLLs in his game directory with the ones in the Windows system32 folder?




From left to right: system32/, syswow64/, witcher3

And the dlls: download

Edit: On the 'patch', the main complaint seems to come from GOG users. These files came down in a separate download from patch 1.04 and the 2 new DLCs today. I'm using GOG and received these.
Last Edit: 1 year 6 months ago by Martigen.
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #11

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
I have the GOG version too. But: Analyzed those and it looks like they are part of the GOG Galaxy Overlay (which would explain why I don't get those, because I'm not using it, installed the patches manually).
Cheers, crosire =)
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #12

  • Martigen
  • Martigen's Avatar
  • Offline
  • Posts: 147
  • Thank you received: 35
crosire wrote:
I have the GOG version too. But: Analyzed those and it looks like they are part of the GOG Galaxy Overlay (which would explain why I don't get those, because I'm not using it, installed the patches manually).
Ah that makes sense, forgot Galaxy's dlls were in there too. So, enlighten the less programmatically inclined (aka, me!) -- If these are just more functions for Galaxy, why call them a directx dll name? I'm guessing this might be a step towards their own in-game overlay. But then next question, how does the game know to ignore these and load the proper directx dlls?
The administrator has disabled public write access.

Witcher 3 crashes on startup. 1 year 6 months ago #13

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
While Steam injects its overlay DLL into the game process manually once started, GOG Galaxy makes the game load the overlay through those proxy DLLs, same way ReShade is loaded. They proxy DLLs itself then load the real Direct3D DLLs and forward all calls to them. I don't use GOG Galaxy as mentioned, so can't say what their overlay looks like, how it works or why they use two DLLs instead of just one, but the basic concept is the same.
Cheers, crosire =)
The administrator has disabled public write access.

[SOLVED] Witcher 3 crashes on startup. 1 year 6 months ago #14

  • SunBroDave
  • SunBroDave's Avatar
  • Offline
  • Posts: 202
  • Thank you received: 174
Witcher 3 crashing on launch with 0.18.6, and I'm not using MSI Afterburner, RTSS or other overlays.

EDIT: After trying with 18.6, now its crashing with 18.4. And without 18.4. Wut.

EDIT 2: Did an update to TW3 add a dxgi.dll to the directory? Any changes to that crashes the game on start, obviously. Yet the game also already has a d3d11.dll. Crosire, what were you using to hook into the game?

I suppose this post should now be moved to the Troubleshooting section since it appears to be a Witcher-side problem, not with this version of ReShade.
Last Edit: 1 year 6 months ago by SunBroDave.
The administrator has disabled public write access.

[SOLVED] Witcher 3 crashes on startup. 1 year 6 months ago #15

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
SunBroDave wrote:
EDIT 2: Did an update to TW3 add a dxgi.dll to the directory? Any changes to that crashes the game on start, obviously. Yet the game also already has a d3d11.dll. Crosire, what were you using to hook into the game?
Option A: Don't use GOG Galaxy. =P (That's where the d3d11.dll and dxgi.dll in the WItcher 3 directory come from)
Option B: Install ReShade as d3d9.dll.
Cheers, crosire =)
Last Edit: 1 year 6 months ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: SunBroDave, Geralt007

[SOLVED] Witcher 3 crashes on startup. 1 year 6 months ago #16

  • MonarchX
  • MonarchX's Avatar
  • Offline
  • Posts: 210
  • Thank you received: 15
Would using ReShade64.dll as D3D9.dll still have the same effect as using DXGI.dll or D3D11.dll???
The administrator has disabled public write access.

[SOLVED] Witcher 3 crashes on startup. 1 year 6 months ago #17

  • SunBroDave
  • SunBroDave's Avatar
  • Offline
  • Posts: 202
  • Thank you received: 174
Yeah renaming it to d3d9.dll works perfectly fine
Last Edit: 1 year 6 months ago by SunBroDave.
The administrator has disabled public write access.

[SOLVED] Witcher 3 crashes on startup. 1 year 6 months ago #18

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1391
The game loads d3d9.dll (even though it renders with Direct3D 11) and that's all that matters for ReShade to work =).
Cheers, crosire =)
The administrator has disabled public write access.