Bug 1398984 - VDPAU - i965 - core dumped
Summary: VDPAU - i965 - core dumped
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vdpauinfo
Version: 25
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-27 23:07 UTC by maverick.pt
Modified: 2016-12-03 11:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-03 11:06:52 UTC
Type: Bug


Attachments (Terms of Use)

Description maverick.pt 2016-11-27 23:07:28 UTC
Hi,

I can't use vdpau on my laptop, i always get core dumps:

[user@localhost ~]$ vdpauinfo 
display: :0   screen: 0
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
vdpauinfo: intel_driver.c:100: intel_driver_init: Assertion `VA_CHECK_DRM_AUTH_TYPE(ctx, VA_DRM_AUTH_DRI1) || VA_CHECK_DRM_AUTH_TYPE(ctx, VA_DRM_AUTH_DRI2) || VA_CHECK_DRM_AUTH_TYPE(ctx, VA_DRM_AUTH_CUSTOM)' failed.

Hardware/Software:

HP Omen 15-5100np
Kernel 4.8.8-300.fc25.x86_64

[user@localhost ~]$ env | grep VDPAU
VDPAU_DRIVER=va_gl

[user@localhost ~]$ env | grep LIBVA
LIBVA_DRIVER_NAME=i965


[user@localhost ~]$ vainfo 
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.7.2
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD



[root@localhost ~]# rpm -qa | grep libva
libva-1.7.3-1.fc25.i686
libva-utils-1.7.3-1.fc25.x86_64
libva-intel-driver-1.7.2-1.fc25.x86_64
libva-1.7.3-1.fc25.x86_64
libva-devel-1.7.3-1.fc25.x86_64
libva-intel-driver-1.7.2-1.fc25.i686

[root@localhost ~]# rpm -qa | grep vdpa
libvdpau-va-gl-0.4.2-2.fc25.x86_64
libvdpau-1.1.1-3.fc24.i686
vdpauinfo-1.0-5.fc24.x86_64
libvdpau-1.1.1-3.fc24.x86_64
libvdpau-devel-1.1.1-3.fc24.x86_64

Comment 1 Nicolas Chauvet (kwizart) 2016-11-28 06:25:36 UTC
Can you verify to have the appropriate version of the vaapi backend ?
dnf update --enablerepo=rpmfusion-free-updates-testing libva-intel-driver

Comment 2 maverick.pt 2016-11-28 07:43:09 UTC
Done.

Still the same problem.

Comment 3 Nicolas Chauvet (kwizart) 2016-11-28 08:11:39 UTC
Are you under wayland ?

Comment 4 maverick.pt 2016-11-28 09:28:27 UTC
Yes.

Comment 5 Nicolas Chauvet (kwizart) 2016-11-28 09:49:06 UTC
I'm pretty sure the vdpau/vaapi bridge is not compatible with wayland.
But you are hitting this bug because you have explicitely set the VDPAU_DRIVER and LIBVA_DRIVER_NAME env.
If both are unset you should probably have vaapi working in wayland and both should work in xorg , which is accurate for the supported environment.

Can you confirm this ?

Comment 6 maverick.pt 2016-12-03 11:06:52 UTC
Hi, i didn't knew that this was the behavior on wayland.

And yes i can confirm i can use vaapi for example with mpv:

.
.
.
[vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_OPERATION.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
AO: [pulse] 48000Hz 5.1(side) 6ch float
Using hardware decoding (vaapi).
VO: [opengl] 1280x536 vaapi
AV: 00:00:04 / 02:14:06 (0%) A-V:  0.000 Cache: 10s+73MB


Exiting... (Quit)


Note You need to log in before you can comment on or make changes to this bug.