[Piglit] running piglit tests with gl_version > 31

Tapani tapani.palli at intel.com
Wed Jun 11 00:48:18 PDT 2014


On 06/10/2014 04:55 PM, Dylan Baker wrote:
> Do you have s3tc installed?

Yes I believe I have. Does this have some effect on the context creation?

> On Tuesday, June 10, 2014 08:42:26 AM Tapani Pälli wrote:
>> On 06/09/2014 05:44 PM, Ilia Mirkin wrote:
>>> On Mon, Jun 9, 2014 at 5:58 AM, Tapani Pälli <tapani.palli at intel.com>
> wrote:
>>>> Hi;
>>>>
>>>> I'm running Piglit tests on SNB machine and many of the tests crash like
>>>> this:
>>>>
>>>> [tpalli at localhost piglit]$ /home/tpalli/sc/fdo/piglit/bin/textureGather
>>>> fs offsets rg 1 int 2DArray repeat -fbo -auto
>>>> textureGather:
>>>> /home/tpalli/sc/fdo/piglit/tests/util/piglit-framework-gl/piglit_wfl_fram
>>>> ework.c:371: special_case_gl_31: Assertion `gl_version >= 31' failed.
>>>>
>>>> The assert happens because the build is Debug build. With a Release
>>>> build I get:
>>>>
>>>> [tpalli at localhost piglit]$ /home/tpalli/sc/fdo/piglit/bin/textureGather
>>>> fs offsets rg 1 int 2DArray repeat -fbo -auto
>>>> Mesa: User error: GL_INVALID_ENUM in glGetString(GL_EXTENSIONS)
>>>> Segmentation fault (core dumped)
>>>>
>>>> Because it is using the old extensions query (new one would not work
>>>> either though). According to logging what I really have is a Opengl 2.1
>>>> context with core profile) but I wanted to ask first if anyone else saw
>>> I didn't think you could have GL2.1 + Core -- that's probably why the
>>> assert is failing. Most likely you built mesa without
>>> --enable-texture-float (which is required for 3.0+), but that still
>>> shouldn't be happening...
>> I don't have '--enable-texture-float', I've just tested by enabling it
>> when configuring Mesa but it does not seem to change this though. The
>> version string piglit_get_gl_version() gets from Mesa is "2.1 (Core
>> Profile) Mesa 10.3.0-devel (git-8e115b0)". This leads to some madness as
>> both of the extension query versions fail, new and the old one :) Will
>> try to figure out more how this happens.
>>
>>>> this before or could it be that something is just wrong with my setup
>>>> here? I'm not giving any special build options and I'm running against
>>>> current Mesa master.
>>>>
>>>> Thanks;
>>>>
>>>> // Tapani
>>>>
>>>> _______________________________________________
>>>> Piglit mailing list
>>>> Piglit at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/piglit
>> _______________________________________________
>> Piglit mailing list
>> Piglit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/piglit



More information about the Piglit mailing list