Because you can create a Direct3D device without creating a swap chain, you might need to retrieve the factory that is used to create the device in order to create a swap chain.You can request the IDXGIDevice interface from the Direct3D device and then use the IDXGIObject::GetParent method to locatethe factory. The following code shows how.
To query the adapters from DXGI, we first need a DXGI factory object. This is done using the CreateDXGIFactory function. In this case we use CreateDXGIFactory2 in order to be able to create an IDXGIFactory4 and create it with the debug flag set. Previous versions of this function call had restrictions in this regard.
Note 1: Initial search results suggested taking the native C:\Windows\system32\dxgi.dll and copying it to the Fortnite Win64 folders. You can try this if you like, but when I did this the error continued and EasyAntiCheat would flash a notice about an untrusted system file (or some-such)
Note 2: I'm not sure that d3d11.dll is necessary, nor copying to the Engine subfolder. After I created dxgi.dll from Reshade per the instructions and tried to launch Fortnite, I got another entry point error for "D3D11CreateDevice" for that dll. After I made d3d11.dll the game would run; however, after successfully launching I tried to rename all the created DLLs (but dxgi.dll in the FortniteGame subfolder) and it would still run\_ (ツ)_/
Note 5: Again from results when I went searching, it may be possible that the dxgi.dll/d3d11.dll created in Step 6/7 can instead be placed in the root /Fortnite/ (not any Win64 subfolders) and still work. I did not try this myself, but it may be a simpler alternative to try
My plan was to have the render thread and the message thread run in parallel at full speed; the render thread would be drawing and presenting one frame while the message thread prepares the next. But - Direct2D factories have an internal lock that must be locked while accessing the factory or presenting the swap chain. That essentially makes the whole thing single-threaded.
Well, really if it helps to anyone... I had the same issue but with Gigabyte RTX 3080 Ti Gaming OC. I tried something: changing RAM, removing XMP profile. I launched several stress tests like AIDA64 and OCCT. All stress test passed fine for a couple of hours with GPU and CPU don't reaching higher temp. than 73 C. But the game was crashing like in 10 minutes after entering the mission. I solved it by downclocking the GPU. The thing is - factory OC for my RTX 3080 Ti was 1710 MHz in boost. I downclocked it to 1665 MHz (which is a base clock for 3080 Ti in boost) and now it works perfectly. On your side - if all other hardware-consuming games don't crash for you, I don't think this is a hardware issue. Please, check whether you have some factory OC using GPU-Z. Clocks for your GPU should be 1605 MHz and 1905 MHz in boost. If it is higher - downclock your GPU using MSI Afterburner. Hope it helps.
TonnyArno, I tried your suggestion and found that my GPU was actually overclocked from the factory. I'd never considered this possibility before, having never tinkered around with hardware tuning, and just assumed that so long as I didn't overclock anything, then it wasn't overclocked. Anyway, I turned down the clock speed using MSI Afterburner. I've only just done this, and flew for about half an hour without a CTD, but I'll report back after more thorough testing.
Hi, how did you manage to confirm your GPU was overclocked from factory? Using GPU-Z my "GPU Clock" and "Default Clock" are the same value. Haven't checked MSI Afterburner yet. I have the "THICC III Ultra" 5700XT.
The dxgi.dll error message could apply to any program or system that might utilize the file on any of Microsoft's operating systems including Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, and Windows 2000.
Do not download dxgi.dll from a DLL download site. There are many reasons why downloading a DLL file like that is a bad idea. If you need a copy of this file, it's best to obtain it from its original, legitimate source.
To be clear, all the data on the drive you have Windows installed on will be deleted during this step, so be sure to back up important files if you're able to. Obviously, make sure you've made every attempt possible to fix the dxgi.dll error using a troubleshooting step prior to this one before you take on a clean installation.
Hello TechiesI ran into a problem while trying to set up "From what I believe" is WireShark 40. 64 Bit.The popup notification goes like this. The procedure entry point CreateDXGIFactory2 could not be located in the dynamic link library dxgi.exe.I found this file in the system32 directory. Can anyone give me a hand in correcting this problem?J
f5d0e4f075