Video memory has been exhausted

hi @hale326 , @Shabayek841,
I went back to 4.27 and made a blank project (two chairs).
In the project setting,>Platform->Windows set the Default RHI to Directx 12 in 4.27 settings.
Save all and Exit 4.27.
Open UE5.0 and import the 4.27 blank project. All the Shaders are now built with Directx DX12.

When the UE Editor opens for less than a second the Video memory exhausted message appeared then disappeared. Leaving Sky shaders to be built.

I went into content manager and filtered for Static Mesh. Control +A to select all the Selected Nanite → Enable as a batch Nanite Mesh build.
Click the green start arrow and typed Stat FPS command in Console Box and I got over 70 frames per second.

This worked fine. I enable Lumen with Nanite I get a Video memory exhausted message that appeared 6GB over budget!.
Finally removed Lumen=none and the Video memory exhausted message went away, which explains where we are with graphics cards with 2GB memory. I have an Nvidia GTX 1050.

So it would seem that importing the Directx DX12 project from 4.27 works and you can enable Nanite as it’s running DX12 even though the message shows, that you are around over budget by 0.25GB, looking at Windows Task manager there running at 1.6GB of 2.0GB, but a native 5.0 project gives video memory exhausted message because on a native 5.0 built project with DX12 Lumen is enabled in high definition.
Turn off Lumen and the project runs with Nanite at 60 to 70 FPS.

2 Likes