Forum Discussion

trendystyle's avatar
trendystyle
Seasoned Newcomer
7 months ago

Veilguard graphic card issue

Hello,

I just purchased Veilguard on steam, once I downloaded it, I click play and when the game windows open it return this error:

DirectX function
"m_renderer-> createSwapChain(&swapChainDesc,
&fullscreenDesc, m_hWnd, &m_swapChain.assignGet0)" failed
with DXGI_ERROR_DEVICE_REMOVED ("The video card has
been physically removed from the system, or a driver upgrade
for the video card has occurred. "). GPU: "NVIDIA GeForce RTX
4060 Laptop GPU", Driver: 56636. This error is usually caused
by the graphics driver crashing; try installing the latest
drivers.DeviceRemovedReason; S_OK ("No error occurred.").
GPUBreadcrumbs.

The driver is updated and the selected card to play it is Nvidia Rtx4060

Could someone help me please?


[EA_Garrus]: Moved from IT to EN forums. Please post in the correct language forums as per our rules.

5 Replies

  • @trendystyle 

    • Follow this manual to the letter to cleanly uninstall all NVIDIA components.
    • Install the graphics driver > Go online.
    • Test.

    If that don't helps, create a DxDiag in text file format and post it with your next reply. You can do that with the "Choose file" button at the bottom right corner of the reply window. 

  • Iolair's avatar
    Iolair
    7 months ago

    Hej @holger1405 , I stumbled over this post since I have the same issue. Actually just recently got my Laptop back from repair so it was set up completely as new, nothing besides 3 games installed currently, drivers were all up to date. Still, I got this error ever since installing the game from the get go, used to happen between 15-30min. 

    I followed your guide step by step, restarted game and error popped up right away within 5 minutes . DxDiag is attached,maybe you have some ideas since I'm out of them at this point. Thank you in advance 🙂

  • holger1405's avatar
    holger1405
    Hero+
    7 months ago

    @Iolair 

    The error is not new in frostbit games, the problem is that it is very hard to pinpoint the actual cause.

    If clean installing the driver is not helping you can try to enhance the windows swap file (pagefile.sys) to a fixed value.

    Set your page file to double your physical RAM. (Set it to your fastest hard drive.)

    If the Card is overclocked, (including factory side overclocking) set it to base clocks.

    If it is at base clocks, under-clock it slightly.

    Set the games graphic settings down.

  • sweetpoison0011's avatar
    sweetpoison0011
    Seasoned Ace
    7 months ago

    Overclock is a major source of instability no matter what any "expert" says.

    DDU does a good job on removing the drivers but I'm not sure about cleaning the cache as well. For whatever counts, I prefer to do this my hand, sort off. For that I made a few .bat files to be run every time a new video driver is installed, when the game gets updated or just as maintenance to periodically clean the rubbish from storage drive.

    For nvidia card the .bat file looks like this:

    @echo off
    pushd %temp%
    
    if not exist %userprofile%\AppData\LocalLow\NVIDIA\PerDriverVersion\DXCache\ (goto _step2)
    pushd %userprofile%\AppData\LocalLow\NVIDIA\PerDriverVersion\DXCache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    :_step2
    if not exist %userprofile%\AppData\Local\cache\ (goto _step3)
    pushd %userprofile%\AppData\Local\cache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    :_step3
    if not exist %userprofile%\AppData\Local\D3DSCache\ (goto _step4)
    pushd %userprofile%\AppData\Local\D3DSCache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    :_step4
    if not exist %userprofile%\AppData\Local\NVIDIA\ (goto _step5)
    pushd %userprofile%\AppData\Local\NVIDIA\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    :_step5
    if not exist %userprofile%\AppData\Roaming\NVIDIA\ComputeCache\ (goto:EOF)
    pushd %userprofile%\AppData\Roaming\NVIDIA\ComputeCache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd

    Separate, I use another one for cleaning the temporary files:

    @echo off
    
    if not exist %Temp% (goto:EOF)
    pushd %temp%
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    if not exist c:\windows\temp\ (goto:EOF)
    pushd c:\windows\temp\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd

    In safety side, the worse case scenario is to have nothing happening based on different or missing locations.

    Another aspect for nvidia cards, in control panel specify a fixed size for cache storage (not automatically) like 5gb or higher.

    If you care about the integrated video card, this bat is for intel cache:

    @echo off
    pushd %temp%
    
    if not exist %userprofile%\AppData\LocalLow\Intel\ShaderCache\ (goto _step2)
    pushd %userprofile%\AppData\LocalLow\Intel\ShaderCache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    :step2
    if not exist %userprofile%\AppData\Local\cache\ (goto _step3)
    pushd %userprofile%\AppData\Local\cache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
    
    :step3
    if not exist %userprofile%\AppData\Local\D3DSCache\ (goto:EOF)
    pushd %userprofile%\AppData\Local\D3DSCache\
    for /d %%D in (*) do rd /s /q "%%D"
    del /f /q *
    popd
  • EA_Shepard's avatar
    EA_Shepard
    Icon for Community Manager rankCommunity Manager
    7 months ago

    @Iolair Hey there!

    Just following up to see how things are going. Are you still running into any issues? Let us know if you need any assistance.

    Thanks!

About Dragon Age The Veilguard General Discussion

Enter the world of Thedas, and join us in the community forums to talk about your experiences in Dragon Age: The Veilguard431 PostsLatest Activity: 2 days ago