2023-04-18

Slitaz64 - suspend - resume - i915

 

suspend - resume - i915

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

$ lsmod | grep i915

i915                 3026944  4
ttm                    81920  1 i915
cec                    69632  1 i915
drm_kms_helper        307200  1 i915
drm                   643072  5 drm_kms_helper,i915,ttm
intel_gtt              24576  1 i915
i2c_algo_bit           16384  1 i915
video                  57344  1 i915
i2c_core              102400  8 drm_kms_helper,i2c_algo_bit,at24,i2c_smbus,i2c_i801,i915,regmap_i2c,drm

$ lsmod | wc -l
88

$ grep -A3 -B3 hooks /var/log/pm-suspend.log
Initial commandline parameters:
Thu Apr 6 13:19:35 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.
Thu Apr 6 13:19:35 UTC 2023: performing suspend
Tue Apr 18 07:42:13 UTC 2023: Awake.
Tue Apr 18 07:42:13 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.



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

 

 

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

2023-04-12

Slitaz64 - firmware-i915

 

firmware-i915

https://forum.slitaz.org/topic/slitaz-next-i-give-up/page/3#post-45602

Intel Linux Graphics Firmware

New generations of Intel® graphics hardware make use specific firmware code to offer additional benefits in terms of power and performance. For more details about each of the firmware binaries see the section below.

https://01.org/group/43/downloads/firmware

https://forum.slitaz.org/topic/slitaz-next-i-give-up/page/3#post-45603

 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/3?replies=40#post-51463

 

Slitaz64 - firmware-amdgpu

 

firmware-amdgpu

It is necessary to install the proper firmware (or microcode) for the card.

GPU RENOIR

Detailed information for module: amdgpu
filename: /lib/modules/5.15.94/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko.xz
license: GPL and additional rights
description: AMD GPU
author: AMD linux driver team
firmware: amdgpu/yellow_carp_gpu_info.bin
firmware: amdgpu/vangogh_gpu_info.bin
firmware: amdgpu/navi12_gpu_info.bin
firmware: amdgpu/navi14_gpu_info.bin
firmware: amdgpu/navi10_gpu_info.bin
firmware: amdgpu/renoir_gpu_info.bin

$ ls /lib/firmware/amdgpu

green_sardine_asd.bin	green_sardine_sdma.bin   renoir_mec2.bin
green_sardine_ce.bin 	green_sardine_ta.bin 	renoir_mec.bin
green_sardine_dmcub.bin  green_sardine_vcn.bin	renoir_pfp.bin
green_sardine_me.bin 	renoir_asd.bin       	renoir_rlc.bin
green_sardine_mec2.bin   renoir_ce.bin        	renoir_sdma.bin
green_sardine_mec.bin	renoir_dmcub.bin     	renoir_ta.bin
green_sardine_pfp.bin	renoir_gpu_info.bin  	renoir_vcn.bin
green_sardine_rlc.bin	renoir_me.bin



Firmware

It is necessary to install the proper firmware (or microcode) for the card.

https://wiki.gentoo.org/wiki/AMDGPU#Firmware

 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/3?replies=40#post-51462 

 

UPDATE - 20251129


 

Family Chipset name Microarchitecture[1] ISA[2] Product name Notes

Vega VEGA10/11/12/20 GCN5.x DCE 12.x RX Vega 56, RX Vega 64, Radeon Vega II, Radeon VII Requires kernel 4.15 or newer.
Vega RAVEN GCN5.x DCN 1.0 Raven Ridge APU series Requires kernel 4.16 or newer.[3][4]
Vega RENOIR GCN5.x DCN 2.1 Renoir, Lucienne, and Cezanne APU series


Chipset name Firmware
VEGA10 amdgpu/vega10_{acg_smc,asd,ce,gpu_info,me,mec,mec2,pfp,rlc,sdma,sdma1,smc,sos,uvd,vce}.bin
RAVEN amdgpu/raven_{asd,ce,gpu_info,me,mec,mec2,pfp,rlc,sdma,vcn}.bin
VEGA12 amdgpu/vega12_{asd,ce,gpu_info,me,mec,mec2,pfp,rlc,sdma,sdma1,smc,sos,uvd,vce}.bin
RENOIR amdgpu/renoir_{asd,ce,dmcub,gpu_info,me,mec2,mec,pfp,rlc,sdma,ta,vcn}.bin
CEZANNE amdgpu/green_sardine_{asd,ce,dmcub,me,mec2,mec,pfp,rlc,sdma,ta,vcn}.bin


ISA[2]

The actual Instruction Set Architecture (ISA) is defined by the Display Core Engine (DCE), which was superseded by Display Core Next (DCN), introduced with the Raven Ridge APUs (mobile Vega graphics core).

https://wiki.gentoo.org/wiki/AMDGPU#Firmware  


 

2023-04-09

Slitaz64 - TazPanel - Pale Moon - i915

 

TazPanel - Pale Moon - i915

/lib/modules/5.15.94/kernel/drivers/gpu/drm/i915/i915.ko.xz

intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103

 






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

 

Slitaz64 - TazPanel - Pale Moon - amdgpu

 

TazPanel - Pale Moon - amdgpu

/lib/modules/5.15.94/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko.xz

AMDGPU: Driver for AMD Radeon: All GPUs supported by the amdgpu kernel driver

Kernel-5.15.94

AMDGPU(0): glamor X acceleration enabled on RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94)

Applications --> System Tools --> SliTaz Panel




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

 

 

2023-04-06

Slitaz64 - Kernel-5.15.94 - neofetch - glxinfo - Intel

 

Kernel-5.15.94 - neofetch - glxinfo - Intel

Device: Mesa Intel(R) HD Graphics (HSW GT1) (0x402)

GPU Mesa Intel HD Graphics

intel(0): SNA initialized with Haswell (gen7.5, gt1) backend

https://forum.slitaz.org/topic/slitaz-future/page/19#post-51435

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

$ neofetch --off
tux@slitaz
----------
OS: SliTaz slitaz64 x86_64
Host: MS-7850 1.0
Kernel: 5.15.94
Uptime: 2 hours, 43 mins
Packages: 326 (tazpkg)
Shell: sh
Resolution: 1920x1080
DE: Xfce4 4.18
WM: Xfwm4
Theme: SliTaz [GTK2], Adwaita [GTK3]
Icons: SliTaz [GTK2], Adwaita [GTK3]
Terminal: xfce4-terminal
Terminal Font: Monospace 11
CPU: Intel Pentium G3258 (2) @ 2.5500GHz
GPU: Intel HD Graphics
Memory: 603MiB / 7814MiB
GPU Driver: Micro-Star International Co., Ltd. [MSI] Device [1462:7850]
CPU Usage: 1%

$ glxinfo -B

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
	Vendor: Intel (0x8086)
	Device: Mesa Intel(R) HD Graphics (HSW GT1) (0x402)
	Version: 22.2.2
	Accelerated: yes
	Video memory: 1536MB
	Unified memory: yes
	Preferred profile: core (0x1)
	Max core profile version: 4.6
	Max compat profile version: 4.6
	Max GLES1 profile version: 1.1
	Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics (HSW GT1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

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

 

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

Slitaz64 - Kernel-5.15.94 - neofetch - glxinfo - AMD

Kernel-5.15.94 - neofetch - glxinfo - AMD

Device: RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94) (0x1638)

GPU RENOIR

AMDGPU(0): glamor X acceleration enabled on RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94)

https://forum.slitaz.org/topic/slitaz-future/page/19#post-51429

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

$ neofetch --off
tux@slitaz
----------
OS: SliTaz slitaz64 x86_64
Host: VivoBook_ASUSLaptop M3400QA_M3400QA 1.0
Kernel: 5.15.94
Uptime: 3 hours, 6 mins
Packages: 276 (tazpkg)
Shell: sh
Resolution: 1920x1200
DE: Xfce4
WM: Xfwm4
WM Theme: Default
Theme: Greybird [GTK2], Adwaita [GTK3]
Icons: elementary-xfce-dark [GTK2], Adwaita [GTK3]
Terminal: xfce4-terminal
Terminal Font: Monospace 12
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
GPU: AMD ATI Radeon Vega Series
Memory: 1093MiB / 15396MiB

$ glxinfo -B

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
	Vendor: AMD (0x1002)
	Device: RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94) (0x1638)
	Version: 22.2.2
	Accelerated: yes
	Video memory: 512MB
	Unified memory: no
	Preferred profile: core (0x1)
	Max core profile version: 4.6
	Max compat profile version: 4.6
	Max GLES1 profile version: 1.1
	Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
	VBO free memory - total: 321 MB, largest block: 321 MB
	VBO free aux. memory - total: 3036 MB, largest block: 3036 MB
	Texture free memory - total: 321 MB, largest block: 321 MB
	Texture free aux. memory - total: 3036 MB, largest block: 3036 MB
	Renderbuffer free memory - total: 321 MB, largest block: 321 MB
	Renderbuffer free aux. memory - total: 3036 MB, largest block: 3036 MB
Memory info (GL_NVX_gpu_memory_info):
	Dedicated video memory: 512 MB
	Total available memory: 3584 MB
	Currently available dedicated video memory: 321 MB
OpenGL vendor string: AMD
OpenGL renderer string: RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

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

 

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

 

Slitaz64 - xfce-4.18 - slitaz64

xfce-4.18 - slitaz64  

GPU RENOIR

GPU Mesa Intel HD Graphics

 

GPU RENOIR
 
GPU Mesa Intel HD Graphics 
 
based on cooking64_new and xfce-4.18 ( converted from slackware ) GPU Unknown

https://forum.slitaz.org/topic/slitaz-future/page/19#post-51400

 

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

2023-03-28

slitaz64 - intel(0): SNA initialized with Haswell (gen7.5, gt1) backend

 

intel(0): SNA initialized with Haswell (gen7.5, gt1) backend

intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103

$ egrep -A6 'intel_drv|i915|SNA|AIGLX' /var/log/Xorg.0.log
[ 12.600] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[ 12.604] (II) Module intel: vendor="X.Org Foundation"
[ 12.604] compiled for 1.21.1.4, module version = 2.99.917
[ 12.604] Module class: X.Org Video Driver
[ 12.604] ABI class: X.Org Video Driver, version 25.2
[ 12.604] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 12.604] (II) intel: Driver for Intel(R) HD Graphics
[ 12.604] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 12.604] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 12.624] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 12.637] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[ 12.637] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 12.637] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 12.637] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 12.637] (==) intel(0): RGB weight 888
--
[ 12.640] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1) backend
[ 12.640] (==) intel(0): Backing store enabled
[ 12.640] (==) intel(0): Silken mouse enabled
[ 12.640] (II) intel(0): HW Cursor enabled
[ 12.641] (==) intel(0): DPMS enabled
[ 12.641] (==) intel(0): Display hotplug detection enabled
[ 12.641] (II) intel(0): [DRI2] Setup complete
--
[ 12.860] (II) AIGLX: Loaded and initialized crocus
[ 12.861] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 12.861] (II) Initializing extension XFree86-VidModeExtension
[ 12.861] (II) Initializing extension XFree86-DGA
[ 12.861] (II) Initializing extension XFree86-DRI
[ 12.861] (II) Initializing extension DRI2
[ 12.866] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI2 using pipe 0, position (0, 0), rotation normal, reflection none 

 

https://forum.slitaz.org/topic/slitaz-future/page/19#post-51435

2023-03-26

slitaz64 - PKGBUILD-receipt

 

PKGBUILD-receipt

Ref:
libxfce4ui
https://archlinux.org/packages/extra/x86_64/libxfce4ui/ 

Package Actions

 

Dependencies (11)

 

 https://forum.slitaz.org/topic/slitaz-future/page/19#post-51419

 

slitaz64 - AMDGPU(0): glamor X acceleration enabled on RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94)

 

AMDGPU(0): glamor X acceleration enabled on RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94)

configure: error: in `/home/slitaz/wok/xorg-xf86-video-amdgpu/source/xorg-xf86-video-amdgpu-22.0.0':

$ egrep -A6 'amdgpu_drv|RENOIR|AIGLX' /var/log/Xorg.0.log
[ 24.899] (II) Loading /usr/lib/X11/modules/drivers/amdgpu_drv.so
[ 24.900] (II) Module amdgpu: vendor="X.Org Foundation"
[ 24.900] compiled for 1.21.1.4, module version = 22.0.0
[ 24.900] Module class: X.Org Video Driver
[ 24.900] ABI class: X.Org Video Driver, version 25.2
[ 24.900] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
--
[ 24.940] (II) AMDGPU(0): glamor X acceleration enabled on RENOIR (renoir, LLVM 15.0.3, DRM 3.42, 5.15.94)
[ 24.940] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 24.940] (==) AMDGPU(0): TearFree property default: auto
[ 24.940] (==) AMDGPU(0): VariableRefresh: disabled
[ 24.940] (==) AMDGPU(0): AsyncFlipSecondaries: disabled
[ 24.940] (II) AMDGPU(0): KMS Pageflipping: enabled
[ 24.942] (II) AMDGPU(0): Output eDP has no monitor section
--
[ 25.000] (II) AIGLX: Loaded and initialized radeonsi
[ 25.000] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 25.000] (II) Initializing extension XFree86-VidModeExtension
[ 25.000] (II) Initializing extension XFree86-DGA
[ 25.000] (II) Initializing extension XFree86-DRI
[ 25.000] (II) Initializing extension DRI2
[ 25.000] (II) AMDGPU(0): Setting screen physical size to 762 x 476 

 

https://forum.slitaz.org/topic/slitaz-future/page/19#post-51429

 

2023-03-14

slitaz64 - some files and packages missing

 

some files and packages missing

1. some files missing, e.g. libxfce4ui
/usr/bin/xfce4-about
/usr/lib64/girepository-1.0/Libxfce4ui-2.0.typelib
/usr/lib64/glade/modules/libxfce4uiglade2.la
/usr/lib64/glade/modules/libxfce4uiglade2.so
/usr/share/gir-1.0/Libxfce4ui-2.0.gir
/usr/share/glade/catalogs/libxfce4ui-2.xml
/usr/share/glade/pixmaps/hicolor/16x16/actions/widget-libxfce4ui-xfce-titled-dialog.png
/usr/share/glade/pixmaps/hicolor/22x22/actions/widget-libxfce4ui-xfce-titled-dialog.png
/usr/share/vala/vapi/libxfce4ui-2.deps
/usr/share/vala/vapi/libxfce4ui-2.vapi
/usr/share/xfce4/vendorinfo

2. some packages missing
$ tazpkg -s xfc

Search result for "xfc"
==================================================================
Installed packages
---------------------------------------------------------------
elementary-xfce     	0.17          	misc
libxfce4ui          	4.18.1        	misc
libxfce4util        	4.18.1        	misc
xfce4-appfinder     	4.18.0        	misc
xfce4-clipman-plugin	1.6.2         	misc
xfce4-dev-tools     	4.18.0        	misc
xfce4-panel         	4.18.1        	misc
xfce4-panel-profiles	1.0.13        	misc
xfce4-power-manager 	4.18.0        	misc
xfce4-pulseaudio-plugin 0.4.5         	misc
xfce4-screensaver   	4.16.0        	misc
xfce4-screenshooter 	1.10.3        	misc
xfce4-session       	4.18.0        	misc
xfce4-settings      	4.18.1        	misc
xfce4-systemload-plugin 1.3.2         	misc
xfce4-taskmanager   	1.5.5         	misc
xfce4-terminal      	1.0.4         	misc
xfce4-weather-plugin	0.11.0        	misc
xfce4-whiskermenu-plugin2.6.2         	misc
xfconf              	4.18.0        	misc
==================================================================
20 installed packages found for "xfc"

Available packages
--------------------------------------------------------------
libxfce4ui          	4.18.0-x86_64 	x-window
libxfce4ui-dev      	4.18.0-x86_64 	development
libxfce4util        	4.18.0-x86_64 	x-window
libxfce4util-dev    	4.18.0-x86_64 	development
libxfconf           	4.18.0-x86_64 	development
xfce4               	4.18.0-x86_64 	meta
xfce4-appfinder     	4.18.0-x86_64 	x-window
xfce4-dev-tools     	4.18.0-x86_64 	development
xfce4-icon-theme    	4.4.3-x86_64  	misc
xfce4-panel         	4.18.0-x86_64 	x-window
xfce4-panel-dev     	4.18.0-x86_64 	development
xfce4-session       	4.18.0-x86_64 	x-window
xfce4-session-dev   	4.18.0-x86_64 	x-window
xfce4-settings      	4.18.1-x86_64 	x-window
xfce4-slitaz-config 	0.1-x86_64    	misc
xfce4-taskmanager   	1.5.5-x86_64  	x-window
xfconf              	4.18.0-x86_64 	x-window
xfconf-dev          	4.18.0-x86_64 	development
==================================================================
18 available packages found for "xfc"

3. Can't fix many errors




4. Now studying.

suspend - resume

Discharging (89%, 109 hours 49 minutes)

slackware64-live-xfce

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-51215

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-51230

 

2023-02-28

Slitaz64 - xfce-4.18 - slitaz

 

xfce-4.18 - slitaz



based on cooking64_new and

xfce-4.18 ( converted from slackware )

$ ldconfig -V
ldconfig (GNU libc) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Andreas Jaeger.

$ tazpkg

SliTaz package manager - Version: 962
=================================================
  Installed packages:    261
  Installed files:       17217
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         never.
  Mirrored packages:     2516
=================================================

https://forum.slitaz.org/topic/slitaz-future/page/19#post-51400

2023-02-23

Slitaz64 - compiling and linking - toolchain

 

compiling and linking - toolchain

make clear, we are talking about the toolchain.

1.

/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

# tazpkg -sp crt1.o
Search result for package "crt1.o"
glibc-dev

# tazpkg -lf glibc-dev | grep crt[1in].o
/usr/lib64/Mcrt1.o
/usr/lib64/Scrt1.o
/usr/lib64/crt1.o
/usr/lib64/crti.o
/usr/lib64/crtn.o
/usr/lib64/gcrt1.o
/usr/lib64/grcrt1.o
/usr/lib64/rcrt1.o

2.

echo 'int main(){}' | gcc -xc -

> # echo 'int main() { return 0; }' > test.c
> # gcc -v -o test.o test.c

ensure that the basic functions (compiling and linking) of the toolchain are working as expected.
If everything is working correctly, there should be no errors,

3.

8.5.1. Installation of Glibc

Prepare Glibc for compilation:
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=3.2 \
--enable-stack-protector=strong \
--with-headers=/usr/include \
libc_cv_slibdir=/usr/lib

The meaning of the configure options:
[..]
libc_cv_slibdir=/usr/lib
This variable sets the correct library for all systems. We do not want lib64 to be used.

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.

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

https://www.linuxfromscratch.org/lfs/view/11.2/chapter05/glibc.html


https://forum.slitaz.org/topic/slitaz-future/page/18#post-51394 

2023-02-20

Slitaz64 - echo 'int main(){}' | gcc -xc -


echo 'int main(){}' | gcc -xc -

> # echo 'int main() { return 0; }' > test.c

> # gcc -v -o test.o test.c

> See `config.log' for more details

1. config.log
$ grep -A10 int config.log

| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3505: error: in `/home/slitaz/wok/xorg-xf86-video-amdgpu/source/xorg-xf86-video-amdgpu-22.0.0':
configure:3507: error: C compiler cannot create executables
See `config.log' for more details.

2. Installation of Glibc

Caution

At this point, it is imperative to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following commands:

echo 'int main(){}' | gcc -xc -
readelf -l a.out | grep ld-linux

If everything is working correctly, there should be no errors, and the output of the last command will be of the form:

[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]

Note that for 32-bit machines, the interpreter name will be /lib/ld-linux.so.2.

If the output is not shown as above or there was no output at all, then something is wrong. Investigate and retrace the steps to find out where the problem is and correct it. This issue must be resolved before continuing on.

Once all is well, clean up the test file:

rm -v a.out

https://www.linuxfromscratch.org/lfs/view/11.2/chapter05/glibc.html


https://forum.slitaz.org/topic/slitaz-future/page/18#post-51392

2023-02-16

slitaz64 - LIBRARY_PATH

 

LIBRARY_PATH
configure: error: C compiler cannot create executables

checking for x86_64-slitaz-linux-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/slitaz/wok/xorg-xf86-video-amdgpu/source/xorg-xf86-video-amdgpu-22.0.0':
configure: error: C compiler cannot create executables
See `config.log' for more details  -  Attachments  config.log  12.2 KB

slitaz-toolchain - isl version none

GNU C17 (SliTaz) version 8.2.0 (i486-slitaz-linux)
compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none

$ echo 'int main() { return 0; }' > test.c

$ gcc -v -o test.o test.c

https://forum.slitaz.org/topic/slitaz-next-41485/page/2#post-49031

https://forum.slitaz.org/topic/update-kernel-1/page/3#post-48139 


1.
root@slitaz:~# gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu
Configured with: /home/slitaz/wok/gcc/source/gcc-12.2.0/configure --libexecdir=/usr/lib --disable-multilib --disable-bootstrap --with-system-zlib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --with-pkgversion=SliTaz --build=x86_64-slitaz-linux-gnu --target=x86_64-slitaz-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (SliTaz)

2.
root@slitaz:~# echo 'int main() { return 0; }' > test.c

root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu
Configured with: /home/slitaz/wok/gcc/source/gcc-12.2.0/configure --libexecdir=/usr/lib --disable-multilib --disable-bootstrap --with-system-zlib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --with-pkgversion=SliTaz --build=x86_64-slitaz-linux-gnu --target=x86_64-slitaz-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (SliTaz)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o-'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/cc1 -quiet -v test.c -quiet -dumpdir test.o- -dumpbase test.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccMbr0oH.s
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/cc1: error while loading shared libraries: libisl.so.23: cannot open shared object file: No such file or directory

3.
root@slitaz:~# tazpkg -gi isl

root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu

[..]

COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o.'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/collect2 -plugin /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc74BPIu.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test.o crt1.o crti.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtbegin.o -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../.. /tmp/ccvjJ66F.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

4.
root@slitaz:~# find /usr/ -name crt?.o

/usr/lib64/crt1.o
/usr/lib64/crti.o
/usr/lib64/crtn.o

root@slitaz:~# ln -s /usr/lib64/crt1.o /usr/lib/.
root@slitaz:~# ln -s /usr/lib64/crtl.o /usr/lib/.
root@slitaz:~# ln -s /usr/lib64/crti.o /usr/lib/.

root@slitaz:~# tazpkg -sp crt1.o

Search result for package "crt1.o"
===============================================================
glibc-dev
musl-libc-dev
===============================================================
2 packages

5.
root@slitaz:~# gcc -v -o test.o test.c

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu
Configured with: /home/slitaz/wok/gcc/source/gcc-12.2.0/configure --libexecdir=/usr/lib --disable-multilib --disable-bootstrap --with-system-zlib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --with-pkgversion=SliTaz --build=x86_64-slitaz-linux-gnu --target=x86_64-slitaz-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (SliTaz)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o-'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/cc1 -quiet -v test.c -quiet -dumpdir test.o- -dumpbase test.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccr2oPU8.s
GNU C17 (SliTaz) version 12.2.0 (x86_64-slitaz-linux-gnu)
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../x86_64-slitaz-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/include
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/include-fixed
/usr/include
End of search list.
GNU C17 (SliTaz) version 12.2.0 (x86_64-slitaz-linux-gnu)
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
Compiler executable checksum: 3a8d01156457c23734b0a8c87475536a
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o-'
as -v --64 -o /tmp/cc1rbU3x.o /tmp/ccr2oPU8.s
GNU assembler version 2.39 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.39
COMPILER_PATH=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o.'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/collect2 -plugin /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqlrHHN.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtbegin.o -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../.. /tmp/cc1rbU3x.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtend.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o.'

6.
root@slitaz:~# file test.o

test.o: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
root@slitaz:~#

Attachments

  1. config.log  12.2 KB

 

https://forum.slitaz.org/topic/slitaz-future/page/18#post-51386

 

2023-02-06

2023-01-14

m3400 - bitlocker - manage-bde.exe

 

bitlocker - manage-bde.exe

BitLocker Drive Encryption: Configuration Tool.

1. Boot Windows10 and open command prompt in Administrator mode.

2. Check the status of BitLocker encryption
C:\Windows\system32>manage-bde -status

BitLocker Drive Encryption: Configuration Tool Version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. all rights reserved.

Disk volumes that can be Protected with
BitLocker Drive Encryption:
Volume C: [Windows]
[OS Volume]

     Size: 		   475.39 GB
     BitLocker Version:    2.0
     Conversion Status:    Fully Encrypted
     Percentage Encrypted: 100.0%
     Encryption Method:    XTS-AES 128
     Protection Status:    Protection Off
     Lock Status: 	   Unlocked
     Identification Field: Unknown
     Key Protector: 	   None Found 

3. Decrypt the BitLocker
C:\Windows\system32>manage-bde -off C:

BitLocker Drive Encryption: Configuration Tool Version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. all rights reserved.

Decryption is in progress.

4. Ensure that the “ Conversion Status : Fully Decrypted” and "Percentage Encrypted : 0.0%"
C:\Windows\system32>manage-bde -status

BitLocker Drive Encryption: Configuration Tool Version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. all rights reserved.

Disk volumes that can be Protected with
BitLocker Drive Encryption:
Volume C: [Windows>]
[OS Volume]

     Size: 		   475.39 GB
     BitLocker Version:    None
     Conversion Status:    Fully Decrypted
     Percentage Encrypted: 0.0%
     Encryption Method:    None
     Protection Status:    Protection Off
     Lock Status: 	   Unlocked
     Identification Field: None
     Key Protector: 	   None Found 

2023-01-11

m3400 - bitlocker-dislocker

 bitlocker-dislocker

Read/write BitLocker encrypted volumes under Linux

1.
root@slitaz:~# blkid | grep BitLocker
/dev/nvme0n1p3: TYPE="BitLocker" PARTLABEL="Basic data partition" PARTUUID="06839bde-e47e-4d16-b1fc-8fabae16ea35"

2.
root@slitaz:~# tazpkg info dislocker

TazPkg information
===========================================================================
Package    : dislocker
State      : installed package
Version    : 0.7.1 (new version "" available)
Category   : system-tools
Short desc : Read/write BitLocker encrypted volumes under Linux
Maintainer : al.bobylev@gmail.com
License    : GPL2
Depends    : fuse2 mbedtls
Web site   : https://github.com/Aorimn/dislocker
Size       : 52K/196K
===========================================================================

3.
root@slitaz:~# dislocker -V /dev/nvme0n1p3 /media/next

root@slitaz:~# ls /media/next
dislocker-file

root@slitaz:~# mount -o loop /media/next/dislocker-file /media/mount

root@slitaz:~# mount | tail -2
dislocker-fuse on /media/next type fuse.dislocker-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/media/next/dislocker-file on /media/mount type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

4.
root@slitaz:~# ls /media/mount

$Recycle.Bin/              PerfLogs/                     eSupport/
$WinREAgent/               Program\ Files/               hiberfil.sys*
AMTAG.BIN*                 Program\ Files\ (x86)/        pagefile.sys*
DRIVERS/                   ProgramData/                  sources/
Documents\ and\ Settings@  Recovery/                     swapfile.sys*
DumpStack.log*             System\ Volume\ Information/  tools/
DumpStack.log.tmp*         Users/
OneDriveTemp/              Windows/

root@slitaz:~# ls /media/mount/eSupport/eDriver/
AUTORUN.INF*     LIB/
AsusInsWiz.exe*  M3400QA_2009_X64_V2.01.MD5*
AsusInsWiz.ico*  ReleaseNote_FileList\ of\ M3400QA_2009_X64_V2.01.xls*
FileList.txt*    Software/

root@slitaz:~# head -1 /media/mount/eSupport/eDriver/FileList.txt
ReleaseNote_FileList of M3400QA_2009_X64_V2.01

root@slitaz:~# head /media/mount/eSupport/eDriver/M3400QA_2009_X64_V2.01.MD5
a93fea5eee07fbe3789ae3a97c28bd80 *AsusInsWiz.exe
0b7f66822d1cebaea49169bf45fff26f *AsusInsWiz.ico
692269c92d65f7feebbf68ba34d7646b *AUTORUN.INF
1ebe428388f314a3b28b85ef77aa32a1 *FileList.txt
85271181009d3f53023cbf89644b7fda *ReleaseNote_FileList of M3400QA_2009_X64_V2.01.xls
4c1ecf49903c32fda77e4f02ec601b10 *I386\ahci.reg
09bca99eada77d60600a8b42680eeeb7 *I386\AsCopy64.exe
83aaab88f3aa3c3c5be1d6f546ef0095 *I386\AsInst.exe
ffe1da72919b4dc7d280e46b7a760229 *I386\AsInstCommomLibrary.dll
4e7c6f2baefaa3f09ea1da9c64093d68 *I386\AsModelCopy.exe
root@slitaz:~#