Choppy 4k playback on VLC 3.0.2 on Vega

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Choppy 4k playback on VLC 3.0.2 on Vega

Postby Nima304 » 12 May 2018 22:02

Hey everyone,

This is a continuation from this thread: https://forum.videolan.org/viewtopic.ph ... 80#p470180

I am now on VLC 3.0.2, have updated my GPU drivers to the latest version (18.4.1), have tried setting my video output and input/codecs setting to D3D11, have tried disabling hardware acceleration, all while setting VLC to realtime priority through Task Manager, all to no avail. I've also tried pausing the playback for a few minutes in case it was a buffering issue, but the choppy playback continues regardless. The videos I'm trying to play are all x265 HVEC 10-bit at 2160p. My computer has no problems playing these using other video players like PotPlayer, so the issue is definitely with VLC. Any help would be appreciated.

Here are my specs:
CPU: 2xXeon E5-2667v4
RAM: 256GBs DDR4-2400
GPU: RX Vega 64 LC
Hard drive where video files are located: Samsung 850 PRO 2TB
OS: Windows 7 Ultimate x64

Here are the logs when trying to play one of these video files (this is with video output and input/codecs set to D3D11, verbosity set to 1, and vlc.exe set to realtime priority):
main error: module not functional
main error: failed to create audio output
main error: module not functional
main error: failed to create audio output
freetype warning: DirectWrite initialization failed. Falling back to GDI/Uniscribe
direct3d11 warning: 10 bits swapchain failed, try 8 bits
direct3d11 warning: could not get a IDXGISwapChain3
direct3d11 error: Failed to allocate the staging texture
direct3d11 error: Failed to allocate format resources
direct3d11 error: Direct3D11 could not be opened
direct3d11 error: SetThumbNailClip failed: 0x800706f4
main error: video output creation failed
main error: failed to create video output
freetype warning: DirectWrite initialization failed. Falling back to GDI/Uniscribe
direct3d11 warning: could not get a IDXGISwapChain3
chain error: Too high level of recursion (3)
main error: Failed to create video converter
freetype warning: DirectWrite initialization failed. Falling back to GDI/Uniscribe
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 warning: could not get a IDXGISwapChain3
avcodec warning: plane 0 not aligned: disabling direct rendering
main error: buffer deadlock prevented
main warning: picture is too late to be displayed (missing 299 ms)
main warning: picture is too late to be displayed (missing 283 ms)
main warning: picture is too late to be displayed (missing 246 ms)
main warning: picture is too late to be displayed (missing 433 ms)
main warning: picture is too late to be displayed (missing 400 ms)
main warning: picture is too late to be displayed (missing 368 ms)
main warning: picture is too late to be displayed (missing 335 ms)
main warning: picture is too late to be displayed (missing 299 ms)
main warning: picture is too late to be displayed (missing 296 ms)
main warning: picture is too late to be displayed (missing 265 ms)
avcodec warning: More than 11 late frames, dropping frame
main warning: picture is too late to be displayed (missing 231 ms)
avcodec warning: More than 11 late frames, dropping frame
main warning: picture is too late to be displayed (missing 196 ms)
avcodec warning: More than 11 late frames, dropping frame
main warning: picture is too late to be displayed (missing 161 ms)
avcodec warning: More than 11 late frames, dropping frame
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 96 ms)
avcodec warning: More than 11 late frames, dropping frame
main warning: picture is too late to be displayed (missing 30 ms)
Picture is too late to be displayed errors continue indefinitely.

User avatar
InTheWings
Developer
Developer
Posts: 1273
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Choppy 4k playback on VLC 3.0.2

Postby InTheWings » 14 May 2018 12:23

that's not full logs.
the useful stuff is not there
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 15 May 2018 17:00

Here is the same test with verbosity 2:

https://pastebin.com/5beHHnnm

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 24 May 2018 02:38

Bumping in hopes of a reply.

User avatar
InTheWings
Developer
Developer
Posts: 1273
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Choppy 4k playback on VLC 3.0.2

Postby InTheWings » 24 May 2018 08:35

main debug: looking for hw decoder module matching "d3d11va": 2 candidates
main debug: no hw decoder modules matched
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 03 Jun 2018 11:12

main debug: looking for hw decoder module matching "d3d11va": 2 candidates
main debug: no hw decoder modules matched
Right, so that looks like a bug, since it's looking for d3d11 modules and can't find any. The same issues occur with hardware acceleration disabled and set to auto. I've also tested with VLC 3.0.3 x64 and the same issue occurs.

robUx4
Developer
Developer
Posts: 254
Joined: 31 Jan 2005 13:50
VLC version: master
Operating System: Windows
Contact:

Re: Choppy 4k playback on VLC 3.0.2

Postby robUx4 » 05 Jun 2018 13:30

This might be due to a profile not supported by the GPU. Can you provide the file or at least the beginning of it ? Or alternatively the logs from MediaInfo ?

Or the result of DXVA Checker. It seems your GPU is using outdated drivers.

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 05 Jun 2018 16:10

This might be due to a profile not supported by the GPU. Can you provide the file or at least the beginning of it ? Or alternatively the logs from MediaInfo ?

Or the result of DXVA Checker. It seems your GPU is using outdated drivers.
The file is 54GBs so I can't really upload it anywhere, nor do I know how to cut it up and only upload the beginning of it. Here are the logs from MediaInfo:

Image

Not sure exactly what you want from DXVA Checker, so here's the decoder device page, let me know if you want anything else.

Image

As for drivers, I'm running relatively up-to-date. What I have installed is 18.4.1, with 18.5.2 being the latest version, but looking at the patch notes, those updates shouldn't have anything to do with decoding or playback. Given that PotPlayer can play this media file (as well as the rest of my 4k HEVC 10-bit files) just fine, it seems to be an issue with VLC, at least with its support of RX Vega GPUs. AMD has supported HEVC/H.265 up to 4k at 8 or 10-bit colour since the Radeon 400 series, according to this Wikipedia entry:

https://en.wikipedia.org/wiki/Unified_V ... oder#UVD_7

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 14 Jun 2018 06:10

Bump. I've updated my GPU drivers to 18.5.2 with no change.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Choppy 4k playback on VLC 3.0.2

Postby Jean-Baptiste Kempf » 17 Jun 2018 23:50

Reset your preferences totally.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 19 Jun 2018 09:40

Reset your preferences totally.
No change at all.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Choppy 4k playback on VLC 3.0.2

Postby Jean-Baptiste Kempf » 19 Jun 2018 09:56

Can you reupload new logs?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2

Postby Nima304 » 19 Jun 2018 10:59

Can you reupload new logs?
Here you go:

https://pastebin.com/2iskCvh2

robUx4
Developer
Developer
Posts: 254
Joined: 31 Jan 2005 13:50
VLC version: master
Operating System: Windows
Contact:

Re: Choppy 4k playback on VLC 3.0.2 on Vega

Postby robUx4 » 19 Jun 2018 11:17

Can you try using only one thread for the ffmpeg codec ? In the advanced preferences > Input /Codecs > Video codecs > FFmpeg > Threads : 1 instead of 0

Nima304
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Mar 2018 17:30

Re: Choppy 4k playback on VLC 3.0.2 on Vega

Postby Nima304 » 20 Jun 2018 12:15

Can you try using only one thread for the ffmpeg codec ? In the advanced preferences > Input /Codecs > Video codecs > FFmpeg > Threads : 1 instead of 0
That actually helped a lot. I still get the "picture is too late to be displayed" message (especially at the beginning, but after the initial burst I fullscreened it, and they really slowed down), but it's a lot less frequent, and the video is actually watchable. New logs below.

https://pastebin.com/fqMdcB3f


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests