You are not logged in.
Bonjour shann,
Message hors sujet, mais je l'assume.
Je te présente ainsi qu'à ceel, alanyih, HGT et tous ceux qui oeuvrent dans l'ombre au développement de SliTaz mes meilleurs voeux de bonne année et de bonne santé pour 2025.
Avec mes amitiés.
Offline
Hi,
For information, all rebuild done for x86_64.
I also improve my cooklist to use it as script to rebuild without manual intervention
I boot on fresh iso to test glamor, it's work but seem need to install 'xorg-xf86-video-ati' beside 'xorg-xf86-video-ati' (need to recheck exact log but without glamor complain about try to use glamor llvmpipe not allow
)
egrep 'disabled|failed|DRI|glamor' /var/log/Xorg.0.log
[ 279.993] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 280.022] (II) Loading sub module "glamoregl"
[ 280.022] (II) LoadModule: "glamoregl"
[ 280.022] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 280.024] (II) Module glamoregl: vendor="X.Org Foundation"
[ 280.047] (II) modeset(0): Refusing to try glamor on llvmpipe
[ 280.048] (EE) modeset(0): glamor initialization failed
[ 280.054] (II) Initializing extension DRI3
[ 280.054] (II) AIGLX: Screen 0 is not DRI2 capable
[ 280.059] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 280.059] (II) Initializing extension XFree86-DRI
[ 280.059] (II) Initializing extension DRI2
With 'mesa-dri-ati' seem ok, also when xorg-xf86-video-amdgpu installed xorg complain about libGL.so.1 miss for libglx.so (fix by install mesa, think need to create libgl-mesa or add mesa as dep for video-amdgpu)
Need to improve other apps, infact we have firefox, vlc, abiword, gnumeric, but if remind not libreoffice for x86_64
Offline
Hi shann,
Thankx.
$ uname -a
Linux slitaz 5.10.221-slitaz64 #2 SMP Thu Jan 9 05:37:07 Europe 2025 x86_64 GNU/Linux
$ egrep 'glamor|GLX|DRI' /var/log/Xorg.0.log
[ 21.966] (II) Loading sub module "glamoregl"
[ 21.966] (II) LoadModule: "glamoregl"
[ 21.966] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 21.967] (II) Module glamoregl: vendor="X.Org Foundation"
[ 21.970] (II) AMDGPU(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
[ 21.970] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 21.982] (II) AMDGPU(0): [DRI2] Setup complete
[ 21.982] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 21.982] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 21.987] (==) AMDGPU(0): DRI3 enabled
[ 21.992] (II) AMDGPU(0): Set up textured video (glamor)
[ 22.003] (II) Initializing extension DRI3
[ 22.003] (II) Initializing extension GLX
[ 22.007] (II) AIGLX: Loaded and initialized radeonsi
[ 22.007] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 22.007] (II) Initializing extension XFree86-DRI
[ 22.007] (II) Initializing extension DRI2
$ xdriinfo
Screen 0: radeonsi
$ glxinfo -B | head
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0) (0x1638)
Version: 21.3.8
Accelerated: yes
Video memory: 512MB
Unified memory: no
Offline
Offline
Thanks shann.
$ libreoffice --version
LibreOffice 24.8.4.2 bb3cfa12c7b1bf994ecc5649a80400d06cd71002
Offline
$ libreoffice --writer
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
(soffice:5557): Gtk-WARNING **: 11:54:16.597: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.
1.
$ export PYTHONHOME=/usr/lib/libreoffice/libreoffice24.8/program/python-core-3.9.21
2.
$ sudo tazpkg -gi librsvg
Password:
Package "librsvg-2.52.5-x86_64" already in the cache
Installation of package "librsvg"
================================================================================
SVG Rendering Library
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
Execute post-install commands...
Updating gdk pixbuf loaders cache file... [ Done ]
[ Done ]
Update system databases... [ Done ]
================================================================================
Package "librsvg" (2.52.5) is installed.
$ gdk-pixbuf-query-loaders | grep svg
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "* " 100
" <!DOCTYPE svg" "* " 100
$ ls -l /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
total 260
-rwxr-xr-x 1 root root 22880 Jan 9 08:56 libpixbufloader-ani.so
-rwxr-xr-x 1 root root 18720 Jan 9 08:56 libpixbufloader-bmp.so
-rwxr-xr-x 1 root root 27104 Jan 9 08:56 libpixbufloader-gif.so
-rwxr-xr-x 1 root root 14640 Jan 9 08:56 libpixbufloader-icns.so
-rwxr-xr-x 1 root root 22984 Jan 9 08:56 libpixbufloader-ico.so
-rwxr-xr-x 1 root root 18728 Jan 9 08:56 libpixbufloader-pnm.so
-rwxr-xr-x 1 root root 14616 Jan 9 08:56 libpixbufloader-qtif.so
-rwxr-xr-x 1 root root 14584 Jan 9 18:08 libpixbufloader-svg.so
-rwxr-xr-x 1 root root 18736 Jan 9 08:56 libpixbufloader-tga.so
-rwxr-xr-x 1 root root 22976 Jan 9 08:56 libpixbufloader-tiff.so
-rwxr-xr-x 1 root root 14640 Jan 9 08:56 libpixbufloader-xbm.so
-rwxr-xr-x 1 root root 35248 Jan 9 08:56 libpixbufloader-xpm.so
3.
$ sudo tazpkg -i /root/ibm-semeru-open-8-jre-1.8.0.432.b06_x86_64.tazpkg
Password:
Installation of package "ibm-semeru-open-8-jre"
================================================================================
IBM Semeru Runtime Open Edition (OpenJDK 1.8.0_432-b06 with Eclipse OpenJ9
0.48.0)
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
================================================================================
Package "ibm-semeru-open-8-jre" (1.8.0.432.b06) is installed.
$ export JAVA_HOME=/usr/lib/jvm/ibm-semeru-open-8-jre
$ export PATH=$PATH:$JAVA_HOME/bin
$ java -version
openjdk version "1.8.0_432"
IBM Semeru Runtime Open Edition (build 1.8.0_432-b06)
Eclipse OpenJ9 VM (build openj9-0.48.0, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20241107_1079 (JIT enabled, AOT enabled)
OpenJ9 - 1d5831436e
OMR - d10a4d553
JCL - 306866566f based on jdk8u432-b06)
4.
$ libreoffice --writer
[attachment=52948,3655]
Offline
libavahi-common.so.3 => not found
libavahi-client.so.3 => not found
$ libreoffice --draw
[attachment=52949,3656]
loading component library <file://usr/lib/libreoffice24.8/program/libsdlo.so> failed.
$ ldd /usr/lib/libreoffice24.8/program/libsdlo.so | grep not
libavahi-common.so.3 => not found
libavahi-client.so.3 => not found
Offline
IBM Semeru Runtime Open Edition (OpenJDK 1.8.0_432-b06 with Eclipse OpenJ9 0.48.0)
ibm-semeru-open-8-jre-1.8.0.432.b06_0.48.0-1.x86_64.rpm 32.7 MB Nov 11, 2024
https://github.com/AdoptOpenJDK/semeru8-binaries/releases/download/jdk8u432-b06_openj9-0.48.0/ibm-semeru-open-8-jre-1.8.0.432.b06_0.48.0-1.x86_64.rpm
$ tail -26 /usr/lib/libreoffice/libreoffice24.8/program/javavendors.xml
<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0">
<updated>2019-07-26</updated>
<vendorInfos>
<vendor name="Sun Microsystems Inc.">
<minVersion>1.8.0</minVersion>
</vendor>
<vendor name="Oracle Corporation">
<minVersion>1.8.0</minVersion>
</vendor>
<vendor name="IBM Corporation">
<minVersion>1.8.0</minVersion>
</vendor>
<vendor name="Blackdown Java-Linux Team">
<minVersion>1.8.0</minVersion>
</vendor>
<vendor name="BEA Systems, Inc.">
<minVersion>1.8.0</minVersion>
</vendor>
<vendor name="Azul Systems, Inc.">
<minVersion>1.8.0</minVersion>
</vendor>
<vendor name="Amazon.com Inc.">
<minVersion>1.8.0</minVersion>
</vendor>
</vendorInfos>
</javaSelection>
Offline
Hi Alanyih,
Thanks for feedback. infact i test writer only not draw
, see warning about java not build package yet.
Concerning draw, i see this workaround for libavahi https://communitytest.documentfoundation.org/t/libsdlo-so-slitaz-gnu-linux-avahi/58304/5, just test it it's work also with 24.8.4.2 
For PYTHONHOME, think need to adjust soffice script to add export, i do it locally on my eeepc it's ok.
Let me check to update get script and rebuild package
Offline
I fix get-LibreOffice script for PYTHONHOME, rebuild LibreOffice package that is up to date on my space and current64 is uptodate with new libavahi package.
Add librsvg, gtk+3 and libavahi as depends, work as expected.
Need check for build and add java package.
I test writer / calc / impress / draw / base / math, all work except warning about java runtime.
Offline
Hi,
Time for aufs to leave, thanks for service, i update cookutils receipt to use overlay, it's work for current64 chroot, for current i see that linux-slitaz.config not have overlay as module, need to update linux config sorry for this mistake
.
@Ceel if you update your chroot env, you should install linux64-overlayfs.
Offline
Hi shann,
Thanks.
1. Place the following single line in a file "libavahi-client.c":
int avahi_client_new(void) { return 0; }
2. Place the following single line in a file "libavahi-common.c":
int avahi_threaded_poll_new(void) { return 0; }
3. Compile the two files into shared libraries by typing the following at
shell prompts (or place them into a script or Makefile):
gcc -c libavahi-client.c libavahi-common.c
gcc -shared -o libavahi-client.so.3 libavahi-client.o
gcc -shared -o libavahi-common.so.3 libavahi-common.o
https://communitytest.documentfoundation.org/t/libsdlo-so-slitaz-gnu-linux-avahi/58304/5
Offline
pulldown_icon missing
$ sudo tazpkg -gi adwaita-icon-theme
[attachment=52971,3662]
Offline
libclang-cpp.so.13 => not found
$ ldd /usr/lib/libMesaOpenCL.so.1.0.0
/usr/lib/libMesaOpenCL.so.1.0.0:
linux-vdso.so.1 (0x00007ffcb2dd0000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fd2f8426000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fd2f8421000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x00007fd2f8407000)
libclang-cpp.so.13 => not found
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fd2f83f4000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fd2f83d0000)
libLLVM-13.so => /usr/lib/libLLVM-13.so (0x00007fd2f5479000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fd2f5338000)
libm.so.6 => /lib/libm.so.6 (0x00007fd2f51b9000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fd2f51a4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd2f5183000)
libc.so.6 => /lib/libc.so.6 (0x00007fd2f4fcb000)
/lib/ld-2.28.so (0x00007fd2f858a000)
libffi.so.8 => /usr/lib/../lib/libffi.so.8 (0x00007fd2f4fbb000)
librt.so.1 => /lib/librt.so.1 (0x00007fd2f4fb1000)
libtinfo.so.6 => /lib/libtinfo.so.6 (0x00007fd2f4f86000)
libxml2.so.2 => /usr/lib/../lib/libxml2.so.2 (0x00007fd2f4e60000)
$ tazpkg info libopencl-mesa | grep Depends
TazPkg information
========================================================
Depends : libdrm
========================================================
Offline
Hi Alanyih,
Thanks, good catch for LibreOffice, i don't see this because when i do test i have firefox-official installed that have adwaita as depends.
I update get-LibreOffice, rebuild package LibreOffice up to date
For libopencl-mesa, i adjust depend and add new package clang-lib-cpp
Offline
Hi shann,
Thanks.
current - current64
slitaz-current-core64.iso 2024-Dec-20 13:53:41 98.3M
https://mirror1.slitaz.org/iso/current/slitaz-current-core64.iso
Index of /~shann/slitaz-current-stuff/isos/
slitaz-current-base64.iso 2024-Dec-03 12:44:04 19.6M
slitaz-current-core64.iso 2024-Dec-03 12:44:16 97.8M
Full 32 bits desktop with 64 bits kernel.
VS.
Index of /~shann/slitaz-current64-stuff/
slitaz-current-base64.iso 2025-Jan-10 08:25:50 19.6M
slitaz-current-core64.iso 2025-Jan-10 08:25:55 96.1M
Full 64 bits desktop with 64 bits kernel.
Using the same file name for different operating systems can easily cause confusion.
Offline
Hi shann
@Ceel if you update your chroot env, you should install linux64-overlayfs.
Noted. Thanks.
@ Rantanplan
Avec beaucoup de retard (ces dernières semaines je ne passe que très furtivement sur le forum), tous mes meilleurs voeux pour 2025 !
Offline
Hi shann,
For libopencl-mesa, i adjust depend and add new package clang-lib-cpp
Thankx.
LibreOffice - OpenCL - pipe_iris.so
Choose Tools - Options - LibreOffice - OpenCL.
Can’t enable OpenCL, as after restarting LibreOffice, the checkbox is unchecked again and OpenCL is not used.
1.
$ clinfo
Segmentation fault
$ tail -2 /var/log/messages
Feb 9 00:31:30 (none) user.info kernel: clinfo[2432]: segfault at 10 ip 00007f0177cd58a7 sp 00007ffe4b346488 error 4 in pipe_iris.so [7f0177987000+354000]
Feb 9 00:31:30 (none) user.info kernel: Code: 00 48 89 de 48 89 ef e8 dd 12 00 00 48 83 c4 68 5b 5d 41 5c 41 5d c3 31 c0 4c 8d 05 33 2c 0f 00 89 c2 d1 fa 48 63 d2 48 01 f2 <8a> 0a c0 e9 04 83 e1 0f 41 8a 0c 08 88 0c 07 8a 12 83 e2 0f 41
$ tazpkg -lf libopencl-mesa
Installed files by "libopencl-mesa"
==========================================================
/etc/OpenCL/vendors/mesa.icd
/usr/lib/gallium-pipe/pipe_crocus.so
/usr/lib/gallium-pipe/pipe_iris.so
/usr/lib/gallium-pipe/pipe_nouveau.so
/usr/lib/gallium-pipe/pipe_r300.so
/usr/lib/gallium-pipe/pipe_r600.so
/usr/lib/gallium-pipe/pipe_radeonsi.so
/usr/lib/gallium-pipe/pipe_swrast.so
/usr/lib/gallium-pipe/pipe_vmwgfx.so
/usr/lib/libMesaOpenCL.so
/usr/lib/libMesaOpenCL.so.1
/usr/lib/libMesaOpenCL.so.1.0.0
==========================================================
12 files
$ cat /etc/OpenCL/vendors/mesa.icd
libMesaOpenCL.so.1
2.
$ sudo tazpkg -r libopencl-mesa
$ 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.3.2
ICD loader Profile OpenCL 3.0
3.
clinfo is a simple command-line application that enumerates all possible (known) properties of the OpenCL platform and devices available on the system.
Use cases
verify that your OpenCL environment is set up correctly;
verify that your OpenCL development environment is set up correctly:
explore/report the actual properties of the available device(s).
https://github.com/Oblomov/clinfo
Offline
Hi alanyih,
Sorry for late to check issue you report 
I try to build clinfo, but i have issue with CL/cl.h
In file included from src/error.h:8,
from src/clinfo.c:35:
src/ext.h:36:10: fatal error: CL/cl.h: No such file or directory
#include <CL/cl.h>
^~~~~~~~~
compilation terminated.
make: *** [<builtin>: clinfo.o] Error 1
Build dependencies to remove: 38
I try with clone OpenCL-Headers similar issue
Cloning into 'OpenCL-Headers'...
cc -march=nocona -Os -pipe -fomit-frame-pointer -fPIC -std=c99 -Wall -Wextra I./OpenCL-Headers -I../OpenCL-Headers -c -o clinfo.o src/clinfo.c
cc -march=nocona -Os -pipe -fomit-frame-pointer -fPIC -std=c99 -Wall -Wextra -I./OpenCL-Headers -I../OpenCL-Headers -o clinfo clinfo.o -lOpenCL -ldl
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
make: *** [Makefile:100: clinfo] Error 1
In case i would like check with gdb for debug mesa opencl
How do you build clinfo ?
Offline
After check slackware / archlinux build, i see need to build opencl-icd / opencl-headers
Quick test on my amd laptop with copy fresh build clinfo / libOpenCL.so.1
stan@arion:~$ ./clinfo -l
Platform #0: Clover
`-- Device #0: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
stan@arion:~$ ./clinfo | more
#PLATFORMS 1
CL_PLATFORM_NAME Clover
CL_PLATFORM_VENDOR Mesa
CL_PLATFORM_VERSION OpenCL 1.1 Mesa 21.3.8
CL_PLATFORM_PROFILE FULL_PROFILE
CL_PLATFORM_EXTENSIONS cl_khr_icd
CL_PLATFORM_ICD_SUFFIX_KHR MESA
[...]
Offline
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr//usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc': No such file or directory
Preferred work group size multiple (kernel) <getWGsizes:2046: create kernel : error -46>
$ clinfo
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 21.3.8
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1
Device Name AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 21.3.8
Device Numeric Version 0x401000 (1.1.0)
Driver Version 21.3.8
Device OpenCL C Version OpenCL C 1.1
Device OpenCL C Numeric Version 0x401000 (1.1.0)
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 8
Max clock frequency 2000MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr//usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc': No such file or directory
Preferred work group size multiple (kernel) <getWGsizes:2046: create kernel : error -46>
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 3221225472 (3GiB)
Error Correction support No
Max memory allocation 2254857830 (2.1GiB)
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 32768 (32KiB)
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 (n/a)
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 RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name Clover
Device Name AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
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 Clover
Device Name AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
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
$ ls -l /usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc
ls: /usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc: No such file or directory
$ ls -l /usr//usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc
ls: /usr//usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc: No such file or directory
$ ls -l /usr/lib/clc/gfx90*
lrwxrwxrwx 1 root root 18 Feb 21 23:48 /usr/lib/clc/gfx900-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 28 Feb 21 23:48 /usr/lib/clc/gfx900-amdgcn-mesa-mesa3d.bc -> tahiti-amdgcn-mesa-mesa3d.bc
lrwxrwxrwx 1 root root 18 Feb 21 23:48 /usr/lib/clc/gfx902-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 28 Feb 21 23:48 /usr/lib/clc/gfx902-amdgcn-mesa-mesa3d.bc -> tahiti-amdgcn-mesa-mesa3d.bc
lrwxrwxrwx 1 root root 18 Feb 21 23:48 /usr/lib/clc/gfx904-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 28 Feb 21 23:48 /usr/lib/clc/gfx904-amdgcn-mesa-mesa3d.bc -> tahiti-amdgcn-mesa-mesa3d.bc
lrwxrwxrwx 1 root root 18 Feb 21 23:48 /usr/lib/clc/gfx906-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 28 Feb 21 23:48 /usr/lib/clc/gfx906-amdgcn-mesa-mesa3d.bc -> tahiti-amdgcn-mesa-mesa3d.bc
$ tazpkg -lf libclc | grep gfx
/usr/lib/clc/gfx900-amdgcn--.bc
/usr/lib/clc/gfx900-amdgcn-mesa-mesa3d.bc
/usr/lib/clc/gfx902-amdgcn--.bc
/usr/lib/clc/gfx902-amdgcn-mesa-mesa3d.bc
/usr/lib/clc/gfx904-amdgcn--.bc
/usr/lib/clc/gfx904-amdgcn-mesa-mesa3d.bc
/usr/lib/clc/gfx906-amdgcn--.bc
/usr/lib/clc/gfx906-amdgcn-mesa-mesa3d.bc
Offline
Choose Tools - Options - LibreOffice - OpenCL.
Can’t enable OpenCL, as after restarting LibreOffice, the checkbox is unchecked again and OpenCL is not used.
Can’t enable OpenCL.
$ clinfo -l
Platform #0: Clover
`-- Device #0: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
$ cat .config/libreoffice/4/cache/opencl_profile.xml
<?xml version="1.0" encoding="UTF-8"?>
<profile>
<version>LibreOffice v1</version>
<device>
<type>opencl</type>
<name>AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)</name>
<driver>21.3.8</driver>
<time>max</time>
<errors>true</errors>
</device>
<device>
<type>native</type>
<time>1678848</time>
<errors>false</errors>
</device>
</profile>
$ cat .config/libreoffice/4/cache/opencl_devices.log
Device Index: 0
Selected: false
Device Name: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
Device Vendor: AMD
Device Version: OpenCL 1.1 Mesa 21.3.8
Driver Version: 21.3.8
Device Type: gpu
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 OpenCL C Version: OpenCL C 1.1
Device Available: true
Device Compiler Available: true
Device Linker Available: true
Platform Name: Clover
Platform Vendor: Mesa
Platform Version: OpenCL 1.1 Mesa 21.3.8
Platform Profile: FULL_PROFILE
Platform Extensions: cl_khr_icd
$ grep OpenCL .config/libreoffice/4/user/registrymodifications.xcu
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="OpenCLAllowList" oor:op="fuse"><value><it>//Advanced Micro Devices, Inc\.//</it><it>//Intel\(R\) Corporation//</it><it>//NVIDIA Corporation//</it><it>Linux//Advanced Micro Devices, Inc\.//1445\.5 \(sse2,avx\)</it></value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="OpenCLDenyList" oor:op="fuse"><value><it>Windows//Intel\(R\) Corporation//3\.0\.1\.10891</it><it>Windows//Intel\(R\) Corporation//4\.2\.0\.99</it><it>Windows//Intel\(R\) Corporation//5\.2\.0\.10049</it><it>Windows//Intel\(R\) Corporation//9\.17\.10\.2884</it></value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseOpenCL" oor:op="fuse"><value>false</value></prop></item>
Offline
[ Generated in 0.021 seconds, 8 queries executed - Memory usage: 1.67 MiB (Peak: 1.78 MiB) ]