VLC Repeatedly Crashing when Starting or Stopping Play
I'm seeing a very reproducible crash when starting to play a video, stopping it with the stop button, or jumping to the next video in the playlist. (Doesn't crash inside the video.)
To reproduce, you need to set preferences as follows:
- select "Direct3D 9" video output and "DXVA 2.0" video acceleration
- Check the "sharpen" checkbox (Video Effects >> Essential >> Sharpen) and save it that way so VLC launches with it checked.
If you set those preferences, VLC will crash every time you start to play a video, or stop playing it, or go to the next video on a playlist - or at least just about every time.
I can supply the first 5 seconds of a video that reproduces it, if needed, but it happens with most any video so that's probably not needed.
As to changing the preferences, no that won't work for me because D3D9 + DXVA 2 is the only combination that offers video acceleration and support for the sharpen filter. If I select D3D11 or DirectX + DXVA 2 I get acceleration but none of the video effects work (sharpen, rotation, etc.). If I select "disable" on the video acceleration, then the video effects work again, but there's no acceleration.
Once you've used sharpen, you won't go back. Video looks horrible without it.
So, this is actually a report of multiple issues (i.e., the lack of video effects working with acceleration except for D3D9), but let's focus on the most critical issue for now - the crash.
BTW, the crash report says the crash is in D3D9.dll but I verified this DLL has the correct version. I've reproduced the issue on multiple machines, so it's definitely not just a messed up Windows installation. My gut says that this is probably the result of some effects buffer or stream, activated by sharpen or other effects being on, that isn't closed (or opened?) properly when the video is stopped (started).
Details:
OS: Windows 7 SP1 x64, fully patched
GPU: Nvidia 1060, Nvidia driver 397.31
VLC: 3.0.2 x64 Windows, tested latest 4.x x64 too