Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
OpenCL compilation error / Linux Mint / Iris Intel Graphics
#1
Hello everyone,

Je me bats avec mon installation de Darktable 5.0.1  sur mon macbook pro retina 2015, avec Intel Iris Graphics 6100, et Linux Mint 22.1.

Darktable n'est pas très performant - tout juste utilisable - sans l'accélération gaphique. 

Quelques informations sur le système  :

Code :
ale@mbp:~$ inxi -Fxxxrz
System:
  Kernel: 6.8.0-55-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
    clocksource: tsc
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7
    dm: LightDM v: 1.30.0 Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: Apple product: MacBookPro12,1 v: 1.0
    serial: <superuser required> Chassis: type: 9 v: Mac-E43C1C25D4880AD6
    serial: <superuser required>
  Mobo: Apple model: Mac-E43C1C25D4880AD6 v: MacBookPro12,1
    serial: <superuser required> uuid: <superuser required> UEFI: Apple
    v: 489.0.0.0.0 date: 10/07/2023
Battery:
  ID-1: BAT0 charge: 52.9 Wh (97.6%) condition: 54.2/74.8 Wh (72.5%)
    volts: 13.0 min: 11.4 model: SMP bq20z451 type: Li-ion serial: N/A
    status: charging cycles: 612
CPU:
  Info: dual core model: Intel Core i7-5557U bits: 64 type: MT MCP
    smt: enabled arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
  Speed (MHz): avg: 575 high: 800 min/max: 500/3400 cores: 1: 500 2: 500
    3: 500 4: 800 bogomips: 24801
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Graphics 6100 vendor: Apple driver: i915 v: kernel
    arch: Gen-8 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:162b class-ID: 0300
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 model: Apple Color LCD res: 2560x1600 hz: 60 dpi: 227
    size: 286x179mm (11.26x7.05") diag: 337mm (13.3") modes: 2560x1600
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris
    inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
    v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4 direct-render: yes renderer: Mesa
    Intel Iris Graphics 6100 (BDW GT3) device-ID: 8086:162b


Code :
ale@mbp:~$ clinfo
Number of platforms                              1
  Platform Name                                  Intel(R) OpenCL Graphics
  Platform Vendor                                Intel(R) Corporation
  Platform Version                                OpenCL 3.0
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_byte_addressable_store cl_khr_device_uuid cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_device_attribute_query cl_khr_suggested_local_work_size cl_intel_split_work_group_barrier cl_khr_fp64 cl_khr_subgroups cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_linkonce_odr cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_ext_float_atomics cl_khr_external_memory cl_intel_planar_yuv cl_intel_packed_yuv cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_va_api_media_sharing cl_intel_sharing_format_query cl_khr_pci_bus_info
  Platform Extensions with Version                cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                              0x400000 (1.0.0)
                                                  cl_khr_fp16                                                      0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                            0x400000 (1.0.0)
                                                  cl_khr_icd                                                      0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_intel_command_queue_families                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups                                              0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups_short                                        0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x400000 (1.0.0)
                                                  cl_intel_accelerator                                            0x400000 (1.0.0)
                                                  cl_intel_driver_diagnostics                                      0x400000 (1.0.0)
                                                  cl_khr_priority_hints                                            0x400000 (1.0.0)
                                                  cl_khr_throttle_hints                                            0x400000 (1.0.0)
                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                  cl_intel_subgroups_char                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups_long                                          0x400000 (1.0.0)
                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                  cl_intel_mem_force_host_memory                                  0x400000 (1.0.0)
                                                  cl_khr_subgroup_extended_types                                  0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_vote                                0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_arithmetic                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle_relative                                0x400000 (1.0.0)
                                                  cl_khr_subgroup_clustered_reduce                                0x400000 (1.0.0)
                                                  cl_intel_device_attribute_query                                  0x400000 (1.0.0)
                                                  cl_khr_suggested_local_work_size                                0x400000 (1.0.0)
                                                  cl_intel_split_work_group_barrier                                0x400000 (1.0.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_subgroups                                                0x400000 (1.0.0)
                                                  cl_intel_spirv_media_block_io                                    0x400000 (1.0.0)
                                                  cl_intel_spirv_subgroups                                        0x400000 (1.0.0)
                                                  cl_khr_spirv_linkonce_odr                                        0x400000 (1.0.0)
                                                  cl_khr_spirv_no_integer_wrap_decoration                          0x400000 (1.0.0)
                                                  cl_intel_unified_shared_memory                                  0x400000 (1.0.0)
                                                  cl_khr_mipmap_image                                              0x400000 (1.0.0)
                                                  cl_khr_mipmap_image_writes                                      0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                            0x400000 (1.0.0)
                                                  cl_khr_external_memory                                          0x400000 (1.0.0)
                                                  cl_intel_planar_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_packed_yuv                                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_image2d_from_buffer                                      0x400000 (1.0.0)
                                                  cl_khr_depth_images                                              0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                          0x400000 (1.0.0)
                                                  cl_intel_media_block_io                                          0x400000 (1.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_khr_gl_depth_images                                          0x400000 (1.0.0)
                                                  cl_khr_gl_event                                                  0x400000 (1.0.0)
                                                  cl_khr_gl_msaa_sharing                                          0x400000 (1.0.0)
                                                  cl_intel_va_api_media_sharing                                    0x400000 (1.0.0)
                                                  cl_intel_sharing_format_query                                    0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix            INTEL
  Platform Host timer resolution                  1ns
  Platform External memory handle types          DMA buffer

  Platform Name                                  Intel(R) OpenCL Graphics
Number of devices                                1
  Device Name                                    Intel(R) Graphics [0x162b]
  Device Vendor                                  Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 3.0 NEO
  Device UUID                                    86802b16-0900-0000-0002-000000000000
  Driver UUID                                    32332e34-332e-3032-3736-343200000000
  Valid Device LUID                              No
  Device LUID                                    d0c8-d31ffd7f0000
  Device Node Mask                                0
  Device Numeric Version                          0xc00000 (3.0.0)
  Driver Version                                  23.43.027642
  Device OpenCL C Version                        OpenCL C 1.2
  Device OpenCL C all versions                    OpenCL C                                                        0x400000 (1.0.0)
                                                  OpenCL C                                                        0x401000 (1.1.0)
                                                  OpenCL C                                                        0x402000 (1.2.0)
                                                  OpenCL C                                                        0xc00000 (3.0.0)
  Device OpenCL C features                        __opencl_c_int64                                                0xc00000 (3.0.0)
                                                  __opencl_c_3d_image_writes                                      0xc00000 (3.0.0)
                                                  __opencl_c_images                                                0xc00000 (3.0.0)
                                                  __opencl_c_read_write_images                                    0xc00000 (3.0.0)
                                                  __opencl_c_atomic_order_acq_rel                                  0xc00000 (3.0.0)
                                                  __opencl_c_atomic_order_seq_cst                                  0xc00000 (3.0.0)
                                                  __opencl_c_atomic_scope_all_devices                              0xc00000 (3.0.0)
                                                  __opencl_c_atomic_scope_device                                  0xc00000 (3.0.0)
                                                  __opencl_c_generic_address_space                                0xc00000 (3.0.0)
                                                  __opencl_c_program_scope_global_variables                        0xc00000 (3.0.0)
                                                  __opencl_c_work_group_collective_functions                      0xc00000 (3.0.0)
                                                  __opencl_c_subgroups                                            0xc00000 (3.0.0)
                                                  __opencl_c_pipes                                                0xc00000 (3.0.0)
                                                  __opencl_c_fp64                                                  0xc00000 (3.0.0)
  Latest conformance test passed                  v2023-05-16-00
  Device Type                                    GPU
  Device PCI bus info (KHR)                      PCI-E, 0000:00:02.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                              48
  Max clock frequency                            1100MHz
  Device IP (Intel)                              0x2000000 (8.0.0)
  Device ID (Intel)                              5675
  Slices (Intel)                                  2
  Sub-slices per slice (Intel)                    3
  EUs per sub-slice (Intel)                      8
  Threads per EU (Intel)                          7
  Feature capabilities (Intel)                    (n/a)
  Device Partition                                (core)
    Max number of sub-devices                    0
    Supported partition types                    None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                            256x256x256
  Max work group size                            256
  Preferred work group size multiple (device)    32
  Preferred work group size multiple (kernel)    32
  Max sub-groups per work group                  32
  Sub-group sizes (Intel)                        8, 16, 32
  Preferred / native vector sizes               
    char                                                16 / 16     
    short                                                8 / 8     
    int                                                  4 / 4     
    long                                                1 / 1     
    half                                                8 / 8        (cl_khr_fp16)
    float                                                1 / 1     
    double                                              1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support          (cl_khr_fp16)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                Yes
    Round to infinity                            Yes
    IEEE754-2008 fused multiply-add              Yes
    Support is emulated in software              No
  Single-precision Floating-point support        (core)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                Yes
    Round to infinity                            Yes
    IEEE754-2008 fused multiply-add              Yes
    Support is emulated in software              No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support        (cl_khr_fp64)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                Yes
    Round to infinity                            Yes
    IEEE754-2008 fused multiply-add              Yes
    Support is emulated in software              No
  Address bits                                    64, Little-Endian
  External memory handle types                    DMA buffer
  Global memory size                              15196475392 (14.15GiB)
  Error Correction support                        No
  Max memory allocation                          2147475456 (2GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                Yes
    Fine-grained buffer sharing                  No
    Fine-grained system sharing                  No
    Atomics                                      No
  Unified Shared Memory (USM)                    (cl_intel_unified_shared_memory)
  Host USM capabilities (Intel)                  USM access, USM atomic access
  Device USM capabilities (Intel)                USM access, USM atomic access
  Single-Device USM caps (Intel)                  USM access, USM atomic access
  Cross-Device USM caps (Intel)                  (n/a)
  Shared System USM caps (Intel)                  (n/a)
  Minimum alignment for any data type            128 bytes
  Alignment of base address                      1024 bits (128 bytes)
  Preferred alignment for atomics               
    SVM                                          64 bytes
    Global                                        64 bytes
    Local                                        64 bytes
  Atomic memory capabilities                      relaxed, acquire/release, sequentially-consistent, work-group scope, device scope, all-devices scope
  Atomic fence capabilities                      relaxed, acquire/release, sequentially-consistent, work-item scope, work-group scope, device scope, all-devices scope
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars            2147475456 (2GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        1572864 (1.5MiB)
  Global Memory cache line size                  64 bytes
  Image support                                  Yes
    Max number of samplers per kernel            16
    Max size for 1D images from buffer            134217216 pixels
    Max 1D or 2D image array size                2048 images
    Base address alignment for 2D image buffers  4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                            16384x16384 pixels
    Max planar YUV image size                    16384x16352 pixels
    Max 3D image size                            2048x2048x2048 pixels
    Max number of read image args                128
    Max number of write image args                128
    Max number of read/write image args          128
  Pipe support                                    Yes
  Max number of pipe args                        16
  Max active pipe reservations                    1
  Max pipe packet size                            1024
  Local memory type                              Local
  Local memory size                              65536 (64KiB)
  Max number of constant args                    8
  Max constant buffer size                        2147475456 (2GiB)
  Generic address space support                  Yes
  Max size of kernel argument                    2048 (2KiB)
  Queue properties (on host)                     
    Out-of-order execution                        Yes
    Profiling                                    Yes
  Device enqueue capabilities                    (n/a)
  Queue properties (on device)                   
    Out-of-order execution                        No
    Profiling                                    No
    Preferred size                                0
    Max size                                      0
  Max queues on device                            0
  Max events on device                            0
  Device queue families                          rcs                                                              (1)
                                                                                                Queue properties  Out-of-order execution, Profiling
                                                                                                    Capabilities  create single-queue events, create cross-queue events
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      80ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Non-uniform work-groups                      Yes
    Work-group collective functions              Yes
    Sub-group independent forward progress        Yes
    IL version                                    SPIR-V_1.2
    ILs with version                              SPIR-V                                                          0x402000 (1.2.0)
    SPIR versions                                1.2
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Built-in kernels with version                  (n/a)
  Device Extensions                              cl_khr_byte_addressable_store cl_khr_device_uuid cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_device_attribute_query cl_khr_suggested_local_work_size cl_intel_split_work_group_barrier cl_khr_fp64 cl_khr_subgroups cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_linkonce_odr cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_ext_float_atomics cl_khr_external_memory cl_intel_planar_yuv cl_intel_packed_yuv cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_va_api_media_sharing cl_intel_sharing_format_query cl_khr_pci_bus_info
  Device Extensions with Version                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                              0x400000 (1.0.0)
                                                  cl_khr_fp16                                                      0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                            0x400000 (1.0.0)
                                                  cl_khr_icd                                                      0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_intel_command_queue_families                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups                                              0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups_short                                        0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x400000 (1.0.0)
                                                  cl_intel_accelerator                                            0x400000 (1.0.0)
                                                  cl_intel_driver_diagnostics                                      0x400000 (1.0.0)
                                                  cl_khr_priority_hints                                            0x400000 (1.0.0)
                                                  cl_khr_throttle_hints                                            0x400000 (1.0.0)
                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                  cl_intel_subgroups_char                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups_long                                          0x400000 (1.0.0)
                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                  cl_intel_mem_force_host_memory                                  0x400000 (1.0.0)
                                                  cl_khr_subgroup_extended_types                                  0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_vote                                0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_arithmetic                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle_relative                                0x400000 (1.0.0)
                                                  cl_khr_subgroup_clustered_reduce                                0x400000 (1.0.0)
                                                  cl_intel_device_attribute_query                                  0x400000 (1.0.0)
                                                  cl_khr_suggested_local_work_size                                0x400000 (1.0.0)
                                                  cl_intel_split_work_group_barrier                                0x400000 (1.0.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_subgroups                                                0x400000 (1.0.0)
                                                  cl_intel_spirv_media_block_io                                    0x400000 (1.0.0)
                                                  cl_intel_spirv_subgroups                                        0x400000 (1.0.0)
                                                  cl_khr_spirv_linkonce_odr                                        0x400000 (1.0.0)
                                                  cl_khr_spirv_no_integer_wrap_decoration                          0x400000 (1.0.0)
                                                  cl_intel_unified_shared_memory                                  0x400000 (1.0.0)
                                                  cl_khr_mipmap_image                                              0x400000 (1.0.0)
                                                  cl_khr_mipmap_image_writes                                      0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                            0x400000 (1.0.0)
                                                  cl_khr_external_memory                                          0x400000 (1.0.0)
                                                  cl_intel_planar_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_packed_yuv                                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_image2d_from_buffer                                      0x400000 (1.0.0)
                                                  cl_khr_depth_images                                              0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                          0x400000 (1.0.0)
                                                  cl_intel_media_block_io                                          0x400000 (1.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_khr_gl_depth_images                                          0x400000 (1.0.0)
                                                  cl_khr_gl_event                                                  0x400000 (1.0.0)
                                                  cl_khr_gl_msaa_sharing                                          0x400000 (1.0.0)
                                                  cl_intel_va_api_media_sharing                                    0x400000 (1.0.0)
                                                  cl_intel_sharing_format_query                                    0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL Graphics
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  Success [INTEL]
  clCreateContext(NULL, ...) [default]            Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                Intel(R) OpenCL Graphics
    Device Name                                  Intel(R) Graphics [0x162b]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                Intel(R) OpenCL Graphics
    Device Name                                  Intel(R) Graphics [0x162b]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                Intel(R) OpenCL Graphics
    Device Name                                  Intel(R) Graphics [0x162b]

ICD loader properties
  ICD loader Name                                OpenCL ICD Loader
  ICD loader Vendor                              OCL Icd free software
  ICD loader Version                              2.3.2
  ICD loader Profile                              OpenCL 3.0

il me semble que les driver sont bien installés  (depuis le centre logiciel)
Code :
sudo apt list --installed | grep intel

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

intel-media-va-driver/noble,now 24.1.0+dfsg1-1 amd64  [installé]
intel-microcode/noble-updates,noble-security,now 3.20250211.0ubuntu0.24.04.1 amd64  [installé]
intel-opencl-icd/noble,now 23.43.27642.40-1ubuntu3 amd64  [installé]
libdrm-intel1/noble-updates,now 2.4.122-1~ubuntu0.24.04.1 amd64  [installé]
xserver-xorg-video-intel/noble,now 2:2.99.917+git20210115-1build1 amd64  [installé]

Mais DT en mode test me dit qu'il y a un problème de compilation :

Code :
ale@mbp:~$ darktable-cltest
darktable 5.0.1
Copyright (C) 2012-2025 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.4.0
  Colord                 -> ENABLED
  gPhoto2                -> ENABLED
  GMIC                   -> ENABLED  - Compressed LUTs are supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  LibRaw                 -> ENABLED  - Version 0.22.0-Devel202403
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.

     0,5726 [dt_get_sysresource_level] switched to 2 as `large'
     0,5726   total mem:       15896MB
     0,5726   mipmap cache:    1987MB
     0,5726   available mem:   10866MB
     0,5726   singlebuff:      248MB
     0.5772 [opencl_init] opencl disabled via darktable preferences
     0.5779 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
     0.6178 [opencl_init] found 1 platform
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'Intel(R) Graphics [0x162b]'
   CONF KEY:                 cldevice_v5_intelropenclgraphicsintelrgraphics0x162b
   PLATFORM, VENDOR & ID:    Intel(R) OpenCL Graphics, Intel(R) Corporation, ID=32902
   CANONICAL NAME:           intelropenclgraphicsintelrgraphics0x162b
   DRIVER VERSION:           23.43.027642
   DEVICE VERSION:           OpenCL 3.0 NEO
   DEVICE_TYPE:              GPU, unified mem
   GLOBAL MEM SIZE:          14492 MB
   MAX MEM ALLOC:            2048 MB
   MAX IMAGE SIZE:           16384 x 16384
   MAX WORK GROUP SIZE:      256
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 256 256 256 ]
   ASYNC PIXELPIPE:          NO
   PINNED MEMORY TRANSFER:   NO
   USE HEADROOM:             600Mb
   AVOID ATOMICS:            NO
   MICRO NAP:                250
   ROUNDUP WIDTH & HEIGHT    16x16
   CHECK EVENT HANDLES:      128
   TILING ADVANTAGE:         0.000
   DEFAULT DEVICE:           NO
   KERNEL BUILD DIRECTORY:   /usr/share/darktable/kernels
   KERNEL DIRECTORY:         /home/ale/.cache/darktable/cached_v5_kernels_for_IntelROpenCLGraphicsIntelRGraphics0x162b_2343027642
   CL COMPILER OPTION:      
   CL COMPILER COMMAND:      -w  -DINTEL=1 -I"/usr/share/darktable/kernels"
     1.6161 [opencl_build_program] could not build program: CL_BUILD_PROGRAM_FAILURE
     1.6162 [dt_opencl_device_init] failed to compile program `basic.cl'!
[opencl_init] no suitable devices found.
     1.6162 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.


J'ai testé plein de choses pour en arriver là : j'ai l'impression qu'il me manque juste un compilateur, une option ou une variable d'environnement pour aller au bout (ou pas) ... Si vous avez quelque piste à tester ou idée, je vous en serai reconnaissant !

merci !
Répondre
#2
J'ai eu aussi quelques difficultés pour compiler sur ma mageia 9, aussi j'ai établi une liste des packages nécessaires:
# git
# cmake
# gcc-c++
# llvm
# intltool
# lib64gtk+3.0-devel
# lib64xml2-devel
# lib64lensfun-devel
# lib64rsvg2-devel
# lib64sqlite3-devel
# lib64curl-devel
# lib64jpeg-devel
# lib64png-devel
# lib64turbojpeg0
# lib64tiff-devel
# lib64lcms2-devel
# lib64json-glib-devel
# lib64exiv2-devel
# lib64pugixml-devel
# lib64xslt-devel
# lib64osmgpsmap-devel
# lib64osmgpsmap1.0-devel ??
# lib64soup-devel
# lib64gphoto-devel
# lib64openexr-devel
# lib64webp-devel
# lib64flickcurl-devel
# lib64openjpeg2-devel
# lib64secret-devel
# lib64graphicsmagick-devel
# lib64colord-devel
# lib64colord-gtk-devel
# lib64cups2-devel
# lib64sdl2.0-devel
# lib64lua5.4-dev
# xsltproc
# lib64llvm-devel
# lib64opencl-devel
# clang
# lib64clang-devel
# po4a
# lib64gmic-devel
En espérant que ça puisse t'aider.
Matériel: TZ100, GX80 & G90, GX9 & G9 II, objectifs: Pana-Leica 8-18, 12-60, 100-400 et 15mm f1.7, Pana 14-140 II et 100-300 II, Olympus Zuiko 60mm macro.

Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 3 visiteur(s)