Mark Ingram Posted February 11, 2021 Share Posted February 11, 2021 @simono, I've confirmed that your Intel driver is version 23.20.16.4973 from your crash dump. @ZY Chang, could you check to see whether your Intel driver is the same version? There are reports of exactly the same crash with this driver version, in the exact same place here - https://community.intel.com/t5/OpenCL/clGetPlatformIDs-crashes-if-integrated-graphic-card-disabled/td-p/1127178 @Groovecrafter, unfortunately your crash doesn't look like the same. To confirm, if you download the latest beta, and run it twice (if it's the same problem as this thread, then it will crash the first time, then succeed the second time). Quote Link to comment Share on other sites More sharing options...
ZY Chang Posted February 11, 2021 Share Posted February 11, 2021 My Graphics driver info: Quote Link to comment Share on other sites More sharing options...
Groovecrafter Posted February 11, 2021 Share Posted February 11, 2021 1 hour ago, Mark Ingram said: @Groovecrafter, unfortunately your crash doesn't look like the same. To confirm, if you download the latest beta, and run it twice (if it's the same problem as this thread, then it will crash the first time, then succeed the second time). Sadly you were right. It did not run for the second time. Here are the crash reports. ef7a1c73-be43-4119-a7ad-567e84941bf7.dmpdf1e62db-7109-48fa-bdca-787677bea783.dmp Quote Link to comment Share on other sites More sharing options...
Mark Ingram Posted February 12, 2021 Share Posted February 12, 2021 22 hours ago, simono said: However, he should put in his quick&dirty a little more sophistically. At the moment he seems to be using cl.dat as a sort of flag. If my horrible suspicion is correct, once cl.dat has recorded a bad trial start, the main application - e.g. Photo - will never try to switch on acceleration ever again. You are correct 🙂 I've written a little test app that attempts to enumerate OpenCL platforms and devices, and identify faulty drivers. Can you and @ZY Chang, run the following app and copy the results here please? cltest.zip Quote Link to comment Share on other sites More sharing options...
ZY Chang Posted February 12, 2021 Share Posted February 12, 2021 26 minutes ago, Mark Ingram said: You are correct 🙂 I've written a little test app that attempts to enumerate OpenCL platforms and devices, and identify faulty drivers. Can you and @ZY Chang, run the following app and copy the results here please? cltest.zip 10.81 kB · 3 downloads I just ran it, it seems nothing has happened except a term/win popped up for a couple of seconds and disappeared. Quote Link to comment Share on other sites More sharing options...
Mark Ingram Posted February 12, 2021 Share Posted February 12, 2021 4 minutes ago, ZY Chang said: I just ran it, it seems nothing has happened except a term/win popped up for a couple of seconds and disappeared. Press Windows Key + R, then type "cmd" and enter. Then paste in the address of where that app was extracted to, then hit enter. Quote Link to comment Share on other sites More sharing options...
ZY Chang Posted February 12, 2021 Share Posted February 12, 2021 This window only appeared for about 2 to 3 seconds. Where if any the results would be? Quote Link to comment Share on other sites More sharing options...
carl123 Posted February 12, 2021 Share Posted February 12, 2021 6 minutes ago, Mark Ingram said: Press Windows Key + R, then type "cmd" and enter. Then paste in the address of where that app was extracted to, then hit enter. Firstly, nothing happens unless CMD is run with Administrator privileges Secondly, I needed to pipe the output of cltest.exe to a txt file to see anything at all File attached, is this what is expected? PS I'm Windows 8.1 so I know hardware acceleration will not work on my PC results.txt Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
ZY Chang Posted February 12, 2021 Share Posted February 12, 2021 3 hours ago, Mark Ingram said: You are correct 🙂 I've written a little test app that attempts to enumerate OpenCL platforms and devices, and identify faulty drivers. Can you and @ZY Chang, run the following app and copy the results here please? cltest.zip 10.81 kB · 5 downloads When I ran it nothing happened except a cmd window appeared and then disappeared. When I piped result to a file. Here is what's inside: OpenCL tests failed to complete! This indicates a problem with one or more OpenCL drivers on your system. Quote Link to comment Share on other sites More sharing options...
simono Posted February 12, 2021 Share Posted February 12, 2021 I downloaded cltest.exe, moved it to ...system32 - apparently the default starting directory for running cmd shell as admin - and ran it as admin piping the output to aaa.txt. The file aaa.txt was created but it was empty. Does cltest.exe have to be in a specific directory? Quote Link to comment Share on other sites More sharing options...
simono Posted February 12, 2021 Share Posted February 12, 2021 I repeated the test in the download directory. The same. You ought to at least put in some positive messages: cltest started cltest finished. Quote Link to comment Share on other sites More sharing options...
ZY Chang Posted February 12, 2021 Share Posted February 12, 2021 32 minutes ago, simono said: I repeated the test in the download directory. The same. You ought to at least put in some positive messages: cltest started cltest finished. You may need to pipe results if any to a file like: cltest.exe > cltest_result.txt. In my piped result, it says: OpenCL tests failed to complete! This indicates a problem with one or more OpenCL drivers on your system. Quote Link to comment Share on other sites More sharing options...
Mark Ingram Posted February 12, 2021 Share Posted February 12, 2021 1 hour ago, ZY Chang said: You may need to pipe results if any to a file like: cltest.exe > cltest_result.txt. In my piped result, it says: OpenCL tests failed to complete! This indicates a problem with one or more OpenCL drivers on your system. I’m not sure why you can’t see output in the command prompt itself. Works ok here... But yes, the error message is correct, your driver is faulty. Quote Link to comment Share on other sites More sharing options...
ZY Chang Posted February 12, 2021 Share Posted February 12, 2021 I ran the cltest directly within the Win + R window. I ran it again under the shell. Here are the output: Checking for OpenCL binaries: Found Querying OpenCL platform count: OpenCL tests failed to complete! This indicates a problem with one or more OpenCL drivers on your system. There are a lot of OpneCL.dll files at various places. Which ones does the test code check? Any idea as which OpenCL driver is faulty? v_kyr 1 Quote Link to comment Share on other sites More sharing options...
v_kyr Posted February 12, 2021 Share Posted February 12, 2021 On Win systems the detection of OpenCL support seems to make generally some trouble for many projects, just one other example here ... OpenCL Support not detected in mixed CPU/GPU system Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
ZY Chang Posted February 12, 2021 Share Posted February 12, 2021 My search of OpenCL in driver C is as below: Can you @Mark Ingram tell which one might be faulty? Quote Link to comment Share on other sites More sharing options...
v_kyr Posted February 13, 2021 Share Posted February 13, 2021 There is also a DriverView tool from NirSoft, which can be handy here, since it lists all related informations for the drivers, can find and generate reports etc. Other OpenCL related resources and informations, also as tools to showup CPU/GPU support for that can be found here: Do your (X86) CPU and GPU support OpenCL? How to install OpenCL on Windows OpenCL conformant products CPU-Z GPU-Z GPU Caps Viewer (many OpenCL-infos) ... and so on ... Patrick Connor and Pauls 1 1 Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
simono Posted February 13, 2021 Share Posted February 13, 2021 10 hours ago, ZY Chang said: You may need to pipe results if any to a file like: cltest.exe > cltest_result.txt. In my piped result, it says: OpenCL tests failed to complete! This indicates a problem with one or more OpenCL drivers on your system. Sorry, ladies, but simono did - in his infinite wisdom and dressed up in his magic admin cloak - manage to pipe the results of cltest.exe into a highly mnemonically named file "aaa.txt". 😎 The file was created and empty. Nothing in there. Nada. Nowt. Quote Link to comment Share on other sites More sharing options...
carl123 Posted February 13, 2021 Share Posted February 13, 2021 6 minutes ago, simono said: Sorry, ladies, but simono did - in his infinite wisdom and dressed up in his magic admin cloak - manage to pipe the results of cltest.exe into a highly mnemonically named file "aaa.txt". 😎 The file was created and empty. Nothing in there. Nada. Nowt. Did you run CMD as Administrator? Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
Mark Ingram Posted February 13, 2021 Share Posted February 13, 2021 37 minutes ago, simono said: Sorry, ladies, but simono did - in his infinite wisdom and dressed up in his magic admin cloak - manage to pipe the results of cltest.exe into a highly mnemonically named file "aaa.txt". 😎 The file was created and empty. Nothing in there. Nada. Nowt. Very strange, but I just downloaded the app onto my laptop (wrote it on my desktop originally), and I get the same behaviour... nothing output. Will investigate... Quote Link to comment Share on other sites More sharing options...
Mark Ingram Posted February 13, 2021 Share Posted February 13, 2021 39 minutes ago, simono said: Sorry, ladies, but simono did - in his infinite wisdom and dressed up in his magic admin cloak - manage to pipe the results of cltest.exe into a highly mnemonically named file "aaa.txt". 😎 The file was created and empty. Nothing in there. Nada. Nowt. Try this, use the "fork" parameter: cltest.exe fork I get: Quote C:\Users\mingr\Code>cltest fork Checking for OpenCL binaries: Found Querying OpenCL platform count: 2 Attempting to initialise each platform: Success Enumerating each platform: Name: NVIDIA CUDA Vendor: NVIDIA Corporation Version: OpenCL 1.2 CUDA 11.1.102 Name: Intel(R) OpenCL HD Graphics Vendor: Intel(R) Corporation Version: OpenCL 2.1 Success Enumerating OpenCL devices for platform : NVIDIA CUDA Querying device count: 1 Attempting to initialise each device: Success Enumerating each device: Name: GeForce GTX 1650 Vendor: NVIDIA Corporation Version: OpenCL 1.2 CUDA Success Enumerating OpenCL devices for platform : Intel(R) OpenCL HD Graphics Querying device count: 1 Attempting to initialise each device: Success Enumerating each device: Name: Intel(R) UHD Graphics 630 Vendor: Intel(R) Corporation Version: OpenCL 2.1 NEO Success Quote Link to comment Share on other sites More sharing options...
simono Posted February 13, 2021 Share Posted February 13, 2021 32 minutes ago, carl123 said: Did you run CMD as Administrator? Click on the input field bottom left Key in "cmd" White Window comes up. Chose "Als Administrator ausführen". Messagebox comes up - Do you want to ruin your system? Click "yes" button. Black Window comes up cltest > aaa.txt Purchase the latest version of Microsoft Office Admire the contents of aaa.txt Quote Link to comment Share on other sites More sharing options...
simono Posted February 13, 2021 Share Posted February 13, 2021 C:\WINDOWS\system32>cltest C:\WINDOWS\system32>cltest.exe fork Checking for OpenCL binaries: Found Querying OpenCL platform count: C:\WINDOWS\system32> Mark Ingram 1 Quote Link to comment Share on other sites More sharing options...
Mark Ingram Posted February 13, 2021 Share Posted February 13, 2021 Just now, simono said: C:\WINDOWS\system32>cltest C:\WINDOWS\system32>cltest.exe fork Checking for OpenCL binaries: Found Querying OpenCL platform count: C:\WINDOWS\system32> Yep, again, this confirms that you driver crashes as soon as you call clGetPlatformIDs (this is the same problem as @ZY Chang). OpenCL.dll is just a wrapper around the "real" drivers, so it's not OpenCL.dll that's at fault. I imagine it's the Intel driver you have. Is there no later driver you can install? Quote Link to comment Share on other sites More sharing options...
simono Posted February 13, 2021 Share Posted February 13, 2021 To quote a famous Speaker: The "Knows" have it! Mark Ingram 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.