intel / intel-vaapi-driver

VA-API user mode driver for Intel GEN Graphics family
https://01.org/linuxmedia
Other
304 stars 126 forks source link

implement DRI3 support #558

Open koshikas opened 1 year ago

koshikas commented 1 year ago

vainfo; Trying display: x11 vainfo: VA-API version: 1.18 (libva 2.17.1) vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1

Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300 Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X: loaded: modesetting,radeon alternate: fbdev,vesa dri: crocus,r600 gpu: i915 display-ID: :0 screens: 1 API: OpenGL v: 4.2 Mesa 23.0.1 renderer: Mesa Intel HD Graphics 4000 (IVB GT2) direct-render: Yes

VAAPI works alright in stock state in media players, but fails in chrome with errors; [26733:26733:0221/191510.033476:ERROR:vaapi_wrapper.cc(2699)] : vaPutSurface failed, VA error: unknown libva error [26733:26733:0221/191510.033613:ERROR:vaapi_video_decode_accelerator.cc(286)] : Failed putting surface into pixmap

resumes functionality in chrome, after setting ENV LIBVA_DRI3_DISABLE=1 (since libva 2.18)

gladykov commented 1 year ago

Context: https://github.com/intel/libva/issues/677