Page 2 of 2

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 12:22 pm
by Dade
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 ?

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 12:38 pm
by Sharlybg
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.

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 3:03 pm
by Dade
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 ?

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 3:28 pm
by Sharlybg
So it is a OpenCL problem ?
i can probably say today that it is a opencl bug only now.

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 4:36 pm
by Martini
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.

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 7:43 pm
by Dade
Ok, this restrict the list of places where to look for the problem.

Re: Opencl clenqueuwritebuffer bug

Posted: Wed Jun 03, 2020 9:57 pm
by Sharlybg
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

Re: Opencl clenqueuwritebuffer bug

Posted: Thu Jun 04, 2020 11:09 am
by Dade
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 ?