intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* 4.1.4 / skylake / /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
@ 2016-02-21 17:12 Marc MERLIN
  2016-02-21 17:24 ` Marc MERLIN
  0 siblings, 1 reply; 2+ messages in thread
From: Marc MERLIN @ 2016-02-21 17:12 UTC (permalink / raw)
  To: intel-gfx

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 :)

Xorg output below.

Thanks,
Marc

(**) AIGLX enabled
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.17.3, module version = 2.99.917
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 19.0
(II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
 i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
 E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
iew G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
 4 Series, G45/G43, Q45/Q43, G41, B43
(II) intel: Driver for Intel(R) HD Graphics: 2000-6000
(II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
(II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
(++) using VT number 7

(II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150731
(II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20151217-1~exp1 (Timo Aaltonen <tjaalton@debian.org>)
(II) intel(0): SNA compiled for use with valgrind
(--) intel(0): gen9 engineering sample
(--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(**) intel(0): Option "TearFree"
(II) intel(0): Output eDP1 using monitor section Monitor0
(--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
(II) intel(0): Enabled output eDP1
(--) intel(0): Using a maximum size of 256x256 for hardware cursors
(II) intel(0): Output VIRTUAL1 has no monitor section
(II) intel(0): Enabled output VIRTUAL1
(--) intel(0): Output eDP1 using initial mode 3840x2160 on pipe 0
(**) intel(0): TearFree enabled
(==) intel(0): DPI set to (96, 96)
(II) Loading sub module "dri2"
(II) LoadModule: "dri2"
(II) Module "dri2" already built-in
(II) Loading sub module "present"
(II) LoadModule: "present"
(II) Module "present" already built-in
(==) Depth 24 pixmap format is 32 bpp
(II) intel(0): SNA initialized with generic backend
(==) intel(0): Backing store enabled
(==) intel(0): Silken mouse enabled
(II) intel(0): HW Cursor enabled
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) intel(0): DPMS enabled
(==) intel(0): Display hotplug detection enabled
(II) intel(0): Textured video not supported on this hardware or backend
(II) intel(0): [DRI2] Setup complete
(II) intel(0): [DRI2]   DRI driver: i965
(II) intel(0): [DRI2]   VDPAU driver: va_gl
(II) intel(0): direct rendering: DRI2 enabled
(II) intel(0): hardware support for Present enabled
(--) RandR disabled
(II) SELinux: Disabled on system
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_ARB_create_context
(II) AIGLX: enabled GLX_ARB_create_context_profile
(II) AIGLX: enabled GLX_EXT_create_context_es2_profile
(II) AIGLX: enabled GLX_INTEL_swap_event
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
(II) AIGLX: enabled GLX_ARB_fbconfig_float
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: enabled GLX_ARB_create_context_robustness
(II) AIGLX: Loaded and initialized i965
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): switch to mode 3840x2160@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
(II) intel(0): Setting screen physical size to 1016 x 571

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 4.1.4 / skylake / /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Marc MERLIN @ 2016-02-21 17:24 UTC (permalink / raw)
  To: intel-gfx

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-21 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).