Page 1 of 1

Low FPS with recent x64 versions and H.265 12-bit videos

Posted: 15 Dec 2023 19:34
by mikeymikec
I've got several 1080p movies encoded by Handbrake in H.265 12-bit format that are problematic to view in recent versions of VLC x64; lots of skipped frames, I'd say I'm getting about 2FPS. No excessive CPU or GPU usage.

PC spec:

AMD 7800X3D
32GB RAM
Win11 64 23H2
AMD 6700 XT (latest driver)

I've tested several x86 versions from 3.0.0 to 3.0.20 and none have this problem. I then followed up with testing x64 versions, starting with prefs/cache deletion:

x64 vlc 3.0.20 not ok
x64 vlc 3.0.0 ok
x64 vlc 3.0.10 not ok
x64 vlc 3.0.5 ok
x64 vlc 3.0.6 ok
x64 vlc 3.0.7.1 not ok
x64 vlc 3.0.7 not ok

VLC in Linux Mint 21.x has no problem with the clips; I assume I have the latest version but I can check when I reboot back into Linux.

Re: Low FPS with recent x64 versions and H.265 12-bit videos

Posted: 16 Dec 2023 15:46
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com or on Justpaste.it if it's too long.

Also upload a short sample of your original problematic file to WeTransfer.com or Disroot.org and then post the link to the file here.
https://wetransfer.com
https://upload.disroot.org

Re: Low FPS with recent x64 versions and H.265 12-bit videos

Posted: 23 Dec 2023 10:05
by mikeymikec

Re: Low FPS with recent x64 versions and H.265 12-bit videos

Posted: 23 Dec 2023 16:07
by Lotesdelere
The video is HEVC 12 bits:

Code: Select all

Format : HEVC Width : 1 920 pixels Height : 802 pixels Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 0) Bit depth : 12 bits

And it looks like VLC is trying to use D3D9 before finally using D3D11:

Code: Select all

d3d11va debug: ATI WDDM driver 31.0.22023.1014 ... d3d11va warning: Unsupported bitdepth 12 for HEVC Main profile d3d11va warning: Unsupported bitdepth 12 for HEVC Main 10 profile d3d11va error: FindVideoServiceConversion failed main debug: no hw decoder modules matched ... dxva2 debug: Using Direct3D9 Extended API! dxva2 debug: D3D9 device caps 0x1BBEF0 / 0x71 dxva2 debug: Direct3d9 Device: AMD Radeon RX 6700 XT 1002 73df c5 ... direct3d11 debug: Using pixel format RGBA64 for chroma I0CL direct3d11 debug: Direct3D11 resources created direct3d11 debug: Direct3D11 device adapter successfully initialized direct3d11 debug: Direct3D11 Open Succeeded main debug: using vout display module "direct3d11" main debug: A filter to adapt decoder I0CL to display RGA4 is needed

You should create a new report ticket on the VLC issues tracker with your above report, the link to your sample file and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues

If possible, because of this:
https://forum.videolan.org/viewtopic.ph ... 27#p538427