Bug 74829 - [SNB Bisected]Piglit glx/GLX_ARB_create_context/invalid render type fails
Summary: [SNB Bisected]Piglit glx/GLX_ARB_create_context/invalid render type fails
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Keith Packard
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 07:53 UTC by lu hua
Modified: 2018-12-13 22:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2014-02-11 07:53:18 UTC
System Environment:
--------------------------
Platform: Sandybridge
Libdrm:		(master)libdrm-2.4.52-3-g128e74cf6492025e63e035566bd6e2203e8da5e1
Mesa:		(master)a487ef87fe4aa8c4b8e5c0d888bfb18727c8e570
Xserver:		(master)xorg-server-1.15.0-583-gda1660deeb9032ecca61f4bcdc9fc2eec2ada445
Xf86_video_intel:(master)2.99.909-17-g823382d28944a319c207f20ecef25ce1707a8021
Cairo:		(master)4144307dbfbe7b297135d9ea4b080cae7e06b997
Libva:		(staging)bea89a4b77c305c3f00bd4f5b9c6a237044fdf69
Libva_intel_driver:(staging)c25fe67b1f1e269dc8d0152ce883788ef9288aea
Kernel:	(drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-----------------------------
It fails on sandybridge with xserver master branch. It works well on server-1.14-branch.

Bisect shows: 9e45a1a030a5e70318441f33a132269a19a43df5 is the first bad commit.
commit 9e45a1a030a5e70318441f33a132269a19a43df5
Author:     Keith Packard <keithp@keithp.com>
AuthorDate: Fri Nov 15 18:00:53 2013 +0900
Commit:     Keith Packard <keithp@keithp.com>
CommitDate: Mon Jan 27 11:34:02 2014 -0800

    Warning fixes in glx

    Signed-off-by: Keith Packard <keithp@keithp.com>
    Reviewed-by: Eric Anholt <eric@anholt.net>

output:
Created OpenGL context with invalid render-type 0x000020b1, but this should have failed.
X error 0 (non-GLX error (-1)) was generated, but X error 2 was expected.
PIGLIT: {'result': 'fail' }

Reproduce steps:
----------------------------
1. xinit
2. ./bin/glx-create-context-invalid-render-type -fbo -auto
Comment 1 David Heidelberg (okias) 2014-05-19 01:55:47 UTC
confirmed on r600g, Xserver: 1.15.1.
Comment 2 David Heidelberg (okias) 2014-06-18 21:51:50 UTC
also confirmed on r300g
Comment 3 meng 2014-09-29 03:15:48 UTC
The issue also exists on 2014Q3 rc2:
---------------------
Mesa:   mesa-10.3
Kernel:  3.16.2
Xf86_video_intel:   2.99.911
Libdrm:  libdrm-2.4.56
Libva:      (master) 1.4.0.pre1
vaapi-intel-driver:   (master) 1.4.0.pre1
Cairo:    1.12.16
Xserver:    xorg-server-1.16.0
Comment 4 GitLab Migration User 2018-12-13 22:29:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/453.


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.