<div dir="ltr"><div>Hi,</div><div><br></div><div>In some Windows installations OpenCL library crashes and brings down QGIS with it.</div><div><br></div><div>Unfortunately, I tried hard with the limited Windows skills that I have but I've not been able to reproduce and debug this issue, to prevent a crash when opening the settings dialog, I've changed the settings implementation on 3.4.3: OpenCL is now completely disabled until the user opts-in by clicking on the checkbox "Enable OpenCL", of course the setting is not saved in case of a crash, so the user can restart QGIS and don't get another crash.<br></div><div><br></div><div>Coming to the crash, one possibility is that it comes from a wrong OpenCL.dll/lib being loaded: QGIS is compiled with a particular OpenCL library and it ships that library, so, as suggested in the ticket, you can try to temporarily remove the OpenCL.dll/libs that you have and leave only the one shipped with QGIS itself.</div><div><br></div><div>If that doesn't work, there is a possibility that the OpenCL runtime (which is NOT the same thing as OpenCL.dll/lib) that your CPU/GPU vendor provided is buggy or not compatible with the OpenCL library shipped by QGIS (in theory it should never happen, but you know ...).</div><div><br></div>Btw, if you don't mind, let's continue the discussion in the issue tracker, it's easier to keep all related information in the same place.<br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 15, 2019 at 4:00 AM Nicolas Cadieux <<a href="mailto:nicolas.cadieux@archeotec.ca">nicolas.cadieux@archeotec.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Activating OpenCL in QGIS 3.4.3 causes a Qgis crash (Settings -> Options <br>
-> Acceleration -> Enable OpenCL acceleration = crash.  I am on Windows <br>
10_64, Osgeo4W installations.   Video Card is an old GTX260 with OpenCL <br>
1.0 activated (with cuda 1.0) with the latest drivers (342.01).  I also <br>
installed the Intel OpenCL 18.1 Runtime for my CPU i7 6800K in case the <br>
problem was with the old GPU.  The Acceleration windows is blank below <br>
the "the following OpenCL devices were found on this system...". Maybe <br>
that is only because "Enable OpenCL Acceleration" box is not clicked? <br>
This issue is closed in bug report 20363. <br>
<a href="https://issues.qgis.org/issues/20363" rel="noreferrer" target="_blank">https://issues.qgis.org/issues/20363</a>.  I added my feedback to the thread.<br>
<br>
Does anyone have any Idea how to trouble shoot this?<br>
<br>
Thanks,<br>
<br>
Nicolas<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>