HEVC 10 bit ON NEW DRIVER OF NVIDIA 1070 FOR UBUNTU LINUX

Hi
I’m glad to joint to your group to improve my knowledge.

I install ubuntu 16.04 LTS, after upgrade ubuntu, I install the latest driver of GTX 1070, everything was ok.
When I want to run HEVC (X265) movies by MPV, It can’t run it by HardWare Accelerator, only it can handle X264 movies by H/W Accelerator.
What’s the problem. It’s depend on software? or something else. I try another driver like 367.35 but the results was the same.We know that this card can support HEVC on windows.
System spec:
VGA Strix GTX 1070
Ram 16 trident Z DDR 3200
MAINBOARD Asus maximus viii ranger
Any help appreciated.
This is the output of vdpauinfo ~ vdpauinfo
display: :0 screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library 370.28 Thu Sep 1 19:18:08 PDT 2016

Video surface:

name width height types
—---------------------------------------—
420 8192 8192 NV12 YV12
422 8192 8192 UYVY YUYV

Decoder capabilities:

name level macbs width height
—------------------------------------------------—
MPEG1 0 65536 4096 4096
MPEG2_SIMPLE 3 65536 4096 4096
MPEG2_MAIN 3 65536 4096 4096
H264_BASELINE 41 65536 4096 4096
H264_MAIN 41 65536 4096 4096
H264_HIGH 41 65536 4096 4096
VC1_SIMPLE 1 8190 2048 2048
VC1_MAIN 2 8190 2048 2048
VC1_ADVANCED 4 8190 2048 2048
MPEG4_PART2_SP 3 8192 2048 2048
MPEG4_PART2_ASP 5 8192 2048 2048
DIVX4_QMOBILE 0 8192 2048 2048
DIVX4_MOBILE 0 8192 2048 2048
DIVX4_HOME_THEATER 0 8192 2048 2048
DIVX4_HD_1080P 0 8192 2048 2048
DIVX5_QMOBILE 0 8192 2048 2048
DIVX5_MOBILE 0 8192 2048 2048
DIVX5_HOME_THEATER 0 8192 2048 2048
DIVX5_HD_1080P 0 8192 2048 2048
H264_CONSTRAINED_BASELINE 41 65536 4096 4096
H264_EXTENDED 41 65536 4096 4096
H264_PROGRESSIVE_HIGH 41 65536 4096 4096
H264_CONSTRAINED_HIGH 41 65536 4096 4096
H264_HIGH_444_PREDICTIVE 41 65536 4096 4096
HEVC_MAIN 153 262144 8192 8192
HEVC_MAIN_10 —- not supported —-
HEVC_MAIN_STILL —- not supported —-
HEVC_MAIN_12 —- not supported —-
HEVC_MAIN_444 —- not supported —-

Output surface:

name width height nat types
—------------------------------------------------—
B8G8R8A8 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8

Bitmap surface:

name width height
—----------------------------
B8G8R8A8 32768 32768
R8G8B8A8 32768 32768
R10G10B10A2 32768 32768
B10G10R10A2 32768 32768
A8 32768 32768

Video mixer:

feature name sup
—----------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL y
INVERSE_TELECINE y
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 y
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -

parameter name sup min max
—---------------------------------------------------
VIDEO_SURFACE_WIDTH y 1 8192
VIDEO_SURFACE_HEIGHT y 1 8192
CHROMA_TYPE y
LAYERS y 0 4

attribute name sup min max
—---------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y

This is result of playing HEVC 10 bit:
mpv —hwdec=vdpau —vo=vdpau 4k2.m3u
Playing: 4k2.m3u

Playing: http://192.168.1.7:8001/1:0:1:1F5:1964:13E:820000:0:0:0:

[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/audio] aac: Sample rate index in program config element does not match the sample rate index configured by the container.
[ffmpeg/audio] aac: decode_pce: Input buffer exhausted before END element found
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0

Reza Afsharian:
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Error parsing NAL unit #2.
(+) Video —vid=1 (hevc)
(+) Audio —aid=1 —alang=und (aac)
[ffmpeg/audio] aac: Sample rate index in program config element does not match the sample rate index configured by the container.
[ffmpeg/audio] aac: decode_pce: Input buffer exhausted before END element found
Error decoding audio.
AO: [pulse] 48000Hz stereo 2ch float
[ffmpeg/video] hevc: Could not find ref with POC -16
Using software decoding.
Using conversion filter.
VO: [vdpau] 3840x2160 yuv420p
[vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
AV: 00:00:59 A-V: 0.000 Cache: 0s+0KB
Invalid audio PTS: 59.285333 -> 95301.893689
[ffmpeg/video] hevc: Could not find ref with POC 5
[ffmpeg/video] hevc: Could not find ref with POC 4
[ffmpeg/video] hevc: Could not find ref with POC 0
AV: 26:28:22 A-V: 0.000 Cache: 0s+0KB
[ffmpeg/video] hevc: The cu_qp_delta 37 is outside the valid range [-32, 31].
AV: 26:28:37 A-V: 0.000 Cache: 0s+0KB
[ffmpeg/demuxer] mpegts: PES packet size mismatch