buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
894 stars 116 forks source link

Slower OpenCL initializing in strong GPU #889

Open EurekaChen opened 2 years ago

EurekaChen commented 2 years ago

I have two computer, One with 4 X Nvidia RTX 3090( all selected for render), and another one with only 1 Nvidia RTX 1080. When I render a fractal in Opencl mode in full, the one with 4X RTX 3090 will take 2 minute for OpenCL initializing (Compiling Open CL Progams), Slower than 1x RTX1080( it's spend only several seconds). What's problem?

buddhi1980 commented 2 years ago

I had this problem with one of the newest version of NVidia driver. It took terribly long to compile OpenCL kernels. Do you run the program under Windows or Linux? If Windows, you can try actually developed version 2.27 where I already optimized compilation of OpenCL programs for many GPUs. Maybe it can help. You can also try to downgrade or update NVidia driver. Link to download current build of the program: https://ci.appveyor.com/project/buddhi1980/mandelbulber2/build/job/jab5sd74slcvihvs/artifacts

EurekaChen commented 2 years ago

Thanks,I download 2.27 and upgrade Nvidia dirver to newest (496.49), Now It's take less time to complie (about 20 seconds, Is it still much?)

buddhi1980 commented 2 years ago

It is still long time. It should take not more than few seconds and in most of cases only fraction of a second.

EurekaChen commented 2 years ago

So, Which version of Nivida driver should I use? Or what can I do to solve this problem?

buddhi1980 commented 2 years ago

The problem still exist with the newest NVidia driver (just tested), so I recommend to downgrade the driver to version 461, which you can download from here: https://www.nvidia.com/Download/Find.aspx?fbclid=IwAR3Im_wmIG7h8jWEL1whP-lpiog_R2_Eftm33G5j8tI1gKby1F6zf7Oxuy8 I'm trying to understand this issue. NVidia changed something in the driver, but I cannot find in the documentation what changes they did regarding OpenCL. Let me know if the program runs faster with this older driver on your PC.

EurekaChen commented 2 years ago

Ok,now downgrade to 461.92 and it's very fast! Thank you very much!

mclarekin commented 2 years ago

if there is a studio option, should i use that rather than game ready?

On Fri, Nov 19, 2021 at 3:17 PM Eureka Chen @.***> wrote:

Ok,now downgrade to 461.92 and it's very fast! Thank you very much!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/889#issuecomment-973665357, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHBHDDRIAJHN2XOZMH3UMWXTJANCNFSM5H7XSXJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mclarekin commented 2 years ago

i figured it out, 461.92 is studio and now have it for rtx 2070

On Fri, Nov 19, 2021 at 5:17 PM carbuncle grim @.***> wrote:

if there is a studio option, should i use that rather than game ready?

On Fri, Nov 19, 2021 at 3:17 PM Eureka Chen @.***> wrote:

Ok,now downgrade to 461.92 and it's very fast! Thank you very much!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/889#issuecomment-973665357, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHBHDDRIAJHN2XOZMH3UMWXTJANCNFSM5H7XSXJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EurekaChen commented 1 year ago

Is this issue resolved? or what should we do in new version?

EurekaChen commented 1 year ago

hi, Is this issue resolved for Nivida new driver?

buddhi1980 commented 1 year ago

Unfortunately I still don't have solution. What is interesting, under Linux this new driver (version 510) work fast.

EurekaChen commented 1 year ago

now dirver version 528.02,more gpu cards will be slower.