Viewport render crash on GPU Cuda

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
Sharlybg
Donor
Posts: 2478
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Viewport render crash on GPU Cuda

Post by Sharlybg » Mon Sep 07, 2020 1:00 pm

In theory this may even work but: every pending RenderSession will keep a full copy of the scene in ram. You can just keep resizing the view port and the memory usage will increase and increase
Can this have an impact on viewport responssivness ?
Support LuxCoreRender project with salts and bounties

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

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

Re: Viewport render crash on GPU Cuda

Post by Dade » Mon Sep 07, 2020 1:06 pm

Sharlybg wrote:
Mon Sep 07, 2020 1:00 pm
In theory this may even work but: every pending RenderSession will keep a full copy of the scene in ram. You can just keep resizing the view port and the memory usage will increase and increase
Can this have an impact on viewport responssivness ?
You can very easily run out of (CPU) memory and start to swap (i.e. bigger is the scene and less copies you will need to run out of memory).
Support LuxCoreRender project with salts and bounties

kk34
Posts: 2
Joined: Wed Aug 08, 2018 10:38 am

Re: Viewport render crash on GPU Cuda

Post by kk34 » Tue Sep 08, 2020 10:18 am

I got those errors with the last build....Win10/Ryzen/1070

Error: MBVHKernel OpenCL program compilation error
Error: MBVHKernel CUDA program compilation error

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

Re: Viewport render crash on GPU Cuda

Post by Dade » Tue Sep 08, 2020 11:11 am

kk34 wrote:
Tue Sep 08, 2020 10:18 am
I got those errors with the last build....Win10/Ryzen/1070

Error: MBVHKernel OpenCL program compilation error
Error: MBVHKernel CUDA program compilation error
Can you post the console output ?
Support LuxCoreRender project with salts and bounties

kk34
Posts: 2
Joined: Wed Aug 08, 2018 10:38 am

Re: Viewport render crash on GPU Cuda

Post by kk34 » Tue Sep 08, 2020 8:14 pm

Updated to the last build aviable 2hrs ago...And no more Errors.
Just regular crash from the viewport when switching from preview to solid.

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

Re: Viewport render crash on GPU Cuda

Post by Dade » Tue Sep 08, 2020 10:08 pm

kk34 wrote:
Tue Sep 08, 2020 8:14 pm
Updated to the last build aviable 2hrs ago...And no more Errors.
Yes, I fixed the MBVH error.
Support LuxCoreRender project with salts and bounties

Post Reply