no harware decode hevc whith 1060 - vdpau

Asked by lucmontagne

Hi,

I installed nvidia-367 last week. All was fine.
Yesterday I have some update, may be because of release 370 and now, mpv/vdpau doesn't want to use the hardware decoding for hevc.
I tried with ffmpeg (-hwaccel vdpau) : the same. Whith "nvidia-smi dmon -i 0", no doubt about that.

I tried with the new nvidia-370 but no result for HW decoding HEVC for videos n main profile.

The hardware encoding with ffmpeg and hevc_nven works fine. I can encode with hw but not decode !!

> Stream #0:0(eng): Video: hevc (Main 10), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
MPV out:
vd] Codec list:
[vd] lavc:hevc - HEVC (High Efficiency Video Coding)
[vd] Opening video decoder lavc:hevc
[vd] Probing 'vdpau'...
[vd] Trying hardware decoding.
[vd] Selected video codec: HEVC (High Efficiency Video Coding) [lavc:hevc]
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
[vd] Codec profile: Main 10 (0x2)
[vd] Pixel formats supported by decoder: vaapi_vld yuv420p
[vd] Codec profile: Main 10 (0x2)
[vd] Falling back to software decoding.
[vd] Detected 4 logical cores.
[vd] Requesting 5 threads for decoding.
AO: [pulse] 48000Hz 5.1(side) 6ch float
Using software decoding.

Ubuntu 16.04 / 370.28 / GeForce GTX 1060 3GB

Regards

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nvidia-graphics-drivers-367 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
lucmontagne (lucmontagne) said :
#1

PS: Now, the problem is the same with 367.44 or 370.28.
It was fine from the first install of 367 (and my new card) until 1/2 days ago.
(meanwhile I reencode most of my videos in hevc... and my cheap CPU is not a big fan of sowftware decoding)

Revision history for this message
lucmontagne (lucmontagne) said :
#2

$ dpkg -l |egrep "vdpau|nvidia|cuda|mpv|linux-generic" |grep ii
ii libcuda1-370 370.28-0ubuntu0~gpu16.04.1 amd64 NVIDIA CUDA runtime library
ii libvdpau-dev:amd64 1.1.1-3ubuntu1 amd64 Video Decode and Presentation API for Unix (development files)
ii libvdpau1:amd64 1.1.1-3ubuntu1 amd64 Video Decode and Presentation API for Unix (libraries)
ii linux-generic 4.4.0.38.40 amd64 Complete Generic Linux kernel and headers
ii mpv 2:0.19.0+git~xenial amd64 mplayer/mplayer2 based video player
ii nvidia-370 370.28-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 370.28
ii nvidia-opencl-icd-370 370.28-0ubuntu0~gpu16.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 370.28-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii vdpauinfo 1.0-1 amd64 Video Decode and Presentation API for Unix (vdpauinfo utility)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

I suggest you report a bug

Revision history for this message
lucmontagne (lucmontagne) said :
#4

> I suggest you report a bug
Did it just few minutes ago '#1621776)

Revision history for this message
lucmontagne (lucmontagne) said :
#5

I see better:

It is worker with profile main but don't with Main 10 :

==> Don't work

> Stream #0:0(eng): Video: hevc (Main 10), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
MPV out:
vd] Codec list:
[vd] lavc:hevc - HEVC (High Efficiency Video Coding)
[vd] Opening video decoder lavc:hevc
[vd] Probing 'vdpau'...
[vd] Trying hardware decoding.
[vd] Selected video codec: HEVC (High Efficiency Video Coding) [lavc:hevc]
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
[vd] Codec profile: Main 10 (0x2)
[vd] Pixel formats supported by decoder: vaapi_vld yuv420p
[vd] Codec profile: Main 10 (0x2)
[vd] Falling back to software decoding.

==> Work

> Stream #0:0(eng): Video: hevc (Main), yuv420p(tv), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
[vd] Codec list:
[vd] lavc:hevc - HEVC (High Efficiency Video Coding)
[vd] Opening video decoder lavc:hevc
[vd] Probing 'vdpau'...
[vd] Trying hardware decoding.
[vd] Selected video codec: HEVC (High Efficiency Video Coding) [lavc:hevc]
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
[vd] Codec profile: Main (0x1)
AO: [pulse] 48000Hz 5.1(side) 6ch s32
Using hardware decoding (vdpau).

Revision history for this message
lucmontagne (lucmontagne) said :
#6

$ 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
----------------------------------------------------
blablabla
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 ---

Can you help with this problem?

Provide an answer of your own, or ask lucmontagne for more information if necessary.

To post a message you must log in.