vacompositor is broken in AMD
Describe your issue
check.gst-plugins-bad.elements_vacompositor.test_composition_position
fails with the current main (fb2b64ea) when running with AMD Radeon Graphics (raphael_mendocino, LLVM 16.0.5, DRM 3.52, 6.3.8-200.fc38.x86_64)
, found in an AMD Ryzen 9 7950X.
Expected Behavior
The test should pass, compositing two images: bottom image taking the entire 320x240 screen, filled with green; top image just being a 20x20 red rectangle at position (10, 10).
Observed Behavior
The test fails:
../subprojects/gst-plugins-bad/tests/check/elements/vacompositor.c:186:F:general:test_composition_position:0: Expected 0x91 but got 0x00 at (0,0,0)
Dumping the frame to a file, this is what the output looks like:
The color is wrong, the offset of the second image is wrong, and the background is lost. The position and size are respected of the second image are respected, but no matter the chosen size it has that teal edge.
Setup
- Operating System: Fedora 38 Workstation
- GStreamer Version: fb2b64ea
-
Command line:
gst-validate-launcher check.gst-plugins-bad.elements_vacompositor.test_composition_position
Steps to reproduce the bug
- open terminal
- type
gst-validate-launcher check.gst-plugins-bad.elements_vacompositor.test_composition_position
How reproducible is the bug?
Always
GStreamer logs
These are the logs with GST_DEBUG='GST_CONTEXT:TRACE,*va*:TRACE',videoaggregator:TRACE,vacompositor:LOG,vafilter:LOG
:
vacompositor-bug.txt