View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Is VAAPI working?
PostPosted: Sun Nov 29, 2015 5:27 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I'm trying to get the best output from an Intel based motherboard, so I have enabled VAAPI and recordings *seem* to play OK. I notice a lot of "cogging" when the camera pans quickly so I thought I'd look into the VAAPI layer. I found a command "vainfo" which is supposed to describe your environment, but when using it under SSH I get...

Code:
# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit


So am I using VAAPI or not? The image is the latest LinHES 8.4 with all updates applied. The computer is an ASRock Q1900 Celeron system with built-in Intel graphics.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject: Re: Is VAAPI working?
PostPosted: Mon Nov 30, 2015 11:23 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
I think is cause your trying over SSH

On my box, running VDPAU, I get the same cannot connect to X server error while using SSH.
When I run
Code:
export DISPLAY=:0
then it works. I use that sometimes to run something from SSH and have it show up on the TV.

Code:
[ ~]$ vdpauinfo
vdpauinfo: cannot connect to X server
[ ~]$ export DISPLAY=:0
[ ~]$ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  340.76  Thu Jan 22 11:28:21 PST 2015

~~~snip boring data~~~


Top
 Profile  
 
PostPosted: Wed Dec 09, 2015 2:13 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I did some more digging and found the driver I need is located in the Arch libva-intel-driver. I used pacman -S to install and VAAPI works great. I need to tell the package maintainer of my discovery, as I'll bet there are a few other Intel driver users in LinHES land...

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu