XVMC on nv43 class card broken with recent mesa + kernel.
Submitted by Andrew Randrianasulu
Assigned to Nouveau Project
Description
Hello again.
Not sure if anyone will look into this, but I run into bug where xvmc state tracker/nouveau failed for me in multiple ways, depending on exact kernel/mesa combination.
With kernel 4.2.0 new mesa (Mesa 17.1.0-devel git-12dcad1) compiled agains recent libdrm (d4b8344363b4e0f0e831e5722b6df5cc0bb08df8 Author: Chad Versace chadversary@chromium.org Date: Fri Jan 27 12:18:00 2017 -0800 Bump version for 2.4.75 release)
produces pink window.
With more mdoern kernel (4.10-rc5). whole device creation failed.
Test commandline: /home/guest/src/mesa/src/gallium/state_trackers/xvmc/tests/xvmc_bench
result: Acceleration level: IDCT Creation failed: No such device (-19) xvmc_bench: tests/xvmc_bench.c:238: main: Assertion `XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_height, 0x00000001, &context) == 0' failed.
Version: git