Bug 71115

Summary: [Regression]Piglit glx/glx-swap-event async skip
Product: xorg Reporter: lu hua <huax.lu>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: VERIFIED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2013-11-01 07:41:30 UTC
System Environment:
--------------------------
Platform:  PNV/ILK/SNB/IVB/HSW
Libdrm:	   (master)2.4.47-2-g45810d3d7546f3ddbcdae114c6726ada30e919c9
Mesa:		(master)8bd4476010444642cff71e64146c91a484238dc2
Xserver:	(master)xorg-server-1.14.99.3-24-g902ff0b3497d202b86bf9a411e17db7b694d6eaa
Xf86_video_intel:(master)2.99.905-41-ged16e34c00d5eb5ca4ec643f66fedbf1a5112e90
Cairo:		(master)98fef3cef2d0f7f463a2e4f9f1b35b09f7b6ea77
Libva:		(staging)1a011ce5bb0b80506797a25a988854f3f81ce909
Libva_intel_driver:(staging)1cee858036a87837deddc87586701ed869f96261
Kernel:	(drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
---------------------------
It skips on PNV/ILK/SNB/IVB/HSW with mesa master branch, works well on mesa 9.2 branch.
Following cases also skip with same bisect commit:
glx_glx-swap-event_event
glx_glx-swap-event_interval
glx_GLX_ARB_create_context_default_major_version
glx_GLX_ARB_create_context_default_minor_version
glx_GLX_ARB_create_context_empty_attribute_list
glx_GLX_ARB_create_context_forward-compatible_flag_with_3.0
glx_GLX_ARB_create_context_forward-compatible_flag_with_pre-3.0
glx_GLX_ARB_create_context_invalid_attribute
glx_GLX_ARB_create_context_invalid_flag
glx_GLX_ARB_create_context_invalid_OpenGL_version
glx_GLX_ARB_create_context_invalid_render_type
glx_GLX_ARB_create_context_NULL_attribute_list
glx_GLX_ARB_create_context_profile_3.2_core_profile_required
glx_GLX_ARB_create_context_profile_invalid_profile
glx_GLX_ARB_create_context_profile_pre-GL3.2_profile
glx_GLX_EXT_create_context_es2_profile_indirect_rendering_ES2_profile
glx_GLX_EXT_create_context_es2_profile_invalid_OpenGL_ES_version

Bisect shows:76b14a90c16921426154be1d18307e3b12309eea is the first bad commit.
commit 76b14a90c16921426154be1d18307e3b12309eea
Author:     Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Mon Oct 28 20:48:17 2013 +0000
Commit:     Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Mon Oct 28 20:55:41 2013 +0000

    sna: Quieten a couple of valgrind warnings about unknown ioctls

    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

output:
The GLX_INTEL_swap_event is not supported in current version.
PIGLIT: {'result': 'skip' }

Reproduce steps:
----------------------------
1. xinit
2. ./bin/glx-swap-event -auto --async
Comment 1 Chris Wilson 2013-11-01 09:59:55 UTC
That bisect is incorrect. Guess again.
Comment 2 lu hua 2014-01-03 02:47:46 UTC
It's a xserver bug.
The latest known good commit: 7ecfab47eb221dbb996ea6c033348b8eceaeb893
The latest known bad commit: 902ff0b3497d202b86bf9a411e17db7b694d6eaa

It has been fixed on latest master branch.
Comment 3 lu hua 2014-01-03 02:48:34 UTC
Verified.Fixed.

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.