[mythtv-users] VDPAU failing on an ION

Brian J. Murrell brian at interlinx.bc.ca
Sun Nov 20 17:56:08 UTC 2016


Hi,

Using mythtv fixes/0.27 [v0.27.6-27-g3783dc8 on an ION which has
previously had no troubles with VDPAU, I'm getting the following
errors:

Nov 20 12:17:26 pvr-lr mythfrontend.real: mythfrontend[3468]: E CoreContext mythrender_vdpau.cpp:1581 (CreateDevice) VDPAU: Error at mythrender_vdpau.cpp:1581 (#1, Unknown)
Nov 20 12:17:26 pvr-lr mythfrontend.real: mythfrontend[3468]: E CoreContext mythrender_vdpau.cpp:1585 (CreateDevice) VDPAU: Failed to create VDPAU device.
Nov 20 12:17:26 pvr-lr mythfrontend.real: mythfrontend[3468]: E CoreContext mythrender_vdpau.cpp:412 (Create) VDPAU: No VDPAU device
Nov 20 12:17:26 pvr-lr mythfrontend.real: mythfrontend[3468]: E CoreContext mythrender_vdpau.cpp:428 (Create) VDPAU: Failed to create VDPAU render device.
Nov 20 12:17:26 pvr-lr mythfrontend.real: mythfrontend[3468]: E CoreContext videoout_vdpau.cpp:158 (InitRender) VidOutVDPAU: Failed to initialise VDPAU

The machine does have a working VDPAU:

# LD_LIBRARY_PATH=/lib:/usr/lib:/usr/lib/nvidia-304/vdpau/ DISPLAY=:0 vdpauinfo
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  304.132  Fri Sep 16 11:46:31 PDT 2016

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  8192  2048  2048
MPEG2_SIMPLE          3  8192  2048  2048
MPEG2_MAIN            3  8192  2048  2048
H264_MAIN            41  8190  2032  2048
H264_HIGH            41  8190  2032  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

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

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        -
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     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
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  

The MythFE binary does seem to be finding the VDPAU library:

# lsof -n -p 3468 | grep vdpau
mythfront 3468 mythtv  mem    REG       0,30  1867288    34498 /usr/lib/nvidia-304/vdpau/libvdpau_nvidia.so.304.132 (server:/usr)
mythfront 3468 mythtv  mem    REG       0,30    13792     2431 /usr/lib/i386-linux-gnu/libvdpau.so.1.0.0 (server:/usr)

Anyone got any ideas what's stopping MythFE from using VDPAU given that
vdpauinfo doesn't seem to have a problem?

Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20161120/4cc1269c/attachment.sig>


More information about the mythtv-users mailing list