<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Ok, after trying to repair the system I
ended up backing up all my data (finally came a reason -- kind of
a good feeling to know the data has been backupped), and making a
clean install of Ub. x64 again. <br>
Then: <br>
$sudo apt-get build-deb beignet<br>
$git clone git://anongit.freedesktop.org/beignet<br>
beignet/build$ cmake ../<br>
-- The C compiler identification is GNU 4.8.2<br>
-- The CXX compiler identification is GNU 4.8.2<br>
-- Check for working C compiler: /usr/bin/cc<br>
-- Check for working C compiler: /usr/bin/cc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") <br>
-- Building mode: RelWithDebInfo<br>
-- LLVM llvm-config found at: /usr/bin/llvm-config-3.4<br>
-- find unstable LLVM version 3.4<br>
<br>
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so<br>
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
- found<br>
-- Looking for gethostbyname<br>
-- Looking for gethostbyname - found<br>
-- Looking for connect<br>
-- Looking for connect - found<br>
-- Looking for remove<br>
-- Looking for remove - found<br>
-- Looking for shmat<br>
-- Looking for shmat - found<br>
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so<br>
-- Looking for XLib - found<br>
-- checking for module 'libdrm'<br>
-- found libdrm, version 2.4.52<br>
-- Looking for DRM - found at /usr<br>
-- checking for module 'libdrm_intel'<br>
-- found libdrm_intel, version 2.4.52<br>
-- Looking for DRM Intel - found at /usr<br>
-- Looking for include file pthread.h<br>
-- Looking for include file pthread.h - found<br>
-- Looking for pthread_create<br>
-- Looking for pthread_create - not found<br>
-- Looking for pthread_create in pthreads<br>
-- Looking for pthread_create in pthreads - not found<br>
-- Looking for pthread_create in pthread<br>
-- Looking for pthread_create in pthread - found<br>
-- Found Threads: TRUE <br>
-- checking for module 'gl'<br>
-- found gl, version 10.1.3<br>
-- Looking for OpenGL - found at /usr<br>
-- checking for module 'xext'<br>
-- found xext, version 1.3.2<br>
-- Looking for Xext - found at /usr<br>
-- checking for module 'xfixes'<br>
-- found xfixes, version 5.0.1<br>
-- Looking for Xfixes - found at /usr<br>
-- checking for module 'egl'<br>
-- found egl, version 10.1.3<br>
-- Looking for EGL - found at /usr<br>
-- Looking for mesa source code - not found, cl_khr_gl_sharing
will be disabled.<br>
-- Looking for OCL ICD header file - found<br>
-- Found PythonInterp: /usr/bin/python (found version "2.7.6") <br>
-- Building mode: RelWithDebInfo<br>
-- use /usr/lib/x86_64-linux-gnu/libtinfo.so as terminal control
library<br>
running cd "***/beignet/utests" && mkdir generated -p
2>&1<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: ***/beignet/build<br>
beignet/build$<br>
<br>
$ make <br>
$ sudo make install<br>
$ cd utests<br>
$ chmod +x ./setenv.sh<br>
$ ./setenv.sh<br>
beignet/build/utests$ ./utest_run <br>
platform number 1<br>
platform_profile "FULL_PROFILE"<br>
platform_name "Intel Gen OCL Driver"<br>
platform_vendor "Intel"<br>
platform_version "OpenCL 1.2 beignet 0.9"<br>
platform_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_icd"<br>
device_profile "FULL_PROFILE"<br>
device_name "Intel(R) HD Graphics Haswell GT2 Desktop"<br>
device_vendor "Intel"<br>
device_version "OpenCL 1.2 beignet 0.9"<br>
device_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_icd"<br>
device_opencl_c_version "OpenCL C 1.2 beignet 0.9"<br>
21 image formats are supported<br>
[CL_R CL_UNORM_INT8]<br>
[CL_R CL_UNORM_INT16]<br>
[CL_R CL_SIGNED_INT8]<br>
[CL_R CL_SIGNED_INT16]<br>
[CL_R CL_SIGNED_INT32]<br>
[CL_R CL_UNSIGNED_INT8]<br>
[CL_R CL_UNSIGNED_INT16]<br>
[CL_R CL_UNSIGNED_INT32]<br>
[CL_R CL_HALF_FLOAT]<br>
[CL_R CL_FLOAT]<br>
[CL_RGBA CL_UNORM_INT8]<br>
[CL_RGBA CL_UNORM_INT16]<br>
[CL_RGBA CL_SIGNED_INT8]<br>
[CL_RGBA CL_SIGNED_INT16]<br>
[CL_RGBA CL_SIGNED_INT32]<br>
[CL_RGBA CL_UNSIGNED_INT8]<br>
[CL_RGBA CL_UNSIGNED_INT16]<br>
[CL_RGBA CL_UNSIGNED_INT32]<br>
[CL_RGBA CL_HALF_FLOAT]<br>
[CL_RGBA CL_FLOAT]<br>
[CL_BGRA CL_UNORM_INT8]<br>
builtin_acos_float()Failed: set OCL_KERNEL_PATH. This is where the
kiss kernels are (-1)<br>
<br>
summary:<br>
----------<br>
total: 676<br>
run: 1<br>
pass: 0<br>
fail: 1<br>
pass rate: 0.998521<br>
<br>
<br>
On 19.09.2014 11:33, Zhigang Gong wrote:<br>
</div>
<blockquote
cite="mid:01b501cfd3ec$d3a740d0$7af5c270$@linux.intel.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">It seems that your system is not a stock
version. You need to find a workable libclang-dev package
and install it before you build beignet.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Beignet is using LLVM/clang as the front end of
the OCL compiler. You can choose clang or gcc to build the
runtime library, but for the<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">compiler part LLVM/clang are always required.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm
0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"
lang="EN-US"> D [<a class="moz-txt-link-freetext" href="mailto:dcmhoybdpzkh@web.de">mailto:dcmhoybdpzkh@web.de</a>] <br>
<b>Sent:</b> Friday, September 19, 2014 5:16 PM<br>
<b>To:</b> Zhigang Gong; <a class="moz-txt-link-abbreviated" href="mailto:beignet@lists.freedesktop.org">beignet@lists.freedesktop.org</a><br>
<b>Subject:</b> Re: [Beignet] LuxMark 2.0 crashes with
Beignet 0.9.2<o:p></o:p></span></p>
</div>
</div>
<br>
<div>
<p class="MsoNormal"><span lang="EN-US">[...]<br>
<br>
On 19.09.2014 10:00, Zhigang Gong wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">It seems that libclang-dev is missing.<o:p></o:p></span></pre>
<pre><span lang="EN-US">Try to install libclang-3.4-dev.<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">-----Original Message-----<o:p></o:p></span></pre>
<pre><span lang="EN-US">From: D [<a moz-do-not-send="true" href="mailto:dcmhoybdpzkh@web.de">mailto:dcmhoybdpzkh@web.de</a>]<o:p></o:p></span></pre>
<pre><span lang="EN-US">Sent: Friday, September 19, 2014 3:25 PM<o:p></o:p></span></pre>
<pre><span lang="EN-US">To: Zhigang Gong; <a moz-do-not-send="true" href="mailto:beignet@lists.freedesktop.org">beignet@lists.freedesktop.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">Subject: Re: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">Hi,<o:p></o:p></span></pre>
<pre><span lang="EN-US">it's Ubuntu 14.04 x64 ("3.13.0-35-generic"). Beignet is from a PPA, don't<o:p></o:p></span></pre>
</blockquote>
<pre><span lang="EN-US">see<o:p></o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">any utests folder. I tried building myself but it fails:<o:p></o:p></span></pre>
<pre><span lang="EN-US">pastebin.com/PHFUDAHB.<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">On 19.09.2014 01:57, Zhigang Gong wrote:<o:p></o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">Hi,<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">Which platform are you using? And what's the kernel version?<o:p></o:p></span></pre>
<pre><span lang="EN-US">Did you try to run the unit test cases? There are detail instructions<o:p></o:p></span></pre>
<pre><span lang="EN-US">In the README.md file to guide how to run those test cases.<o:p></o:p></span></pre>
<pre><span lang="EN-US">If not, please do it firstly to verify the beignet on your platform.<o:p></o:p></span></pre>
<pre><span lang="EN-US">If you already did it, please share the result here.<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">Thanks,<o:p></o:p></span></pre>
<pre><span lang="EN-US">Zhigang Gong.<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">-----Original Message-----<o:p></o:p></span></pre>
<pre><span lang="EN-US">From: Beignet [<a moz-do-not-send="true" href="mailto:beignet-bounces@lists.freedesktop.org">mailto:beignet-bounces@lists.freedesktop.org</a>] On<o:p></o:p></span></pre>
<pre><span lang="EN-US">Behalf Of<o:p></o:p></span></pre>
</blockquote>
<pre><span lang="EN-US">D<o:p></o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">Sent: Thursday, September 18, 2014 9:15 PM<o:p></o:p></span></pre>
<pre><span lang="EN-US">To: <a moz-do-not-send="true" href="mailto:beignet@lists.freedesktop.org">beignet@lists.freedesktop.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">Subject: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">Hi,<o:p></o:p></span></pre>
<pre><span lang="EN-US">please check this out:<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="http://www.luxrender.net/forum/viewtopic.php?f=13&t=11271">http://www.luxrender.net/forum/viewtopic.php?f=13&t=11271</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">--<o:p></o:p></span></pre>
<pre><span lang="EN-US">OpenPGP/GnuPG key:<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
</blockquote>
</blockquote>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C680">https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C680</a><o:p></o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">8<o:p></o:p></span></pre>
<pre><span lang="EN-US">2ED<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
<pre><span lang="EN-US">Beignet mailing list<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="mailto:Beignet@lists.freedesktop.org">Beignet@lists.freedesktop.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="http://lists.freedesktop.org/mailman/listinfo/beignet">http://lists.freedesktop.org/mailman/listinfo/beignet</a><o:p></o:p></span></pre>
</blockquote>
</blockquote>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">--<o:p></o:p></span></pre>
<pre><span lang="EN-US">OpenPGP/GnuPG key:<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C6808">https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C6808</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">2ED<o:p></o:p></span></pre>
</blockquote>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre><span lang="EN-US">-- <o:p></o:p></span></pre>
<pre><span lang="EN-US">OpenPGP/GnuPG key: <a moz-do-not-send="true" href="https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED">https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED</a><o:p></o:p></span></pre>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
OpenPGP/GnuPG key: <a class="moz-txt-link-freetext" href="https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED">https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED</a></pre>
</body>
</html>