Page 1 of 1

Does not seem to use my GPU

Posted: Mon May 10, 2021 5:12 pm
by mardymarvin
Hello,

I have updated to blender 2.92 and luxcore 2.5 (tried latest aswell) and it does not seem to be using my GPU as the CPU hits 100% and GPU is basically 10%.

I have the GPU set as I had in the older version of blender and I have got the latest nvidia drivers as of yesterday. I have run blender in debug mode but I am not really sure what I am looking for but it seems to mention my card and optix.

Am I missing something simple on this because for example if I use ATI render engine that happily uses the whole GPU and renders as quick as I would expect.

Not sure if this is any help but a snippit from the debug. all I am doing is rendering the basic cube

[LuxRays][1053.125] Total Optix memory usage: 2Kbytes
[LuxCore][1053.188] [PathOCLRenderEngine] OpenCL task count: 262144
[LuxCore][1053.188] [PathOCLBaseRenderEngine] OpenCL max. page memory size: 18014398509481983Kbytes
[LuxCore][1053.188] Compile Geometry
[LuxCore][1053.188] Scene geometry compilation time: 0ms
[LuxCore][1053.188] Compile 1 Textures
[LuxCore][1053.188] Texture evaluation ops count: 3
[LuxCore][1053.188] Texture evaluation max. stack size: 3
[LuxCore][1053.188] Textures compilation time: 0ms
[LuxCore][1053.188] Compile 1 Materials
[LuxCore][1053.188] Material evaluation ops count: 7
[LuxCore][1053.188] Material evaluation max. stack size: 8
[LuxCore][1053.188] Material compilation time: 0ms
[LuxCore][1053.188] Compile Lights
[LuxCore][1053.188] Lights compilation time: 0ms
[LuxCore][1053.188] Compile ImageMaps
[LuxCore][1053.188] Image maps page(s) count: 1
[LuxCore][1053.188] RGB channel page 0 size: 3072Kbytes
[LuxCore][1053.188] Image maps compilation time: 0ms
[LuxCore][1053.188] Always enabled OpenCL code:
[LuxCore][1053.188] Compile Geometry
[LuxCore][1053.188] Scene geometry compilation time: 0ms
[LuxCore][1053.188] Compile 1 Textures
[LuxCore][1053.188] Texture evaluation ops count: 3
[LuxCore][1053.188] Texture evaluation max. stack size: 3
[LuxCore][1053.203] Textures compilation time: 14ms
[LuxCore][1053.203] Compile 1 Materials
[LuxCore][1053.203] Material evaluation ops count: 7
[LuxCore][1053.203] Material evaluation max. stack size: 8
[LuxCore][1053.203] Material compilation time: 0ms
[LuxCore][1053.203] Compile Lights
[LuxCore][1053.203] Lights compilation time: 0ms
[LuxCore][1053.203] Compile ImageMaps
[LuxCore][1053.203] Image maps page(s) count: 1
[LuxCore][1053.203] RGB channel page 0 size: 3072Kbytes
[LuxCore][1053.203] Image maps compilation time: 0ms
[LuxCore][1053.203] Starting 1 OpenCL render threads
[LuxRays][1053.235] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 32,400Kbytes
[LuxRays][1053.235] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] NOISE buffer size: 8,100Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 32,400Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Camera buffer size: 5,492bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Normals buffer size: 288bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] UVs buffer size: 192bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Triangle normals buffer size: 144bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Vertices buffer size: 288bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Triangles buffer size: 144bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Mesh description buffer size: 312bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] ImageMap descriptions buffer size: 32bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] ImageMaps buffer size: 3,072Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Textures buffer size: 328bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Texture evaluation ops buffer size: 24bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Texture evaluation stacks buffer size: 3,072Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Materials buffer size: 228bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Material evaluation ops buffer size: 84bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Material evaluation stacks buffer size: 8,192Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Scene objects buffer size: 24bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Lights buffer size: 688bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Env. light indices buffer size: 4bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Light offsets (Part I) buffer size: 4bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Env. light distributions buffer size: 1,028Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] LightsDistribution buffer size: 24bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] InfiniteLightSourcesDistribution buffer size: 24bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Ray buffer size: 12,288Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] RayHit buffer size: 5,120Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] GPUTaskConfiguration buffer size: 328bytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] GPUTask buffer size: 169,984Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] GPUTaskDirectLight buffer size: 15,360Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] GPUTaskState buffer size: 100,352Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] GPUTask Stats buffer size: 1,024Kbytes
[LuxRays][1053.266] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] SamplerSharedData buffer size: 8,109Kbytes
[LuxCore][1053.281] [PathOCLBaseRenderThread::0] Size of a Sample: 40bytes
[LuxRays][1053.281] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Sample buffer size: 10,240Kbytes
[LuxCore][1053.281] [PathOCLBaseRenderThread::0] Size of a SampleData: 8bytes
[LuxRays][1053.281] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] SampleData buffer size: 2,048Kbytes
[LuxCore][1053.281] [PathOCLBaseRenderThread::0] Size of a SampleResult: 428bytes
[LuxRays][1053.281] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] SampleResult buffer size: 109,568Kbytes
[LuxRays][1053.281] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] PathInfo buffer size: 27,648Kbytes
[LuxRays][1053.281] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] DirectLightVolumeInfo buffer size: 11,264Kbytes
[LuxRays][1053.281] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Pixel Filter Distribution buffer size: 33Kbytes
[LuxCore][1053.281] [PathOCLBaseRenderThread::0] Compiling kernels
[LuxRays][1053.281] [PathOCL kernel] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1e-05f -D PARAM_RAY_EPSILON_MAX=0.1f -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][1053.281] [PathOCL kernel] Compiling kernels
[LuxRays][1053.328] [PathOCL kernel] Program cached
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling Film_Clear Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling InitSeed Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling Init Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_RT_NEXT_VERTEX Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_HIT_NOTHING Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_HIT_OBJECT Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_RT_DL Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_DL_ILLUMINATE Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_DL_SAMPLE_BSDF Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_GENERATE_NEXT_VERTEX_RAY Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_SPLAT_SAMPLE Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_NEXT_SAMPLE Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_GENERATE_CAMERA_RAY Kernel
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] AdvancePaths_MK_* workgroup size: 32
[LuxCore][1053.328] [PathOCLBaseRenderThread::0] Kernels compilation time: 46ms
[LuxCore][1053.328] Starting 8 native render threads
Session started in 0.3 s
[LuxCore][1053.422] Film hardware image pipeline
[LuxCore][1054.219] Film hardware device used: NVIDIA GeForce RTX 2060 CUDAIntersect (Type: CUDA_GPU)
[LuxRays][1054.219] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] IMAGEPIPELINE buffer size: 24,300Kbytes
[LuxRays][1054.391] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Merge buffer size: 32,400Kbytes
[LuxRays][1054.391] [MergeSampleBuffersOCL] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][1054.391] [MergeSampleBuffersOCL] Compiling kernels
[LuxRays][1054.406] [MergeSampleBuffersOCL] Program cached
[LuxCore][1054.406] [MergeSampleBuffersOCL] Compiling Film_MergeBufferInitialize Kernel
[LuxCore][1054.406] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_PIXEL_NORMALIZED Kernel
[LuxCore][1054.406] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_SCREEN_NORMALIZED Kernel
[LuxCore][1054.406] [MergeSampleBuffersOCL] Compiling Film_MergeBufferFinalize Kernel
[LuxCore][1054.406] [MergeSampleBuffersOCL] Kernels compilation time: 14ms
[LuxRays][1055.031] [LinearToneMap] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][1055.031] [LinearToneMap] Compiling kernels
[LuxRays][1055.031] [LinearToneMap] Program cached
[LuxCore][1055.031] [AutoLinearToneMap] Compiling LinearToneMap_Apply Kernel
[LuxCore][1055.031] [LinearToneMap] Kernels compilation time: 0ms
Recommended clamp value: 2.520476954350759
[LuxRays][1058.344] [LinearToneMap] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][1058.344] [LinearToneMap] Compiling kernels
[LuxRays][1058.344] [LinearToneMap] Program cached
[LuxCore][1058.344] [AutoLinearToneMap] Compiling LinearToneMap_Apply Kernel
[LuxCore][1058.344] [LinearToneMap] Kernels compilation time: 0ms
[LuxRays][1058.344] [Device NVIDIA GeForce RTX 2060 CUDAIntersect] Gamma table buffer size: 16Kbytes
[LuxRays][1058.344] [GammaCorrectionPlugin] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][1058.344] [GammaCorrectionPlugin] Compiling kernels
[LuxRays][1058.360] [GammaCorrectionPlugin] Program cached
[LuxCore][1058.360] [GammaCorrectionPlugin] Compiling GammaCorrectionPlugin_Apply Kernel
[LuxCore][1058.360] [GammaCorrectionPlugin] Kernels compilation time: 16ms
[LuxCore][1058.578] Noise estimation: first pass
[LuxCore][1062.594] Noise estimation: Error mean = 0.00180671
[LuxRays][1063.485] [Optix][4][DISK CACHE] Closed database: "C:\Users....\AppData\Local\NVIDIA\OptixCache\cache7.db"
[LuxRays][1063.485] [Optix][4][DISK CACHE] Cache data size: "90.6 MiB"
[LuxCore][1063.500] [NVIDIA GeForce RTX 2060 CUDAIntersect] Memory used for hardware image pipeline: 56700Kbytes

Re: Does not seem to use my GPU

Posted: Mon May 10, 2021 6:00 pm
by Dade
What are you using to check the GPU workload ? On Windows, you have to select GPU computing workload, not normal gfx related one.

Re: Does not seem to use my GPU

Posted: Mon May 10, 2021 6:35 pm
by mardymarvin
I am just using task manager to see if the GPU is being used as it was taking longer then before to render things. I have selected all the GPU option in blender as I used to do.

Re: Does not seem to use my GPU

Posted: Mon May 10, 2021 6:46 pm
by Sharlybg
mardymarvin wrote: Mon May 10, 2021 6:35 pm I am just using task manager to see if the GPU is being used as it was taking longer then before to render things. I have selected all the GPU option in blender as I used to do.
What about GPUz

Re: Does not seem to use my GPU

Posted: Mon May 10, 2021 7:59 pm
by mardymarvin
Well that will teach me for relying on a microsoft product I guess I just thought that it would show if the GPU is being used like when watching videos or like the radeon pro render it goes upto 100%. I have used GPUz thanks sharlybg and that does in deed show that the GPU is being 100% utilised when only the standard task manager show 10%. So I guess microsoft and radeon pro render must report usage differently to CPUz and how luxcore is using the card.

Thanks to all for help and advice

Re: Does not seem to use my GPU

Posted: Mon May 10, 2021 8:29 pm
by B.Y.O.B.
You need to switch one of the GPU diagrams to Cuda: