H.264 and VP9 tests are failing on Intel
This is on an Intel GPU (gen9), but none of the hardware encoders seem to be in cause. The format/modifier pair it tries to use is XRGB8888/I915_FORMAT_MOD_Y_TILED_CCS, which should be working fine on this GPU otherwise.
Here is the end of the VP9 test, the H.264 one is pretty much the same:
Testing image transfer for WxH: 64x64
[62.466694 dbg(server) mainloop.rs:3404] Process wayland 1: 104 bytes
[62.466703 dbg(server) tracking.rs:950] Processing method: zwp_linux_dmabuf_v1@3.create_params
[62.466711 dbg(server) tracking.rs:950] Processing method: zwp_linux_buffer_params_v1@7.add
[62.466718 dbg(server) tracking.rs:950] Processing method: zwp_linux_buffer_params_v1@7.add
[62.466723 dbg(server) tracking.rs:950] Processing method: zwp_linux_buffer_params_v1@7.create_immed
[62.466728 dbg(server) mainloop.rs:942] Translating dmabuf fd
[62.466755 ERR(server) mainloop.rs:4934] Sending error: src/mainloop.rs:962: Cannot import DMABUF, unsupported format/size/modifier combination: 34325258, 64x64, 100000000000004
[62.466793 dbg(server) mainloop.rs:4728] Wrote bytes 0..176 of length 176 error message; eof: false
[62.466810 dbg(s-worker0) mainloop.rs:3986] Work thread s-worker0 complete
[62.466999 dbg(server) mainloop.rs:4949] Done.
Failed to create and replicate dmabuf: "src/test.rs:1866: Failed to replicate dmabuf"
[62.467196 ERR(client) mainloop.rs:4224] EOF reading from program
[62.467205 dbg(client) mainloop.rs:4238] POLLHUP from wayland side
[62.467211 dbg(client) mainloop.rs:3530] Process wayland 2
[62.467705 dbg(c-worker0) mainloop.rs:3986] Work thread c-worker0 complete
[62.467749 dbg(client) mainloop.rs:4949] Done.
Result for video=VP9, try_hw_dec=false, try_hw_enc=false: fail
thread 'test::proto_dmavid_vp9' panicked at src/test.rs:2057:9:
assertion failed: pass
stack backtrace:
0: rust_begin_unwind
at /rustc/da889684c80508036ff036db8c159ffdcf27648a/library/std/src/panicking.rs:665:5
1: core::panicking::panic_fmt
at /rustc/da889684c80508036ff036db8c159ffdcf27648a/library/core/src/panicking.rs:74:14
2: core::panicking::panic
at /rustc/da889684c80508036ff036db8c159ffdcf27648a/library/core/src/panicking.rs:148:5
3: waypipe::test::test_video_combo
at /usr/src/debug/waypipe-git/waypipe/src/test.rs:2057:9
4: waypipe::test::proto_dmavid_vp9
at /usr/src/debug/waypipe-git/waypipe/src/test.rs:2065:5
5: waypipe::test::proto_dmavid_vp9::{{closure}}
at /usr/src/debug/waypipe-git/waypipe/src/test.rs:2063:22
6: core::ops::function::FnOnce::call_once
at /rustc/da889684c80508036ff036db8c159ffdcf27648a/library/core/src/ops/function.rs:250:5
7: core::ops::function::FnOnce::call_once
at /rustc/da889684c80508036ff036db8c159ffdcf27648a/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Edited by Link Mauve