When the setting for output module of D3D11 is set to : Super Resolution and play any video file at fulscreen after some minutes VLC is increasing to max memory usage until it crash.
Using VLC latest Nightly version for 3.0.19
OS : Windows 11
GPU : RTX 3060 SVR : 4
RAM : 24 GB
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Linked items
0
Link issues together to show that they're related.
Learn more.
This does not happen with the VideoProcessor output which uses the same code path as the Super Resolution output. It might be a problem in the driver when the GPU load is too much (I get some device disconnection when resizing a lot, the GPU being using close to 50% of resources).
The GPU starts leaking memory. At some point it maxes out the memory usage and starts leaking CPU memory (!).
If you go into fullscreen instead of maximizing the window, it doesn't leak. On our side we call exactly the same thing between the 2 behaviours. Only the dimensions are slightly different between the two.
When the leak happens there's also a crash in nvwgf2umx.dll when releasing the ID3D11Device. It is the last D3D11 object we hold at that point. Everything else being NVIDIA's internal data.
it ends up dropping data which might be where the leaks happen
About those, it happens after the ram goes to 100% and break the video images, not before
you're using 3158 drivers while I'm on 3141 :
yeah, but I retried today with 3179 drivers and 09.05.23 nightly build, the same file and advanced the video towards the end, when the memory becoming to increase more than 5GB :
Log : 3-VLC_RTX.log
Video : https://we.tl/t-Ns1qmhRDeZ
It happens with all type of video files, the main video file that use to test is on SSD, but I already tried with another from a USB drive or Hard Drive: avi, mkv. but it remains the same.
Mostly it happens when the window are bigger, just one time not a lot, in my side and when the VLC memory usage is superior to 250 MB, then it start to double untill 100% of usage and then dropped for the vlc.exe process back to approximately 90 MB without clearing memory and then break the video because there's no free memory to use, but nothing happen the sound it's perfect even the video breaks.
With the nightly build set to VideoProcessor there's no memory leak or memory biggest increase. But I don't see any difference in the quality or any kind of upscaling, not like SuperResolution setting, here the log :4-VLC_RTX.log
In other side with the special RTX build when d3d11 is set to VideoProcessor there's an upscaling and quality increase : VLC_Special_RTX_Build-2.log
The values seem legit though, they do produce the proper result and give no issue with the basic VideoProcessor. That sounds like an issue with the NVIDIA drivers that fills the buffer in the right place but leaks when doing that...
I can no longer reproduce the issue with NVIDIA drivers 531.79 and Win10 19045.3208. According to NVIDIA they fully fixed it with drivers 535.98 from 2023/05/30.