[Piglit] [RFC 1/3] hack: enable shader runner on 4.2.0 NVIDIA 304.88

Pohjolainen, Topi topi.pohjolainen at intel.com
Wed Oct 16 07:43:41 CEST 2013


On Tue, Oct 15, 2013 at 09:15:52AM -0600, Brian Paul wrote:
> On 10/15/2013 05:49 AM, Topi Pohjolainen wrote:
> >Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> >---
> >  tests/shaders/shader_runner.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
> >index ba76cd0..5731985 100644
> >--- a/tests/shaders/shader_runner.c
> >+++ b/tests/shaders/shader_runner.c
> >@@ -52,7 +52,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
> >
> >  	config.window_width = 250;
> >  	config.window_height = 250;
> >-	config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
> >+	config.window_visual = PIGLIT_GL_VISUAL_DOUBLE;
> >
> >  PIGLIT_GL_TEST_CONFIG_END
> >
> >
> 
> Can you please give more detail about what the problem is and why
> this fixes it?

I don't know why it fixes it, I just tried it without the visual settings and
found out that I could run the shader_runner by relaxing the settings. I'm
running 7.1 debian and I thought that the gl-driver and X-server I get via the
distribution should be just fine - shader_runner is quite central test in
piglit after all. That's why I wrote in the cover letter that:

     First patch I included just to ask if there something amiss in
     my system. I have

     X.Org X Server 1.12.4
     Release Date: 2012-08-27

     running on NVIDIA (304.88 on GTX 660). Without the patch I just
     wasn't able to run the shader_runner at all:

     piglit: info: Failed to create GL 3.2 core context
     piglit: info: Falling back to GL 3.2 compatibility context
     piglit: info: Failed to create GL 3.2 compatibility context
     piglit: info: Failed to create any GL context
     PIGLIT: {'result': 'skip' }

-Topi


More information about the Piglit mailing list