All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc_xorg@merlins.org>
To: intel-gfx@lists.freedesktop.org
Subject: Re: 4.1.4 / skylake / /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
Date: Sun, 21 Feb 2016 09:24:15 -0800	[thread overview]
Message-ID: <20160221172415.GG15956@merlins.org> (raw)
In-Reply-To: <20160221171207.GF15956@merlins.org>

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/  
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2016-02-21 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-21 17:12 4.1.4 / skylake / /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed Marc MERLIN
2016-02-21 17:24 ` Marc MERLIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160221172415.GG15956@merlins.org \
    --to=marc_xorg@merlins.org \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.