You are not logged in.

#1 2019-12-14 06:12:44

arch_kk_linux
Member
Registered: 2017-02-17
Posts: 54

[SOLVED]Failed setup for format vdpau: hwaccel initialisation ret err

Hi There, Even after Installing appropriate packages

 libva-mesa-driver  and mesa-vdpau.

for my Radeon graphic card (discrete), some how Vlc Player is failing to use VDPAU hardware acceleration

Note:
Here what I have selected in preferences section of VLC media player:
under 'Video' tab I have seletedVDPAU output & VDPAU decoder under' input/codecs' tab.

Here are the error responses I got for vlc

[kk@k ~]$ vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000556fa25be5b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt.svg: /usr/share/icons/evolvere-black-folders-dark/64x64/apps/vlc.svg:252: Could not resolve property: #linearGradient5601
qt.svg: /usr/share/icons/evolvere-black-folders-dark/64x64/apps/vlc.svg:252: Could not resolve property: #linearGradient5601
qt.svg: /usr/share/icons/evolvere-black-folders-dark/64x64/apps/vlc.svg:252: Could not resolve property: #linearGradient5601
[0000556fa2658780] main playlist: playlist is empty

[00007fe238047860] main video output error: video output creation failed
[00007fe25cc14310] main decoder error: failed to create video output
[00007fe25cc14310] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[h264 @ 0x7fe25cc27b80] Failed setup for format vdpau: hwaccel initialisation returned error.
[00007fe25cc14310] avcodec decoder error: existing hardware acceleration cannot be reused
[00007fe2380c87f0] main video output error: video output creation failed
[00007fe25cc14310] main decoder error: failed to create video output
[0000556fa2674980] alsa audio output error: cannot estimate delay: Input/output error
Additonal Informtation:
[kk@k ~]$ cat /etc/environment 
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
DRI_PRIME=1
LIBVA_DRIVER_NAME=radeonsi
[kk@k ~]$ 

vainfo log

[kk@k ~]$ vainfo
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Mesa Gallium driver 19.2.6 for AMD HAINAN (DRM 2.50.0, 4.19.87-1-lts, LLVM 9.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc

vdpauinfo log

[kk@k ~]$ vdpauinfo
display: :1   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                           0 1048576 16384 16384
MPEG2_SIMPLE                    3 1048576 16384 16384
MPEG2_MAIN                      3 1048576 16384 16384
H264_BASELINE                  --- not supported ---
H264_MAIN                      --- not supported ---
H264_HIGH                      --- not supported ---
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      --- not supported ---
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
HEVC_MAIN                      --- not supported ---
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         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
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        48    16384
VIDEO_SURFACE_HEIGHT             y        48    16384
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  

My system Info:

Intel® Core™ i5-4258U CPU @ 2.40GHz × 4

[kk@k ~]$ lspci

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230]

Last edited by arch_kk_linux (2019-12-14 17:34:34)

Offline

#2 2019-12-14 14:47:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]Failed setup for format vdpau: hwaccel initialisation ret err

Everything works correctly, this hardware just isn't up to snuff and chances that you have only a MPEG2 stream to accelerate are close to zero with most current video formats. In fact I'd claim you are likely to get better accel support out of the intel card...

Last edited by V1del (2019-12-14 14:50:06)

Offline

#3 2019-12-14 17:33:42

arch_kk_linux
Member
Registered: 2017-02-17
Posts: 54

Re: [SOLVED]Failed setup for format vdpau: hwaccel initialisation ret err

Ok :-), I'm marking this request as Solved.

Offline

Board footer

Powered by FluxBB