Showing posts with label amdgpu. Show all posts
Showing posts with label amdgpu. Show all posts

2025-03-29

current64- amdgpu-libclc

 

current64- amdgpu-libclc

 

But on my hp with amdgpu, seem glitch again,

Try:
rm /usr/share/clc/gfx909-amdgcn-mesa-mesa3d.bc

or
remove the patch for libclc

# Patch to add AMD gfx9 and gfx10
patch -p1 < $stuff/libclc-add-missing-AMD-gfx9-and-gfx10-symlinks.patch

 

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

current64 - amdgpu-pro-opencl

 

amdgpu-pro-opencl

 

Device Index: 0
Selected: false
Device Name: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)

Device Index: 0
Selected: false
Device Name: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.4, DRM 3.59, 6.12.7)

amdgpu-pro

Package : opencl-amdgpu-pro-icd
Short desc : non-free AMD OpenCL ICD Loaders

$ ls -l /etc/OpenCL/vendors/
total 8
-rw-r--r-- 1 root root 15 Mar 10 13:14 amdocl64.icd
-rw-r--r-- 1 root root 19 Mar 3 09:23 mesa.icd

$ cat /etc/OpenCL/vendors/*icd
libamdocl64.so
libMesaOpenCL.so.1

$ tazpkg info opencl-amdgpu-pro-icd

TazPkg information
========================================================
Package : opencl-amdgpu-pro-icd
State : installed package
Version : 20.10-1048554
Category : misc
Short desc : non-free AMD OpenCL ICD Loaders
Maintainer : nobody@slitaz.org
Web site : Homepage:
Conf. files: /etc/OpenCL/vendors/amdocl64.icd
Size : 20.3M/89.2M
========================================================

$ tazpkg -lf opencl-amdgpu-pro-icd

Installed files by "opencl-amdgpu-pro-icd"
========================================================
/etc/OpenCL/vendors/amdocl64.icd
/opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl64.so
/usr/share/doc/opencl-amdgpu-pro-icd/changelog.Debian.gz
/usr/share/doc/opencl-amdgpu-pro-icd/copyright
========================================================
4 files

$ zcat /usr/share/doc/opencl-amdgpu-pro-icd/changelog.Debian.gz
opencl-amdgpu (20.10-1048554) bionic; urgency=low

* Checkout from git up to commit
opencl
gerritgit/releases/amd-20.10
4ee9c84974fc3d167deaa2fe3f2da568141b7ba3
build ID: 1048554

-- AMD automated build system <gpudriverdevsupport@amd.com> Wed, 08 Apr 2020 23:50:08 -0400

$ grep -A5 'Device Index' .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 Index: 1
Selected: true
Device Name: gfx902
Device Vendor: Advanced Micro Devices, Inc.
Device Version: OpenCL 2.0 AMD-APP (3075.10)
Driver Version: 3075.10 (PAL,HSAIL)

$ grep OpenCL .config/libreoffice/4/user/registrymodifications.xcu
<item oor:path="/org.openoffice.Office.Calc/Formula/Calculation"><prop oor:name="OpenCLMinimumDataSize" oor:op="fuse"><value>100</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="SelectedOpenCLDeviceIdentifier" oor:op="fuse"><value>Advanced Micro Devices, Inc. 3075.10 (PAL,HSAIL)--24.8.4.2--1738572466</value></prop></item>

 

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

2025-03-02

current64 - opencl-libclc

[Libclc] add support for AMD Renoir (gfx909 ? )

miss file "/usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc" :/
Seem in more recent libclc (llvm 17 or 19),

You're right.

[Libclc] Please add support for AMD Renoir (gfx909 ? )#52665
https://github.com/llvm/llvm-project/issues/52665

libclc: add missing AMD gfx symlinks #78884
https://github.com/llvm/llvm-project/pull/78884

Bug 44841 - Add support for GFX1010
https://bugs.llvm.org/show_bug.cgi?id=44841

 

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


2025-02-24

current64 - opencl-clinfo

opencl-clinfo

=== 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


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

current64 - libreoffice-opencl

current64 - libreoffice-opencl

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> 

 

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

 

2024-12-22

current64 - Glamor does not load

 

Seem i always issue with mesa / DRI3 / amdgpu, need to continue investigate

If understand could be related to use gles instead gles2 only, i try with -Ddri3=enabled without success but we have -Dgles1=enabled -Dgles2=enabled
https://forums.gentoo.org/viewtopic-t-1070956-start-0.html
https://wiki.gentoo.org/wiki/Radeon#Troubleshooting

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

 

 Troubleshooting

Debug tools

It might be helpful to install the package x11-apps/mesa-progs, which provides the packages glxgears and glxinfo.

Glamor does not load

If you see errors like "glamor detected, failed to initialize EGL.", then try enabling USE="gbm egl gles2 llvm" in the mesa builds.
If you see errors like "Failed to link: error: fragment shader lacks `main'", then make sure the glamor package has been built with USE="-gles".
On cards that are supported by radeonsi (starting at Southern Island, see the feature matrix) make sure to not only specify "radeon" but also "radeonsi" as the driver.

 

----


glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)

AIGLX: Loaded and initialized radeonsi

$ grep glamor /var/log/Xorg.0.log
[ 1863.979] (II) Loading sub module "glamoregl"
[ 1863.979] (II) LoadModule: "glamoregl"
[ 1863.979] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 1863.981] (II) Module glamoregl: vendor="X.Org Foundation"
[ 1863.996] (II) modeset(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)
[ 1863.996] (II) modeset(0): glamor initialized
[ 1864.050] (WW) modeset(0): DRI2: glamor lacks support for pixmap import/export

$ 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.215-slitaz64, LLVM 13.0.0) (0x1638)
Version: 21.3.5
Accelerated: yes
Video memory: 512MB
Unified memory: no

$ grep -A8 AIGLX /var/log/Xorg.0.log
[ 1864.056] (II) AIGLX: Loaded and initialized radeonsi
[ 1864.056] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 1864.056] (II) Initializing extension XFree86-VidModeExtension
[ 1864.056] (II) Initializing extension XFree86-DGA
[ 1864.056] (II) Initializing extension XFree86-DRI
[ 1864.056] (II) Initializing extension DRI2
[ 1864.056] (II) modeset(0): Damage tracking initialized

glxgears-amd.png 8 months old

https://forum.slitaz.org/topic/uefi-only-laptop-trouble-booting/page/6#post-52274

make sure we had a working version. 

 

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

 

 

 

current64 - glamor error

 


(EE) AMDGPU(0): eglGetDisplay() failed
(EE) AMDGPU(0): glamor detected, failed to initialize EGL.
(WW) AMDGPU(0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB

slitaz-current-core64.iso 2024-Dec-20 13:04:40 96.1M

latest ISO failed.

----

tux@slitaz:~$ uname -a
Linux slitaz 5.10.221-slitaz64 #2 SMP Wed Dec 18 13:36:29 Europe 2024 x86_64 GNU/Linux

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 944
================================================================================
  Installed packages:    317
  Installed files:       7024
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         Today at 12:11.
  Database timestamp:    12/20/2024 11:09
  Mirrored packages:     1631
================================================================================

tux@slitaz:~$ X -version

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 5.10.221-slitaz64 #2 SMP Wed Dec 18 13:36:29 Europe 2024 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.221-slitaz64 root=/dev/null autologin lang=en_US kmap=us
Build Date: 18 December 2024  08:49:48PM
 
Current version of pixman: 0.40.0
    Before reporting problems, check http://www.slitaz.org/
    to make sure that you have the latest version.

tux@slitaz:~$ egrep 'failed|disabled|glamor|DRI[23]|GLX' /var/log/Xorg.0.log
[    20.643] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    20.670] (II) Loading sub module "glamoregl"
[    20.670] (II) LoadModule: "glamoregl"
[    20.670] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[    20.671] (II) Module glamoregl: vendor="X.Org Foundation"
[    20.672] (EE) AMDGPU(0): eglGetDisplay() failed
[    20.672] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
[    20.672] (WW) AMDGPU(0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB
[    20.675] (==) AMDGPU(0): DRI3 disabled
[    20.675] (WW) AMDGPU(0): Direct rendering disabled
[    20.675] (II) AMDGPU(0): 2D and 3D acceleration disabled
[    20.686] (II) Initializing extension DRI3
[    20.686] (II) Initializing extension GLX
[    20.686] (II) AIGLX: Screen 0 is not DRI2 capable
[    20.689] (II) IGLX: Loaded and initialized swrast
[    20.689] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    20.689] (II) Initializing extension DRI2

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

 

2024-04-19

current - glxgears-amd

 

 glxgears-amd

 

i put amdgpu as module on kernel, 'black screen' with Xorg, and see on dmesg need amdgpu firmware, with it, Xorg happy and glxgears also ~3300 frames in 5s, ~600 FPS ^^

Failed to load /usr/lib/X11/modules/libglamoregl.so: libepoxy.so.0: cannot open shared object file: No such file or directory

/usr/share/libdrm/amdgpu.ids: No such file or directory

glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)

AIGLX: Loaded and initialized radeonsi

vblank_mode=0 glxgears

$ grep glamor /var/log/Xorg.0.log
[ 1863.979] (II) Loading sub module "glamoregl"
[ 1863.979] (II) LoadModule: "glamoregl"
[ 1863.979] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 1863.981] (II) Module glamoregl: vendor="X.Org Foundation"
[ 1863.996] (II) modeset(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)
[ 1863.996] (II) modeset(0): glamor initialized
[ 1864.050] (WW) modeset(0): DRI2: glamor lacks support for pixmap import/export

$ 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.215-slitaz64, LLVM 13.0.0) (0x1638)
Version: 21.3.5
Accelerated: yes
Video memory: 512MB
Unified memory: no

$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
66640 frames in 5.0 seconds = 13327.949 FPS
79353 frames in 5.0 seconds = 15870.588 FPS
71401 frames in 5.0 seconds = 14280.120 FPS
79951 frames in 5.0 seconds = 15990.154 FPS
78137 frames in 5.0 seconds = 15627.323 FPS
74431 frames in 5.0 seconds = 14886.021 FP

$ grep -A8 AIGLX /var/log/Xorg.0.log
[ 1864.056] (II) AIGLX: Loaded and initialized radeonsi
[ 1864.056] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 1864.056] (II) Initializing extension XFree86-VidModeExtension
[ 1864.056] (II) Initializing extension XFree86-DGA
[ 1864.056] (II) Initializing extension XFree86-DRI
[ 1864.056] (II) Initializing extension DRI2
[ 1864.056] (II) modeset(0): Damage tracking initialized
[ 1864.056] (II) modeset(0): Setting screen physical size to 761 x 476
[ 1864.090] (II) config/udev: Adding input device Video Bus (/dev/input/event5)



 

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

2023-05-24

Slitaz64 - OpenJDK SE 8u362

 

OpenJDK SE 8u362

OpenJDK Runtime Environment (build 1.8.0_362-362-b09)

LibreOffice-7.5.2 - Java SE / OpenJDK SE / OpenCL
OpenJDK Runtime Environment (IcedTea 3.26.0)

$ uname -a
Linux slitaz 5.15.94 #1 SMP PREEMPT Fri Feb 17 18:59:35 CST 2023 x86_64 GNU/Linux

$ tazpkg info openjre

TazPkg information
=================================================
Package : openjre
State : installed package
Version : 8u362_b09 (new version "" available)
Category : misc
Short desc : Java(TM) Platform Standard Edition Runtime Environment.
Maintainer : nobody@slitaz.org
Web site : https://openjdk.org/
Size : 35.4M/113M
=================================================


$ java -version

openjdk version "1.8.0_362-362"
OpenJDK Runtime Environment (build 1.8.0_362-362-b09)
OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode)


$ jconsole




https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/4#post-51532

Slitaz64 - Java SE 8u361

 

Java SE 8u361

Java(TM) SE Runtime Environment (build 1.8.0_361-b09)

LibreOffice-7.5.2 - Java SE / OpenJDK SE / OpenCL
Oracle Java SE Version 8 Update 361

$ uname -a
Linux slitaz 5.15.94 #1 SMP PREEMPT Fri Feb 17 18:59:35 CST 2023 x86_64 GNU/Linux

$ tazpkg info jre

TazPkg information
=================================================
Package : jre
State : installed package
Version : 1.8.0_361 (new version "" available)
Category : misc
Short desc : Java Platform Standard Edition Runtime Environment
Maintainer : nobody@slitaz.org
Web site : http://www.oracle.com/technetwork/java/javase/overview/index.html
Size : 62.8M/256.2M
=================================================

$ java -version
java version "1.8.0_361"
Java(TM) SE Runtime Environment (build 1.8.0_361-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.361-b09, mixed mode)

$ jcontrol &
$ ControlPanel

2023-05-22

Slitaz64 - LibreOffice-7.5.2 - Java SE / OpenJDK SE / OpenCL


LibreOffice-7.5.2 - Java SE / OpenJDK SE / OpenCL

Oracle Java SE Version 8 Update 361
OpenJDK Runtime Environment (IcedTea 3.26.0)

$ libreoffice --version
LibreOffice 7.5.2.2 53bb9681a964705cf672590721dbc85eb4d0c3a2

----

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US

Calc: threaded 

libreoffice-7.5.2.png

                                              libreoffice-7.5.2.png

libreoffice-opencl.png
                                               
                                              libreoffice-opencl.png

libreoffice-jre.png

                                                libreoffice-jre.png

libreoffice-openjre.png

                                                    libreoffice-openjre.png

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/4#post-51528

2023-05-20

Slitaz64 - darktable-OpenCL

 

darktable-OpenCL

Virtual lighttable and darkroom for photographers

$ grep -A1 SHORT /var/lib/tazpkg/installed/darktable/receipt
SHORT_DESC="Virtual lighttable and darkroom for photographers"
MAINTAINER="nhc1@gmx.net"

$ darktable --version
this is darktable 3.8.0
copyright (c) 2009-2021 johannes hanika
darktable-dev@lists.darktable.org

compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support disabled
Colord support disabled
gPhoto2 support enabled
GraphicsMagick support disabled
ImageMagick support disabled
OpenEXR support enabled

$ darktable-cltest

0.011799 [opencl_init] opencl related configuration options:
0.011810 [opencl_init]
0.011811 [opencl_init] opencl: 0
0.011813 [opencl_init] opencl_scheduling_profile: 'default'
0.011815 [opencl_init] opencl_library: ''
0.011817 [opencl_init] opencl_memory_requirement: 768
0.011819 [opencl_init] opencl_memory_headroom: 400
0.011820 [opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
0.011823 [opencl_init] opencl_mandatory_timeout: 200
0.011824 [opencl_init] opencl_size_roundup: 16
0.011825 [opencl_init] opencl_async_pixelpipe: 0
0.011826 [opencl_init] opencl_synch_cache: active module
0.011827 [opencl_init] opencl_number_event_handles: 25
0.011828 [opencl_init] opencl_micro_nap: 1000
0.011829 [opencl_init] opencl_use_pinned_memory: 0
0.011830 [opencl_init] opencl_use_cpu_devices: 0
0.011831 [opencl_init] opencl_avoid_atomics: 0
0.011834 [opencl_init]
0.011961 [opencl_init] found opencl runtime library 'libOpenCL'
0.011974 [opencl_init] opencl library 'libOpenCL' found on your system and loaded
0.073483 [opencl_init] found 1 platform
0.073503 [opencl_init] found 1 device
0.073526 [opencl_init] device 0 `gfx902' supports image sizes of 16384 x 16384
0.073529 [opencl_init] device 0 `gfx902' allows GPU memory allocations of up to 435MB
[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)







https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/4#post-51519


Slitaz64 - qemu

 

qemu

$ qemu --version
QEMU emulator version 6.1.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers


slitaz64 - kernel-huge


kernel-huge

kernel-huge (a fully-loaded SMP Linux kernel)
config-huge-5.15.94.x64
config-generic-5.15.94.x64

kernel-generic-5.15.94-x86_64-1.txz 2023-02-18 02:30 8.1M
kernel-huge-5.15.94-x86_64-1.txt 2023-02-18 02:27 636
kernel-huge-5.15.94-x86_64-1.txz 2023-02-18 02:27 12M

$ cat /proc/version
Linux version 5.15.94 (root@z-mp.slackware.lan) (gcc (GCC) 11.2.0, GNU ld version 2.37-slack15) #1 SMP PREEMPT Fri Feb 17 18:59:35 CST 2023

$ cat kernel-huge-5.15.94-x86_64-1.txt
kernel-huge: kernel-huge (a fully-loaded SMP Linux kernel)
kernel-huge:
kernel-huge: This is a Linux kernel with built-in support for most disk
kernel-huge: controllers. If you're looking for a more stripped down kernel
kernel-huge: (this one contains everything but the kitchen sink ;-), then install
kernel-huge: the kernel-generic in the /boot directory along with an initrd to
kernel-huge: load support for your boot device and filesystem. For instructions
kernel-huge: on the initrd, see README.initrd in the /boot directory.
kernel-huge:
kernel-huge: SMP is "Symmetric multiprocessing", or multiple CPU/core support.
kernel-huge:

$ tar tvf kernel-huge-5.15.94-x86_64-1.txz

drwxr-xr-x root/root         0 2023-02-18 01:26:56 ./
drwxr-xr-x root/root         0 2023-02-18 01:26:56 boot/
-rw-r--r-- root/root   6873737 2023-02-18 01:26:43 boot/System.map-huge-5.15.94
-rw-r--r-- root/root    239621 2023-02-17 21:58:05 boot/config-huge-5.15.94.x64
-rw-r--r-- root/root  11593312 2023-02-18 01:26:55 boot/vmlinuz-huge-5.15.94
drwxr-xr-x root/root         0 2023-02-18 01:26:56 install/
-rw-r--r-- root/root       336 2023-02-18 01:26:56 install/doinst.sh
-rw-r--r-- root/root      1095 2023-02-18 01:26:56 install/slack-desc

$ tar tvf kernel-generic-5.15.94-x86_64-1.txz
drwxr-xr-x root/root         0 2023-02-18 01:30:03 ./
drwxr-xr-x root/root         0 2023-02-18 01:30:03 boot/
-rw-r--r-- root/root   5107025 2023-02-18 01:29:55 boot/System.map-generic-5.15.94
-rw-r--r-- root/root    239652 2023-02-17 21:58:09 boot/config-generic-5.15.94.x64
-rw-r--r-- root/root   7779296 2023-02-18 01:30:02 boot/vmlinuz-generic-5.15.94
drwxr-xr-x root/root         0 2023-02-18 01:30:03 install/
-rw-r--r-- root/root       354 2023-02-18 01:30:03 install/doinst.sh
-rw-r--r-- root/root      1086 2023-02-18 01:30:03 install/slack-desc

 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/4#post-51517 

2023-05-11

Slitaz64 - gztazmod.sh

 

gztazmod.sh: Compress Linux kernel modules for SliTaz GNU/Linux.

kernel Linux 5.13.7-xanmod1 - CPU-X
XanMod Kernel
XanMod is a general-purpose Linux kernel distribution with custom settings and new features.
https://xanmod.org/

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

$ modinfo ntfs3
filename: /lib/modules/5.15.94/kernel/fs/ntfs3/ntfs3.ko.xz
[..]
name: ntfs3
vermagic: 5.15.94 SMP preempt mod_unload

1.
linux/stuff/gztazmod.sh

#!/bin/sh
# gztazmod.sh: Compress Linux kernel modules for SliTaz GNU/Linux.
# 2007-2014 <pankso@slitaz.org> - GNU General Public License.
#
. /lib/libtaz.sh

# We do our work in the kernel version modules directory.
if [ -z "$1" ] ; then
newline
echo "Usage: $(basename $0) path/to/kernel-version"
newline && exit 1
fi

https://cook.slitaz.org/index.cgi?stuff=linux/stuff/gztazmod.sh

2.
kernel-modules-5.15.94-x86_64-1.txz 2023-02-18 02:51 49M

kernel-generic-5.15.94-x86_64-1.txz 2023-02-18 02:30 8.1M
kernel-headers-5.15.94-x86-1.txz 2023-02-18 02:52 1.0M
kernel-huge-5.15.94-x86_64-1.txt 2023-02-18 02:27 636
kernel-huge-5.15.94-x86_64-1.txz 2023-02-18 02:27 12M
kernel-source-5.15.94-noarch-1.txz 2023-02-18 02:22 118M

http://slackware.nl/slackware/slackware64-15.0/patches/packages/linux-5.15.94

3.
# du -sh /lib/modules/5.15.94
308.8M /lib/modules/5.15.94

# ls /lib/modules/5.15.94/kernel/fs/ntfs3
ntfs3.ko

4.
# gztazmod.sh /lib/modules/5.15.94

Starting gztazmod.sh to build compressed kernel modules...

Searching all modules to compress them... [ Done ]
Building tmp.dep... [ Done ]
Destroying modules.dep... [ Done ]
Removing tmp.dep to modules.dep... [ Done ]

Kernel modules 5.15.94 are ready.

5.
# du -sh /lib/modules/5.15.94
71.8M /lib/modules/5.15.94

# ls /lib/modules/5.15.94/kernel/fs/ntfs3
ntfs3.ko.xz

# modinfo /lib/modules/5.15.94/kernel/fs/ntfs3/ntfs3.ko.xz
filename: /lib/modules/5.15.94/kernel/fs/ntfs3/ntfs3.ko.xz
alias: fs-ntfs3
author: Konstantin Komarov
compression: Read-only lzx/xpress compression included
behaviour: Enabled Linux POSIX ACLs support
description: ntfs3 read/write filesystem
license: GPL
depends:
retpoline: Y
intree: Y
name: ntfs3
vermagic: 5.15.94 SMP preempt mod_unload

# cat /lib/modules/5.15.94/modules.builtin | wc -l
338

# cat /lib/modules/5.15.94/modules.dep | wc -l
4659


 

2023-04-18

Slitaz64 - suspend - resume - amdgpu

 

 

suspend - resume - amdgpu


$ lsmod | grep amdgpu

amdgpu           	7319552  9
iommu_v2           	24576  1 amdgpu
gpu_sched          	45056  1 amdgpu
drm_ttm_helper     	16384  1 amdgpu
ttm                	81920  2 amdgpu,drm_ttm_helper
drm_kms_helper    	307200  1 amdgpu
drm               	643072  9 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
i2c_algo_bit       	16384  1 amdgpu
mfd_core           	16384  1 amdgpu
i2c_core          	102400  10 i2c_designware_platform,videodev,i2c_hid,i2c_designware_core,drm_kms_helper,i2c_algo_bit,amdgpu,i2c_hid_acpi,i2c_piix4,drm

$ lsmod | wc -l
102

$ grep -A3 -B3 hooks /var/log/pm-suspend.log

Initial commandline parameters:

Wed Mar 29 11:07:55 UTC 2023: Running hooks for suspend.

Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:

Linux slitaz 5.15.94 #1 SMP PREEMPT Fri Feb 17 18:59:35 CST 2023 x86_64 GNU/Linux

Module              Size  Used by

--

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.

Wed Mar 29 11:07:55 UTC 2023: performing suspend

Thu Mar 30 01:19:21 UTC 2023: Awake.

Thu Mar 30 01:19:21 UTC 2023: Running hooks for resume

Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:


/usr/lib/pm-utils/sleep.d/99video resume suspend: success.

 

----


tux@slitaz:~$ uname -a

Linux slitaz 5.15.94 #1 SMP PREEMPT Fri Feb 17 18:59:35 CST 2023 x86_64 GNU/Linux


tux@slitaz:~$ lsmod |wc -l

102


tux@slitaz:~$ grep amdgpu /var/log/pm-suspend.log

amdgpu           	7319552  12
iommu_v2           	24576  1 amdgpu
gpu_sched          	45056  1 amdgpu
drm_ttm_helper     	16384  1 amdgpu
ttm                	81920  2 amdgpu,drm_ttm_helper
drm_kms_helper    	307200  1 amdgpu
drm               	643072  10 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
i2c_algo_bit       	16384  1 amdgpu
mfd_core           	16384  1 amdgpu
i2c_core          	102400  10 i2c_designware_platform,videodev,i2c_hid,i2c_designware_core,drm_kms_helper,i2c_algo_bit,amdgpu,i2c_hid_acpi,i2c_piix4,drm

tux@slitaz:~$ grep -A3 -B3 hooks /var/log/pm-suspend.log

Initial commandline parameters:

Tue Apr 18 08:52:46 UTC 2023: Running hooks for suspend.

Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:

Linux slitaz 5.15.94 #1 SMP PREEMPT Fri Feb 17 18:59:35 CST 2023 x86_64 GNU/Linux

Module              Size  Used by

--

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.

Tue Apr 18 08:52:46 UTC 2023: performing suspend

Tue Apr 18 11:24:17 UTC 2023: Awake.

Tue Apr 18 11:24:17 UTC 2023: Running hooks for resume

Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:


/usr/lib/pm-utils/sleep.d/99video resume suspend: success.

tux@slitaz:~$



https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/3#post-51477