[Bug 1208943] New: intel compute driver aka intel-opencl
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 Bug ID: 1208943 Summary: intel compute driver aka intel-opencl Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: dani.mackiol@web.de QA Contact: sndirsch@suse.com Found By: --- Blocker: --- Hallo, is it possible to update the intel driver to the latest version? So that the new Intel Arc cards are supported with kernel 6.2. igc ( intel-graphic-compiler) is necessary. I try to compile it myself in OBS, but fail with error messages. Even Blender refuses to work with reference to the old module: linux driver version xx.xx.23904 or newer. currently is version 23.05.25593. Thanks -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 dani mackiol <dani.mackiol@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P5 - None Component|X11 3rd Party Driver |X.Org Assignee|gfx-bugs@suse.de |patrik.jakobsson@suse.com QA Contact|sndirsch@suse.com |gfx-bugs@suse.de --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Reassigning to Patrik ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c2 --- Comment #2 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- Hi Dani, It's been very hard to update the Intel compute stack (including opencl) so we are unfortunately stuck at a rather old version. I haven't had the time to look at this recently but I will revisit it when I get some spare time. If you make any progress at building it yourself, please let me know. There's an attempt at building a newer version at [1]. It might helpful if you try fixing it yourself. [1] https://build.opensuse.org/package/show/home:patrikjakobsson:intel-opencl/in... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c3 Andreas <opendreas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |opendreas@gmail.com --- Comment #3 from Andreas <opendreas@gmail.com> --- I don't know if it makes sense to create a new bug report, but in Leap 15.5 it seems that intel-opencl does not work. clinfo Number of platforms 0 ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.11 ICD loader Profile OpenCL 2.1 I have Intel + Nvidia in my laptop and while I'm waiting for proprietary Nvidia drivers, I decided to use intel opencl, but not a single program detects it, for example Darktable, Libreoffice, Blender(?). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c4 --- Comment #4 from Andreas <opendreas@gmail.com> --- (In reply to Andreas from comment #3)
I don't know if it makes sense to create a new bug report, but in Leap 15.5 it seems that intel-opencl does not work.
clinfo Number of platforms 0
ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.11 ICD loader Profile OpenCL 2.1
I have Intel + Nvidia in my laptop and while I'm waiting for proprietary Nvidia drivers, I decided to use intel opencl, but not a single program detects it, for example Darktable, Libreoffice, Blender(?).
I have an Intel Xeon E-2186M with UHD P630 which should be supported by intel-compute-runtime -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c5 --- Comment #5 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- Hmm, Leap 15.5 seems to be stuck at an old version: 21.39.21127 While it should be: 21.43.21438 I need to submit an update to Leap. Andreas, it should work in TW if you have the ability to test. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c6 --- Comment #6 from Andreas <opendreas@gmail.com> --- (In reply to Patrik Jakobsson from comment #5)
Hmm, Leap 15.5 seems to be stuck at an old version: 21.39.21127 While it should be: 21.43.21438
I need to submit an update to Leap.
Andreas, it should work in TW if you have the ability to test.
I am currently using Leap 15.5 and there is no way to test for TW. If you could update opencl for Leap it would be very nice. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c8 --- Comment #8 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- Dani, I've managed to build the latest version of the Intel GPU compute stack. I just got the packages to build so I haven't tested much yet. At least clinfo reports correctly. If possible, please test the packages at: https://build.opensuse.org/project/show/home:patrikjakobsson:branches:X11:XO... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c9 --- Comment #9 from dani mackiol <dani.mackiol@web.de> --- Hello, it works I have a detection in Blender and a detection is better in Agisoft Metashape. Thanks Platform Name Intel(R) FPGA Emulation Platform for OpenCL(TM) Device Name Intel(R) FPGA Emulation Device Device Vendor Intel(R) Corporation Device Vendor ID 0x1172 Device Version OpenCL 1.2 Driver Version 2022.15.12.0.01_081451 Device OpenCL C Version OpenCL C 1.2 Device Type Accelerator Device Profile EMBEDDED_PROFILE Device Available Yes Compiler Available Yes Linker Available Yes Max compute units 24 Max clock frequency 0MHz Device Partition (core) Max number of sub-devices 24 Supported partition types by counts, equally, by names (Intel) Supported affinity domains (n/a) Max work item dimensions 3 Max work item sizes 67108864x67108864x67108864 Max work group size 67108864 Preferred work group size multiple (kernel) 128 Preferred / native vector sizes char 1 / 32 short 1 / 16 int 1 / 8 long 1 / 4 half 0 / 0 (n/a) float 1 / 8 double 1 / 4 (n/a) Half-precision Floating-point support (n/a) Single-precision Floating-point support (core) Denormals Yes 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 (n/a) Address bits 64, Little-Endian Global memory size 67303645184 (62.68GiB) Error Correction support No Max memory allocation 33651822592 (31.34GiB) Unified memory for Host and Device Yes Minimum alignment for any data type 128 bytes Alignment of base address 1024 bits (128 bytes) Global Memory cache type Read/Write Global Memory cache size 524288 (512KiB) Global Memory cache line size 64 bytes Image support No Local memory type Global Local memory size 262144 (256KiB) Max number of constant args 480 Max constant buffer size 131072 (128KiB) Max size of kernel argument 3840 (3.75KiB) Queue properties Out-of-order execution Yes Profiling Yes Prefer user sync for interop No Profiling timer resolution 1ns Execution capabilities Run OpenCL kernels Yes Run native kernels Yes IL version SPIR-V_1.0 printf() buffer size 1048576 (1024KiB) Built-in kernels (n/a) Device Extensions cl_khr_spirv_linkonce_odr cl_khr_icd cl_khr_byte_addressable_store cl_intel_fpga_host_pipe cles_khr_int64 cl_khr_il_program cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c10 --- Comment #10 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- Hmm that looks wrong. Have you installed some other opencl packages from Intel? Driver version should be: 23.05.025593 Device version should be: OpenCL 3.0 NEO And your GPU reports as "Intel(R) FPGA Emulation Device" while mine is "Intel(R) Arc(TM) A380 Graphics" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c11 --- Comment #11 from dani mackiol <dani.mackiol@web.de> --- Hi in CPU-X OpenCL 3.0 (Build 0) Vulkan Version 1.3.238 Vulkan RT disable OpenGL Version 4.6 ResizableBar _____ Log in Agisoft Mateshape : Using device: Intel(R) FPGA Emulation Device, 24 compute units, 64205 MB global memory, OpenCL 1.2 driver version: 2022.15.12.0.01_081451, platform version: OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3 max work group size 67108864 max work item sizes [67108864, 67108864, 67108864] max mem alloc size 32102 MB Dani -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c12 --- Comment #12 from dani mackiol <dani.mackiol@web.de> --- (In reply to dani mackiol from comment #11)
Hi
in CPU-X OpenCL 3.0 (Build 0) Vulkan Version 1.3.238 Vulkan RT disable OpenGL Version 4.6
ResizableBar _____
Log in Agisoft Mateshape : Using device: Intel(R) FPGA Emulation Device, 24 compute units, 64205 MB global memory, OpenCL 1.2 driver version: 2022.15.12.0.01_081451, platform version: OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3 max work group size 67108864 max work item sizes [67108864, 67108864, 67108864] max mem alloc size 32102 MB
Dani Intel oneApi 2023
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c13 --- Comment #13 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- You seem to have the "Intel FPGA Emulation Platform for OpenCL" installed. It looks like that is some sort of CPU software emulation of FPGA hardware from Intel. I would recommend you uninstall that before trying opencl on the GPU. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c14 --- Comment #14 from dani mackiol <dani.mackiol@web.de> --- Hi, that was the problem. deinstalled oneApi. Found 1 GPUs in 0.039263 sec (CUDA: 0.000156 sec, OpenCL: 0.039093 sec) Using device: Intel(R) Arc(TM) A770 Graphics, 512 compute units, 15473 MB global memory, OpenCL 3.0 driver version: 23.05.025593, platform version: OpenCL 3.0 max work group size 1024 max work item sizes [1024, 1024, 1024] max mem alloc size 4095 MB Using OpenCL device 'Intel(R) Arc(TM) A770 Graphics' in concurrent. (2 times) Thanks you for the very good job. Dani Mackiol -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c15 --- Comment #15 from dani mackiol <dani.mackiol@web.de> --- But i don�t have Resizable Bar, lspci -v |grep -A8 VGA 0d:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A770] (rev 08) (prog-if 00 [VGA controller]) Subsystem: Intel Corporation Device 1020 Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 30 -> Memory at fa000000 (64-bit, non-prefetchable) [size=16M] should be at 0x40000000 Memory at f800000000 (64-bit, prefetchable) [size=16G] Expansion ROM at fb000000 [disabled] [size=2M] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+ but under windwos 11 is enable. Thanks -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c16 --- Comment #16 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- (In reply to dani mackiol from comment #15)
But i don�t have Resizable Bar,
lspci -v |grep -A8 VGA 0d:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A770] (rev 08) (prog-if 00 [VGA controller]) Subsystem: Intel Corporation Device 1020 Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 30 -> Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
should be at 0x40000000
That's the IO memory and not the video memory.
Memory at f800000000 (64-bit, prefetchable) [size=16G]
This is the video memory and it's at 16G size so you must have rebar enabled. If you do: dmesg | grep LMEM It should say something like this if you don't have rebar enabled: [drm] Can't resize LMEM BAR - platform support is missing
Expansion ROM at fb000000 [disabled] [size=2M] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
but under windwos 11 is enable.
Thanks
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c17 dani mackiol <dani.mackiol@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #17 from dani mackiol <dani.mackiol@web.de> --- Hello, it works again. Everything was set correctly in the BIOS, but it didn't work. Reset the bios settings and then activate the corresponding points again. after that it worked. It can only be that an option was not active, although it was set as active. Everything is going wonderfully well. CPU load is 3% and GPU 99%. With the old one intel-opencl the CPU load was about 80%. I'd love to see it in the official repository then. Great job Patrik -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 dani mackiol <dani.mackiol@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |CONFIRMED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208943 http://bugzilla.opensuse.org/show_bug.cgi?id=1208943#c18 Patrik Jakobsson <patrik.jakobsson@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- The latest version of intel-opencl is now available in Tumbleweed. Closing this bug as FIXED -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com