https://bugs.winehq.org/show_bug.cgi?id=35890 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED URL| |http://files.metaquotes.net | |/metaquotes.software.corp/m | |t5/mt5setup.exe CC| |focht(a)gmx.net Resolution|--- |INVALID Summary|Metatrader cannot use |MetaTrader 4.x/5.x reports |OpenCL |'opencl not found, please | |check you have installed | |it' --- Comment #2 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, make sure your Wine has proper OpenCL support. You should see 'opencl.dll' being loaded. Additionally 'WINEDEBUG=+tid,+seh,+loaddll,+opencl' is your friend. --- quote --- Surely Windows OpenCL drivers are needed and hence will not work? --- quote --- No, native Windows libs can't work. Wine provides an OpenCL wrapper. A nice article how to use OpenCL with MetaTrader programmatically ("OpenCL: The Bridge to Parallel Worlds"): http://www.mql5.com/en/articles/405 If the 'opencl' debugging channel is enabled you can actually see the API calls when executing/debugging scriptlets: --- snip --- .... 0057:trace:opencl:wine_clGetDeviceInfo (0x7d321a70, 0x1031, 4, 0xb7fe634, (nil)) 0057:trace:opencl:wine_clGetDeviceInfo (0x7d321a70, 0x1031, 4, 0xb7fe634, (nil))=0 0057:trace:opencl:wine_clCreateContext (0xb7fe61c, 1, 0xb7fe638, 0x84e6e0, 0x79121a8, 0xb7fe628) 0057:trace:opencl:wine_clCreateContext (0xb7fe61c, 1, 0xb7fe638, 0xb7fe608, 0x79121a8, 0xb7fe628 (0)))=0xf4316d68 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1083, 4, 0xb7fe63c, (nil)) 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1083, 4, 0xb7fe63c, (nil))=0 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1081, 4, 0xb7fe62c, (nil)) 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1081, 4, 0xb7fe62c, (nil))=0 0057:trace:opencl:wine_clCreateCommandQueue (0xf4316d68, 0x7d321a70, 0x0, 0xb7fe628) 0057:trace:opencl:wine_clCreateCommandQueue (0xf4316d68, 0x7d321a70, 0x0, 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1083, 4, 0xb7fe7a4, (nil)) 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1083, 4, 0xb7fe7a4, (nil))=0 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1081, 4, 0xb7fe7a8, (nil)) 0057:trace:opencl:wine_clGetContextInfo (0xf4316d68, 0x1081, 4, 0xb7fe7a8, (nil))=0 0057:trace:opencl:wine_clCreateProgramWithSource 0057:trace:opencl:wine_clBuildProgram ... --- snip --- Resolving 'invalid' since this is not a Wine bug. $ sha1sum mt5setup.exe ea4bbbdf8707c6dac702e24db31ccf2619bc42aa mt5setup.exe $ du -sh mt5setup.exe 472K mt5setup.exe $ wine --version wine-1.7.25 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.