Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2016 13:03:44 +0000 (UTC)
From:      Google <no-reply@accounts.google.com>
To:        x11@freebsd.org
Subject:   Your recovery email address changed
Message-ID:  <J-f2QX2k6oUNyy-QPsyqOw@notifications.google.com>

next in thread | raw e-mail | index | archive | help
WW91ciByZWNvdmVyeSBlbWFpbCBhZGRyZXNzIGNoYW5nZWQNCg0KDQoNCkhpIFZOU+WoseS5kOWf
jjg3NjUwMi5jb23ms6jlhozpgIE4OOWFgyznvZHkuIrmnIDngavniIbnmoTmuLjmiI/lubPlj7As
6LaF5aW96LWi6ZKx5ri45oiPLA0KVGhlIHJlY292ZXJ5IGVtYWlsIGZvciB5b3VyIEdvb2dsZSBB
Y2NvdW50IG93ZW5yYW1wbGluZzM4NEBnbWFpbC5jb20gd2FzDQpyZWNlbnRseSBjaGFuZ2VkLg0K
DQoqRG9uJ3QgcmVjb2duaXplIHRoaXMgYWN0aXZpdHk/Kg0KUmV2aWV3IHlvdXIgcmVjZW50bHkg
dXNlZCBkZXZpY2VzDQo8aHR0cHM6Ly9hY2NvdW50cy5nb29nbGUuY29tL0FjY291bnRDaG9vc2Vy
P0VtYWlsPW93ZW5yYW1wbGluZzM4NEBnbWFpbC5jb20mY29udGludWU9aHR0cHM6Ly9zZWN1cml0
eS5nb29nbGUuY29tL3NldHRpbmdzL3NlY3VyaXR5L2FjdGl2aXR5L250LzE0NzcyMjc4MjQzNDg/
cmZuJTNEMiUyNnJmbmMlM0QxJTI2ZXQlM0Q0JTI2YXNhZSUzRDIlMjZhbmV4cCUzRGlyZS1jb250
cm9sPg0Kbm93Lg0KDQpCZXN0LA0KVGhlIEdvb2dsZSBBY2NvdW50cyB0ZWFtDQoNCg0KDQpUaGlz
IGVtYWlsIGNhbid0IHJlY2VpdmUgcmVwbGllcy4gRm9yIG1vcmUgaW5mb3JtYXRpb24sIHZpc2l0
IHRoZSBHb29nbGUNCkFjY291bnRzIEhlbHAgQ2VudGVyIDxodHRwczovL3N1cHBvcnQuZ29vZ2xl
LmNvbS9hY2NvdW50cy9hbnN3ZXIvMjQ1MDIzNj4uDQoNCg0KDQpZb3UgcmVjZWl2ZWQgdGhpcyBt
YW5kYXRvcnkgZW1haWwgc2VydmljZSBhbm5vdW5jZW1lbnQgdG8gdXBkYXRlIHlvdSBhYm91dA0K
aW1wb3J0YW50IGNoYW5nZXMgdG8geW91ciBHb29nbGUgcHJvZHVjdCBvciBhY2NvdW50Lg0Kwqkg
MjAxNiBHb29nbGUgSW5jLiwgMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSwgTW91bnRhaW4gVmll
dywgQ0EgOTQwNDMsIFVTQQ0K
From owner-freebsd-x11@freebsd.org  Sun Oct 23 16:12:47 2016
Return-Path: <owner-freebsd-x11@freebsd.org>
Delivered-To: freebsd-x11@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EAA0C1E1F6
 for <freebsd-x11@mailman.ysv.freebsd.org>;
 Sun, 23 Oct 2016 16:12:47 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 28C49EB9
 for <freebsd-x11@freebsd.org>; Sun, 23 Oct 2016 16:12:47 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 24FF3C1E1F5; Sun, 23 Oct 2016 16:12:47 +0000 (UTC)
Delivered-To: x11@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24987C1E1F3
 for <x11@mailman.ysv.freebsd.org>; Sun, 23 Oct 2016 16:12:47 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 145E9EB8
 for <x11@FreeBSD.org>; Sun, 23 Oct 2016 16:12:47 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9NGCkes082051
 for <x11@FreeBSD.org>; Sun, 23 Oct 2016 16:12:46 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
From: bugzilla-noreply@freebsd.org
To: x11@FreeBSD.org
Subject: maintainer-feedback requested: [Bug 213732] lang/beignet: crashes
 with some OpenCL apps
Date: Sun, 23 Oct 2016 16:12:46 +0000
X-Bugzilla-Type: request
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: needs-qa
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: 
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: x11@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
Message-ID: <bug-213732-7141-T7SKR3J4CR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213732-7141@https.bugs.freebsd.org/bugzilla/>
References: <bug-213732-7141@https.bugs.freebsd.org/bugzilla/>
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-x11@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: X11 on FreeBSD -- maintaining and support <freebsd-x11.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-x11>,
 <mailto:freebsd-x11-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-x11/>;
List-Post: <mailto:freebsd-x11@freebsd.org>
List-Help: <mailto:freebsd-x11-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-x11>,
 <mailto:freebsd-x11-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Oct 2016 16:12:47 -0000

Jan Beich (mail not working) <jbeich@FreeBSD.org> has reassigned Bugzilla
Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to
x11@FreeBSD.org:
Bug 213732: lang/beignet: crashes with some OpenCL apps
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213732



--- Description ---
I'm using drm-next-4.7 (rebased) + xserver-next. Either Beignet or drm-next=
-4.7
appears to have partially broken OpenCL implementation. Not sure if the iss=
ue
affects the main tree but filing here for better visibility.

Let's prepare

  $ pkg install -qy beignet pocl waifu2x-converter-cpp ffmpeg
  $ fetch
https://github.com/nagadomi/waifu2x/raw/master/images/miku_CC_BY-NC_noisy.j=
pg
  $ fetch
http://demo-uhd3d.com/files/uhd4k/Samsung_UHD_7Wonders_of_the_World_Italy.ts


clinfo is a bit too verbose, here's what a typical app only cares about.

  $ waifu2x-converter-cpp --list-processor
     0: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz     (FMA	): num_core=3D8
     1: Intel(R) HD Graphics Skylake Desktop GT2     (OpenCL	): num_core=3D=
24
     2: pthread 				     (OpenCL	): num_core=3D8
  Nothing to output !

or from under linuxulator

  $ waifu2x-converter-cpp --list-processor
     0: GeForce GT 640				     (CUDA	): num_core=3D2
     1: GeForce GT 640				     (OpenCL	): num_core=3D2
     2: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz     (FMA	): num_core=3D8

POCL is good to check OpenCL on FreeBSD isn't broken elsewhere.

  $ waifu2x-converter-cpp --processor 2 -i miku_CC_BY-NC_noisy.jpg
  OpenCL: pthread
  start process block (0,0) ...
  Iteration #1(3->32)...(50.0566[ms], 9.04946[GFLOPS], 0.733174[GB/s])
  Iteration #2(32->32)...(143.36[ms], 33.7042[GFLOPS], 0.468114[GB/s])
  Iteration #3(32->64)...(271.268[ms], 35.6241[GFLOPS], 0.371084[GB/s])
  Iteration #4(64->64)...(671.44[ms], 28.7849[GFLOPS], 0.199895[GB/s])
  [...]

  $ waifu2x-converter-cpp --processor 1 -i miku_CC_BY-NC_noisy.jpg
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.630 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add807, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.631 =3D tail call float @_Z14__gen_ocl_fminff(float %add807, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.632 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add818, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.633 =3D tail call float @_Z14__gen_ocl_fminff(float %add818, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.634 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add831, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.635 =3D tail call float @_Z14__gen_ocl_fminff(float %add831, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.636 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add844, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.637 =3D tail call float @_Z14__gen_ocl_fminff(float %add844, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.638 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add857, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.639 =3D tail call float @_Z14__gen_ocl_fminff(float %add857, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.640 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add870, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.641 =3D tail call float @_Z14__gen_ocl_fminff(float %add870, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.642 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add883, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.643 =3D tail call float @_Z14__gen_ocl_fminff(float %add883, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Caller instruction:
    %call.i.644 =3D tail call float @_Z14__gen_ocl_fmaxff(float %add896, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fmaxff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Caller instruction:
    %call.i.645 =3D tail call float @_Z14__gen_ocl_fminff(float %add896, fl=
oat
0.000000e+00) #6
  Callee function:

  ; Function Attrs: nounwind readnone
  declare spir_func float @_Z14__gen_ocl_fminff(float, float) #1

  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fmaxff
  Aborting...
  Unresolved symbol: _Z14__gen_ocl_fminff
  Aborting...

  $ pkg install -qy beignet ffmpeg
  $ fetch
http://demo-uhd3d.com/files/uhd4k/Samsung_UHD_7Wonders_of_the_World_Italy.ts
  $ ffmpeg -hide_banner -i /p/Samsung_UHD_7Wonders_of_the_World_Italy.ts
-x264opts opencl:opencl-device=3D0 -codec:v libx264 -y /tmp/a.mp4
  [mpegts @ 0x80ac7a000] start time for stream 1 is not set in
estimate_timings_from_pts
  [mpegts @ 0x80ac7a000] Could not find codec parameters for stream 1 (Audi=
o:
aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
  Consider increasing the value for the 'analyzeduration' and 'probesize'
options
  Input #0, mpegts, from '/p/Samsung_UHD_7Wonders_of_the_World_Italy.ts':
    Duration: 00:02:12.28, start: 1.050044, bitrate: 51922 kb/s
    Program 1
      Stream #0:0[0x101]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024),
yuv420p10le(tv), 3840x2160 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tb=
n,
59.94 tbc
      Stream #0:1[0x102](und): Audio: aac ([15][0][0][0] / 0x000F), 0 chann=
els,
fltp
  [libx264 @ 0x80ac18d00] using SAR=3D1/1
  [libx264 @ 0x80ac18d00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 AVX2 LZCNT BMI2
  [libx264 @ 0x80ac18d00] OpenCL acceleration enabled with Intel Intel(R) HD
Graphics Skylake Desktop GT2
  [libx264 @ 0x80ac18d00] Compiling OpenCL kernels...
  Unresolved symbol: _Z23__gen_ocl_write_imageui11ocl_image2dDv2_iDv4_j
  Aborting...
  Unresolved symbol: _Z23__gen_ocl_write_imageui11ocl_image2dDv2_iDv4_j
  Aborting...
  While deleting: <4 x i32> %
  Use still stuck around after Def is destroyed:  tail call void
@_Z23__gen_ocl_write_imageui11ocl_image2dDv2_iDv4_j(%opencl.image2d_t.0
addrspace(1)* %fenc_img, <2 x i32> %vecinit6, <4 x i32> <badref>) #10
  Assertion failed: (use_empty() && "Uses remain when a value is destroyed!=
"),
function ~Value, file
/usr/ports/devel/llvm37/work/llvm-3.7.1.src/lib/IR/Value.cpp, line 82.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?J-f2QX2k6oUNyy-QPsyqOw>