GPU render crashes blender

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.
Post Reply
caretaker
Posts: 17
Joined: Fri Jan 03, 2020 11:53 am

GPU render crashes blender

Post by caretaker »

Hello, first time using luxcore renderer and i`m loving it so far. However using latest stable 2.81a build of blender and installing the luxcore addon i am unable to use the GPU rendering. when i switch to it it shown compatible hardware but once i hit render, bleder crashes even on the deafult blender cube scene.
using a ryzen 1700 laptop with rx 580 on pop os 18.04 with amdgpu-pro installed and working
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: GPU render crashes blender

Post by B.Y.O.B. »

When you start Blender from a terminal and then crash it, does it print a useful error message?
You could also try to run LuxMark and see if that works OK.
caretaker
Posts: 17
Joined: Fri Jan 03, 2020 11:53 am

Re: GPU render crashes blender

Post by caretaker »

Code: Select all

found bundled python: /home/danpastean/Desktop/Blender stable/2.81/python
BlendLuxCore registered (2.2rc1)
Updating OpenCL device list
==================================================
[Engine/Final] Rendering layer "View Layer"
[Exporter] Creating session
[SDL][30.206] Camera type: perspective
[SDL][30.207] Camera position: Point[7.35889, -6.92579, 4.95831]
[SDL][30.207] Camera target: Point[6.70733, -6.31162, 4.51304]
[SDL][30.207] Camera clipping plane disabled
WARNING: Material "Material": Missing node tree
Objects in cache: 2
Meshes in cache: 1
[SDL][30.208] Material definition: __CLAY__
[SDL][30.209] Material definition: Material140080540400648
[SDL][30.209] Scene objects count: 1
[SDL][30.209] Light definition: 140080539732488
[SDL][30.209] Light definition: __WORLD_BACKGROUND_LIGHT__
[LuxCore][30.236] Configuration: 
[LuxCore][30.236]   path.pathdepth.total = 7
[LuxCore][30.236]   path.pathdepth.diffuse = 5
[LuxCore][30.237]   path.pathdepth.glossy = 5
[LuxCore][30.237]   path.pathdepth.specular = 6
[LuxCore][30.237]   path.hybridbackforward.enable = 0
[LuxCore][30.237]   path.hybridbackforward.partition = 0
[LuxCore][30.237]   path.hybridbackforward.glossinessthreshold = 0.048999998718500137
[LuxCore][30.237]   opencl.cpu.use = 0
[LuxCore][30.237]   opencl.gpu.use = 1
[LuxCore][30.237]   opencl.devices.select = "11"
[LuxCore][30.237]   film.noiseestimation.warmup = 8
[LuxCore][30.237]   film.noiseestimation.step = 32
[LuxCore][30.237]   sampler.sobol.adaptive.strength = 0.5
[LuxCore][30.237]   sampler.random.adaptive.strength = 0.5
[LuxCore][30.237]   sampler.metropolis.largesteprate = 0.40000000000000002
[LuxCore][30.237]   sampler.metropolis.maxconsecutivereject = 512
[LuxCore][30.237]   sampler.metropolis.imagemutationrate = 0.10000000000000001
[LuxCore][30.237]   renderengine.type = "PATHOCL"
[LuxCore][30.237]   sampler.type = "SOBOL"
[LuxCore][30.237]   film.width = 1920
[LuxCore][30.237]   film.height = 1080
[LuxCore][30.237]   film.filter.type = "BLACKMANHARRIS"
[LuxCore][30.237]   film.filter.width = 1.5
[LuxCore][30.237]   lightstrategy.type = "LOG_POWER"
[LuxCore][30.237]   scene.epsilon.min = 9.9999997473787516e-06
[LuxCore][30.237]   scene.epsilon.max = 0.10000000149011612
[LuxCore][30.237]   film.opencl.enable = 1
[LuxCore][30.237]   film.opencl.device = 0
[LuxCore][30.237]   path.forceblackbackground.enable = 0
[LuxCore][30.237]   renderengine.seed = 1
[LuxCore][30.237]   film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][30.237]   film.outputs.0.index = 0
[LuxCore][30.237]   film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][30.237]   film.imagepipelines.0.0.type = "NOP"
[LuxCore][30.237]   film.imagepipelines.0.1.type = "TONEMAP_AUTOLINEAR"
[LuxCore][30.237]   film.imagepipelines.0.2.type = "TONEMAP_LINEAR"
[LuxCore][30.237]   film.imagepipelines.0.2.scale = 0.5
[LuxCore][30.237]   film.imagepipelines.0.radiancescales.0.enabled = 1
[LuxCore][30.237]   film.imagepipelines.0.radiancescales.0.globalscale = 1
[LuxCore][30.237]   film.imagepipelines.0.radiancescales.0.rgbscale = 1 1 1
[LuxCore][30.237]   batch.haltspp = 0
[LuxCore][30.237]   batch.halttime = 0
[LuxCore][30.237] File Name Resolver Configuration: 
Export took 0.0 s
[LuxCore][30.238] Film resolution: 1920x1080
[SDL][30.238] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][30.238] Image pipeline: film.imagepipelines.0
[SDL][30.238] Image pipeline step 0: NOP
[SDL][30.238] Image pipeline step 1: TONEMAP_AUTOLINEAR
[SDL][30.238] Image pipeline step 2: TONEMAP_LINEAR
[SDL][30.238] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_0.png]
[LuxRays][30.245] OpenCL Platform 0: Advanced Micro Devices, Inc.
[LuxRays][30.245] OpenCL Platform 1: Mesa
[LuxRays][30.245] Device 0 name: NativeThread
[LuxRays][30.245] Device 0 type: NATIVE_THREAD
[LuxRays][30.245] Device 0 compute units: 1
[LuxRays][30.245] Device 0 preferred float vector width: 4
[LuxRays][30.245] Device 0 max allocable memory: 0MBytes
[LuxRays][30.245] Device 0 max allocable memory block size: 0MBytes
[LuxRays][30.245] Device 1 name: Ellesmere
[LuxRays][30.245] Device 1 type: OPENCL_GPU
[LuxRays][30.245] Device 1 compute units: 36
[LuxRays][30.245] Device 1 preferred float vector width: 1
[LuxRays][30.245] Device 1 max allocable memory: 2989MBytes
[LuxRays][30.245] Device 1 max allocable memory block size: 2411MBytes
[LuxRays][30.245] Device 2 name: Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0)
[LuxRays][30.245] Device 2 type: OPENCL_GPU
[LuxRays][30.245] Device 2 compute units: 36
[LuxRays][30.245] Device 2 preferred float vector width: 4
[LuxRays][30.245] Device 2 max allocable memory: 4096MBytes
[LuxRays][30.245] Device 2 max allocable memory block size: 3276MBytes
[LuxRays][30.245] Creating 18 intersection device(s)
[LuxRays][30.245] Allocating intersection device 0: Ellesmere (Type = OPENCL_GPU)
[LuxRays][30.245] Allocating intersection device 1: Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) (Type = OPENCL_GPU)
[LuxRays][30.245] Allocating intersection device 2: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.245] Allocating intersection device 3: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.245] Allocating intersection device 4: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.245] Allocating intersection device 5: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.245] Allocating intersection device 6: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 7: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 8: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 9: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 10: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 11: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 12: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 13: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 14: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 15: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 16: NativeThread (Type = NATIVE_THREAD)
[LuxRays][30.246] Allocating intersection device 17: NativeThread (Type = NATIVE_THREAD)
[LuxCore][30.246] OpenCL devices used:
[LuxCore][30.246] [Ellesmere Intersect]
[LuxCore][30.246]   Device OpenCL version: OpenCL 1.2 AMD-APP (2906.7)
[LuxCore][30.246] [Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect]
[LuxCore][30.246]   Device OpenCL version: OpenCL 1.1 Mesa 19.2.1
[LuxCore][30.246] Native devices used: 16
[LuxCore][30.246] Configuring 2 OpenCL render threads
[LuxCore][30.246] Configuring 16 native render threads
[LuxRays][30.246] Preprocessing DataSet
[LuxRays][30.246] Total vertex count: 36
[LuxRays][30.246] Total triangle count: 12
[LuxRays][30.246] Preprocessing DataSet done
[LuxRays][30.246] Adding DataSet accelerator: BVH
[LuxRays][30.246] Total vertex count: 36
[LuxRays][30.246] Total triangle count: 12
[LuxRays][30.248] BVH Dataset preprocessing time: 2ms
[LuxRays][30.248] BVH builder: EMBREE_BINNED_SAH
[LuxRays][30.249] BVH build hierarchy time: 0ms
[LuxRays][30.249] BVH total build time: 2ms
[LuxRays][30.249] Total BVH memory usage: 0Kbytes
[LuxRays][30.249] Adding DataSet accelerator: EMBREE
[LuxRays][30.249] Total vertex count: 36
[LuxRays][30.249] Total triangle count: 12
[LuxRays][30.251] EmbreeAccel build time: 1ms
[LuxRays][30.412] [Device Ellesmere Intersect] BVH mesh vertices buffer size: 432bytes
[LuxRays][30.412] [Device Ellesmere Intersect] BVH nodes buffer size: 608bytes
[LuxRays][30.550] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] BVH mesh vertices buffer size: 432bytes
[LuxRays][30.550] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] BVH nodes buffer size: 608bytes
[LuxCore][31.217] [PathOCLRenderEngine] OpenCL task count: 524288
[LuxCore][31.220] [PathOCLBaseRenderEngine] OpenCL max. page memory size: 2469243Kbytes
[LuxCore][31.220] Compile Geometry
[LuxCore][31.220] Scene geometry compilation time: 0ms
[LuxCore][31.220] Compile 2 Textures
[LuxCore][31.221] Textures compilation time: 0ms
[LuxCore][31.221] Compile 2 Materials
[LuxCore][31.221] Material compilation time: 0ms
[LuxCore][31.221] Compile Lights
[LuxCore][31.221] Lights compilation time: 0ms
[LuxCore][31.221] Compile ImageMaps
[LuxCore][31.222] Image maps page(s) count: 0
[LuxCore][31.222] Image maps compilation time: 0ms
[LuxCore][31.222] Always enabled OpenCL code: 
[LuxCore][31.222] Compile Geometry
[LuxCore][31.222] Scene geometry compilation time: 0ms
[LuxCore][31.222] Compile 2 Textures
[LuxCore][31.222] Textures compilation time: 0ms
[LuxCore][31.222] Compile 2 Materials
[LuxCore][31.222] Material compilation time: 0ms
[LuxCore][31.222] Compile Lights
[LuxCore][31.222] Lights compilation time: 0ms
[LuxCore][31.222] Compile ImageMaps
[LuxCore][31.222] Image maps page(s) count: 0
[LuxCore][31.222] Image maps compilation time: 0ms
[LuxCore][31.222] Starting 2 OpenCL render threads
[LuxRays][31.264] [Device Ellesmere Intersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 32400Kbytes
[LuxRays][31.264] [Device Ellesmere Intersect] NOISE buffer size: 8100Kbytes
[LuxRays][31.290] [Device Ellesmere Intersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 32400Kbytes
[LuxRays][31.290] [Device Ellesmere Intersect] Camera buffer size: 5448bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Normals buffer size: 432bytes
[LuxRays][31.291] [Device Ellesmere Intersect] UVs buffer size: 288bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Vertices buffer size: 432bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Triangles buffer size: 144bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Mesh description buffer size: 156bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Textures buffer size: 544bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Materials buffer size: 296bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Scene objects buffer size: 12bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Lights buffer size: 664bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Env. light indices buffer size: 4bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Light offsets (Part I) buffer size: 4bytes
[LuxRays][31.291] [Device Ellesmere Intersect] Env. light distributions buffer size: 1028Kbytes
[LuxRays][31.292] [Device Ellesmere Intersect] LightsDistribution buffer size: 24bytes
[LuxRays][31.292] [Device Ellesmere Intersect] InfiniteLightSourcesDistribution buffer size: 24bytes
[LuxRays][31.292] [Device Ellesmere Intersect] Ray buffer size: 24576Kbytes
[LuxRays][31.292] [Device Ellesmere Intersect] RayHit buffer size: 10240Kbytes
[LuxCore][31.292] [PathOCLBaseRenderThread::0] Size of a GPUTask: 164bytes
[LuxRays][31.293] [Device Ellesmere Intersect] GPUTask buffer size: 83968Kbytes
[LuxCore][31.293] [PathOCLBaseRenderThread::0] Size of a GPUTask DirectLight: 84bytes
[LuxRays][31.293] [Device Ellesmere Intersect] GPUTaskDirectLight buffer size: 43008Kbytes
[LuxCore][31.293] [PathOCLBaseRenderThread::0] Size of a GPUTask State: 232bytes
[LuxRays][31.293] [Device Ellesmere Intersect] GPUTaskState buffer size: 118784Kbytes
[LuxRays][31.293] [Device Ellesmere Intersect] GPUTask Stats buffer size: 2048Kbytes
[LuxRays][31.293] [Device Ellesmere Intersect] SamplerSharedData buffer size: 8100Kbytes
[LuxCore][31.297] [PathOCLBaseRenderThread::0] Size of a Sample: 88bytes
[LuxRays][31.297] [Device Ellesmere Intersect] Sample buffer size: 45056Kbytes
[LuxCore][31.297] [PathOCLBaseRenderThread::0] Sample dimensions: 54
[LuxCore][31.297] [PathOCLBaseRenderThread::0] Size of a SampleData: 8bytes
[LuxRays][31.297] [Device Ellesmere Intersect] SampleData buffer size: 4096Kbytes
[LuxRays][31.297] [Device Ellesmere Intersect] Pixel Filter Distribution buffer size: 33Kbytes
[LuxCore][31.299] [PathOCLBaseRenderThread::0] Defined symbols:  -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1.000000e-05f -D PARAM_RAY_EPSILON_MAX=1.000000e-01f -D PARAM_LIGHT_WORLD_RADIUS_SCALE=1.050000e+00f -D PARAM_ACCEL_BVH -D PARAM_FILM_RADIANCE_GROUP_0 -D PARAM_FILM_RADIANCE_GROUP_COUNT=1 -D PARAM_FILM_CHANNELS_HAS_NOISE -D PARAM_ENABLE_TEX_CONST_FLOAT -D PARAM_ENABLE_TEX_CONST_FLOAT3 -D PARAM_ENABLE_TEX_IMAGEMAP -D PARAM_ENABLE_TEX_NORMALMAP -D PARAM_ENABLE_TEX_FRESNELCOLOR -D PARAM_ENABLE_TEX_FRESNELCONST -D PARAM_ENABLE_MAT_MATTE -D PARAM_CAMERA_TYPE=0 -D PARAM_HAS_SKYLIGHT2 -D PARAM_HAS_SPHERELIGHT -D PARAM_HAS_ENVLIGHTS -D PARAM_MAX_PATH_DEPTH=7 -D PARAM_MAX_PATH_DEPTH_DIFFUSE=5 -D PARAM_MAX_PATH_DEPTH_GLOSSY=5 -D PARAM_MAX_PATH_DEPTH_SPECULAR=6 -D PARAM_RR_DEPTH=3 -D PARAM_RR_CAP=5.000000e-01f -D PARAM_SQRT_VARIANCE_CLAMP_MAX_VALUE=0.000000e+00f -D PARAM_IMAGE_FILTER_TYPE=5 -D PARAM_IMAGE_FILTER_WIDTH_X=1.500000e+00f -D PARAM_IMAGE_FILTER_WIDTH_Y=1.500000e+00f -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_X=1 -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_Y=1 -D PARAM_SAMPLER_TYPE=2 -D PARAM_SAMPLER_SOBOL_STARTOFFSET=32 -D LUXCORE_AMD_OPENCL
[LuxCore][31.299] [PathOCLBaseRenderThread::0] Compiling kernels 
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Kernels cached
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling Film_Clear Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling InitSeed Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling Init Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_RT_NEXT_VERTEX Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_HIT_NOTHING Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_HIT_OBJECT Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_RT_DL Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_DL_ILLUMINATE Kernel
[LuxCore][31.309] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_DL_SAMPLE_BSDF Kernel
[LuxCore][31.310] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_GENERATE_NEXT_VERTEX_RAY Kernel
[LuxCore][31.310] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_SPLAT_SAMPLE Kernel
[LuxCore][31.310] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_NEXT_SAMPLE Kernel
[LuxCore][31.310] [PathOCLBaseRenderThread::0] Compiling AdvancePaths_MK_GENERATE_CAMERA_RAY Kernel
[LuxCore][31.310] [PathOCLBaseRenderThread::0] Kernels compilation time: 12ms
[LuxRays][31.352] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 32400Kbytes
[LuxRays][31.353] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] NOISE buffer size: 8100Kbytes
[LuxRays][31.382] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 32400Kbytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Camera buffer size: 5448bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Normals buffer size: 432bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] UVs buffer size: 288bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Vertices buffer size: 432bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Triangles buffer size: 144bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Mesh description buffer size: 156bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Textures buffer size: 544bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Materials buffer size: 296bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Scene objects buffer size: 12bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Lights buffer size: 664bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Env. light indices buffer size: 4bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Light offsets (Part I) buffer size: 4bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Env. light distributions buffer size: 1028Kbytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] LightsDistribution buffer size: 24bytes
[LuxRays][31.383] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] InfiniteLightSourcesDistribution buffer size: 24bytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Ray buffer size: 24576Kbytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] RayHit buffer size: 10240Kbytes
[LuxCore][31.384] [PathOCLBaseRenderThread::1] Size of a GPUTask: 164bytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] GPUTask buffer size: 83968Kbytes
[LuxCore][31.384] [PathOCLBaseRenderThread::1] Size of a GPUTask DirectLight: 84bytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] GPUTaskDirectLight buffer size: 43008Kbytes
[LuxCore][31.384] [PathOCLBaseRenderThread::1] Size of a GPUTask State: 232bytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] GPUTaskState buffer size: 118784Kbytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] GPUTask Stats buffer size: 2048Kbytes
[LuxRays][31.384] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] SamplerSharedData buffer size: 8100Kbytes
[LuxCore][31.389] [PathOCLBaseRenderThread::1] Size of a Sample: 88bytes
[LuxRays][31.389] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Sample buffer size: 45056Kbytes
[LuxCore][31.389] [PathOCLBaseRenderThread::1] Sample dimensions: 54
[LuxCore][31.389] [PathOCLBaseRenderThread::1] Size of a SampleData: 8bytes
[LuxRays][31.389] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] SampleData buffer size: 4096Kbytes
[LuxRays][31.389] [Device Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.0-7625-generic, LLVM 9.0.0) Intersect] Pixel Filter Distribution buffer size: 33Kbytes
[LuxCore][31.391] [PathOCLBaseRenderThread::1] Defined symbols:  -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1.000000e-05f -D PARAM_RAY_EPSILON_MAX=1.000000e-01f -D PARAM_LIGHT_WORLD_RADIUS_SCALE=1.050000e+00f -D PARAM_ACCEL_BVH -D PARAM_FILM_RADIANCE_GROUP_0 -D PARAM_FILM_RADIANCE_GROUP_COUNT=1 -D PARAM_FILM_CHANNELS_HAS_NOISE -D PARAM_ENABLE_TEX_CONST_FLOAT -D PARAM_ENABLE_TEX_CONST_FLOAT3 -D PARAM_ENABLE_TEX_IMAGEMAP -D PARAM_ENABLE_TEX_NORMALMAP -D PARAM_ENABLE_TEX_FRESNELCOLOR -D PARAM_ENABLE_TEX_FRESNELCONST -D PARAM_ENABLE_MAT_MATTE -D PARAM_CAMERA_TYPE=0 -D PARAM_HAS_SKYLIGHT2 -D PARAM_HAS_SPHERELIGHT -D PARAM_HAS_ENVLIGHTS -D PARAM_MAX_PATH_DEPTH=7 -D PARAM_MAX_PATH_DEPTH_DIFFUSE=5 -D PARAM_MAX_PATH_DEPTH_GLOSSY=5 -D PARAM_MAX_PATH_DEPTH_SPECULAR=6 -D PARAM_RR_DEPTH=3 -D PARAM_RR_CAP=5.000000e-01f -D PARAM_SQRT_VARIANCE_CLAMP_MAX_VALUE=0.000000e+00f -D PARAM_IMAGE_FILTER_TYPE=5 -D PARAM_IMAGE_FILTER_WIDTH_X=1.500000e+00f -D PARAM_IMAGE_FILTER_WIDTH_Y=1.500000e+00f -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_X=1 -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_Y=1 -D PARAM_SAMPLER_TYPE=2 -D PARAM_SAMPLER_SOBOL_STARTOFFSET=32 -D LUXCORE_GENERIC_OPENCL
[LuxCore][31.391] [PathOCLBaseRenderThread::1] Compiling kernels 
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Kernels cached
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling Film_Clear Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling InitSeed Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling Init Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_RT_NEXT_VERTEX Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_HIT_NOTHING Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_HIT_OBJECT Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_RT_DL Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_DL_ILLUMINATE Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_DL_SAMPLE_BSDF Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_GENERATE_NEXT_VERTEX_RAY Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_SPLAT_SAMPLE Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_NEXT_SAMPLE Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Compiling AdvancePaths_MK_GENERATE_CAMERA_RAY Kernel
[LuxCore][31.396] [PathOCLBaseRenderThread::1] Kernels compilation time: 6ms
ac_rtld error: !s->is_rx
LLVM failed to upload shader
[LuxCore][31.397] Starting 16 native render threads
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
terminate called after throwing an instance of 'cl::Error'
  what():  clFinish
Aborted (core dumped)
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: GPU render crashes blender

Post by Dade »

caretaker wrote: Fri Jan 03, 2020 10:24 pm LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
ac_rtld error: !s->is_rx
LLVM failed to upload shader
terminate called after throwing an instance of 'cl::Error'
what(): clFinish
Aborted (core dumped)
That is a lot of OpenCL driver internal errors. Are you on Linux or Windows ?
Support LuxCoreRender project with salts and bounties
caretaker
Posts: 17
Joined: Fri Jan 03, 2020 11:53 am

Re: GPU render crashes blender

Post by caretaker »

i`m on linux, fresh install on PopOs 18.04, Ubuntu based with amd oficial drivers, blender sees open CL and cycles uses it perfectly
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: GPU render crashes blender

Post by Dade »

It looks like a Mesa error: https://bugs.freedesktop.org/show_bug.cgi?id=111791

You may have mangled/broken installation of AMD drivers as you should use AMD OpenGL, not Mesa one.
Support LuxCoreRender project with salts and bounties
caretaker
Posts: 17
Joined: Fri Jan 03, 2020 11:53 am

Re: GPU render crashes blender

Post by caretaker »

Ok, update on the matter.
I`ve made a clean install of the os (full wipe) and decided to migrate to PopOs 19.10, that ins't suported by AMD's drivers and refuses to install. I`ve managed to install OpenCL from here https://gist.github.com/tuxutku/79daa2e ... b650cdbe0a
now everything is working as it should. I'm kind-of new at linux but the performance improvement from windows to linux is something i cant pass. Nearly half the render times using cycles and around 25-30% faster render times with Luxcore.
Thanks for the support!
Post Reply