nVidia drivers + OpenCL issue
See original GitHub issueApparently the recent nVidia drivers (version 410+) have an OpenCL update that seems to be causing Magick to fail.
I’ve tried it with 7.7 and 7.6.0.1 on several computers (including end-users) and the common factor in all of them is the nvidia driver update.
In code, it hangs the thread as soon as we get to any OpenCL-friendly method. If no OpenCL methods have been used, it gets stuck on Dispose()
or at the end of the using
statement. It happens in using
statements for GetPixelsUnsafe()
as well. Same pattern - dead on dispose.
Please let me know if I can provide any additional info.
Am using Magick.NET-Q16-HDRI-x64-OpenMP
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Windows 10 Build 10074 OpenCL.DLL
Apparently nvidia driver has the problem, not to put the OpenCL well as after them manually opened my mind, GPU Cap, but in...
Read more >opencl.dll missing! - CUDA Programming and Performance
i have recently bought a new laptop wit Nvidia GeForce GT 330M CUDA 1GB gpu. After visiting the nvidia wbsite i came to...
Read more >Open Computing Language OpenCL | NVIDIA Developer
A simple test application that demonstrates a new CUDA 4.0 driver ability to embed PTX in a OpenCL kernel. Download - Windows (x86)...
Read more >Driver crashs while OpenCL app is running
Hello,. I have a strange problem. My Video Driver crashes while my OpenCL application is running. I tried many different drivers (197.45, ...
Read more >opencl apparently broken in latest nvidia-driver on Debian ...
This is tested and produces identical results on 4.2.0 and 4.2.1. Hope for some directions for a way to fix this annoyance: darktable ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Earlier this year we disabled NVIDIA devices by default for OpenCL due to a lot of reports about access violations: https://github.com/ImageMagick/ImageMagick/commit/506256cdb5e48435570bbcae81eb8d17de1f7b9f. But it looks like I made a mistake. Just pushed a patch to resolve this: https://github.com/ImageMagick/ImageMagick/commit/9c43e2af2a9ce851afdd27577282838c34bbc6c1. Working on a new release right now so a fix should be available very soon.
Haven’t been able to get any new useful info on this as we had to freeze the code for release soon. For safety’s sake, we now force OpenCL off on initialization. I’ll close this issue. If I find meaningful data in the future will reopen it. Thanks!