Page 1 of 1

No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 19 May 2019 07:37
by aitte
I noticed that I'm not seeing any change in the CPU load when I have the Video Output set to "Direct3D11 video output" and toggle between "Disable" and "Direct3D11 Video Acceleration" for Hardware Accelerated Decoding. That says to me that the Direct3D11 acceleration option isn't working. Test video uses codec "H264 - MPEG-4 AVC (part 10) (avc1)" and has 1080p.

If I keep "Direct3D11 video output" but change to "DirectX Video Acceleration (DXVA) 2.0" then I get reduced CPU load, but the filters (e.g. sharpen, geometry->rotate) stop working. If I switch to "Direct3D9 video output" keeping "DirectX Video Acceleration (DXVA) 2.0" then everything works - I have reduced cpu load and the filters work, but VLC crashes at the end of a video or upon transition between videos (already reported, sitting for more than a year with no action).

VLC 3.0.6, 64-bit, Windows 7 SP1 64-bit, fully patched, NVidia 1060 GTX, latest driver.

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 19 May 2019 10:27
by Lotesdelere
Please, post the Media Info of your file:
https://mediaarea.net/en/MediaInfo/Download/Windows

Open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com if it's too long.

Also please upload a short sample of a problematic file to Zippyshare.com (200 MB max) or to WeTransfer and then post the link to the file here.
http://www.zippyshare.com
https://wetransfer.com

If needed cut it with DGsplit and read here about how to do it:
http://forum.videolan.org/viewtopic.php?f=14&t=57724&p=193335#p193335
100 MB max should be enough.

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 19 May 2019 17:16
by aitte
Problematic file? I don't think there's anything special about the file. I tested many others I have, of differing origin and varying codecs, and I see the same issue for all of them. I never see any acceleration using the settings reported above - no difference between "Disable" and "Direct3D11 Video Acceleration",

A better question is do you have a video clip where you do see acceleration working with "Direct3D11 video output" and "Direct3D11 Video Acceleration"? Where if you set it to "Disable" the CPU load increases?

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 19 May 2019 18:55
by Lotesdelere
do you have a video clip where you do see acceleration working with "Direct3D11 video output" and "Direct3D11 Video Acceleration"?

Yes, I do. It works fine with almost all of the files I'm using on a regular basis.


if you set it to "Disable" the CPU load increases?

Yes, of course. That's the purpose of hardware acceleration.


That's why we need your full log, for checking what is happening on your system.
And there are many H.264 files. It could be 10 bits or 12 bits, 4:2:0 or 4:2:2 or 4:4:4, Level 4.x or Level 5.x, etc etc. That's why we need your file, for checking it on our machines.
Please, proceed as requested.

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 14 Apr 2020 04:09
by vikingyuan
I have the similar issue when playing TS(hevc) video when enabling DXVA 2.0 or Direct3D11. My VLC version is 3.0.8.

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 14 Apr 2020 04:30
by vikingyuan
I've uploaded the media file(https://www42.zippyshare.com/v/E8sfAN5T/file.html) to https://www.zippyshare.com/. I can't provide the log since the VLC was closed immediately right after starting the play this file.
My CPU is Intel i5-4200M@2.5G
GPU is Intel HD 4600

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 14 Apr 2020 10:21
by Lotesdelere
I can't provide the log since the VLC was closed immediately right after starting the play this file.

Run VLC using this command line:
vlc --extraintf=logger --verbose=2 --logfile=C:\vlc.log --logmode=text --file-logging

Make sure you have full write access on C: , otherwise use another destination folder.

Re: No Acceleration with "Direct3D11 video output" + "Direct3D11 Video Acceleration"?

Posted: 14 Apr 2020 11:19
by vikingyuan
Log has been posted at https://pastebin.com/dXvja0Ma.