New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: OpenCL error: clBuildProgram (-11) #384
Comments
It looks like you have two separate issues going on...
Can you post the output of "glscopeclient --debug" here? |
Found and fixed a bug in the error handling code that might be causing the crash (problem 2). Please update to latest HEAD (be sure to pull submodules as well) and let me know if the crash is gone. This won't fix the OpenCL startup so you still won't get accelerated FFTs, but it should at least not segfault anymore. |
Fixed the issue after installing
After installing
|
Looks like I had a typo in a copy-pasted error message where the de-embedding filter called itself FFT in one of the error lines. I had the same null dereference there, but was looking for it in the wrong place... Can you uninstall |
I am able to reproduce the crash without With the latest HEAD, without
Crash logs when loading FFT
Thanks for the help. I came here after watching your hardwear.io talk :) |
Interesting, so it looks like my new error handling is working and it's crashing further down. This log isn't enough for me to diagnose. Can you rebuild with debug symbols (cmake -DCMAKE_BUILD_TYPE=DEBUG) and get me a backtrace of the crash? |
Logs from `lldb glscopeclient --debug'
|
Enabling debug during compilation doesn't change the printed output, it just means you get less-optimized binaries with source level debug symbols (-O0 -g). Can I get a stack trace? |
|
Looks like with this particular driver breakage, I get most of the way through initializing the accelerated FFT then something fails to run. This confused the filter, which assumed that if this much OpenCL was alive, things would mostly work. Added some fallback code that should gracefully degrade to CPU based FFTs if clFFT fails to bake the plan. Let me know if it works. (Incidentally the same crash was present in the de-embed and channel emulation filters, which are also FFT based and used a lot of nearly identical code) |
Any updates on this? Closing unless this is still a problem. |
Closing due to lack of activity for an extended time period. |
Trying to get glscopeclient running on Manjaro Linux. After installation, when trying to launch I'm getting
ERROR: OpenCL error: clBuildProgram (-11) ERROR: Failed to build OpenCL program for FFT [1] 20465 segmentation fault (core dumped) glscopeclient
The text was updated successfully, but these errors were encountered: