LinHES Forums
http://forums.linhes.org/

Is VAAPI working?
http://forums.linhes.org/viewtopic.php?f=21&t=24255
Page 1 of 1

Author:  Liv2Cod [ Sun Nov 29, 2015 5:27 pm ]
Post subject:  Is VAAPI working?

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.

Author:  goofee [ Mon Nov 30, 2015 11:23 pm ]
Post subject:  Re: Is VAAPI working?

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~~~

Author:  Liv2Cod [ Wed Dec 09, 2015 2:13 pm ]
Post subject:  Re: Is VAAPI working? SOLVED

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...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/