LuxCoreRender / BlendLuxCore

Blender Integration for LuxCore
GNU General Public License v3.0
731 stars 92 forks source link

PathOCL kernel OpenCL program compilation error #752

Open jiriks74 opened 2 years ago

jiriks74 commented 2 years ago

.blend file: Default cube

Steps to reproduce:

  1. Open default blender scene
  2. Choose LucCore as render engine
  3. Select render settings helper
  4. Yes
  5. Indoors
  6. Yes
  7. No
  8. Select AMD Radeon RX 580 Series LLVM (OpenCL) as the render device

Screenshots or rendered images: None

Error message from Blender console:

``` Switching to fully guarded memory allocator. Blender 2.93.8 Release Candidate Build: 2021-12-29 00:36:21 Linux release argv[0] = ./blender argv[1] = -d Read prefs: /home/jirka/.config/blender/2.93/config/userpref.blend read file Version 293 sub 18 date 2021-04-16 16:00 hash 463b38b0e0b0 /run/user/1000/gvfs/ non-existent directory 2022-02-22 19:56:47,337 INFO rpr.engine.init [139879249559808]: Core version: 2.2.7 build 0xdeae87c8 2022-02-22 19:56:47,340 INFO rpr.engine.init [139879249559808]: RIF version: 1.7.1 build 0xfe53c43a 2022-02-22 19:56:47,796 INFO rpr.utils.material_library [139879249559808]: Material Library 2.0 found 2022-02-22 19:56:47,797 INFO rpr.material_library [139879249559808]: Material library located at /home/jirka/Documents/Radeon ProRender/Material Library/Xml BlendLuxCore 2.6 registered (with pyluxcore 2.6) Updating device list read file Version 293 sub 18 date 2021-04-16 16:00 hash 463b38b0e0b0 Updating device list ================================================== [Engine/Final] Rendering layer "View Layer" [Exporter] Creating session [SDL][16.980] Define ImageMap: NamedObject [SDL][16.980] Camera type: perspective [SDL][16.980] Camera position: Point[7.35889, -6.92579, 4.95831] [SDL][16.980] Camera target: Point[6.70733, -6.31162, 4.51304] [SDL][16.980] Camera clipping plane disabled [SDL][16.982] Material definition: Material139877417847032 [SDL][16.982] Scene objects count: 1 [SDL][16.982] Light definition: 139877352310328 [SDL][16.982] Light definition: __WORLD_BACKGROUND_LIGHT__ [LuxCore][16.983] Configuration: [LuxCore][16.983] path.pathdepth.total = 7 [LuxCore][16.983] path.pathdepth.diffuse = 5 [LuxCore][16.983] path.pathdepth.glossy = 5 [LuxCore][16.983] path.pathdepth.specular = 6 [LuxCore][16.983] path.hybridbackforward.enable = 1 [LuxCore][16.984] path.hybridbackforward.partition = 0 [LuxCore][16.984] path.hybridbackforward.glossinessthreshold = 0.049 [LuxCore][16.984] opencl.cpu.use = 0 [LuxCore][16.984] opencl.gpu.use = 1 [LuxCore][16.984] opencl.devices.select = "11" [LuxCore][16.984] film.noiseestimation.warmup = 8 [LuxCore][16.984] film.noiseestimation.step = 32 [LuxCore][16.984] sampler.sobol.adaptive.strength = 0.9 [LuxCore][16.984] sampler.sobol.bucketsize = 16 [LuxCore][16.984] sampler.sobol.tilesize = 16 [LuxCore][16.984] sampler.sobol.supersampling = 1 [LuxCore][16.984] sampler.sobol.overlapping = 1 [LuxCore][16.984] renderengine.type = "PATHOCL" [LuxCore][16.984] sampler.type = "SOBOL" [LuxCore][16.984] film.width = 1,920 [LuxCore][16.984] film.height = 1,080 [LuxCore][16.984] film.filter.type = "NONE" [LuxCore][16.984] film.filter.width = 1.5 [LuxCore][16.984] lightstrategy.type = "LOG_POWER" [LuxCore][16.984] scene.epsilon.min = 1e-05 [LuxCore][16.984] scene.epsilon.max = 0.1 [LuxCore][16.984] path.albedospecular.type = "REFLECT_TRANSMIT" [LuxCore][16.984] path.albedospecular.glossinessthreshold = 0.05 [LuxCore][16.984] film.opencl.enable = 1 [LuxCore][16.984] film.opencl.device = 0 [LuxCore][16.984] path.photongi.photon.maxcount = 20,000,000 [LuxCore][16.984] path.photongi.photon.maxdepth = 8 [LuxCore][16.984] path.photongi.glossinessusagethreshold = 0.049 [LuxCore][16.984] path.photongi.indirect.enabled = 1 [LuxCore][16.984] path.photongi.indirect.maxsize = 0 [LuxCore][16.984] path.photongi.indirect.haltthreshold = 0.05 [LuxCore][16.984] path.photongi.indirect.lookup.radius = 0 [LuxCore][16.984] path.photongi.indirect.lookup.normalangle = 10 [LuxCore][16.984] path.photongi.indirect.usagethresholdscale = 8 [LuxCore][16.984] path.photongi.caustic.enabled = 0 [LuxCore][16.984] path.photongi.caustic.maxsize = 100,000 [LuxCore][16.984] path.photongi.caustic.lookup.radius = 0.075 [LuxCore][16.984] path.photongi.caustic.lookup.normalangle = 10 [LuxCore][16.984] path.photongi.caustic.updatespp = 8 [LuxCore][16.984] path.photongi.caustic.updatespp.radiusreduction = 0.96 [LuxCore][16.984] path.photongi.caustic.updatespp.minradius = 0.003 [LuxCore][16.984] path.photongi.persistent.file = "" [LuxCore][16.984] path.forceblackbackground.enable = 0 [LuxCore][16.984] renderengine.seed = 1 [LuxCore][16.984] film.outputs.0.type = "RGB_IMAGEPIPELINE" [LuxCore][16.984] film.outputs.0.index = 0 [LuxCore][16.984] film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png" [LuxCore][16.984] film.outputs.1.type = "ALBEDO" [LuxCore][16.984] film.outputs.1.filename = "ALBEDO.exr" [LuxCore][16.984] film.outputs.2.type = "AVG_SHADING_NORMAL" [LuxCore][16.984] film.outputs.2.filename = "AVG_SHADING_NORMAL.exr" [LuxCore][16.984] film.outputs.3.type = "RGB_IMAGEPIPELINE" [LuxCore][16.984] film.outputs.3.index = 1 [LuxCore][16.984] film.outputs.3.filename = "RGB_IMAGEPIPELINE_1.png" [LuxCore][16.984] film.outputs.4.type = "RGB_IMAGEPIPELINE" [LuxCore][16.985] film.outputs.4.index = 2 [LuxCore][16.985] film.outputs.4.filename = "RGB_IMAGEPIPELINE_2.png" [LuxCore][16.985] film.imagepipelines.001.0.type = "INTEL_OIDN" [LuxCore][16.985] film.imagepipelines.001.0.oidnmemory = 6,000 [LuxCore][16.985] film.imagepipelines.001.0.sharpness = 0 [LuxCore][16.985] film.imagepipelines.001.0.prefilter.enable = 1 [LuxCore][16.985] film.imagepipelines.001.1.type = "NOP" [LuxCore][16.985] film.imagepipelines.001.2.type = "TONEMAP_LINEAR" [LuxCore][16.985] film.imagepipelines.001.2.scale = 1 [LuxCore][16.985] film.imagepipelines.001.radiancescales.0.enabled = 1 [LuxCore][16.985] film.imagepipelines.001.radiancescales.0.globalscale = 1 [LuxCore][16.985] film.imagepipelines.001.radiancescales.0.rgbscale = 1 1 1 [LuxCore][16.985] film.imagepipelines.002.0.type = "NOP" [LuxCore][16.985] film.imagepipelines.002.1.type = "TONEMAP_LINEAR" [LuxCore][16.985] film.imagepipelines.002.1.scale = 1 [LuxCore][16.985] film.imagepipelines.002.radiancescales.0.enabled = 1 [LuxCore][16.985] film.imagepipelines.002.radiancescales.0.globalscale = 1 [LuxCore][16.985] film.imagepipelines.002.radiancescales.0.rgbscale = 1 1 1 [LuxCore][16.985] film.imagepipelines.002.2.type = "GAMMA_CORRECTION" [LuxCore][16.985] film.imagepipelines.002.2.value = 2.2 [LuxCore][16.985] film.noiseestimation.index = 2 [LuxCore][16.985] film.imagepipelines.000.0.type = "NOP" [LuxCore][16.985] film.imagepipelines.000.1.type = "TONEMAP_LINEAR" [LuxCore][16.985] film.imagepipelines.000.1.scale = 1 [LuxCore][16.985] film.imagepipelines.000.radiancescales.0.enabled = 1 [LuxCore][16.985] film.imagepipelines.000.radiancescales.0.globalscale = 1 [LuxCore][16.985] film.imagepipelines.000.radiancescales.0.rgbscale = 1 1 1 [LuxCore][16.985] batch.haltspp = 0 0 [LuxCore][16.985] batch.halttime = 0 [LuxCore][16.985] File Name Resolver Configuration: Export took 0.0 s ==================================================================== Step: 0/2 Creating kernel cache entry with configuration properties: renderengine.type = "PATHOCL" sampler.type = "SOBOL" scene.epsilon.min = 1e-05 scene.epsilon.max = 0.1 opencl.devices.select = "11" And scene properties: [SDL][16.988] Define ImageMap: NamedObject [SDL][16.997] Define ImageMap: image.png [SDL][16.998] Camera type: perspective [SDL][16.998] Camera position: Point[1, 6, 3] [SDL][16.998] Camera target: Point[0, 0, 0.5] [SDL][16.998] Camera clipping plane disabled [SDL][16.998] Light definition: infinite_light [SDL][16.998] Material definition: matte_mat [SDL][16.998] Scene objects count: 1 [SDL][16.998] Texture definition: constfloat3_tex [SDL][16.998] Material definition: constfloat3_tmat [SDL][16.998] Scene objects count: 1 [LuxCore][16.998] Configuration: [LuxCore][16.998] renderengine.type = "PATHOCL" [LuxCore][16.999] sampler.type = "SOBOL" [LuxCore][16.999] scene.epsilon.min = 1e-05 [LuxCore][16.999] scene.epsilon.max = 0.1 [LuxCore][16.999] opencl.devices.select = "11" [LuxCore][16.999] film.outputs.1.type = "RGB_IMAGEPIPELINE" [LuxCore][16.999] film.outputs.1.filename = "image.png" [LuxCore][16.999] File Name Resolver Configuration: [LuxCore][16.999] Film resolution: 640x640 [SDL][16.999] Film output definition: RGB_IMAGEPIPELINE [image.png] [SDL][16.999] Film output definition: RGB_IMAGEPIPELINE [image.png] [LuxRays][16.999] OpenCL support: enabled [LuxRays][16.999] OpenCL Platform 0: Clover [LuxRays][16.999] OpenCL Platform 1: AMD Accelerated Parallel Processing [LuxRays][16.999] CUDA support: enabled [LuxRays][16.999] Device 0 name: Native [LuxRays][16.999] Device 0 type: NATIVE_THREAD [LuxRays][16.999] Device 0 compute units: 1 [LuxRays][16.999] Device 0 preferred float vector width: 4 [LuxRays][16.999] Device 0 max allocable memory: 17592186044415MBytes [LuxRays][16.999] Device 0 max allocable memory block size: 17592186044415MBytes [LuxRays][16.999] Device 0 has out of core memory support: 0 [LuxRays][16.999] Device 1 name: AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) [LuxRays][16.999] Device 1 type: OPENCL_GPU [LuxRays][16.999] Device 1 compute units: 36 [LuxRays][16.999] Device 1 preferred float vector width: 4 [LuxRays][16.999] Device 1 max allocable memory: 8192MBytes [LuxRays][16.999] Device 1 max allocable memory block size: 6553MBytes [LuxRays][16.999] Device 1 has out of core memory support: 0 [LuxRays][17.000] Device 2 name: Ellesmere [LuxRays][17.000] Device 2 type: OPENCL_GPU [LuxRays][17.000] Device 2 compute units: 36 [LuxRays][17.000] Device 2 preferred float vector width: 1 [LuxRays][17.000] Device 2 max allocable memory: 8192MBytes [LuxRays][17.000] Device 2 max allocable memory block size: 6745MBytes [LuxRays][17.000] Device 2 has out of core memory support: 0 [LuxRays][17.000] Creating 14 intersection device(s) [LuxRays][17.000] Allocating intersection device 0: AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) (Type = OPENCL_GPU) [LuxRays][17.000] Allocating intersection device 1: Ellesmere (Type = OPENCL_GPU) [LuxRays][17.000] Allocating intersection device 2: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 3: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 4: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 5: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 6: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 7: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 8: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 9: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 10: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 11: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 12: Native (Type = NATIVE_THREAD) [LuxRays][17.000] Allocating intersection device 13: Native (Type = NATIVE_THREAD) [LuxCore][17.000] CUDA devices used: [LuxCore][17.000] OpenCL devices used: [LuxCore][17.000] [AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] [LuxCore][17.000] Device OpenCL version: OpenCL 1.1 Mesa 21.3.6 [LuxCore][17.000] [Ellesmere OpenCLIntersect] [LuxCore][17.000] Device OpenCL version: OpenCL 2.0 AMD-APP (3380.4) [LuxCore][17.000] Native devices used: 12 [LuxCore][17.000] Configuring 2 OpenCL render threads [LuxCore][17.000] Configuring 12 native render threads [LuxRays][17.000] Preprocessing DataSet [LuxRays][17.000] Total vertex count: 48 [LuxRays][17.000] Total triangle count: 24 [LuxRays][17.000] Preprocessing DataSet done [LuxRays][17.000] Adding DataSet accelerator: BVH [LuxRays][17.000] Total vertex count: 48 [LuxRays][17.000] Total triangle count: 24 [LuxRays][17.013] BVH Dataset preprocessing time: 13ms [LuxRays][17.013] BVH builder: EMBREE_BINNED_SAH [LuxRays][17.014] BVH build hierarchy time: 0ms [LuxRays][17.014] BVH total build time: 13ms [LuxRays][17.014] Total BVH memory usage: 1Kbytes [LuxRays][17.014] Adding DataSet accelerator: EMBREE [LuxRays][17.014] Total vertex count: 48 [LuxRays][17.014] Total triangle count: 24 [LuxRays][17.015] EmbreeAccel build time: 0ms [LuxRays][17.015] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] BVH mesh vertices buffer size: 576bytes [LuxRays][17.015] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] BVH nodes buffer size: 1248bytes [LuxRays][17.015] [BVHKernel] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D PARAM_RAY_EPSILON_MIN=1e-05f -D PARAM_RAY_EPSILON_MAX=0.1f -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable [LuxRays][17.015] [BVHKernel] Compiling kernels [LuxRays][17.015] [BVHKernel] Program cached [LuxRays][17.018] [Device Ellesmere OpenCLIntersect] BVH mesh vertices buffer size: 576bytes [LuxRays][17.018] [Device Ellesmere OpenCLIntersect] BVH nodes buffer size: 1248bytes [LuxRays][17.018] [BVHKernel] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D PARAM_RAY_EPSILON_MIN=1e-05f -D PARAM_RAY_EPSILON_MAX=0.1f -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable [LuxRays][17.018] [BVHKernel] Compiling kernels [LuxRays][17.019] [BVHKernel] Program cached [LuxCore][17.028] [PathOCLRenderEngine] OpenCL task count: 262144 [LuxCore][17.029] [PathOCLBaseRenderEngine] OpenCL max. page memory size: 6710886Kbytes [LuxCore][17.029] Compile Geometry [LuxCore][17.029] Scene geometry compilation time: 0ms [LuxCore][17.029] Compile 2 Textures [LuxCore][17.029] Texture evaluation ops count: 6 [LuxCore][17.029] Texture evaluation max. stack size: 3 [LuxCore][17.029] Textures compilation time: 0ms [LuxCore][17.029] Compile 2 Materials [LuxCore][17.029] Material evaluation ops count: 14 [LuxCore][17.029] Material evaluation max. stack size: 8 [LuxCore][17.029] Material compilation time: 0ms [LuxCore][17.029] Compile Lights [LuxCore][17.030] Lights compilation time: 0ms [LuxCore][17.030] Compile ImageMaps [LuxCore][17.031] Image maps page(s) count: 1 [LuxCore][17.031] RGB channel page 0 size: 3264Kbytes [LuxCore][17.031] Image maps compilation time: 1ms [LuxCore][17.031] Always enabled OpenCL code: [LuxCore][17.031] Compile Geometry [LuxCore][17.032] Scene geometry compilation time: 0ms [LuxCore][17.032] Compile 2 Textures [LuxCore][17.032] Texture evaluation ops count: 6 [LuxCore][17.032] Texture evaluation max. stack size: 3 [LuxCore][17.032] Textures compilation time: 0ms [LuxCore][17.032] Compile 2 Materials [LuxCore][17.032] Material evaluation ops count: 14 [LuxCore][17.032] Material evaluation max. stack size: 8 [LuxCore][17.032] Material compilation time: 0ms [LuxCore][17.032] Compile Lights [LuxCore][17.032] Lights compilation time: 0ms [LuxCore][17.032] Compile ImageMaps [LuxCore][17.033] Image maps page(s) count: 1 [LuxCore][17.033] RGB channel page 0 size: 3264Kbytes [LuxCore][17.033] Image maps compilation time: 0ms [LuxCore][17.033] Starting 2 OpenCL render threads [LuxRays][17.036] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0]buffer size: 6400Kbytes [LuxRays][17.036] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] NOISE buffer size: 1600Kbytes [LuxRays][17.038] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0]buffer size: 6400Kbytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Camera buffer size: 5492bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Triangle normals buffer size: 288bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Vertices buffer size: 576bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Triangles buffer size: 288bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Mesh description buffer size: 624bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] ImageMap descriptions buffer size: 80bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] ImageMaps buffer size: 3264Kbytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Textures buffer size: 656bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Texture evaluation ops buffer size: 48bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Texture evaluation stacks buffer size: 3072Kbytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Materials buffer size: 456bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Material evaluation ops buffer size: 168bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Material evaluation stacks buffersize: 8192Kbytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Scene objects buffer size: 48bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Lights buffer size: 344bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Env. light indices buffer size: 4bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Light offsets (Part I) buffer size: 8bytes [LuxRays][17.039] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Env. light distributions buffer size: 516Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] LightsDistribution buffer size: 16bytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] InfiniteLightSourcesDistribution buffer size: 16bytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Ray buffer size: 12288Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] RayHit buffer size: 5120Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] GPUTaskConfiguration buffer size:336bytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] GPUTask buffer size: 169984Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] GPUTaskDirectLight buffer size: 15360Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] GPUTaskState buffer size: 100352Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] GPUTask Stats buffer size: 1024Kbytes [LuxRays][17.040] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] SamplerSharedData buffer size: 1608Kbytes [LuxCore][17.040] [PathOCLBaseRenderThread::0] Size of a Sample: 40bytes [LuxRays][17.041] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Sample buffer size: 10240Kbytes [LuxCore][17.041] [PathOCLBaseRenderThread::0] Size of a SampleData: 8bytes [LuxRays][17.041] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] SampleData buffer size: 2048Kbytes [LuxCore][17.041] [PathOCLBaseRenderThread::0] Size of a SampleResult: 428bytes [LuxRays][17.041] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] SampleResult buffer size: 109568Kbytes [LuxRays][17.041] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] PathInfo buffer size: 27648Kbytes [LuxRays][17.041] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] DirectLightVolumeInfo buffer size: 11264Kbytes [LuxRays][17.041] [Device AMD Radeon RX 580 Series (POLARIS10, DRM 3.44.0, 5.16.10-zen1-1-zen, LLVM 13.0.1) OpenCLIntersect] Pixel Filter Distribution buffer size: 33Kbytes [LuxCore][17.043] [PathOCLBaseRenderThread::0] Compiling kernels [LuxRays][17.043] [PathOCL kernel] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1e-05f -DPARAM_RAY_EPSILON_MAX=0.1f -D LUXCORE_GENERIC_OPENCL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable [LuxRays][17.043] [PathOCL kernel] Compiling kernels [LuxRays][17.596] [PathOCL kernel] OpenCL program compilation error ERROR -11[CL_BUILD_PROGRAM_FAILURE]: luxrays_types.cl:34:9: warning: 'NULL' macro redefined [-Wmacro-redefined] /usr/include/clc/clcmacros.h:12:9: note: previous definition is here mc_funcs.cl:26:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:27:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:28:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:29:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:30:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:31:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:33:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:34:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:35:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:36:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:37:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:39:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:40:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:41:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:42:21: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:43:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:44:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:46:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:47:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:48:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:49:19: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:51:22: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:53:23: warning: double precision constant requires cl_khr_fp64, casting to single precision mc_funcs.cl:60:23: warning: double precision constant requires cl_khr_fp64, casting to single precision vector_funcs.cl:32:12: warning: double precision constant requires cl_khr_fp64, casting to single precision triangle_funcs.cl:33:17: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion] texture_blender_noise_funcs.cl:850:2: warning: double precision constant requires cl_khr_fp64, casting to single precision texture_blender_noise_funcs.cl:839:22: note: expanded from macro 'setup' texture_blender_noise_funcs.cl:850:2: warning: double precision constant requires cl_khr_fp64, casting to single precision texture_blender_noise_funcs.cl:843:19: note: expanded from macro 'setup' texture_blender_noise_funcs.cl:851:2: warning: double precision constant requires cl_khr_fp64, casting to single precision texture_blender_noise_funcs.cl:839:22: note: expanded from macro 'setup' texture_blender_noise_funcs.cl:851:2: warning: double precision constant requires cl_khr_fp64, casting to single precision texture_blender_noise_funcs.cl:843:19: note: expanded from macro 'setup' texture_blender_noise_funcs.cl:852:2: warning: double precision constant requires cl_khr_fp64, casting to single precision texture_blender_noise_funcs.cl:839:22: note: expanded from macro 'setup' texture_blender_noise_funcs.cl:852:2: warning: double precision constant requires cl_khr_fp64, casting to single precision texture_blender_noise_funcs.cl:843:19: note: expanded from macro 'setup' texture_others_funcs.cl:693:46: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion] texture_others_funcs.cl:697:64: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion] materialdefs_funcs_cloth.cl:96:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:97:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:98:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:99:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:100:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:104:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:104:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:105:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:105:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:106:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:106:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:107:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:107:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:108:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:108:32: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:109:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:109:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:110:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:110:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:111:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:111:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:112:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:112:32: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:113:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:113:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:114:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:114:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:115:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:115:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:116:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:116:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:117:26: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:117:31: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:121:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:121:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:122:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:122:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:123:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:123:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:124:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:124:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:125:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:125:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:126:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:126:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:127:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:127:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:128:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:128:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:129:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:129:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:130:28: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:130:36: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:134:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:134:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:135:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:135:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:136:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:136:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:137:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:137:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:138:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:138:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:139:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:139:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:140:27: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:140:34: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:144:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:144:29: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:144:35: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:145:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:145:29: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:145:35: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:146:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:146:29: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:146:35: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:147:18: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:147:29: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:147:35: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:252:49: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:252:54: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:256:49: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_cloth.cl:256:54: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_mix.cl:461:6: error: invalid argument type 'float' to unary expression materialdefs_funcs_mix.cl:462:20: error: invalid operands to binary expression ('const __private float' and 'int') materialdefs_funcs_mix.cl:476:6: error: invalid argument type 'float' to unary expression materialdefs_funcs_mix.cl:477:20: error: invalid operands to binary expression ('const __private float' and 'int') materialdefs_funcs_mix.cl:746:8: error: invalid argument type 'float' to unary expression materialdefs_funcs_mix.cl:747:20: error: invalid operands to binary expression ('const __private float' and 'int') materialdefs_funcs_velvet.cl:87:68: warning: double precision constant requires cl_khr_fp64, casting to single precision materialdefs_funcs_velvet.cl:141:68: warning: double precision constant requires cl_khr_fp64, casting to single precision camera_funcs.cl:360:95: warning: double precision constant requires cl_khr_fp64, casting to single precision lightstrategy_funcs.cl:95:11: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion] luxrays_types.cl:21:21: note: expanded from macro 'NULL_INDEX' sampler_sobol_funcs.cl:46:41: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion] Traceback (most recent call last): File "/home/jirka/.config/blender/2.93/scripts/addons/BlendLuxCore/engine/base.py", line 91, in render_final final.render(self, depsgraph) File "/home/jirka/.config/blender/2.93/scripts/addons/BlendLuxCore/engine/final.py", line 44, in render _render_layer(engine, depsgraph, statistics, layer) File "/home/jirka/.config/blender/2.93/scripts/addons/BlendLuxCore/engine/final.py", line 56, in _render_layer engine.session = engine.exporter.create_session(depsgraph, engine=engine, view_layer=view_layer) File "/home/jirka/.config/blender/2.93/scripts/addons/BlendLuxCore/export/__init__.py", line 217, in create_session pyluxcore.KernelCacheFill(config_props_copy) RuntimeError: PathOCL kernel OpenCL program compilation error ERROR: PathOCL kernel OpenCL program compilation error ```

OS: ArchLinux - Up to date Blender version: 2.93.8 LuxCore version: Latest (2.6)

asluizh commented 2 years ago

Same issue, with same graphics card, in manjaro, with Blender 3.0.0 in the latest build of blendluxcore.

I have tried both free and proprietary drivers (amdgpu-pro).

PathOCL kernel OpenCL program compilation error

ameuret commented 2 years ago

Same here. clinfo:

[...]

Platform Name                                 Clover
    Device Name                                AMD Radeon RX 580 Series (polaris10, LLVM 14.0.6, DRM 3.42, 5.15.53-1-MANJARO)
  Platform Version                             OpenCL 1.1 Mesa 22.1.3
  ICD loader Version                          2.3.1

Blender 3.2 Latest Addon and binaries

If there's anything we can do to help...

jiriks74 commented 1 year ago

@ameuret I MADE IT WORK I installed a patched version of ROCm, installed ROCm OpenCL runtime and set ROC_ENABLE_PRE_VEGA=1 and it works!

Take a look at this repository. IDK if you're on Arch, but it may help.

EDIT: But my GTX 1050 is not rendering anymore (I've done a system reinstall, I probably didn't set it up properly) so I'll take a look into that.