Advertisement
Guest User

luxcore demo on mesa #2

a guest
Jul 14th, 2023
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.01 KB | None | 0 0
  1. bash-5.1$ RUSTICL_ENABLE=lp RUSTICL_DEVICE_TYPE=gpu LP_CL=1 bin/luxcoredemo
  2. LuxCore v2.6
  3.  
  4. Property examples...
  5. test1.prop1[0] => 1
  6.  
  7. test1.prop1 = 1 2 3
  8.  
  9. 3
  10.  
  11. prefix.test.test1.prop1 = 1 2 3
  12.  
  13. rename.test = 1 2 3
  14.  
  15. field1
  16. field0
  17. field0.field1
  18. field0.field1.field2
  19.  
  20.  
  21. String:String: string.test = "TEST123"
  22.  
  23. Blob: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
  24. Blob ToString:
  25. ========
  26. {[AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiYw]}
  27. ========
  28. Blob2 FromString:
  29. ========
  30. {[AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiYw]}
  31. ========
  32. Property Blob ToString: blob.test = {[AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiYw]}
  33.  
  34. Properties examples...
  35. test1.prop1 = 1 2 3
  36. test2.prop2 = "test"
  37.  
  38. test1.prop1[0] => 1
  39. test1.prop1[1] => 2
  40. test1.prop1[2] => 3
  41.  
  42. test2.prop2 = "overwrite"
  43.  
  44. test1.prop1 = "1.0" "2.0" "3.0" "quoted"
  45. test2.prop2 = "aa" "quoted" "bb"
  46. Size: 4
  47. Size: 3
  48.  
  49. test1.prop1.sub0.a = 1 2 3
  50. test1.prop1.sub0.b = "test1"
  51. test1.prop2.sub1 = "test2"
  52. test2.prop1 = 1 2 3
  53. test2.prop2 = "test"
  54.  
  55. [test1.prop1][test1.prop2]
  56. [test1.prop1.sub0]
  57.  
  58. doesnt.exist.test = 0 1 2
  59.  
  60. [test1.prop1.sub0.a][test1.prop1.sub0.b]
  61.  
  62. OpenCL device information example...
  63. Device 0 name: llvmpipe (LLVM 16.0.6, 256 bits)
  64. Device 0 type: OPENCL_GPU
  65. Device 0 compute units: 8
  66. Device 0 preferred float vector width: 1
  67. Device 0 max allocable memory: 2048MBytes
  68. Device 0 max allocable memory block size: 2048MBytes
  69. Device 1 name: llvmpipe (LLVM 16.0.6, 256 bits)
  70. Device 1 type: OPENCL_CPU
  71. Device 1 compute units: 8
  72. Device 1 preferred float vector width: 4
  73. Device 1 max allocable memory: 2048MBytes
  74. Device 1 max allocable memory block size: 2048MBytes
  75.  
  76. RenderConfig and RenderSession examples (requires scenes directory)...
  77. A simple rendering...
  78. [LuxCore][0.227] Configuration:
  79. [LuxCore][0.227] film.width = "800"
  80. [LuxCore][0.227] film.height = "600"
  81. [LuxCore][0.227] batch.halttime = "0"
  82. [LuxCore][0.227] scene.file = "scenes/luxball/luxball-hdr.scn"
  83. [LuxCore][0.227] opencl.cpu.use = "0"
  84. [LuxCore][0.227] opencl.gpu.use = "1"
  85. [LuxCore][0.227] opencl.gpu.workgroup.size = "64"
  86. [LuxCore][0.227] screen.refresh.interval = "100"
  87. [LuxCore][0.227] path.maxdepth = "8"
  88. [LuxCore][0.227] path.russianroulette.depth = "5"
  89. [LuxCore][0.227] path.pathdepth.diffuse = "8"
  90. [LuxCore][0.227] path.pathdepth.glossy = "8"
  91. [LuxCore][0.227] path.pathdepth.specular = "8"
  92. [LuxCore][0.227] tile.multipass.enable = "1"
  93. [LuxCore][0.227] tile.multipass.convergencetest.threshold256 = "6"
  94. [LuxCore][0.227] tile.multipass.convergencetest.threshold.reduction = "0.5"
  95. [LuxCore][0.228] screen.tiles.converged.show = "1"
  96. [LuxCore][0.228] screen.tiles.passcount.show = "1"
  97. [LuxCore][0.228] screen.tiles.notconverged.show = "1"
  98. [LuxCore][0.228] film.outputs.1.type = "RGB_IMAGEPIPELINE"
  99. [LuxCore][0.228] film.outputs.1.index = "0"
  100. [LuxCore][0.228] film.outputs.1.filename = "normal.png"
  101. [LuxCore][0.228] film.outputs.2.type = "MATERIAL_ID_COLOR"
  102. [LuxCore][0.228] film.outputs.2.filename = "luxball_MATERIAL_ID_COLOR.png"
  103. [LuxCore][0.228] film.imagepipelines.0.0.type = "TONEMAP_LINEAR"
  104. [LuxCore][0.228] film.imagepipelines.0.0.scale = "1.2"
  105. [LuxCore][0.228] film.imagepipelines.0.1.type = "GAMMA_CORRECTION"
  106. [LuxCore][0.228] film.imagepipelines.0.1.value = "2.2"
  107. [LuxCore][0.228] renderengine.type = "PATHCPU"
  108. [LuxCore][0.228] File Name Resolver Configuration:
  109. [SDL][0.228] Reading scene: scenes/luxball/luxball-hdr.scn
  110. [SDL][0.229] Define ImageMap: NamedObject
  111. [SDL][0.229] Material definition: shell
  112. [SDL][0.229] Material definition: whitematte
  113. [SDL][0.231] Material definition: luxtext
  114. [SDL][0.232] Material definition: blacktext
  115. [SDL][0.232] Camera type: perspective
  116. [SDL][0.232] Camera position: Point[0.6, -1.7, 0.4]
  117. [SDL][0.232] Camera target: Point[0, 0, 0.4]
  118. [SDL][0.232] Camera clipping plane disabled
  119. [SDL][0.595] Shape count: 2
  120. [SDL][0.842] Scene objects count: 5
  121. [SDL][0.842] Light definition: infinitelight
  122. [SDL][0.843] Reading texture map: scenes/simple-mat/arch.exr
  123. [SDL][0.844] Mip map available: [1024x512]
  124. [SDL][0.844] Reading mip map level: 0
  125. [LuxCore][0.990] Film resolution: 800x600
  126. [SDL][0.992] Film output definition: RGB_IMAGEPIPELINE [image.png]
  127. [SDL][0.992] Image pipeline: film.imagepipelines.0
  128. [SDL][0.992] Image pipeline step 0: TONEMAP_LINEAR
  129. [SDL][0.992] Image pipeline step 1: GAMMA_CORRECTION
  130. [SDL][0.993] Film output definition: RGB_IMAGEPIPELINE [normal.png]
  131. [SDL][0.993] Film output definition: MATERIAL_ID_COLOR [luxball_MATERIAL_ID_COLOR.png]
  132. [LuxRays][0.996] OpenCL support: enabled
  133. [LuxRays][0.996] OpenCL Platform 0: rusticl
  134. [LuxRays][0.996] OpenCL Platform 1: Clover
  135. [LuxRays][0.996] CUDA support: disabled
  136. [LuxRays][0.996] Device 0 name: Native
  137. [LuxRays][0.996] Device 0 type: NATIVE_THREAD
  138. [LuxRays][0.996] Device 0 compute units: 1
  139. [LuxRays][0.997] Device 0 preferred float vector width: 4
  140. [LuxRays][0.997] Device 0 max allocable memory: 4095MBytes
  141. [LuxRays][0.997] Device 0 max allocable memory block size: 4095MBytes
  142. [LuxRays][0.997] Device 0 has out of core memory support: 0
  143. [LuxRays][0.997] Device 1 name: llvmpipe (LLVM 16.0.6, 256 bits)
  144. [LuxRays][0.997] Device 1 type: OPENCL_GPU
  145. [LuxRays][0.997] Device 1 compute units: 8
  146. [LuxRays][0.997] Device 1 preferred float vector width: 1
  147. [LuxRays][0.997] Device 1 max allocable memory: 2048MBytes
  148. [LuxRays][0.998] Device 1 max allocable memory block size: 2048MBytes
  149. [LuxRays][0.998] Device 1 has out of core memory support: 0
  150. [LuxRays][0.998] Device 2 name: llvmpipe (LLVM 16.0.6, 256 bits)
  151. [LuxRays][0.998] Device 2 type: OPENCL_CPU
  152. [LuxRays][0.998] Device 2 compute units: 8
  153. [LuxRays][0.998] Device 2 preferred float vector width: 4
  154. [LuxRays][0.998] Device 2 max allocable memory: 2048MBytes
  155. [LuxRays][0.998] Device 2 max allocable memory block size: 2048MBytes
  156. [LuxRays][0.998] Device 2 has out of core memory support: 0
  157. [LuxRays][0.999] Creating 4 intersection device(s)
  158. [LuxRays][0.999] Allocating intersection device 0: Native (Type = NATIVE_THREAD)
  159. [LuxRays][0.999] Allocating intersection device 1: Native (Type = NATIVE_THREAD)
  160. [LuxRays][0.999] Allocating intersection device 2: Native (Type = NATIVE_THREAD)
  161. [LuxRays][0.999] Allocating intersection device 3: Native (Type = NATIVE_THREAD)
  162. [LuxCore][0.999] Configuring 4 CPU render threads
  163. [LuxRays][0.999] Preprocessing DataSet
  164. [LuxRays][1.000] Total vertex count: 223352
  165. [LuxRays][1.000] Total triangle count: 260780
  166. [LuxRays][1.015] Preprocessing DataSet done
  167. [LuxRays][1.016] Adding DataSet accelerator: EMBREE
  168. [LuxRays][1.016] Total vertex count: 223352
  169. [LuxRays][1.016] Total triangle count: 260780
  170. Warning: pthread_setaffinity_np failed to set affinity to thread -1
  171. Warning: pthread_setaffinity_np failed to set affinity to thread -3
  172. [LuxRays][1.496] EmbreeAccel build time: 479ms
  173. [Elapsed time: 1/5sec][Samples 0][Avg. samples/sec 0.08M on 260.8K tris]
  174. [Elapsed time: 2/5sec][Samples 0][Avg. samples/sec 0.08M on 260.8K tris]
  175. [Elapsed time: 3/5sec][Samples 0][Avg. samples/sec 0.09M on 260.8K tris]
  176. [Elapsed time: 4/5sec][Samples 0][Avg. samples/sec 0.12M on 260.8K tris]
  177. [Elapsed time: 5/5sec][Samples 1][Avg. samples/sec 0.11M on 260.8K tris]
  178. [LuxCore][6.576] Film hardware image pipeline
  179. [LuxCore][6.577] Film hardware device used: llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect (Type: OPENCL_GPU)
  180. [LuxCore][6.577] Device OpenCL version: OpenCL 3.0
  181. [LuxRays][6.583] [Device llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] IMAGEPIPELINE buffer size: 5625Kbytes
  182. [LuxRays][6.589] [Device llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] Merge buffer size: 7500Kbytes
  183. [LuxRays][6.594] [MergeSampleBuffersOCL] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
  184. [LuxRays][6.594] [MergeSampleBuffersOCL] Compiling kernels
  185. [LuxRays][6.788] [MergeSampleBuffersOCL] Program not cached
  186. [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeBufferInitialize Kernel
  187. [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_PIXEL_NORMALIZED Kernel
  188. [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_SCREEN_NORMALIZED Kernel
  189. [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeBufferFinalize Kernel
  190. [LuxCore][6.788] [MergeSampleBuffersOCL] Kernels compilation time: 194ms
  191. [LuxRays][7.461] [LinearToneMap] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
  192. [LuxRays][7.461] [LinearToneMap] Compiling kernels
  193. [LuxRays][7.491] [LinearToneMap] Program not cached
  194. [LuxCore][7.491] [AutoLinearToneMap] Compiling LinearToneMap_Apply Kernel
  195. [LuxCore][7.491] [LinearToneMap] Kernels compilation time: 29ms
  196. [LuxRays][7.491] [Device llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] Gamma table buffer size: 16Kbytes
  197. [LuxRays][7.491] [GammaCorrectionPlugin] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
  198. [LuxRays][7.491] [GammaCorrectionPlugin] Compiling kernels
  199. [LuxRays][7.648] [GammaCorrectionPlugin] Program not cached
  200. [LuxCore][7.648] [GammaCorrectionPlugin] Compiling GammaCorrectionPlugin_Apply Kernel
  201. [LuxCore][7.648] [GammaCorrectionPlugin] Kernels compilation time: 156ms
  202. [LuxCore][7.810] Outputting film: normal.png type: 2
  203. [LuxCore][7.986] Outputting film: luxball_MATERIAL_ID_COLOR.png type: 40
  204. [LuxCore][8.070] [llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] Memory used for hardware image pipeline: 13125Kbytes
  205. Done.
  206.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement