When running the complete "all" profile in piglit against mesa's i965 driver, glx-query-renderer-coverage fails. A typical piglit report is as follows: Detail | Value ------------+--------------- Returncode | 1 ------------+--------------- Time | 0:00:00.036803 ------------+--------------- Stdout | ------------+--------------- Stderr | X Error of failed request: BadValue (integer parameter out of range for operation) | Major opcode of failed request: 155 (GLX) | Minor opcode of failed request: 24 (X_GLXCreateNewContext) | Value in failed request: 0x0 | Serial number of failed request: 29 | Current serial number in output stream: 30 ------------+--------------- Environment | PIGLIT_PLATFORM="mixed_glx_egl" PIGLIT_SOURCE_DIR="/home/local/piglit" ------------+--------------- Command | /home/local/piglit/bin/glx-query-renderer-coverage -auto -fbo ------------+--------------- dmesg | ---------------------------- Environment is an Ubuntu Xenial with custom LLVM packages installed and locally compiled mesa and mesa dependencies. If needed, I can provide a docker image with which to test.
Bisected to: commit 257edb5b9aedc9fc5d5c13eb2f48a0c11d15456f Author: Adam Jackson <ajax@redhat.com> glx/dri3: Fix passing renderType into glXCreateContext
Broken test, should be fixed in: https://cgit.freedesktop.org/piglit/commit/?id=758a28d06cac0c0bd4b41bf0b07400cf3398c989
Confirmed and tested with mesa master. Thanks a lot for the quick fix, Adam.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.