unraid_kernel
unraid_kernel copied to clipboard
OpenCL not working in most recent releases/pre-releases
As the title states, OpenCL does not seem to be working in the most recent releases/pre-releases.
The last release I had it working in was 6.7.9 20240310 o2 gcc 6.12.8 (not 100% sure though) I am 100% sure that it is working on 6.7.5 20240223 o2 gcc 6.12.8
I can not seem to get it to work on the releases below 6.8.2 202404.28 o2 gcc 6.12.8 6.9rc1 20240331 o2 gcc 6.12.9 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10
clinfo and ffmpeg log when using 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 (not working)
root@47e877e223a6:/# clinfo
Number of platforms 0
root@47e877e223a6:/# clinfo -a
Number of platforms 0
root@47e877e223a6:/# clinfo -l
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[AVHWDeviceContext @ 0x562160db4c40] Failed to get number of OpenCL platforms: -1001.
Device creation failed: -19.
Failed to set value 'opencl=ocl@va' for option 'init_hw_device': No such device
Error parsing global options: No such device
clinfo and ffmpeg log when using 6.7.5 20240223 o2 gcc 6.12.8 (working)
root@47e877e223a6:/# 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_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_intel_bfloat16_conversions cl_intel_create_buffer_with_properties cl_intel_dot_accumulate cl_intel_subgroup_local_block_io cl_intel_subgroup_matrix_multiply_accumulate cl_intel_subgroup_split_matrix_multiply_accumulate cl_khr_integer_dot_product cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_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_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 0x9001 (0.9.1)
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_intel_bfloat16_conversions 0x400000 (1.0.0)
cl_intel_create_buffer_with_properties 0x400000 (1.0.0)
cl_intel_dot_accumulate 0x400000 (1.0.0)
cl_intel_subgroup_local_block_io 0x400000 (1.0.0)
cl_intel_subgroup_matrix_multiply_accumulate 0x400000 (1.0.0)
cl_intel_subgroup_split_matrix_multiply_accumulate 0x400000 (1.0.0)
cl_khr_integer_dot_product 0x800000 (2.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_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 Name Intel(R) OpenCL Graphics
Number of devices 1
Device Name Intel(R) Arc(TM) A380 Graphics
Device Vendor Intel(R) Corporation
Device Vendor ID 0x8086
Device Version OpenCL 3.0 NEO
Device UUID 8680a556-0500-0000-0c00-000000000000
Driver UUID 32342e30-392e-3238-3731-372e31320000
Valid Device LUID No
Device LUID 308f-32dcfd7f0000
Device Node Mask 0
Device Numeric Version 0xc00000 (3.0.0)
Driver Version 24.09.28717.12
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_ext_fp32_global_atomic_add 0xc00000 (3.0.0)
__opencl_c_ext_fp32_local_atomic_add 0xc00000 (3.0.0)
__opencl_c_ext_fp32_global_atomic_min_max 0xc00000 (3.0.0)
__opencl_c_ext_fp32_local_atomic_min_max 0xc00000 (3.0.0)
__opencl_c_ext_fp16_global_atomic_load_store 0xc00000 (3.0.0)
__opencl_c_ext_fp16_local_atomic_load_store 0xc00000 (3.0.0)
__opencl_c_ext_fp16_global_atomic_min_max 0xc00000 (3.0.0)
__opencl_c_ext_fp16_local_atomic_min_max 0xc00000 (3.0.0)
__opencl_c_integer_dot_product_input_4x8bit 0xc00000 (3.0.0)
__opencl_c_integer_dot_product_input_4x8bit_packed 0xc00000 (3.0.0)
Latest comfornace test passed v2023-05-16-00
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 128
Max clock frequency 2450MHz
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 1024x1024x1024
Max work group size 1024
Preferred work group size multiple (device) 64
Preferred work group size multiple (kernel) 64
Max sub-groups per work group 128
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 0 / 0 (n/a)
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 (n/a)
Address bits 64, Little-Endian
Global memory size 6064541696 (5.648GiB)
Error Correction support No
Max memory allocation 3032270848 (2.824GiB)
Unified memory for Host and Device No
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing No
Fine-grained system sharing No
Atomics No
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 3032270848 (2.824GiB)
Global Memory cache type Read/Write
Global Memory cache size 4194304 (4MiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 189516928 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 16384x16128 pixels
Max 3D image size 16384x16384x2048 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 No
Max number of pipe args 0
Max active pipe reservations 0
Max pipe packet size 0
Local memory type Local
Local memory size 65536 (64KiB)
Max number of constant args 8
Max constant buffer size 3032270848 (2.824GiB)
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
Prefer user sync for interop Yes
Profiling timer resolution 52ns
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 No
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_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_intel_bfloat16_conversions cl_intel_create_buffer_with_properties cl_intel_dot_accumulate cl_intel_subgroup_local_block_io cl_intel_subgroup_matrix_multiply_accumulate cl_intel_subgroup_split_matrix_multiply_accumulate cl_khr_integer_dot_product cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_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_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 0x9001 (0.9.1)
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_intel_bfloat16_conversions 0x400000 (1.0.0)
cl_intel_create_buffer_with_properties 0x400000 (1.0.0)
cl_intel_dot_accumulate 0x400000 (1.0.0)
cl_intel_subgroup_local_block_io 0x400000 (1.0.0)
cl_intel_subgroup_matrix_multiply_accumulate 0x400000 (1.0.0)
cl_intel_subgroup_split_matrix_multiply_accumulate 0x400000 (1.0.0)
cl_khr_integer_dot_product 0x800000 (2.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_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) Arc(TM) A380 Graphics
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) Arc(TM) A380 Graphics
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) Arc(TM) A380 Graphics
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.14
ICD loader Profile OpenCL 3.0
root@47e877e223a6:/# clinfo -l
Platform #0: Intel(R) OpenCL Graphics
`-- Device #0: Intel(R) Arc(TM) A380 Graphics
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
Input #0, matroska,webm, from 'file:/file.mkv':
Metadata:
JBDONEDATE : 2024-04-15T08:23:32.510Z
ENCODER : Lavf60.3.100
Duration: 02:45:48.05, start: 0.000000, bitrate: 25398 kb/s
Chapters:
Chapter #0:0: start 0.021000, end 555.242000
Metadata:
title : Chapter 01
Chapter #0:1: start 555.242000, end 1289.935000
Metadata:
title : Chapter 02
Chapter #0:2: start 1289.935000, end 1771.042000
Metadata:
title : Chapter 03
Chapter #0:3: start 1771.042000, end 2408.929000
Metadata:
title : Chapter 04
Chapter #0:4: start 2408.929000, end 3040.936000
Metadata:
title : Chapter 05
Chapter #0:5: start 3040.936000, end 3634.155000
Metadata:
title : Chapter 06
Chapter #0:6: start 3634.155000, end 4194.548000
Metadata:
title : Chapter 07
Chapter #0:7: start 4194.548000, end 4780.509000
Metadata:
title : Chapter 08
Chapter #0:8: start 4780.509000, end 5439.960000
Metadata:
title : Chapter 09
Chapter #0:9: start 5439.960000, end 5946.092000
Metadata:
title : Chapter 10
Chapter #0:10: start 5946.092000, end 6575.888000
Metadata:
title : Chapter 11
Chapter #0:11: start 6575.888000, end 7180.451000
Metadata:
title : Chapter 12
Chapter #0:12: start 7180.451000, end 7824.637000
Metadata:
title : Chapter 13
Chapter #0:13: start 7824.637000, end 8330.309000
Metadata:
title : Chapter 14
Chapter #0:14: start 8330.309000, end 8659.263000
Metadata:
title : Chapter 15
Chapter #0:15: start 8659.263000, end 9465.820000
Metadata:
title : Chapter 16
Chapter #0:16: start 9465.820000, end 9948.042000
Metadata:
title : Chapter 17
Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1606 [SAR 1:1 DAR 1920:803], 23.98 fps, 23.98 tbr, 1k tbn (default) (original)
Metadata:
BPS-eng : 24495643
DURATION-eng : 02:45:48.020708333
NUMBER_OF_FRAMES-eng: 238514
NUMBER_OF_BYTES-eng: 30460393671
_STATISTICS_WRITING_APP-eng: mkvpropedit v45.0.0 ('Heaven in Pennies') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2024-04-15 08:23:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 02:45:48.041000000
Side data:
DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 1
Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (original)
Metadata:
BPS-eng : 768002
DURATION-eng : 02:45:47.968000000
NUMBER_OF_FRAMES-eng: 310875
NUMBER_OF_BYTES-eng: 955008000
_STATISTICS_WRITING_APP-eng: mkvpropedit v45.0.0 ('Heaven in Pennies') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2024-04-15 08:23:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 02:45:48.021000000
Stream #0:2(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default) (original)
Metadata:
title : "2.0 "
ENCODER : Lavc60.3.100 aac
BPS-eng : 129260
DURATION-eng : 02:45:48.010000000
NUMBER_OF_FRAMES-eng: 466314
NUMBER_OF_BYTES-eng: 160735322
_STATISTICS_WRITING_APP-eng: mkvpropedit v45.0.0 ('Heaven in Pennies') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2024-04-15 08:23:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 02:45:48.052000000
Stream #0:3(dan): Subtitle: subrip (default)
Metadata:
BPS-eng : 26
DURATION-eng : 02:45:36.770000000
NUMBER_OF_FRAMES-eng: 941
NUMBER_OF_BYTES-eng: 33433
_STATISTICS_WRITING_APP-eng: mkvpropedit v45.0.0 ('Heaven in Pennies') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2024-04-15 08:23:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 02:45:41.713000000
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
Output #0, hls, to '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf.m3u8':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264, qsv(tv, bt709, progressive), 3840x1606 [SAR 1:1 DAR 1920:803], q=2-31, 42331 kb/s, 23.98 fps, 90k tbn (default) (original)
Metadata:
encoder : Lavc60.3.100 h264_qsv
Side data:
cpb: bitrate max/min/avg: 42331623/0/42331623 buffer size: 84663246 vbv_delay: N/A
DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 1
Stream #0:1: Audio: aac, 48000 Hz, 5.1, s16, 640 kb/s (default) (original)
Metadata:
encoder : Lavc60.3.100 libfdk_aac
frame= 0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
frame= 67 fps=0.0 q=26.0 size=N/A time=00:00:03.07 bitrate=N/A speed=5.67x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf0.ts' for writing
frame= 140 fps=134 q=26.0 size=N/A time=00:00:06.10 bitrate=N/A speed=5.85x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf1.ts' for writing
frame= 213 fps=138 q=26.0 size=N/A time=00:00:09.15 bitrate=N/A speed=5.93x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf2.ts' for writing
frame= 287 fps=140 q=26.0 size=N/A time=00:00:12.24 bitrate=N/A speed=5.98x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf3.ts' for writing
frame= 355 fps=139 q=18.0 size=N/A time=00:00:15.10 bitrate=N/A speed=5.92x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf4.ts' for writing
frame= 420 fps=137 q=21.0 size=N/A time=00:00:17.79 bitrate=N/A speed=5.82x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf5.ts' for writing
frame= 483 fps=136 q=23.0 size=N/A time=00:00:20.41 bitrate=N/A speed=5.74x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf6.ts' for writing
frame= 548 fps=135 q=23.0 size=N/A time=00:00:23.12 bitrate=N/A speed= 5.7x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf7.ts' for writing
frame= 614 fps=135 q=16.0 size=N/A time=00:00:25.87 bitrate=N/A speed=5.67x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf8.ts' for writing
frame= 687 fps=136 q=16.0 size=N/A time=00:00:28.92 bitrate=N/A speed=5.71x
[hls @ 0x55e83d9273c0] Opening '/unraid/Jellyfin-Transcode/80c88116aa01c2198156801442ff9aaf9.ts' for writing
frame= 753 fps=135 q=20.0 size=N/A time=00:00:31.68 bitrate=N/A speed=5.69x
Kind regards!
hate to say it :))) but I dont think thats my problem .... might be a regression, might be that the user space bins need updating.... could be a number of things.....
Could it be that the opencl package used is not compatible with the newer kernels? But then again, I'm running jellyfin in docker and are using a dockermod to install opencl. Hmm
Hmm could this be the issue https://github.com/intel/compute-runtime/issues/710
Edit: Yup that was the issue. There is a workaround
add the following 2 debug variables to the docker container
NEOReadDebugKeys=1
OverrideGpuAddressSpace=48
Or directly through console
export NEOReadDebugKeys=1
export OverrideGpuAddressSpace=48
This makes clinfo able to see the gpu again. But i'm still unable to play content that is using opencl :(. Guess i'll wait for next release of opencl
I'm having the same issue on unraid 6.12.10 with the most recent pre-release. The GPU is detected in the Emby container but during transcoding it throws similar opencl errors. Any workaround for this issue?
works fine on my amdgpu :)))) so don't generalize it... it looks like an issue with the intel part
had to install this in the emby container
apt install rocm-device-libs rocminfo clinfo mesa-opencl-icd ocl-icd-opencl-dev
clinfo
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 2
Device Name AMD Radeon RX 550 Series (polaris11, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
Device Numeric Version 0x401000 (1.1.0)
Driver Version 23.2.1-1ubuntu3.1~22.04.2
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 10
Max clock frequency 1071MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Preferred work group size multiple (kernel) 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
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
Global memory size 4294967296 (4GiB)
Error Correction support No
Max memory allocation 1073741824 (1024MiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 65536 (64KiB)
Max number of constant args 16
Max constant buffer size 67108864 (64MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
ILs with version SPIR-V 0x400000 (1.0.0)
Built-in kernels with version (n/a)
Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
Device Extensions with Version cl_khr_byte_addressable_store 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_local_int32_base_atomics 0x400000 (1.0.0)
cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_int64_base_atomics 0x400000 (1.0.0)
cl_khr_int64_extended_atomics 0x400000 (1.0.0)
cl_khr_fp64 0x400000 (1.0.0)
cl_khr_extended_versioning 0x400000 (1.0.0)
Device Name AMD Radeon RX Vega (vega10, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
Device Numeric Version 0x401000 (1.1.0)
Driver Version 23.2.1-1ubuntu3.1~22.04.2
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 56
Max clock frequency 1590MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Preferred work group size multiple (kernel) 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
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
Global memory size 8589934592 (8GiB)
Error Correction support No
Max memory allocation 2147483648 (2GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 65536 (64KiB)
Max number of constant args 16
Max constant buffer size 67108864 (64MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
ILs with version SPIR-V 0x400000 (1.0.0)
Built-in kernels with version (n/a)
Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
Device Extensions with Version cl_khr_byte_addressable_store 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_local_int32_base_atomics 0x400000 (1.0.0)
cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_int64_base_atomics 0x400000 (1.0.0)
cl_khr_int64_extended_atomics 0x400000 (1.0.0)
cl_khr_fp64 0x400000 (1.0.0)
cl_khr_extended_versioning 0x400000 (1.0.0)
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name AMD Radeon RX 550 Series (polaris11, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (2)
Platform Name Clover
Device Name AMD Radeon RX 550 Series (polaris11, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
Device Name AMD Radeon RX Vega (vega10, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
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 (2)
Platform Name Clover
Device Name AMD Radeon RX 550 Series (polaris11, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
Device Name AMD Radeon RX Vega (vega10, LLVM 15.0.7, DRM 3.57, 6.9.0-rc4-thor-Unraid+)
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.14
ICD loader Profile OpenCL 3.0
also I'm always using the ppa:kisak/kisak-mesa .....
Thanks for the reply, yes this issue seems to be specific to Intel GPUs, I'm using an Arc A380. I'll experiment with the details you provided and report back if I mange to find anything.
Thanks for the reply, yes this issue seems to be specific to Intel GPUs, I'm using an Arc A380. I'll experiment with the details you provided and report back if I mange to find anything.
The new release that resolves the issue (hopefully) should be out https://github.com/intel/compute-runtime/releases/tag/24.13.29138.7
Edit: Just tested it, unfortunately it does not work for me :( Don't know if the issue is more specific for dedicated intel gpu's. I got an A380 and the workaround did not work for me either, or if the ffmpeg used in jellyfin needs an update also or something
As the title states, OpenCL does not seem to be working in the most recent releases/pre-releases.
The last release I had it working in was 6.7.9 20240310 o2 gcc 6.12.8 (not 100% sure though) I am 100% sure that it is working on 6.7.5 20240223 o2 gcc 6.12.8
I can not seem to get it to work on the releases below 6.8.2 202404.28 o2 gcc 6.12.8 6.9rc1 20240331 o2 gcc 6.12.9 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10
clinfo and ffmpeg log when using 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 (not working) clinfo and ffmpeg log when using 6.7.5 20240223 o2 gcc 6.12.8 (working) Kind regards!
I tried it on this release 6.7.9 20240310 o2 gcc 6.12.8 and clinfo outputs a 0. I also tried downgrading to 6.7.5 20240223 o2 gcc 6.12.8 but I can't get Unraid to load properly it shows the unraid login screen in terminal but the WebUi and arrays won't load.
I don't know if this is related but I did see this in the Jellyfin official guide as a note:
_**The LTS kernel 6.6.26+ and the stable kernel 6.8.5+ have unresolved i915 driver bugs, which break HDR/DV tone-mapping on Intel Gen 12.5 DG2 / ARC A-series GPUs. If you are affected, please refrain from upgrading to those kernel versions.
Issue: https://github.com/jellyfin/jellyfin/issues/11380**_
As the title states, OpenCL does not seem to be working in the most recent releases/pre-releases. The last release I had it working in was 6.7.9 20240310 o2 gcc 6.12.8 (not 100% sure though) I am 100% sure that it is working on 6.7.5 20240223 o2 gcc 6.12.8 I can not seem to get it to work on the releases below 6.8.2 202404.28 o2 gcc 6.12.8 6.9rc1 20240331 o2 gcc 6.12.9 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 clinfo and ffmpeg log when using 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 (not working) clinfo and ffmpeg log when using 6.7.5 20240223 o2 gcc 6.12.8 (working) Kind regards!
I tried it on this release 6.7.9 20240310 o2 gcc 6.12.8 and clinfo outputs a 0. I also tried downgrading to 6.7.5 20240223 o2 gcc 6.12.8 but I can't get Unraid to load properly it shows the unraid login screen in terminal but the WebUi and arrays won't load.
I don't know if this is related but I did see this in the Jellyfin official guide as a note:
_**The LTS kernel 6.6.26+ and the stable kernel 6.8.5+ have unresolved i915 driver bugs, which break HDR/DV tone-mapping on Intel Gen 12.5 DG2 / ARC A-series GPUs. If you are affected, please refrain from upgrading to those kernel versions.
Issue: jellyfin/jellyfin#11380**_
What version of unraid are you on?
The unresolved i915 driver bugs does seem to look like my current issue now then. Guess I'll just stay on 6.7.5 untill it's fixed in the newer kernels.
As the title states, OpenCL does not seem to be working in the most recent releases/pre-releases. The last release I had it working in was 6.7.9 20240310 o2 gcc 6.12.8 (not 100% sure though) I am 100% sure that it is working on 6.7.5 20240223 o2 gcc 6.12.8 I can not seem to get it to work on the releases below 6.8.2 202404.28 o2 gcc 6.12.8 6.9rc1 20240331 o2 gcc 6.12.9 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 clinfo and ffmpeg log when using 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 (not working) clinfo and ffmpeg log when using 6.7.5 20240223 o2 gcc 6.12.8 (working) Kind regards!
I tried it on this release 6.7.9 20240310 o2 gcc 6.12.8 and clinfo outputs a 0. I also tried downgrading to 6.7.5 20240223 o2 gcc 6.12.8 but I can't get Unraid to load properly it shows the unraid login screen in terminal but the WebUi and arrays won't load. I don't know if this is related but I did see this in the Jellyfin official guide as a note: The LTS kernel 6.6.26+ and the stable kernel 6.8.5+ have unresolved i915 driver bugs, which break HDR/DV tone-mapping on Intel Gen 12.5 DG2 / ARC A-series GPUs. If you are affected, please refrain from upgrading to those kernel versions. Issue: jellyfin/jellyfin#11380
What version of unraid are you on?
The unresolved i915 driver bugs does seem to look like my current issue now then. Guess I'll just stay on 6.7.5 untill it's fixed in the newer kernels.
I'm using Unraid version 12.6.8 and kept kernel 6.7.9 20240310 o2 gcc for now.
As the title states, OpenCL does not seem to be working in the most recent releases/pre-releases. The last release I had it working in was 6.7.9 20240310 o2 gcc 6.12.8 (not 100% sure though) I am 100% sure that it is working on 6.7.5 20240223 o2 gcc 6.12.8 I can not seem to get it to work on the releases below 6.8.2 202404.28 o2 gcc 6.12.8 6.9rc1 20240331 o2 gcc 6.12.9 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 clinfo and ffmpeg log when using 6.9rc3 20240409 o2 gcc 6.12.9/6.12.10 (not working) clinfo and ffmpeg log when using 6.7.5 20240223 o2 gcc 6.12.8 (working) Kind regards!
I tried it on this release 6.7.9 20240310 o2 gcc 6.12.8 and clinfo outputs a 0. I also tried downgrading to 6.7.5 20240223 o2 gcc 6.12.8 but I can't get Unraid to load properly it shows the unraid login screen in terminal but the WebUi and arrays won't load. I don't know if this is related but I did see this in the Jellyfin official guide as a note: The LTS kernel 6.6.26+ and the stable kernel 6.8.5+ have unresolved i915 driver bugs, which break HDR/DV tone-mapping on Intel Gen 12.5 DG2 / ARC A-series GPUs. If you are affected, please refrain from upgrading to those kernel versions. Issue: jellyfin/jellyfin#11380
What version of unraid are you on? The unresolved i915 driver bugs does seem to look like my current issue now then. Guess I'll just stay on 6.7.5 untill it's fixed in the newer kernels.
I'm using Unraid version 12.6.8 and kept kernel 6.7.9 20240310 o2 gcc for now.
Ah, its the bonding interface issue then that came with 6.12.8, kernel 6.7.5 did not have the fix for it, but 6.7.9 does. It was then "reverted" or atleast changed back in 6.12.9, thats why kernel 6.7.5 works for me and not you. I'm on unraid 6.12.10, so if I install 6.7.9 I will have the same issue you got with 6.7.5
Ah, its the bonding interface issue then that came with 6.12.8, kernel 6.7.5 did not have the fix for it, but 6.7.9 does. It was then "reverted" or atleast changed back in 6.12.9, thats why kernel 6.7.5 works for me and not you. I'm on unraid 6.12.10, so if I install 6.7.9 I will have the same issue you got with 6.7.5
Ohh good to know, thanks for the clarification.
@thor2002ro looks like the patches to fix this have made it into the 6.9 kernel release: https://lwn.net/Articles/973397/
Andi Shyti (1):
drm/i915/gt: Automate CCS Mode setting during engine resets
Also FYI Limitech was planning 6.8.9 for the Unraid 7 Stable (beta and RC will still be 6.13), and said they will either go with 6.9 or backport the ARC patches:
Also FYI Limitech was planning 6.8.9 for the Unraid 7 Stable (beta and RC will still be 6.13), and said they will either go with 6.9 or backport the ARC patches
Looks like it's been added to 6.8.10 now.
Everything is working again now with https://github.com/thor2002ro/unraid_kernel/releases/tag/20240518
Thank you @thor2002ro !
Closing the issue