Opencl clenqueuwritebuffer bug

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
User avatar
Dade
Developer
Posts: 4974
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post by Dade » Wed Jun 03, 2020 12:22 pm

Martini wrote:
Tue Jun 02, 2020 9:56 am
Edit 6: Decided to test it - switched from CUDA back to OpenCL and rendered a few frames. The difference is quite noticeable:

memory-cuda-vs-opencl.png
So, is it a CUDA-only problem ?
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Donor
Posts: 2572
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Opencl clenqueuwritebuffer bug

Post by Sharlybg » Wed Jun 03, 2020 12:38 pm

So, is it a CUDA-only problem ?
On my side i get this error solved by switching from Opencl to CUDA but with lastest unified build.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

User avatar
Dade
Developer
Posts: 4974
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post by Dade » Wed Jun 03, 2020 3:03 pm

Sharlybg wrote:
Wed Jun 03, 2020 12:38 pm
So, is it a CUDA-only problem ?
On my side i get this error solved by switching from Opencl to CUDA but with lastest unified build.
So it is a OpenCL problem ?
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Donor
Posts: 2572
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Opencl clenqueuwritebuffer bug

Post by Sharlybg » Wed Jun 03, 2020 3:28 pm

So it is a OpenCL problem ?
i can probably say today that it is a opencl bug only now.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

Martini
Posts: 84
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: Opencl clenqueuwritebuffer bug

Post by Martini » Wed Jun 03, 2020 4:36 pm

Sharlybg wrote:
Wed Jun 03, 2020 3:28 pm
So it is a OpenCL problem ?
i can probably say today that it is a opencl bug only now.
The problem only occurred for me with OpenCL in the unified build.
i9 9900K @ 5000MHz | 2x Gigabyte AORUS RTX 2080 Ti Extreme Waterforce WB 11G @ 2010MHz
Z390 Aorus Pro | 32GB Kingston HyperX Predator RGB @ 4300MHz

User avatar
Dade
Developer
Posts: 4974
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post by Dade » Wed Jun 03, 2020 7:43 pm

Ok, this restrict the list of places where to look for the problem.
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Donor
Posts: 2572
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Opencl clenqueuwritebuffer bug

Post by Sharlybg » Wed Jun 03, 2020 9:57 pm

Dade wrote:
Wed Jun 03, 2020 7:43 pm
Ok, this restrict the list of places where to look for the problem.
Btw it is such a pleasure to see luxcore render 1000 frames one after one without complaining. I feel so much peace. Will sleep happier tjis night. I have already 1055/1111 frames done currently.
Thanks for this beauty :D
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

User avatar
Dade
Developer
Posts: 4974
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post by Dade » Thu Jun 04, 2020 11:09 am

The problem is easy to replicate but it starts to smell like a NVIDIA driver bug. I have modified the OpenCL code so it should be pretty much impossible to have memory leak across different renderings but the problem is still there.

Is someone with an AMD GPU able to replicate the problem ?
Support LuxCoreRender project with salts and bounties

Post Reply