Git Product home page Git Product logo

Comments (5)

doe300 avatar doe300 commented on June 18, 2024

The VC4CL_NO_VCSM environment variable skips the usage of the libvcsm.so, would that work for you?

from vc4cl.

cantricao avatar cantricao commented on June 18, 2024

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.

illwieckz avatar illwieckz commented on June 18, 2024

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.

doe300 avatar doe300 commented on June 18, 2024

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.

illwieckz avatar illwieckz commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.