2024-03-06

current - iris_dri.so

 

iris_dri.so

libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory

$ uname -a
Linux slitaz 5.10.210-slitaz-pae #6 SMP Sat Mar 2 18:47:09 Europe 2024 i686 GNU/Linux

$ glxinfo -B
name of display: :0.0
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 13.0.0, 128 bits) (0xffffffff)
Version: 21.3.5
Accelerated: no
Video memory: 7829MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.0, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 21.3.5
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

$ tazpkg -sp iris_dri.so

Search result for package "iris_dri.so"
========================================================================
========================================================================
0 packages 

 

 https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/23#post-52092

 

current - ERROR: Module e1000e not found.

 

ERROR: Module e1000e not found.

slitaz-current-core64.iso

$ uname -a
Linux slitaz 5.10.210-slitaz64 #2 SMP Sat Mar 2 17:52:15 Europe 2024 x86_64 GNU/Linux

$ ifconfig eth0
ifconfig: eth0: error fetching interface information: Device not found

$ modinfo e1000e
modinfo: ERROR: Module e1000e not found.

$ zcat /proc/config.gz | grep E1000
CONFIG_E1000=m
CONFIG_E1000E=m
CONFIG_E1000E_HWTS=y

$ ls -l /lib/modules/5.10.210-slitaz64/kernel/drivers/net/ethernet/intel
total 0
drwxr-xr-x 2 root root 60 Mar 2 17:07 e1000
drwxr-xr-x 2 root root 60 Mar 2 17:07 igb
drwxr-xr-x 2 root root 60 Mar 2 17:07 ixgb
drwxr-xr-x 2 root root 60 Mar 2 17:07 ixgbe
$

 

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/23#post-52091

2023-11-30

current - kernel pae-2

 kernel pae-2

kernel pae
Memory : 2961MB (384MB used)

I also note to build kernel pae :)

Kernel : Linux 5.4.41-slitaz (x86_64)

Memory : 15788MB (706MB used)

Date/Time : Thu Jul 8 12:35:44 2021

Processor		: 8x AMD Ryzen 7 5800H with Radeon Graphics
Memory		        : 2961MB (384MB used)
Operating System	: Slitaz GNU/Linux current

# free -m
              total        used        free      shared  buff/cache   available
Mem:           2891         355        1697         665         839        1784
Swap:          1445           0        1445

A PAE-enabled kernel should have more than 4GB RAM.

POSTED 31 MINUTES AGO #




current - kernel pae


kernel pae







Memory : 2961MB (384MB used)

Rebuild apps in progress.
I also note to build kernel pae :)

slitaz-x86_64 - ASUS Vivobook Pro 14 M3400QA

Kernel : Linux 5.4.41-slitaz (x86_64)
C Library : GNU C Library version 2.26 (stable)
C Compiler : GNU C Compiler version 7.3.0 (SliTaz64)

Resolution : 2880x1800 pixels
Version : 1.19.3 (X.Org)
Name : M3400QA (ASUS)

Summary
-------
-Computer-
Processor : 8x AMD Ryzen 7 5800H with Radeon Graphics
Memory : 15788MB (706MB used)
Operating System : SliTaz GNU/Linux
User Name : tux (SliTaz User)
Date/Time : Thu Jul 8 12:35:44 2021

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa

ASUS Vivobook Pro 14 M3400QA

Processor AMD Ryzen™ 7 5800H processor 3.2GHz 8 cores
Graphics AMD Radeon™ Graphics
Display 14.0 inches, OLED, WQXGA+ (2880 x 1800) 16:10, 400nits,
DCI-P3: 100%, Pantone Validated
Memory 8GB DDR4 SO-DIMM x 2, Memory Max 16GB
Storage 512GB M.2 NVMe™ PCIe® 3.0 SSD
Network Wi-Fi 6(802.11ax)+Bluetooth 5.0 (Dual band) 2*2

华硕无畏 Pro14 锐龙版 (chinese)
https://www.asus.com.cn/Laptops/For-Home/VivoBook/Vivobook-Pro-14-M3400/techspec/

1. # tazpkg -gi slitaz-toolchain
....

Installation of package "slitaz-toolchain"
=================================================================================
SliTaz meta package to rebuild or install current toolchain.
---------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
=================================================================================
Package "slitaz-toolchain" (6.0) is installed.

# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-slitaz-linux/8.3.0/lto-wrapper
Target: i486-slitaz-linux
Configured with: /home/slitaz/wok/gcc/source/gcc-8.3.0/configure --libexecdir=/usr/lib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --with-system-zlib --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --disable-bootstrap --with-pkgversion=SliTaz --build=i486-slitaz-linux --host=i486-slitaz-linux --with-tune=i486
Thread model: posix
gcc version 8.3.0 (SliTaz)

2.
# free -m

              total        used        free      shared  buff/cache   available
Mem:           2891         355        1697         665         839        1784
Swap:          1445           0        1445

3. hardinfo

-Computer-
Processor		: 8x AMD Ryzen 7 5800H with Radeon Graphics
Memory		        : 2961MB (384MB used)
Operating System	: Slitaz GNU/Linux current
User Name		: tux (SliTaz User)
Date/Time		: Sun Nov 26 02:55:08 2023
-Display-
Resolution		: 1920x1200 pixels
OpenGL Renderer		: Unknown
X11 Vendor		: (null)
-Multimedia-
Audio Adapter		: HDA-Intel - HD-Audio Generic
Audio Adapter		: HDA-Intel - HD-Audio Generic

Operating System
----------------
-Version-
Kernel		        : Linux 4.19.298-slitaz (i686)
Compiled		: #4 SMP Fri Nov 17 15:16:46 Europe 2023
C Library		: Unknown
Default C Compiler	: GNU C Compiler version 8.3.0 (SliTaz)
Distribution		: Slitaz GNU/Linux current
-Current Session-
Computer Name		: slitaz
User Name		: tux (SliTaz User)
Home Directory		: /home/tux
Desktop Environment	: Unknown (Window Manager: Openbox)
-Misc-
Uptime		        : 53 minutes 

Load Average : 0.02, 0.02, 0.00


https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/14#post-51807

current - Dynamic Loader

 

Dynamic Loader

Normally tazweb has been compiled with libsoup248 / libwebkit and to avoid clash with libsoup / webkitgtk (webkit2gtk soon), each have own path (/usr/libsoup248, /usr/libwebkit).
And tazweb have LD_LIBRARY_PATH to use it.

With this command tazweb run :
LD_LIBRARY_PATH=/usr/libsoup248:/usr/libwebkit tazweb

8.5.2.3. Configuring the Dynamic Loader

By default, the dynamic loader (/lib/ld-linux.so.2) searches through /usr/lib for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than /usr/lib, these need to be added to the /etc/ld.so.conf file in order for the dynamic loader to find them. Two directories that are commonly known to contain additional libraries are /usr/local/lib and /opt/lib, so add those directories to the dynamic loader's search path.
....

https://www.linuxfromscratch.org/lfs/view/11.2/chapter08/glibc.html#contents-glibc


https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/13#post-51793

current - receipt - mesa.SlackBuild

 

receipt - mesa.SlackBuild

I begin stuff to ensure we have stable and recent version.
In case i compare current wok versions with Slackware 15.0, because it's more conservative in upgrade and keep security in mind.
For xorg stuff, i check also with 14.2 for proto packages (15.0 have 2021.5 metapackage)
On all packages build on current, we have 1018 it's same version (it's include also only slitaz pkg), 136 remain. Seem good point :)
40 UPDATED
24 SKIP because need major upgrade as Mesa / Xorg / GCC / Glibc / Kernel
72 need to check

Index of /slackware/slackware-15.0/source/x/mesa

Name			Last modified	Size	Description
Parent Directory	 	-
doinst.sh.gz		2018-12-07 20:28	388
get-mesa.sh		2015-12-11 04:09	720
mesa-21.3.5.tar.xz	2022-01-26 19:56	16M
mesa-21.3.5.tar.xz.sig	2022-01-26 19:56	329
mesa-demos-8.4.0.tar.lz	2018-02-23 09:54	6.9M
mesa.SlackBuild		2022-01-28 21:22	6.9K
mesa.url		2010-10-01 06:23	78
patches-revert/		2021-03-12 02:31	-
patches/		2021-10-15 19:57	-
slack-desc		2019-09-25 21:15	814

https://slackware.nl/slackware/slackware-15.0/source/x/mesa/


https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/13#post-51792




2023-05-30

Slitaz64 - OpenCL - clinfo

 

OpenCL - clinfo

OpenCL™ (Open Computing Language)

darktable-OpenCL

$ darktable-cltest
[opencl_init] device 0: gfx902
CANONICAL_NAME: gfx902
GLOBAL_MEM_SIZE: 1741MB
MAX_WORK_GROUP_SIZE: 256
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 1024 1024 1024 ]
DRIVER_VERSION: 3004.6 (PAL,HSAIL)
DEVICE_VERSION: OpenCL 2.0 AMD-APP (3004.6)

LibreOffice-7.5.2 - Java SE / OpenJDK SE / OpenCL

1.

OpenCL™ (Open Computing Language) is an open, royalty-free standard for cross-platform, parallel programming of diverse accelerators found in supercomputers, cloud servers, personal computers, mobile devices and embedded platforms. OpenCL greatly improves the speed and responsiveness of a wide spectrum of applications in numerous market categories including professional creative tools, scientific and medical software, vision processing, and neural network training and inferencing.

https://www.khronos.org/api/opencl

2.
$ clinfo --version
clinfo version 3.0.21.02.21

$ clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3004.6)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx902
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3004.6)
  Driver Version                                  3004.6 (PAL,HSAIL)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         Unknown AMD GPU
  Device PCI-e ID (AMD)                           0x1638
  Device Topology (AMD)                           PCI-E, 0000:03:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               8
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             2000MHz
  Graphics IP (AMD)                               9.2
  Device Partition                                (core)
    Max number of sub-devices                     8
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple (kernel)     64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes
    char                                                 4 / 4
    short                                                2 / 2
    int                                                  1 / 1
    long                                                 1 / 1
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     No
    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
  Global memory size                              1825361100 (1.7GiB)
  Global free memory (AMD)                        1712851 (1.634GiB) 1712851 (1.634GiB)
  Global memory channels (AMD)                    4
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           456340275 (435.2MiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   Yes
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  Preferred alignment for atomics
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    410706176 (391.7MiB)
  Preferred total size of global vars             1825361100 (1.7GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                64
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            456340275 (435.2MiB)
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory size per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        456340275 (435.2MiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties (on host)
    Out-of-order execution                        No
    Profiling                                     Yes
  Queue properties (on device)
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                262144 (256KiB)
    Max size                                      8388608 (8MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1685440639586263470ns (Tue May 30 09:57:19 2023)
  Execution capabilities
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  4
    Max real-time compute queues (AMD)            0
    Max real-time compute units (AMD)             0
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_fp64 cl_amd_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p 

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902
  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                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902