D3D device being lost HUNG

Hi everyone,

I’m working on a project involving lighting and the DMX plugin. All was working perfectly fine until a week ago, every single time I start the application and activate a light ( even a single one, even though before the project run fine with more than 200), the demo freezes and after a few seconds later it throws the D3D device being lost error.

I know it must be something involved with a shader, because if I remove the beam material ( just unlink de node) the application runs smoothly. The weird thing, this is not even a material i made myself, it came within the DMX plugin, and before has worked fine.

I know there is a ton of information about this topic, but none of the solutions worked for me. I tried to deactivate antivirus, update nvidia drivers, install studio nvidia drivers, etc.

I will attach the crash log and some images to explain my self better.

This is the materiali was talking about earlier, if I unplug the nodes the application runs perfectly, no error, but if i keep it like this, it will crash. I know it has sin and cos but is not enough reason to crash with only one light using this material.

The error:
Captura1

And the error log:
MyDemo_2.log (78.4 KB)

Any help is much appreciated.

Kind regards,

Alejandro.

Hi sanchezgl,

Is there anything you did on your computer before it started doing this?

From the logs I see you’re running it at 2560x1920 which isn’t maxed out or anything - but it looks like there are also a lot of render targets at high resolutions - is it possible the gfx card is running out of memory and loosing the direct x 11 device?

Have you tried it with DirectX 12?

First of all , thnak you for the quick response!

Actually I use several render targets in order to do a multiple editor viewport like this:

The thing is the multiple window only is created when i press a certain button (up righ corner). Are the render targets in memory even if I’m not using them? That may be the problem.

Edit: I have tried to reduce the resolution of all render targets ( 450 x 175) and it still crashes. As I said before, if the light is not active all works fine, once the application has to render the light it crahses again.

I’m running the app with a Nvidia GeForce GTX 1660 Ti, I know it’s not the most powerful one, but it may be possible I’m running out of memory.

btw I haven’t tried it with DirectX 12.

Any updates? I’m still encountering this problem. I tried to isollate the problem creating a new default level ( no render targets, no UI, anything) just one light. It still crasesh, in best case scenario frames drop like crazy (Only GPU, game and draw thread are fine)

I’m starting to thing my GPU is broken, the light and all its shaders and materials are the ones provided by the DMX plugin , so I don’t think I have messed up on something.