Comments (5)
The VC4CL_NO_VCSM
environment variable skips the usage of the libvcsm.so, would that work for you?
from vc4cl.
Yes, that I want to say.
Another thing I noticed is that vc4cl must have sudo permission when that flag turn on (because of mailbox).
Please show some message to remind the user.
from vc4cl.
I'm also trying to run VC4CL on 64bit Raspberry Pi (Pi 3b+), do I miss something?
$ sudo bash -c 'VC4CL_NO_VCSM=1 OCL_ICD_VENDORS=/opt/vc4cl/lib/libVC4CL.so clinfo --list'
Bus error
from vc4cl.
Bus error
Never seen that one. Does the program crash, SEGFAULT or hang afterwards? Can you run in e.g. gdb and post the stack which produces the error? Also can you run with VC4CL_DEBUG=system
and post the output?
On the other hand, the mailbox (and other interfaces) will probably not work at all with 64-bit OSes!
from vc4cl.
I don't get something that looks much useful:
$ sudo bash -c 'VC4CL_DEBUG=system VC4CL_NO_VCSM=1 OCL_ICD_VENDORS=/opt/vc4cl/lib/libVC4CL.so gdb -iex "set pagination off" -ex "run" -ex "thread apply all backtrace" -args clinfo --list'
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from clinfo...
(No debugging symbols found in clinfo)
Starting program: /usr/bin/clinfo --list
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Program received signal SIGBUS, Bus error.
0x0063697665645f61 in ?? ()
Thread 1 (Thread 0x7ff7ff6040 (LWP 31643) "clinfo"):
#0 0x0063697665645f61 in ?? ()
#1 0x0000007ff7d108c0 in clGetExtensionFunctionAddress (name=0x7ff7fa3230 "clIcdGetPlatformIDsKHR") at ../src/extensions.cpp:53
#2 0x0000007ff7f9ebf4 in ?? () from /lib/aarch64-linux-gnu/libOpenCL.so.1
#3 0x0000007ff7f9f73c in clGetPlatformIDs () from /lib/aarch64-linux-gnu/libOpenCL.so.1
#4 0x0000005555557074 in ?? ()
#5 0x0000007ff7e30e18 in __libc_start_main (main=0x5555556f00, argc=2, argv=0x7ffffff4e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:308
#6 0x0000005555557620 in ?? ()
Backtrace stopped: not enough registers or memory available to unwind further
from vc4cl.
Related Issues (20)
- mbox_property Connection timed out error HOT 2
- Can we have global work size a multiple of 16? HOT 2
- clEnqueueNDRangeKernel times out on large buffers HOT 13
- [Question] Is VC4CL compatible with BOINC GPU jobs ? HOT 5
- Error building VC4CL HOT 46
- Encountering problems when running darknet on RPI3B+ HOT 29
- Tests fail for Raspberry Pi Zero HOT 6
- clinfo can't find VideoCore on Raspi 3B+, and return `Number of platforms 0` HOT 5
- clinfo not recognizing platform
- No way to build with cpplog with Ninja, also it does not find installed cpplog HOT 3
- issues when building tools and tests HOT 5
- Failed to download dependencies when compiling VC4C HOT 3
- OpenCV DNN Module: OpenCL Target Precompilation Error HOT 3
- [Question] Object Detection running with UMat and/or OpenCL target noticeably slower HOT 1
- Running on Docker HOT 2
- Could not find supported libbcm_host.so HOT 4
- clinfo Number of plataforms1 (only pocl) does not list vc4cl HOT 1
- [Test] How can I build test folder HOT 1
- [System-Error] application hang when launching a simple example (HelloWorld) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vc4cl.