Bug 103825

Summary: [glx][i965][regression][bisected] pigilt glx-query-renderer-coverage regression
Product: piglit Reporter: Andrés Gómez García <agomez>
Component: testsAssignee: Piglit Mailing List <piglit>
Status: RESOLVED FIXED QA Contact: Piglit Mailing List <piglit>
Severity: normal    
Priority: medium CC: agomez, ajax, emil.l.velikov, lemody
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Andrés Gómez García 2017-11-20 16:07:30 UTC
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.
Comment 1 Andrés Gómez García 2017-11-20 16:09:46 UTC
Bisected to:

commit 257edb5b9aedc9fc5d5c13eb2f48a0c11d15456f
Author: Adam Jackson <ajax@redhat.com>

    glx/dri3: Fix passing renderType into glXCreateContext
Comment 2 Adam Jackson 2017-11-20 21:00:00 UTC
Broken test, should be fixed in:

https://cgit.freedesktop.org/piglit/commit/?id=758a28d06cac0c0bd4b41bf0b07400cf3398c989
Comment 3 Andrés Gómez García 2017-11-20 23:31:43 UTC
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.