[Pkg-opencl-devel] Bug#768185: Bug#768185: beignet kills calling application on program build errors, logging errors to console

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Fri Nov 7 10:33:06 UTC 2014


On Wed, Nov 5, 2014 at 9:33 PM, Rebecca N. Palmer
<rebecca_palmer at zoho.com> wrote:
>> Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
>
> beignet doesn't work on that version of Linux (#767148); a fixed version was
> uploaded yesterday.  Does upgrading to that help?

Ah, interesting. I see there's also a kernel upgrade. I'll upgrade
everything and report back on it.

> What hardware are you using?

It's a Dell XPS 15 from two months ago. This is the lspci -nnvv of my
integrated GPU:

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen
Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
(prog-if 00 [VGA controller])
Subsystem: Dell Device [1028:05fe]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 51
Region 0: Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

The CPU is an eight-core specced as such:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4712HQ CPU @ 2.30GHz
stepping : 3
microcode : 0x1c
cpu MHz : 2308.625
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor
ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic
movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm
ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept
vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
bogomips : 4589.41
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

(etc)

> Does the error occur on any attempt to use OpenCL, or only with this
> program?  (If you don't have any real OpenCL-using programs yet, there's a
> test script at
> https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=beignet_test.py;att=1;bug=767148
> , requires python3-pyopencl, python3-numpy)

I have a variety of opencl applications, and the error appears quite
consistently when I try to compile my kernels.

> If the latter, the clinfo Debian package is a different program with similar
> functionality, so you may want to use that instead (though I do agree this
> is probably a beignet bug).

The clinfo in Debian fails on my system due to the presence of 1.1
platforms and platforms without devices (mesa).

There is most likely something in my system that causes the issue,
which needs to be looked into more closely, but the point is that the
library should _not_ call an exit() in case of error (and it shouldn't
dump compilation errors on stderr).

I'm adding more information about the configuration of my system in my
reply to Andreas.

-- 
Giuseppe "Oblomov" Bilotta



More information about the Pkg-opencl-devel mailing list