LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-03-2015, 08:22 AM   #1
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
VDPAU troubles, "Trying to open /usr/lib64/dri/nvidia_drv_video.so" [14.1,current]


I'm marking the thread solved for now.
It turned out that the package "libvdpau-va-gl-0.3.4-x86_64-1ponce" created some scrips in /etc/profile.d/ that set the VDPAU_DRIVER environment variable to va_gl and these files did not get removed on package uninstallation.
I am now merely running libvdpau-1.1 and the proprietary NVIDIA driver.

vdpauinfo now shows progress.
Code:
 vdpauinfo 
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  352.30  Tue Jul 21 18:25:55 PDT 2015

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 65536  4080  4080
MPEG2_SIMPLE                    3 65536  4080  4080
MPEG2_MAIN                      3 65536  4080  4080
H264_BASELINE                  --- not supported ---
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      --- not supported ---
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 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     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     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
Original post:
I am not very experienced with VDPAU so I can't give much info from myself, if there is something I should post, please tell me.

The error I am getting:
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1

vdpauinfo dump:
http://pastebin.com/qt96c8H0

The VDPAU tab in the nvidia-settings tool reports API version 1, with no supported codecs listed.


I'm on Slackware 14.1 current, 64 bit, multilib.
I'm using an Nvidia GTX 750Ti card.
I'm using the proprietary nvidia driver version 352.30, straight from the *.run package, not the slackbuild one.
I have the following libraries installed:
libva-1.5.1-x86_64-1
libva-compat32-1.5.1-x86_64-1compat32
libva-intel-driver-1.5.1-x86_64-1
libva-intel-driver-compat32-1.5.1-x86_64-1compat32

libvdpau-1.1-x86_64-1
libvdpau-va-gl-0.3.4-x86_64-1ponce
vdpauinfo-0.9-x86_64-1ponce

The ponce packages have been built via sbopkg and the current sBO repo.

I have not been able to build the vdpau-video package.
http://pastebin.com/ypmWmWF7
is the build failure dump.

I have tried removing the packages and reinstalling the driver, it offered to install (some deprecated?) wrappers that come with the driver package for me.
That didn't solve the problem. I was prompted to supply the libvdpau-va-gl library in that case.

Is this something that can be fixed? Or did I perhaps buy a card that doesn't support VDPAU under Linux? (Edit: Internet searches suggest it has support for it, some reviewers actually calling it excellent.https://www.phoronix.com/scan.php?pa...50linux&num=13 )

Last edited by Geist; 08-06-2015 at 08:16 PM.
 
Old 08-03-2015, 09:17 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Maybe, as a quick try, grab Alien Bob's vlc package as that has vdpau built in and see if it works.

I can't access pastebin at work, so I am unable to help you with your compile error, but hopefully someone else can chime in.
 
Old 08-03-2015, 09:41 AM   #3
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Original Poster
Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by bassmadrigal View Post
Maybe, as a quick try, grab Alien Bob's vlc package as that has vdpau built in and see if it works.

I can't access pastebin at work, so I am unable to help you with your compile error, but hopefully someone else can chime in.
Hm, playback withAlien Bobs VLC seems accellerated. The file I tried playing back with mplayer, which had the video lag behind the audio is playing correctly. Thank you for pointing me into that direction.



Some build log highlights:
Code:
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBVA_DEPS... yes
checking for LIBVA_X11_DEPS... yes
checking for LIBVA_GLX_DEPS... yes
checking for VA API... yes
checking for VA API (GLX extensions)... no
checking for VA drivers path... /usr/lib64/dri
checking for VDPAU... yes
checking for VDPAU/MPEG-4 support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
 
vdpau-video configuration summary:
 
VA-API version ................... : 0.37.0
VA-API drivers path .............. : /usr/lib64/dri
VDPAU version .................... : 1
VDPAU/MPEG-4 support ............. : yes
GLX support ...................... : no

vdpau_driver.c: In function vdpau_do_Initialize:
vdpau_driver.c:288:16: error: request for member vaTerminate in something not a structure or union
     ctx->vtable.vaTerminate                 = vdpau_Terminate;
                ^
vdpau_driver.c:289:16: error: request for member vaQueryConfigEntrypoints in something not a structure or union
     ctx->vtable.vaQueryConfigEntrypoints    = vdpau_QueryConfigEntrypoints;
                ^
vdpau_driver.c:290:16: error: request for member vaQueryConfigProfiles in something not a structure or union
     ctx->vtable.vaQueryConfigProfiles       = vdpau_QueryConfigProfiles;
----------------------
(this continues for various members)
----------------------

vdpau_dump.c: In function string_of_VABufferType:
vdpau_dump.c:62:11: error: VAEncH264VUIBufferType undeclared (first use in this function)
         _(VAEncH264VUIBufferType);
           ^

vdpau_decode.c: In function vdpau_EndPicture:
vdpau_decode.c:1400:43: error: invalid use of void expression
                                           obj_context->vdp_bitstream_buffers);
                                           ^
The rest of the log is mostly about warnings and notes about various macros.

I have tried building the 14.1 version of the package but it doesn't compile either. Don't have the log for that on hand right now though. I can add it, if it might be helpful.
 
  


Reply

Tags
nvidia, vdpau



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto tell "make install" look in /usr/lib64 instead of in /usr/lib? tramni1980 Slackware 3 06-01-2012 09:08 PM
Uneeded "/usr/lib64//firefox-3.6.10" directory in mozilla-firefox-4.0b6-x86_64-1.txz michelino Slackware 0 09-21-2010 05:20 AM
"/usr/lib64/libgobject-2.0.so: could not read symbols" when trying to install ORBit2 ollebanan Slackware 17 03-07-2010 09:33 AM
script using "/usr/bin/cat error" produces "cannot open" in cron Dcrusoe Programming 6 07-22-2009 03:30 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration