2018-01-27

Next-lxqt -- Intel Linux Graphics Firmware


Intel Linux Graphics Firmware
i915 0000:00:02.0: Failed to load DMC firmware [ https://01.org/linuxgraphics/intel-linux-graphics-firmwares ]
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.
[..]

GuC
GuC is designed to perform graphics workload scheduling on the various graphics parallel engines. In this scheduling model, host software submits work through one of the 256 graphics doorbells and this invokes the scheduling operation on the appropriate graphics engine.

DMC
DMC provides additional graphics low-power idle states. It provides capability to save and restore display registers across these low-power states independently from the OS/Kernel.

HuC
HuC is designed to offload some of the media functions from the CPU to GPU. These include but are not limited to bitrate control, header parsing.
[..]

Products

Product name Product code Firmware
Kabylake kbl GuC - Ver 9.14
DMC - Ver 1.01
HuC - Ver 2.0
GuC - Ver 9.39
Skylake skl GuC - Ver 6.1
DMC - Ver 1.26
HuC - Ver 1.07
GuC - Ver 9.33
Broxton bxt GuC - Ver 8.7
DMC - Ver 1.07
HuC - Ver 1.07
GuC - Ver 9.29
Coffee Lake cfl
Geminilake glk DMC - Ver 1.04
Cannonlake cnl DMC - Ver 1.06

Next-lxqt -- firmware-i915



firmware-i915
intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2

# tazpkg -gi firmware-i915

tux@slitaz:~$ dmesg | grep -i dmc
[ 13.111786] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
[ 13.111788] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
 
tux@slitaz:~$ modinfo i915
filename:       /lib/modules/4.9.30-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.xz
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_26.bin
firmware:       i915/kbl_dmc_ver1_01.bin
firmware:       i915/kbl_guc_ver9_14.bin
firmware:       i915/bxt_guc_ver8_7.bin
firmware:       i915/skl_guc_ver6_1.bin
alias:          pci:v00008086d0000593Bsv*sd*bc03sc*i*
[..]

alias:          pci:v00008086d00003577sv*sd*bc03sc*i*
depends:        drm_kms_helper,drm,intel-gtt,i2c-core,i2c-algo-bit
intree:         Y
vermagic:       4.9.30-slitaz SMP mod_unload modversions 486 
parm:           modeset:Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)
parm:           panel_ignore_lid:Override lid status (0=autodetect, 1=autodetect disabled [default], -1=force lid closed, -2=force lid open) (int)
parm:           semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
parm:           enable_rc6:Enable power-saving render C-state 6. Different stages can be selected via bitmask values (0 = disable; 1 = enable rc6; 2 = enable deep rc6; 4 = enable deepest rc6). For example, 3 would enable rc6 and deep rc6, and 7 would enable everything. default: -1 (use per-chip default) (int)
parm:           enable_dc:Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6) (int)
parm:           enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm:           lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm:           lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm:           vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm:           reset:Attempt GPU resets (default: true) (bool)
parm:           enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
parm:           enable_ppgtt:Override PPGTT usage. (-1=auto [default], 0=disabled, 1=aliasing, 2=full, 3=full with extended address space) (int)
parm:           enable_execlists:Override execlists usage. (-1=auto [default], 0=disabled, 1=enabled) (int)
parm:           enable_psr:Enable PSR (0=disabled, 1=enabled - link mode chosen per-platform, 2=force link-standby mode, 3=force link-off mode) Default: -1 (use per-chip default) (int)
parm:           preliminary_hw_support:Enable preliminary hardware support. (int)
parm:           disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
parm:           enable_ips:Enable IPS (default: true) (int)
parm:           fastboot:Try to skip unnecessary mode sets at boot time (default: false) (bool)
parm:           prefault_disable:Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only. (bool)
parm:           load_detect_test:Force-enable the VGA load detect code for testing (default:false). For developers only. (bool)
parm:           force_reset_modeset_test:Force a modeset during gpu reset for testing (default:false). For developers only. (bool)
parm:           invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)
parm:           disable_display:Disable display (default: false) (bool)
parm:           enable_cmd_parser:Enable command parsing (1=enabled [default], 0=disabled) (int)
parm:           use_mmio_flip:use MMIO flips (-1=never, 0=driver discretion [default], 1=always) (int)
parm:           mmio_debug:Enable the MMIO debug code for the first N failures (default: off). This may negatively affect performance. (int)
parm:           verbose_state_checks:Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions. (bool)
parm:           nuclear_pageflip:Force atomic modeset functionality; asynchronous mode is not yet supported. (default: false). (bool)
parm:           edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
parm:           enable_guc_loading:Enable GuC firmware loading (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:           enable_guc_submission:Enable GuC submission (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:           guc_log_level:GuC firmware logging level (-1:disabled (default), 0-3:enabled) (int)
parm:           enable_dp_mst:Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)
parm:           inject_load_failure:Force an error after a number of failure check points (0:disabled (default), N:force failure at the Nth failure check point) (uint)
parm:           enable_dpcd_backlight:Enable support for DPCD backlight control (default:false) (bool)
parm:           enable_gvt:Enable support for Intel GVT-g graphics virtualization host support(default:false) (bool)
tux@slitaz:~$  
 
tux@slitaz:~$ sudo tazpkg -gi firmware-i915

tux@slitaz:~$ ls -l /lib/firmware/i915
total 1200
-rw-r--r--    1 root     root          8380 Sep 18 23:55 bxt_dmc_ver1_07.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 bxt_dmc_ver1.bin -> bxt_dmc_ver1_07.bin
-rw-r--r--    1 root     root        140928 Sep 18 23:55 bxt_guc_ver8_7.bin
-rw-r--r--    1 root     root        154432 Sep 18 23:55 bxt_huc_ver01_07_1398.bin
-rw-r--r--    1 root     root          8616 Sep 18 23:55 kbl_dmc_ver1_01.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 kbl_dmc_ver1.bin -> kbl_dmc_ver1_01.bin
-rw-r--r--    1 root     root        142656 Sep 18 23:55 kbl_guc_ver9_14.bin
-rw-r--r--    1 root     root        218688 Sep 18 23:55 kbl_huc_ver02_00_1810.bin
-rw-r--r--    1 root     root          8824 Sep 18 23:55 skl_dmc_ver1_23.bin
-rw-r--r--    1 root     root          8928 Sep 18 23:55 skl_dmc_ver1_26.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 skl_dmc_ver1.bin -> skl_dmc_ver1_26.bin
-rw-r--r--    1 root     root        109636 Sep 18 23:55 skl_guc_ver1.bin
-rw-r--r--    1 root     root        128320 Sep 18 23:55 skl_guc_ver4.bin
-rw-r--r--    1 root     root        129024 Sep 18 23:55 skl_guc_ver6_1.bin
lrwxrwxrwx    1 root     root            18 Jan 25 01:14 skl_guc_ver6.bin -> skl_guc_ver6_1.bin
-rw-r--r--    1 root     root        140992 Sep 18 23:55 skl_huc_ver01_07_1398.bin
tux@slitaz:~$

2018-01-25

Next-lxqt -- Kabylake


Kabylake
[ 1462.703] (II) intel(0): SNA initialized with Eaglelake (gen4.5) backend
[ 2279.765] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1)backend
[ 401.445] (II) intel(0): SNA initialized with Kabylake (gen9) backend

tux@slitaz:~$ uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

tux@slitaz:~$ glxinfo | egrep 'render|version'
direct rendering: Yes
server glx version string: 1.4
client glx version string: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX version: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 610 (Kaby Lake GT1) x86/MMX/SSE2
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.50
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

tux@slitaz:~$ egrep 'backend|i915,' /var/log/Xorg.0.log
[ 401.443] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
[ 401.445] (II) intel(0): SNA initialized with Kabylake (gen9) backend


tux@slitaz:~$ grep -A5 '"intel"' /var/log/Xorg.0.log
[ 401.436] (II) LoadModule: "intel"
[ 401.436] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 401.436] (II) Module intel: vendor="X.Org Foundation"
[ 401.436] compiled for 1.19.3, module version = 2.99.917

[ 401.436] Module class: X.Org Video Driver
[ 401.436] ABI class: X.Org Video Driver, version 23.0

2018-01-20

Next-lxqt -- quick solution for undefined symbol: _XEatDataWords


quick solution for undefined symbol: _XEatDataWords

3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)

libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)

libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)


1. legacy libraries
tux@slitaz:~$ ls -l /opt/VirtualBox/lib[Xx]*
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libX11.so.6 -> /opt/VirtualBox/legacy/libX11.so.6
lrwxrwxrwx    1 root     root            38 Jan 15 06:59 /opt/VirtualBox/libX11-xcb.so.1 -> /opt/VirtualBox/legacy/libX11-xcb.so.1
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libxcb.so.1 -> /opt/VirtualBox/legacy/libxcb.so.1                      

tux@slitaz:~$ ls -l /opt/VirtualBox/legacy/
total 1240
-rwxr-xr-x    1 root     root       1156136 Aug  9  2016 libX11.so.6
-rwxr-xr-x    1 root     root          2852 Aug  9  2016 libX11-xcb.so.1
-rwxr-xr-x    1 root     root        105704 Aug  9  2016 libxcb.so.1


2. delete link
tux@slitaz:~$ sudo rm -f /opt/VirtualBox/lib[Xx]*


3. link xorg libraries
tux@slitaz:~$ sudo ln -s /usr/lib/libX11.so.6.3.0 /opt/VirtualBox/libX11.so.6
tux@slitaz:~$ sudo ln -s /usr/lib/libX11-xcb.so.1.0.0 /opt/VirtualBox/libX11-xcb.so.1
tux@slitaz:~$ sudo ln -s /usr/lib/libxcb.so.1.1.0 /opt/VirtualBox/libxcb.so.1

tux@slitaz:~$ ls -l /opt/VirtualBox/lib[xX]*
lrwxrwxrwx    1 root     root            24 Jan 15 07:11 /opt/VirtualBox/libX11.so.6 -> /usr/lib/libX11.so.6.3.0
lrwxrwxrwx    1 root     root            28 Jan 15 07:12 /opt/VirtualBox/libX11-xcb.so.1 -> /usr/lib/libX11-xcb.so.1.0.0
lrwxrwxrwx    1 root     root            24 Jan 15 07:13 /opt/VirtualBox/libxcb.so.1 -> /usr/lib/libxcb.so.1.1.0
tux@slitaz:~$


4. that's it.

2018-01-15

Next-lxqt -- applications.conf


applications.conf

tux@slitaz:~$ cat .config/slitaz/applications.conf
# SliTaz default applications configuration file. These apps can be
# started through wrappers: browser, editor and terminal.
#
# File manager.
FILE_MANAGER="pcmanfm"
# Web browser.
BROWSER="tazweb"
# Text editor.
EDITOR="leafpad"
# X terminal.
TERMINAL="sakura"
[ "$(which $TERMINAL)" ] || TERMINAL="xterm"
# Window manager.
WINDOW_MANAGER="lxqt"

tux@slitaz:~$

Next-lxqt -- undefined symbol: _XEatDataWords


undefined symbol: _XEatDataWords


undefined symbol: _XEatDataWords (/usr/lib/libXext.so.6)
undefined symbol: _XEatDataWords (/usr/lib/libXxf86vm.so.1)
undefined symbol: _XEatDataWords (/usr/lib/libXfixes.so.3)
undefined symbol: xcb_send_request_with_fds (/usr/lib/libxcb-dri3.so.0)
undefined symbol: _XEatDataWords (/usr/lib/libXinerama.so.1)

# tar -xzvf vbox-fix.tar.gz -C /usr/lib


1.
tux@slitaz:~$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib/libXext.so.6: undefined symbol: _XEatDataWords


tux@slitaz:~$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib/libXxf86vm.so.1: undefined symbol: _XEatDataWords
....


2.
Ticket #12556 (closed task: invalid)
Debian Jessie VB - failed: /usr/lib/x86_64-linux-gnu/libXfixes.so.3: undefined symbol: _XEatDataWords


https://www.virtualbox.org/ticket/12556


3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb6c9e000)
libdl.so.2 => /lib/libdl.so.2 (0xb6c99000)
VBoxKeyboard.so => /opt/VirtualBox/VBoxKeyboard.so (0xb6c8a000)
VBoxRT.so => /opt/VirtualBox/VBoxRT.so (0xb6712000)
VBoxVMM.so => /opt/VirtualBox/VBoxVMM.so (0xb63c5000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)
VBoxXPCOM.so => /opt/VirtualBox/VBoxXPCOM.so (0xb619d000)
libQt5X11ExtrasVBox.so.5 => /opt/VirtualBox/libQt5X11ExtrasVBox.so.5 (0xb6198000)
libQt5CoreVBox.so.5 => /opt/VirtualBox/libQt5CoreVBox.so.5 (0xb5bfa000)
libQt5GuiVBox.so.5 => /opt/VirtualBox/libQt5GuiVBox.so.5 (0xb5669000)
libQt5WidgetsVBox.so.5 => /opt/VirtualBox/libQt5WidgetsVBox.so.5 (0xb5096000)
libQt5PrintSupportVBox.so.5 => /opt/VirtualBox/libQt5PrintSupportVBox.so.5 (0xb503f000)
libQt5OpenGLVBox.so.5 => /opt/VirtualBox/libQt5OpenGLVBox.so.5 (0xb4ff1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb4ec2000)
libm.so.6 => /lib/libm.so.6 (0xb4e65000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb4e4c000)
libc.so.6 => /lib/libc.so.6 (0xb4cc3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb4cbf000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4cb6000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb4c96000)
libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb4c92000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb4c8a000)
libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb4c86000)
libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb4c7f000)
libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb4c7c000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb4c5e000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb4c5a000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4c53000)
libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)
libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb4c35000)
libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb4c2f000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb4c29000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb4c18000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb4bfa000)
/lib/ld-linux.so.2 (0x80041000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb4bc8000)
libz.so.1 => /lib/libz.so.1 (0xb4bb3000)
librt.so.1 => /lib/librt.so.1 (0xb4baa000)
VBoxREM.so => /opt/VirtualBox/VBoxREM.so (0xb4ba6000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb4ba3000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb4a9d000)
libpcre.so.1 => /lib/libpcre.so.1 (0xb4a3c000)
undefined symbol: _XEatDataWords (/usr/lib/libXext.so.6)
undefined symbol: _XEatDataWords (/usr/lib/libXxf86vm.so.1)
undefined symbol: _XEatDataWords (/usr/lib/libXfixes.so.3)
undefined symbol: xcb_send_request_with_fds (/usr/lib/libxcb-dri3.so.0)
undefined symbol: _XEatDataWords (/usr/lib/libXinerama.so.1)
tux@slitaz:~ $

4.
dirty hack:
download vbox-fix.tar.gz and replace the libraries.

# tar -tvf vbox-fix.tar.gz
-rwxr-xr-x root/root      9644 2018-01-08 15:33 libxcb-dri3.so.0.0.0
-rwxr-xr-x root/root     68760 2018-01-08 15:32 libXext.so.6.4.0
-rwxr-xr-x root/root     17804 2018-01-08 15:54 libXfixes.so.3.1.0
-rwxr-xr-x root/root      7528 2018-01-08 15:44 libXinerama.so.1.0.0
-rwxr-xr-x root/root     22048 2018-01-08 15:44 libXxf86vm.so.1.0.0

# tar -xzvf vbox-fix.tar.gz -C /usr/lib

Attachments
vbox-fix.tar.gz (44.5 KB)


2018-01-12

Next-lxqt -- virtualbox-5.2.4


virtualbox-5.2.4



Guest Additions
$ sudo tazpkg -i virtualbox-guestutils-5.2.4.tazpkg
$ reboot

tux@slitaz:~$ lsmod | grep vbox
vboxvideo              21478  2
ttm                    52122  1 vboxvideo
drm_kms_helper         80539  1 vboxvideo
syscopyarea             2478  2 vboxvideo,drm_kms_helper
sysfillrect             2554  2 vboxvideo,drm_kms_helper
sysimgblt               1839  2 vboxvideo,drm_kms_helper
drm                   195521  5 vboxvideo,ttm,drm_kms_helper
vboxguest             155608  3

tux@slitaz:~$ modinfo vboxvideo
filename:       /lib/modules/4.9.30-slitaz/misc/vboxvideo.ko
version:        5.2.4 r119785
license:        GPL and additional rights
description:    Oracle VM VirtualBox Graphics Card
author:         Oracle Corporation
srcversion:     17B3C051FAD1296B24802B7
alias:          pci:v000080EEd0000BEEFsv*sd*bc*sc*i*
depends:        drm,drm_kms_helper,ttm,syscopyarea,sysfillrect,sysimgblt
vermagic:       4.9.30-slitaz SMP mod_unload modversions 486
parm:           modeset:Disable/Enable modesetting (int)

tux@slitaz:~$ ps | grep VBox
 1153 root       0:00 [iprt-VBoxWQueue]
 1597 tux        0:00 /usr/bin/VBoxClient --clipboard
 1598 tux        0:00 /usr/bin/VBoxClient --clipboard
 1612 tux        0:00 /usr/bin/VBoxClient --display
 1613 tux        0:00 /usr/bin/VBoxClient --display
 1621 tux        0:00 /usr/bin/VBoxClient --seamless
 1622 tux        0:00 /usr/bin/VBoxClient --seamless
 1630 tux        0:00 /usr/bin/VBoxClient --draganddrop
 1631 tux        0:00 /usr/bin/VBoxClient --draganddrop
15352 tux        0:00 grep VBox
tux@slitaz:~$

2018-01-08

Next-lxqt -- UUID="2018-01-07-18-31-17-00"


UUID="2018-01-07-18-31-17-00" LABEL="SliTaz next-lxqt"

 

tux@slitaz:~$ slitaz

SliTaz GNU/Linux
===============================================================================
Release      : next
Architecture : i486
Kernel       : 4.9.30-slitaz
Machine type : i686
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 263 packages
Mirror       : http://mirror1.slitaz.org/packages/next/
System date  : Mon Jan  8 03:39:12 America 2018
--------------
Boot options : BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null 
video=-32 autologin lang=en_US kmap=us tz=America/New_York
===============================================================================

tux@slitaz:~$ blkid
/dev/sr0: UUID="2018-01-07-18-31-17-00" LABEL="SliTaz next-lxqt" TYPE="iso9660"
tux@slitaz:~$

2018-01-06

Next-lxqt -- tazpkg-notify


/usr/bin/tazpkg-notify: line 78: yad: not found
/usr/libexec/tazpkg-notification: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory

tazpkg rev 956 tip

xdg/autostart/tazpkg-notify.desktop: add "NotShowIn=LXQt"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 04 15:50:33 2018 +0200 (42 hours ago)
parents 24c9c0777880
children
files xdg/autostart/tazpkg-notify.desktop
line diff
     1.1 --- a/xdg/autostart/tazpkg-notify.desktop	Fri Dec 22 00:02:54 2017 +0200
     1.2 +++ b/xdg/autostart/tazpkg-notify.desktop	Thu Jan 04 15:50:33 2018 +0200
     1.3 @@ -4,3 +4,4 @@
     1.4  Name[fr]=Notification du système de paquets
     1.5  Name[ru]=Уведомления менеджера пакетов
     1.6  Exec=tazpkg-notify
     1.7 +NotShowIn=LXQt

----

PACKAGE="yad"
VERSION="0.39.0"
CATEGORY="utilities"
SHORT_DESC="Yet Another Dialog"
[..]
		yad)
			copy @std
			CAT="utilities|GTK+2"
			DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
			TAGS="gtk2"
 
----
 
PACKAGE="libnotify"
VERSION="0.7.7"
CATEGORY="utilities"
SHORT_DESC="Notification library" 
[..]
		libnotify)
			copy @std #notify-send *.so*
			DEPENDS="gdk-pixbuf glib libffi libpng pcre zlib"
 
 
 

Next-lxqt -- dbus


dbus
all the same - only difference I started with screen=text and he started staight to LXQT
text mode:
# /etc/init.d/dbus start
# startx

Ref:
/etc/init.d/rcS
# Start X session. Dbus must be started before Xorg and other daemons.

Next-lxqt -- ck-launch-session: No such file or directory


ck-launch-session: No such file or directory
 

# ~/.xinitrc: Executed by Slim/LXDM login manager to startx X session. 

EXEC="exec ck-launch-session dbus-launch --sh-syntax --exit-with-session"

root@slitaz:~# ls -l /usr/bin/ck-launch-session
ls: /usr/bin/ck-launch-session: No such file or directory

root@slitaz:~# tazpkg -sp ck-launch-session

Search result for package "ck-launch-session"
=======================================================================
consolekit2
=======================================================================
1 package

root@slitaz:~# tazpkg -s consolekit2

Search result for: consolekit2
=======================================================================
Installed packages
=======================================================================
=======================================================================
0 installed packages found for: consolekit2

Available packages
=======================================================================
consolekit2        1.0.2        system-tools
consolekit2-dev        1.0.2        development
=======================================================================
2 available packages found for: consolekit2

----

root@slitaz:~# cat .xinitrc
# ~/.xinitrc: Executed by Slim/LXDM login manager to startx X session.
# You can use F1 with Slim to change your window manager or configure
# it permanently with your personal applications.conf file.
#
. /etc/slitaz/applications.conf
tazbox mkmenu

[ "$1" ] && WINDOW_MANAGER="$1"

EXEC="exec ck-launch-session dbus-launch --sh-syntax --exit-with-session"

LOG="/dev/null" ; X=$LOG ; ERR=$X

case "$WINDOW_MANAGER" in
        openbox|lxde*|icewm*|xfce4|compiz|karmen|dwm|fluxbox*|razor*|mate*)
                $EXEC ${WINDOW_MANAGER%-session}-session ;;
        enlightenment)
                $EXEC enlightenment_start ;;
        kde)    $EXEC startkde ;;
        lxqt)   $EXEC startlxqt ;;
        *)      $EXEC $WINDOW_MANAGER ;;
esac    2>>$ERR >>$X

Next-lxqt -- Cannot open font file ter-v14n



Cannot open font file ter-v14n

root@slitaz:~# egrep 'zcat|v14n|kmap|alsa' /var/log/boot.log
zcat: /proc/config.gz: No such file or directory
zcat: /proc/config.gz: No such file or directory
zcat: /proc/config.gz: No such file or directory
Setting console font to: ter-v14n...
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Loading console keymap: us
/sbin/tazkeymap: line 83: can't open /usr/share/kmap/us.kmap: no such file
/etc/init.d/system.sh: line 125: alsactl: not found

root@slitaz:~#

2018-01-05

Next-lxqt -- glxgears


glxgears




# vblank_mode=0 glxgears


root@slitaz:~# uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

root@slitaz:~# glxinfo | egrep 'render|version'
direct rendering: Yes
server glx version string: 1.4
client glx version string: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX version: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop x86/MMX/SSE2
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.50
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp,
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
GL_ARB_compute_shader, GL_ARB_conditional_render_inverted,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent,
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
GL_OES_fbo_render_mipmap, GL_OES_geometry_point_size,

root@slitaz:~# vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
52035 frames in 5.0 seconds = 10406.958 FPS
51978 frames in 5.0 seconds = 10395.498 FPS
52428 frames in 5.0 seconds = 10485.462 FPS
52128 frames in 5.0 seconds = 10425.471 FPS

2018-01-04

Next-lxqt -- mesa17/mesa



mesa17 / mesa
>>leads to install mesa-dri
># tazpkg -gi mesa17-dri

mesa-dri                12.0.6
mesa17-dri              17.2.4


root@slitaz:~# tazpkg -s mesa

Search result for "mesa"
=======================================================================
Installed packages
-----------------------------------------------------------------------
mesa17                  17.2.4            x-window
mesa17-libegl           17.2.4            x-window
mesa17-libgbm           17.2.4            x-window
=======================================================================
3 installed packages found for "mesa"

Available packages
-----------------------------------------------------------------------
libglu-mesa             9.0.0             x-window
libglu-mesa-dev         9.0.0             development
libglw-mesa             8.0.0             x-window
libglw-mesa-dev         8.0.0             development
libegl-mesa             12.0.6            libs
mesa                    12.0.6            x-window
mesa-dev                12.0.6            development
mesa-dri                12.0.6            x-window
mesa17                  17.2.4            x-window
mesa17-dev              17.2.4            development
mesa17-dri              17.2.4            x-window
mesa17-libegl           17.2.4            x-window
mesa17-libgbm           17.2.4            x-window
mesa17-libswrAVX        17.2.4            x-window
mesa17-libwayland-egl   17.2.4            x-window
mesa17-libxatracker     17.2.4            x-window
mesa17-osmesa           17.2.4            x-window
mesa17-vdpau            17.2.4            x-window
=======================================================================
18 available packages found for "mesa" 
 
 

Next-lxqt -- mesa17/glx


mesa17 / glx

# tazpkg -gi mesa17-dri
# tazpkg -gi xorg-server-module-glamor

[ 2279.676] (II) LoadModule: "glx"
[ 2279.676] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2279.684] (II) Module glx: vendor="X.Org Foundation"
[ 2279.684] compiled for 1.19.3, module version = 1.0.0
[ 2279.684] ABI class: X.Org Server Extension, version 10.0
[..]

[ 2279.765] (==) Depth 24 pixmap format is 32 bpp
[ 2279.765] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1)backend
[ 2279.765] (==) intel(0): Backing store enabled
[ 2279.765] (==) intel(0): Silken mouse enabled
[ 2279.765] (II) intel(0): HW Cursor enabled
[ 2279.765] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 2279.765] (==) intel(0): DPMS enabled
[ 2279.765] (==) intel(0): Display hotplug detection enabled
[ 2279.765] (II) intel(0): [DRI2] Setup complete
[ 2279.765] (II) intel(0): [DRI2] DRI driver: i965
[ 2279.765] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 2279.765] (II) intel(0): direct rendering: DRI2 enabled
[ 2279.765] (II) intel(0): hardware support for Present enabled
[ 2279.765] (--) RandR disabled
[ 2279.775] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 2279.775] (II) AIGLX: enabled GLX_ARB_create_context
[ 2279.775] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 2279.775] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[ 2279.775] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 2279.775] (II) AIGLX: enabled GLX_SGI_swap_control
[ 2279.775] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 2279.775] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 2279.775] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[ 2279.775] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 2279.775] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[ 2279.775] (II) AIGLX: Loaded and initialized i965
[ 2279.775] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 2279.776] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI2 using pipe 0, position (0, 0), rotation normal, reflection none
[ 2279.792] (II) intel(0): Setting screen physical size to 507 x 285
[ 2279.807] (II) config/udev: Adding input device Power Button (/dev/input/event2)

----

Updated:
xdg/autostart/tazpkg-notify.desktop: add "NotShowIn=LXQt"
X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686
Kernel command line: BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null video=-32 font=ter-v14n autogin lang=en_US kmap=us tz=America/New_York
Build Date: 28 August 2017 11:09:22AM
Current version of pixman: 0.34.0
Before reporting problems, check http://www.slitaz.org/
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 4 01:21:10 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
(0xbfbaf46c) Warning: LockScreenManager couldn't start
get_cfg(): compton doesn't accept positional arguments.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
/usr/bin/tazpkg-notify: line 78: yad: not found
/usr/libexec/tazpkg-notification: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory

root@slitaz:~# (II) Server terminated successfully (0). Closing log file.

2018-01-03

Next-lxqt -- startx


startx

Boot slitaz-next-lxqt.iso from pc.

switch to VT1: Ctrl-Alt-F1    (X: Ctrl-Alt-F7)

root@slitaz:~# history
   0 ps
   1 kill -9 2098
   2 ps              # recheck
   3 rm -f /tmp/.X0-lock
   4 sed -i 's/$WINDOW_MANAGER/startlxqt/' .xsession
   5 cat .xsession   # recheck
   6 startx
   7 history
root@slitaz:~#



root@slitaz:~# ps
[..]
1752 root 0:00 [i915/signal:0]
1754 root 0:00 [i915/signal:1]
1755 root 0:00 [i915/signal:2]
1757 root 0:00 [i915/signal:4]
1789 root 0:00 [kworker/1:1H]
1900 root 0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth0.pid
1930 messageb 0:00 /usr/bin/dbus-daemon --system
2016 root 0:00 /usr/sbin/inetd
2057 root 0:00 /usr/sbin/ntpd -p pool.ntp.org
2098 root 0:00 /usr/libexec/Xorg -auth /var/run/slim.auth vt07
2111 root 0:00 -sh
2112 root 0:00 /sbin/getty 38400 tty2
2113 root 0:00 /sbin/getty 38400 tty3
2114 root 0:00 /sbin/getty 38400 tty4
2115 root 0:00 /sbin/getty 38400 tty5
2116 root 0:00 /sbin/getty 38400 tty6
2117 root 0:00 /sbin/getty 115200 38400 9600 4800 2400 ttyS0
2128 root 0:00 ps


root@slitaz:~# cat .xsession
# ~/.xsession: Start X window session manually on your system (startx).
#
. $HOME/.config/slitaz/applications.conf
Xorg &
#xterm &
#xpad &
exec startlxqt

 

2018-01-02

Next-lxqt -- lxqt


slitaz-next-lxqt

slitaz-next-lxqt.iso 2017-Dec-21 20:56:13 102.7M
http://mirror1.slitaz.org/iso/next/slitaz-next-lxqt.iso