LAVFilters icon indicating copy to clipboard operation
LAVFilters copied to clipboard

Video playback crashes when using "Copy back"

Open mr-berndt opened this issue 3 years ago • 7 comments

Hello there!

I have crashes when decoding in "Copy back" mode. I am using LAVFilters in combination with madVR under Kodi-DSPlayer and a NVIDIA GTX1080.

As Hardware decoder I set D3D11 and as Hardware device I select the NVIDIA GTX1080, which leads to Copy back. With this combination playback crashes randomly, sometimes right away, other times after 6 or so hours.

When using native mode (HW selection: "Automatic") I do not get any crashes.

I need copy back, since madVR is only able to detect black borders and crop accordingly in this mode.

To find out for sure, if the issue is caused by LAVFilters, I am looking for a way to run LAVFilter as kind of a standalone decoder. Is there such a possibility?

Further I'd like to know, if I have any way of generating LAVFilter-specific logfiles.

RAM, CPU and GPU are heavily stress-tested and passed each and every test, so I assume the hardware and Windows itself are stable. Windows and GPU-Drivers are all up to date, as well as my LAVFilter installation, which btw. is "external" from Kodi's point of view, set up with media rules which point to the LAVFilters installation.

Any help would be greatly appreciated!

mr-berndt avatar Apr 16 '21 16:04 mr-berndt

Double check that you have LAV version 0.75, which was released two weeks ago.

Test if it also happens with DXVA2 copyback. There is no benefit in using D3D11 if you use copyback mode.

clsid2 avatar Apr 16 '21 17:04 clsid2

I just updated to 0.75 recently, the problem didn't go away.

I need D3D11 Copyback, because Kodi crashes all of the time, when I use DXVA Copy-back with madVR 3DLUTs. No chance for me to resolve this, I tried..

mr-berndt avatar Apr 16 '21 23:04 mr-berndt

You need to look in the Windows Event Viewer. You should be able to find some details about the crashes there. Look at the crashing module. That is component in which the crash occurred. If that points to for example the graphics driver, then it is unlikely that the bug is caused by LAVFilters.

clsid2 avatar Apr 16 '21 23:04 clsid2

OK. Besides, do I have any way to test LAVFilters standalone? I come from the Linux world. There I would simply run e. g. ffmpeg file.mkv -o /dev/null or something. Anything similar I could build in this case under Windows?

mr-berndt avatar Apr 17 '21 10:04 mr-berndt

Not possible. It needs a player and a video renderer to test hardware decoding.

clsid2 avatar Apr 17 '21 11:04 clsid2

Maybe this can give more info: https://bluesky-soft.com/en/DXVAChecker.html

ale5000-git avatar Apr 17 '21 13:04 ale5000-git

You can test directshow filters using graphstudionext. Trying different source and renderer filters.

elwongest avatar May 14 '21 03:05 elwongest