[Intel-gfx] 4.1.4 / skylake / /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed

Marc MERLIN marc_xorg at merlins.org
Sun Feb 21 17:24:15 UTC 2016


On Sun, Feb 21, 2016 at 09:12:07AM -0800, Marc MERLIN wrote:
> I'm testing a new thinkpad skylake based P70 with dual graphics
> legolas:~# lspci | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
> 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M600M] (rev a2)
>  
> LIBVA_DRIVER_NAME=i965 VA_INTEL_DEBUG=1 vainfo
> libva info: VA-API version 0.38.0
> libva info: va_getDriverName() returns 0
> libva info: User requested driver 'i965'
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_32
> libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
> libva info: va_openDriver() returns -1
> vaInitialize failed with error code -1 (unknown libva error),exit
> 
> xserver-xorg-video-intel 2:2.99.917+git20151217-1~exp1
> 
> Currently, I cannot play 4K video at full speed with mplayer -vo xv or -vo gl, and -vo vdpau
> does not work due to the above.
> Suggestions appreciated :)
 
Mmmh, so I guess I had the wrong version of i965-va-driver, now it's
happier:
saruman [mc]$ VA_INTEL_DEBUG=1 vainfo
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
g_intel_debug_option_flags:1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.38 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 1.6.2
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

but mplayer still does not play 4K realtime with that driver either :(

saruman [mc]$ mplayer -vo vdpau GOPR0078.MP4 
MPlayer SVN-r37232 (C) 2000-2013 MPlayer Team
Playing GOPR0078.MP4.
libavformat version 55.44.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  3840x2160  24bpp  29.970 fps  59959.2 kbps (7319.2 kbyte/s)
Clip info:
 major_brand: mp41
 minor_version: 538120216
 compatible_brands: mp41
 creation_time: 2016-02-18 19:03:51
Load subtitles in ./
libGL error: pci id for fd 7: 8086:191b, driver (null) <<< bad?
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0

Strangely vlc seems to play 4K realtime:
saruman [mc]$ vlc GOPR0076.MP4
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
[0000000001714158] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libGL error: pci id for fd 20: 8086:191b, driver (null)
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0

So I guess the driver is ok, and mplayer to blame?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  


More information about the Intel-gfx mailing list