[Bisected] VAAPI regression in -devel on Intel UHD 620
System information
System: Host: firebert Kernel: 5.10.0-rc6-firebert x86_64 bits: 64 compiler: clang
v: 2.35-15.fc33) Desktop: sway 1.5-f1afef55 dm: N/A
Distro: Fedora release 33 (Thirty Three)
CPU: Info: Quad Core model: Intel Core i7-8665U bits: 64 type: MT MCP arch: Kaby Lake
rev: C L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33599
Speed: 800 MHz min/max: 400/4800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
5: 800 6: 800 7: 800 8: 800
Graphics: Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:3ea0
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-8:3
chip ID: 04f2:b67c
Display: wayland server: Fedora Project X.org 1.20.9 compositor: sway
driver: modesetting alternate: fbdev,vesa resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.2.3
direct render: Yes
(Lenovo X1 Yoga Gen 4)
Describe the issue
VAAPI no-copy HW video decoding does not work with Wayland/Vulkan using mesa from git (using libplacebo/mpv). Initial investigation with libplacebo devs (https://code.videolan.org/videolan/libplacebo/-/issues/117) suggest a mesa bug, this seems to have been recently introduced as rolling back to current Fedora 33 packages (20.2) results in VAAPI working fine.
Regression
Yes, works fine with Mesa 20.2 (current FC33 packages)
Log files as attachment
Relevant logs at https://code.videolan.org/videolan/libplacebo/-/issues/117
Screenshots/video files (if applicable)
VP9, H264 and HEVC all affected.
Any extra information would be greatly appreciated
Appears to be due to a spurious return from vkGetPhysicalDeviceImageFormatProperties2KHR