[Beignet] [QA 2014/02/13] Status of Piglit test cases

Zhigang Gong zhigang.gong at linux.intel.com
Thu Feb 13 03:43:08 CET 2014


On Thu, Feb 13, 2014 at 03:01:01AM +0000, Sun, Yi wrote:
> Reproduce step:
> cd  piglit && cmake . && make
> bin/cl-api-create-context
We can't reproduce this crash on ubuntu platform both 12.10 and 13.04.

> 
> Output:
> ## Test: clCreateContext (/home/OpenCL/piglit/tests/cl/api/create-context.c) ##
> 
> # Running on:
> #   Platform: Experiment Intel Gen OCL Driver
> #   OpenCL version: 1.1
> X server found. dri2 connection failed!
The above log is the most weird thing in this case. It has a running X but fail
to do the dri2 authentication. And latter it open the /dev/dri/card0 as master
successfully. This just should not happen. IMO, it's an indicator that there
is something wrong in the system consistency.
> Trying to open directly...
> Success at /dev/dri/card0.
> X server found. dri2 connection failed!
> Trying to open directly...
> Success at /dev/dri/card0.
> X server found. dri2 connection failed!
> Trying to open directly...
> Success at /dev/dri/card0.
> X server found. dri2 connection failed!
> Trying to open directly...
> Success at /dev/dri/card0.
> X server found. dri2 connection failed!
> Trying to open directly...
> Success at /dev/dri/card0.
> X server found. dri2 connection failed!
> Trying to open directly...
> Success at /dev/dri/card0.
> Segmentation fault (core dumped)
> 
> 
> I'm using Fedora 20 with kernel version 3.12.10-300.fc20.x86_64.
> I run piglit with X server and desktop environment.
> And I ran piglit remotely by ssh login.
> 
> Back trace from gdb:
> #0  0x00007ffff7bc00dc in clCreateContext () from /lib64/libOpenCL.so.1
No symbol information, it's hard to analysis.

I just discussed with Junyan. And he may help to investigate this issue on your machine
directly. Thanks.

> #1  0x00000000004020b3 in piglit_cl_test (argc=1, argv=0x7fffffffe4a8, config=0x6030e0 <config>, env=0x7fffffffe240)
>     at /home/OpenCL/piglit/tests/cl/api/create-context.c:207
> #2  0x00007ffff7df57ba in piglit_cl_api_test_run (argc=1, argv=0x7fffffffe4a8, void_config=0x6030e0 <config>, version=11,
>     platform_id=0x7ffff79a3a20 <intel_platform_data>, device_id=0x0) at /home/OpenCL/piglit/tests/util/piglit-framework-cl-api.c:198
> #3  0x00007ffff7df4883 in piglit_cl_framework_run (argc=1, argv=0x7fffffffe4a8) at /home/OpenCL/piglit/tests/util/piglit-framework-cl.c:264
> #4  0x0000000000401ce8 in main (argc=1, argv=0x7fffffffe4a8) at /home/OpenCL/piglit/tests/cl/api/create-context.c:52
> 
> Thanks
>   --Sun, Yi
> 
> From: Zhigang Gong [mailto:zhigang.gong at linux.intel.com]
> Sent: Thursday, February 13, 2014 10:40 AM
> To: Sun, Yi; beignet at lists.freedesktop.org
> Cc: Zou, Nanhai; Jin, Gordon
> Subject: RE: [Beignet] [QA 2014/02/13] Status of Piglit test cases
> 
> Yi,
> 
> Thanks for the testing result report. But I can't reproduce the crash case? Could you tell a little bit more about the crash?
> 
> Whether  you run piglit with a X server or without xserver?
> If the Xserver is running, what's the xserver's version. Did you build beignet with the same version xserver?
> What's the OS version, including The distro and kernel version.
> 
> And could you provide a gdb style back trace for the crash?
> 
> Thanks.
> 
> From: beignet-bounces at lists.freedesktop.org<mailto:beignet-bounces at lists.freedesktop.org> [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Sun, Yi
> Sent: Thursday, February 13, 2014 9:29 AM
> To: beignet at lists.freedesktop.org<mailto:beignet at lists.freedesktop.org>
> Cc: Zou, Nanhai; Jin, Gordon
> Subject: [Beignet] [QA 2014/02/13] Status of Piglit test cases
> 
> Changing compared with last test report:
> 1, One failed case 'scalar-logical-float' changed from failed to skip.
> 
> summary:
>        pass: 1498
>        fail: 2
>       crash: 1
>        skip: 12
>        warn: 0
> dmesg-warn: 0
> dmesg-fail: 0
>       total: 1513
> fail:
> Program/Build/vector-operators         (Can be fixed by LLVM3.4)
> Program/Execute/vector-arithmetic-int4  (Can be fixed by LLVM3.4)
> 
> Crash:
> API/clCreateContext       bug VIZ-3512
> 
> Environment:
> OS: Fedora 20
> LLVM: 3.3
> 
> Beignet commit:
> commit f206e982278af8c7d4aa8e9ac88a6ab19a9da1b0
> Author: Zhigang Gong <zhigang.gong at intel.com<mailto:zhigang.gong at intel.com>>
> Date:   Mon Feb 10 16:28:37 2014 +0800
> 
>     Bump to version 0.8.0.
> 
>     This version brings many improvments compare to the last released version 0.3,
>     so that we decide to bump the version to 0.8.0 directly. Before the 1.0.0, we
>     have two steps left. One is the performance optimization and the other is to
>     support OpenCL 1.2 by default.
> 
> Piglit commit:
> commit f9489f1a653895ba59f23c53a95859ca39dc169c
> Author: Dave Airlie <airlied at redhat.com<mailto:airlied at redhat.com>>
> Date:   Fri Feb 7 17:34:12 2014 +1000
> 
>     textureGather: add textureGatherOffsets to execution test (v2.1)
> 
>     Test for checking textureGatherOffsets from ARB_gpu_shader5 works, this
>     is tested on the nvidia binary driver and passes.
> 
> Thanks
>   --Sun, Yi
> 

> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet



More information about the Beignet mailing list