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
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post 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 ?
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Opencl clenqueuwritebuffer bug

Post 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.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post 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 ?
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Opencl clenqueuwritebuffer bug

Post by Sharlybg »

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: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: Opencl clenqueuwritebuffer bug

Post 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.
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post by Dade »

Ok, this restrict the list of places where to look for the problem.
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Opencl clenqueuwritebuffer bug

Post 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
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Opencl clenqueuwritebuffer bug

Post 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 ?
Support LuxCoreRender project with salts and bounties
Post Reply