TechDoc




Our website wants to use Cookies  


Keyring (gnome-keyring) automatisch bei Login öffnen (Manjaro Xfce Linux)

Bei Wahl der Option User-Autologin ist ein automatisches Öffnen eines Keyrings nicht sicher möglich. Deshalb muss - falls User-Autologin genutzt wird - das User-Autologin abgestellt werden ("autologin-user" Eintrag in "/etc/lightdm/lightdm.conf" auskommentieren).
Danach mit "seahorse" einen Keyring anlegen, welcher den Namen "login" trägt (lowercase ist nötig). Das Passwort für den Keyring soll identisch sein mit dem User-Passord. Der Keyring "login" wird dann bei explizitem User-Login automatisch während des Login-Vorgangs geöffnet.
Stop system consuming/capturing/occupying Keyboard Bindings (keybindings)- blocking IntelliJ IDEA
(Manjaro Xfce Linux)

There are at least two places to have a look at, regarding settings, which typically consume a lot of keyboard bindings by default.
  • "xfce4-keyboard-settings" (Keyboard settings)
    Goto to tab "Application shortcuts"
    Remove Ctrl-Alt-F, Ctrl-Alt-P, and many others
  • "xfwm4-settings" (Window Manager)
    To check its bindings, go to tab "Keyboard"
    Here are e.g. Ctrl+Alt+Arrow Keys and Shift+Ctrl+Alt+Arrow Keys predefined (to move window to workspace edges). If you like to reuse those keys in your application (e.g. IDE), then remove those in xfwm4-settings first.
    Also, Ctrl-F1 .. Ctrl-F9 may be removed as they get in the way of IntelliJ IDEA.
CPU Informationen ermitteln (Linux)

$ hwinfo --cpu
CPU Monitoring in System Tray (Manjaro Xfce Linux)

Software package:
xfce4-cpugraph-plugin

It is important to add the icon directly in the Panel Items list, do not try to add it via a panel item called "launcher".
(It only works to add by adding a panel item directly without a launcher.)

Finagle ohne absehbaren Support für Scala 3

Leider ist die Scala Middleware und Web Service Lösung Finagle aktuell nicht für Scala 3 vorbereitet. Der Entwicklungsstand scheint eingefroren zu sein. Die Aussichten auf eine baldige Änderung sind - offen gesagt - eher trüb. Die Firma Twitter scheint anstelle dessen künftig auf Akka zu setzen.
Ein Finagle Crosscompile auf Scala 3 ist jedoch möglich.
Für Weiteres senden Sie mir bitte eine E-Mail.
m4a Audio zu mp4 Video (mit Standbild, für z.B. Youtube)

ffmpeg -loop 1 -i zzzzzzzzzz.png -i xxxxxxxxxxxxxxx.m4a -c:a ac3 -b:a 160k -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -shortest yyyyyyyyyyyy.mp4
gvfs smb samba Links on Desktop

GVFS stands for GNOME Virtual File System.
Under Manjaro, if You want create a desktop link refering to a gvfs/samba/smb location, this can be tricky when done with copy & paste with the mouse and modifier keys (alt, shift, ctrl) (copy, move, create link). Personally, for me the easiest and most robust way to accomplish the goal is to use "thunar" file manager, and its right-click-on-file function "Send To", "Desktop (Create Link)". This way a valid reference is created, in the form e.g.:
/run/user/1000/gvfs/smb-share:server=myservername,share=myhostname/myfilepath

If problems arise, try adding ",user=myuserid" before "/myfilepath"
with "ln -s targetpath name" a link can be recreated.
To analyze if the links are feasible, try "ls -al" in the directory where the links are stored. if the links are not feasble, the color of the "ls" entry will indicate this (e.g. red font, flashing).
See also: id_mv9umquc6tux, id_47b19ukgsdp1
git: non-bare zu bare repository

Development Maschinen als Client nutzen können, in Verindung zu einem mit ssh verbundenen git Server, dessen working tree ausgecheckt ist und auf dem Server ebenso editiert wird (non-bare).
Nicht immer ist die neue git "push-to-deploy" Funktion praktikabel, insbesondere nicht, wenn am Server der ausgecheckte working tree nicht read-only ist, sondern auch dort aktiv editiert wird. In diesem Fall kann "push-to-deploy" zu Problemen führen, nämlich dann, wenn Server-seitig Änderungen noch nicht commited wurden, aber ein Client bereits push-t. "push-to-deploy" ist eher geeignet für z.B. git non-bare readlony Webcontent auf Webservern.
Wenn man zusätzliche Development Maschinen als Client mit dem git Server verbinden mag, ist es vermutlich besser, serverseitig ein bestehendes non-bare repostiory in ein bare repository zu übertragen, und daraus dann ein "zweites" non-bare repository abzuleiten (wiederum auf dem Server), mit ausgechecktem working tree.
"git clone --bare quelle1 ziel.git"
danach kann man "ziel.git" - Server zu Server - clonen:
"git clone ziel.git quelle2"
"quelle1" ist dann obsolet (als Backup ggf.), "quelle2" ist dann verwendbar.
In "quelle2" zeigt z.B. "git ls-remote" die Verbindung zum neuen bare repository. Dieses server-seitige bare repository kann man dann z.B. über ssh von den Development Maschinen aus erreichen. Anlegen z.B. - vom Server zum Client - auf dem Client, mit "git clone myuserid@myservername:/serverpath/ziel.git". Anmerkung: Die bare Eigenschaft eines git repositories erkennt man üblicherweise bereits am Foldername, der auf .git endet. Darin gibt es dann keinen working tree und keinen .git subfolder wie bei den non-bare repositories üblich.
obs, Logitech C920 webcam, Lagging (Manjaro XFCE Linux)

To solve the lagging issue, in obs go to Video Capture source -> Properties -> Video Format (third Option in the list) -> de-select YUYV 4:2:2 -> select Motion-JPEG instead (e.g.)
Error mounting filesystem, wrong fs type ntfs (Linux)

One possible solution:
Mount explicitly by command.
E.g.
$ sudo mount -t ntfs /dev/sda2 /mnt/xyz01
or
$ sudo mount -t ntfs3 /dev/sda2 /mnt/xyz01
redshift ad-hoc / explicit temperature (Linux)

Set temperature:
$ redshift -O 1000

Reset:
$ redshift -x

Script in Autostart einhängen, für automatische, explizite Festlegung nach Login:

#!/bin/bash
sleep 3
redshift -x
redshift -O 1400

Anmerkung: Das Programm "redshift" in Autostart nicht aktivieren.

bootsplash-manager (Manjaro Xfce Linux)

In newer releases Manjaro Xfce is booting with an animated splash screen (animation with three white dots on a black screen, "plymouth splash"), not displaying the textual boot log any more. When booting gets stuck, this may lead to missing informations. To prevent this, and return to more classical booting style, the "bootsplash-manager" can be used. there, switch to "boot log" profile.

It probably maintains /etc/default/grub file, entry GRUB_CMDLINE_LINUX_DEFAULT where the tag "quit" gets removed, and "splash" remains unchanged. "nomodeset" seems not to be added.


$ journalctl --since today
can help to see the most recent boot log.

$ inxi --admin --verbosity=7 --filter --no-host --width
can help to see an overview of all hardware components.

Keywords: Bootet nicht

autologin (Manjaro Xfce)

1. Prüfen, ob User bereits in autologin Gruppe:
$ getent group autologin autologin:x:1000:myusername

2. Prüfen der Datei "/etc/pam.d/lightdm-autologin".
Nötig ist ein Eintrag der Form:
auth [success=1 default=ignore] pam_succeed_if.so user ingroup autologin

3. "/etc/lightdm/lightdm.conf" benötigt einen Eintrag der Art "autologin-user=myusername"

Collation version mismatch

The warning message
PostgreSQL collation version mismatch
The database was created using collation version 2.36, but the operating system provides version 2.37.
might be caused by updating the host operating system's glibc, which is responsible for collation implementations, and which the database is using in turn. When collation versions between host and database differ, this may lead to the message above. Typically it doesn't occur in stable versions of host operation systems, but in test versions.
Logitech G203, Linux

To adjust settings at "Logitech G203 LightSync" (with 3 LEDs) device, "piper" can be used. But the Manjaro package "piper" and its prerequisite "ratbag" / "ratbagd" are not yet identifing this specific hardware model.

To work-around this issue, remove "piper" and "ratbag" packages, and install "piper-git" and "ratbag-git" packages via AUR. Then a "$ killall ratbagd" to stop the old service should suffice, then restart "piper" (it starts the new "ratbagd" implicitly), and then you can adjust the LEDs and other things.

Please note: Currently is only one LED color for all three LEDs simultaneously possible, not three different colors.

Minimized Windows auslassen, beim Alt-Tab Navigieren durch die Liste der Anwendungen (Manjaro XFCE)

"Window Manager Tweaks" (xfwm4-tweaks-settings) -> Tab. "Cycling" -> uncheck: "Include hidden (i.e. iconified) windows
Watching Scala 3 macro compile time println's / log entries in IntelliJ

Q: When I try out a Scala 3 macro, the inline definition of the macro itself with the splicing, and the function which e.g. is using quotations, when I compile this in sbt I get printed all macro println's to the console at compile-time, as it is expected.
However, when I switch to IntelliJ with the Scala plugin, bsp and bloop compile server installed, those macro println's are missing when I compile, and even I looked into any log I could open, but could not find those macro println's. Any idea how I could see those printlns in Intellij? I am using BSP, Bloop, Scala Compile Server. I slightly suspect that compile server output does not reach Intellij build console.
A: Instead of using the hidden IntelliJ BSP Bloop compile server, in an IntelliJ console tool window, run "sbt ~compile" (while being pwd'ed in the correct project path).
IntelliJ will use this as the build server (since it won't start two at the same time - sytem-wide) and you will see the macro compile-time println log entries in this sbt console printout.
Alt + Mouse Wheel Zoom (Manjaro Xfce Linux)

Alt + Mouse Wheel Zoom (Manjaro Xfce) can be accomplished by calling "xfce4-settings-editor", selecting channel "xfwm4", then enabling property "zoom_desktop".
Slow launch of firefox, files, and other applications - since Manjaro XFCE Update 2023-05 (regression issue)

e.g. 1 minute waiting time before launch instead of 2 seconds, as it has been before the Manjaro update.
Interim solution:
add "xdg-desktop-portal-gnome" software package, afterwards, remove it.
Reboot.
Hardware Info zur CPU: lstopo

Hardware Info zur CPU, mit Graphik (CPUs, Cores)

Software package: lstopo

Whisker Menu - Super Left (Windows) key
(Manjaro Xfce Linux)

  • in the keyboard settings "xfce4-keyboard-settings", assign xfce4-popup-whiskermenu --pointer
    to Super Left key (windows key)
  • if then unintentionally a desktop context menu gets opened ("create launcher, create url link, create folder, create document, ..." etc.) then the reason could be that there is one superfluous setting active.
    Goto " session and startup", open "Application Autostart" tab, then deactivate the xcape entry: xcape -e 'Super_L=Alt_L|F1'
vscode bug (Manjaro Xfce Linux), Open External Terminal not working: Ctrl + Shift + c

1. first check the vscode setting "terminal.external.linuxExec"
2. the official release directly from Microsoft has fixed this issue already. so deinstalling the distribution package, and instead using the Microsoft download, should work (if you want pay the "price").
3. as a work-around until this bug is fixed in the distribution package, instead of external terminal, the internal terminal panel works. execute command ( Ctrl + Shift + p ) "Toggle Terminal ": ( Ctrl + Shift + ´ ) then a internal terminal panel opens. if more terminals are needed, then: right click in the terminal area, "New terminal".
Prolog Integration

Teilweise sind Bereiche der Anwendung stark regelbasiert und lassen sich nur mehr recht als schlecht mit prozeduralen Programmiersprachen realisieren. Hier können Subsysteme zum Einsatz kommen, welche in Prolog implementiert sind.

Typische fachliche Bereiche für Logik Engines sind z.B. Berechtigungen, Optimierungen, Compliance.

Logik-Berechnungen sind generell "costly", lassen sich aber auch cachen, damit die Performance nicht darunter leidet. swi Prolog ist eine der vielen möglichen Implementierungen einer Prolog Engine.

Für Weiteres senden Sie mir bitte eine E-Mail.

AMD ROCm HSA HIP und OpenCL auf AMD APU (ohne dedizierte Grafikkarte, also IGP) betreiben

Ubuntu: amdgpu
Manjaro: opencl-amd (stammt aus AMDs Ubuntu-Release von ROCm)
"rocm-amd" wird von AMD unter Ubuntu released. Deshalb sind unter Ubuntu weniger dependency Issues zu erwarten. Ubuntu: am besten nach Anleitung vorgehen: Quick start installation guide.


Falls "rocminfo" in der falschen Version vorliegt, gibt es dieses Problem:
The following packages have unmet dependencies:
 rocm-hip-runtime : Depends: rocminfo (= 1.0.0.60200-66~24.04) but 5.7.1-3build1 is to be installed
 rocm-utils : Depends: rocminfo (= 1.0.0.60200-66~24.04) but 5.7.1-3build1 is to be installed
E: Unable to correct problems, you have held broken packages.
Hier hilft:
sudo apt-get install rocminfo=1.0.0.60200-66~24.04
Check:
$ rocminfo 
ROCk module is loaded
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.14
Runtime Ext Version:     1.6
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             
Mwaitx:                  DISABLED
DMAbuf Support:          YES


clinfo:
"clinfo" benutzen für allgemeine Infos.

Wenn jedoch nur 1 Device angezeigt wird, wird die IGP (APU) nicht verwendet, nur die CPU selbst. Siehe Device Type = CPU

Abhilfe schafft dann das oben beschriebene "Quick start installation guide".

Anschließend sind dann 2 platforms definiert.
Platform 1 ist die CPU, Platform 2 ist die IGP.
Jeweils mit einem Device.
Platform 2 hat das Device "AMD Accelerated Parallel Processing".
Check:
$ clinfo
Number of platforms                               2
  Platform Name                                   Portable Computing Language
  Platform Vendor                                 The pocl project
  Platform Version                                OpenCL 3.0 PoCL 5.0+debian  Linux, None+Asserts, RELOC, SPIR, LLVM 16.0.6, SLEEF, DISTRO, POCL_DEBUG
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_pocl_content_size
  Platform Extensions with Version                cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_pocl_content_size                                             0x400000 (1.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             POCL
  Platform Host timer resolution                  0ns

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

  Platform Name                                   Portable Computing Language
Number of devices                                 1
  Device Name                                     cpu-haswell-AMD Ryzen 7 5700G with Radeon Graphics
  Device Vendor                                   AuthenticAMD
  Device Vendor ID                                0x1022
  Device Version                                  OpenCL 3.0 PoCL HSTR: cpu-x86_64-pc-linux-gnu-haswell
  Device Numeric Version                          0xc00000 (3.0.0)
  Driver Version                                  5.0+debian
  Device OpenCL C Version                         OpenCL C 1.2 PoCL
  Device OpenCL C all versions                    OpenCL C                                                         0x400000 (1.0.0)
                                                  OpenCL C                                                         0x401000 (1.1.0)
                                                  OpenCL C                                                         0x402000 (1.2.0)
                                                  OpenCL C                                                         0xc00000 (3.0.0)
  Device OpenCL C features                        __opencl_c_3d_image_writes                                       0xc00000 (3.0.0)
                                                  __opencl_c_images                                                0xc00000 (3.0.0)
                                                  __opencl_c_atomic_order_acq_rel                                  0xc00000 (3.0.0)
                                                  __opencl_c_atomic_order_seq_cst                                  0xc00000 (3.0.0)
                                                  __opencl_c_atomic_scope_device                                   0xc00000 (3.0.0)
                                                  __opencl_c_program_scope_global_variables                        0xc00000 (3.0.0)
                                                  __opencl_c_generic_address_space                                 0xc00000 (3.0.0)
                                                  __opencl_c_subgroups                                             0xc00000 (3.0.0)
                                                  __opencl_c_atomic_scope_all_devices                              0xc00000 (3.0.0)
                                                  __opencl_c_read_write_images                                     0xc00000 (3.0.0)
                                                  __opencl_c_fp64                                                  0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_global_atomic_add                            0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_local_atomic_add                             0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_global_atomic_min_max                        0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_local_atomic_min_max                         0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp64_global_atomic_add                            0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp64_local_atomic_add                             0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp64_global_atomic_min_max                        0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp64_local_atomic_min_max                         0xc00000 (3.0.0)
                                                  __opencl_c_int64                                                 0xc00000 (3.0.0)
  Latest conformance test passed                  v2022-04-19-01
  Device Type                                     CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               16
  Max clock frequency                             4673MHz
  Device Partition                                (core)
    Max number of sub-devices                     16
    Supported partition types                     equally, by counts
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             4096x4096x4096
  Max work group size                             4096
  Preferred work group size multiple (device)     8
  Preferred work group size multiple (kernel)     8
  Max sub-groups per work group                   128
  Sub-group sizes (Intel)                         1, 2, 4, 8, 16, 32, 64, 128, 256, 512
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                               16 / 16      
    int                                                  8 / 8       
    long                                                 4 / 4       
    half                                                 0 / 0        (n/a)
    float                                                8 / 8       
    double                                               4 / 4        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    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
    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                              30757388288 (28.65GiB)
  Error Correction support                        No
  Max memory allocation                           8589934592 (8GiB)
  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                                       Yes
  Unified Shared Memory (USM)                     (cl_intel_unified_shared_memory)
  Host USM capabilities (Intel)                   USM access, USM atomic access
  Device USM capabilities (Intel)                 USM access, USM atomic access
  Single-Device USM caps (Intel)                  USM access, USM atomic access
  Cross-Device USM caps (Intel)                   (n/a)
  Shared System USM caps (Intel)                  (n/a)
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Atomic memory capabilities                      relaxed, acquire/release, sequentially-consistent, work-group scope, device scope, all-devices scope
  Atomic fence capabilities                       relaxed, acquire/release, sequentially-consistent, work-item scope, work-group scope, device scope
  Max size for global variable                    64000 (62.5KiB)
  Preferred total size of global vars             524288 (512KiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16777216 (16MiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            536870912 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   0 bytes
    Pitch alignment for 2D image buffers          0 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                128
    Max number of read/write image args           128
  Pipe support                                    No
  Max number of pipe args                         0
  Max active pipe reservations                    0
  Max pipe packet size                            0
  Local memory type                               Global
  Local memory size                               524288 (512KiB)
  Max number of constant args                     8
  Max constant buffer size                        524288 (512KiB)
  Generic address space support                   Yes
  Max size of kernel argument                     1024
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Device enqueue capabilities                     (n/a)
  Queue properties (on device)                    
    Out-of-order execution                        No
    Profiling                                     No
    Preferred size                                0
    Max size                                      0
  Max queues on device                            0
  Max events on device                            0
  Command buffer capabilities                     kernel printf, simultaneous use, out of order
    Required queue properties for command buffer  
    Out-of-order execution                        No
    Profiling                                     No
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    Non-uniform work-groups                       No
    Work-group collective functions               No
    Sub-group independent forward progress        Yes
    IL version                                    (n/a)
    ILs with version                              (n/a)
    SPIR versions                                 (n/a)
  printf() buffer size                            16777216 (16MiB)
  Built-in kernels                                pocl.add.i8;org.khronos.openvx.scale_image.nn.u8;org.khronos.openvx.scale_image.bl.u8;org.khronos.openvx.tensor_convert_depth.wrap.u8.f32
  Built-in kernels with version                   pocl.add.i8                                                      0x402000 (1.2.0)
                                                  org.khronos.openvx.scale_image.nn.u8                             0x402000 (1.2.0)
                                                  org.khronos.openvx.scale_image.bl.u8                             0x402000 (1.2.0)
                                                  org.khronos.openvx.tensor_convert_depth.wrap.u8.f32              0x402000 (1.2.0)
  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_3d_image_writes cl_khr_command_buffer cl_pocl_pinned_buffers cl_khr_subgroups cl_intel_unified_shared_memory cl_khr_subgroup_ballot cl_khr_subgroup_shuffle cl_intel_subgroups cl_intel_required_subgroup_size cl_ext_float_atomics cl_khr_spir cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics
  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_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_khr_command_buffer                                              0x9004 (0.9.4)
                                                  cl_pocl_pinned_buffers                                             0x1000 (0.1.0)
                                                  cl_khr_subgroups                                                 0x400000 (1.0.0)
                                                  cl_intel_unified_shared_memory                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups                                               0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                             0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x801000 (2.1.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx90c:xnack-
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 
  Driver Version                                  3625.0 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon Graphics
  Device PCI-e ID (AMD)                           0x1638
  Device Topology (AMD)                           PCI-E, 0000:07: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.0
  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                                     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
  Single-precision Floating-point support         (core)
    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
    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                              536870912 (512MiB)
  Global free memory (AMD)                        479232 (468MiB) 479232 (468MiB)
  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                           402653184 (384MiB)
  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                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    402653184 (384MiB)
  Preferred total size of global vars             536870912 (512MiB)
  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                 8192 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                             16384x16384x8192 pixels
    Max number of read image args                 128
    Max number of write image args                8
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            402653184 (384MiB)
  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                        402653184 (384MiB)
  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)        0ns (Thu Jan  1 01:00:00 1970)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  No
    Number of async queues (AMD)                  8
    Max real-time compute queues (AMD)            8
    Max real-time compute units (AMD)             8
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_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_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program 


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 [POCL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Portable Computing Language
    Device Name                                   cpu-haswell-AMD Ryzen 7 5700G with Radeon Graphics
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  Success (1)
    Platform Name                                 Portable Computing Language
    Device Name                                   cpu-haswell-AMD Ryzen 7 5700G with Radeon Graphics
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  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                                 Portable Computing Language
    Device Name                                   cpu-haswell-AMD Ryzen 7 5700G with Radeon Graphics

ICD loader properties
  ICD loader Name                                 Khronos OpenCL ICD Loader
  ICD loader Vendor                               Khronos Group
  ICD loader Version                              3.0.6
  ICD loader Profile                              OpenCL 3.0

gromacs:
$ gmx


AdaptiveCpp


hashcat:

"hashcat -I" starten, uim zu sehen, welche GPU devices verwendet werden. Wenn es nur 1 Device ist, mit Type = CPU, wird die GPU (IGP) nicht verwendet.

"hashcat -b" starten, um die Performance der APU zu untersuchen.
Es tritt der Fehler auf: "* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed".

Hashcat für APU Performance Messung Beispiel Ubuntu:

$ hashcat -b
hashcat (v6.2.6) starting in benchmark mode

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

OpenCL API (OpenCL 3.0 PoCL 5.0+debian  Linux, None+Asserts, RELOC, SPIR, LLVM 16.0.6, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The pocl project]
==================================================================================================================================================
* Device #1: cpu-haswell-AMD Ryzen 7 5700G with Radeon Graphics, 14634/29332 MB (4096 MB allocatable), 16MCU
Benchmark relevant options:
===========================
* --optimized-kernel-enable
-------------------
* Hash-Mode 0 (MD5)
-------------------
Speed.#1.........:  1608.5 MH/s (10.13ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
...
Started: Sat Aug 24 11:41:31 2024
Stopped: Sat Aug 24 11:48:15 2024

rocminfo
(Ggf. zuvor
$etent group render
$ sudo usermod -aG render $USER
Quelle Video )
$ sudo rocminfo
ROCk module is loaded
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             
Mwaitx:                  DISABLED
DMAbuf Support:          YES

==========               
HSA Agents               
==========               
*******                  
Agent 1                  
*******                  
  Name:                    AMD Ryzen 7 5700G with Radeon Graphics
  Uuid:                    CPU-XX                             
  Marketing Name:          AMD Ryzen 7 5700G with Radeon Graphics
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
    L1:                      32768(0x8000) KB                   
  Chip ID:                 0(0x0)                             
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   4673                               
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            16                                 
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: FINE GRAINED        
      Size:                    32133672(0x1ea5228) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    32133672(0x1ea5228) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 3                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    32133672(0x1ea5228) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
  ISA Info:                
*******                  
Agent 2                  
*******                  
  Name:                    gfx90c                             
  Uuid:                    GPU-XX                             
  Marketing Name:          AMD Radeon Graphics                
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          64(0x40)                           
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
    L2:                      1024(0x400) KB                     
  Chip ID:                 5688(0x1638)                       
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   2000                               
  BDFID:                   1792                               
  Internal Node ID:        1                                  
  Compute Unit:            8                                  
  SIMDs per CU:            4                                  
  Shader Engines:          1                                  
  Shader Arrs. per Eng.:   1                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      TRUE                               
  Wavefront Size:          64(0x40)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        40(0x28)                           
  Max Work-item Per CU:    2560(0xa00)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)             
    y                        4294967295(0xffffffff)             
    z                        4294967295(0xffffffff)             
  Max fbarriers/Workgrp:   32                                 
  Packet Processor uCode:: 471                                
  SDMA engine uCode::      40                                 
  IOMMU Support::          None                               
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    524288(0x80000) KB                 
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 2                   
      Segment:                 GLOBAL; FLAGS:                     
      Size:                    524288(0x80000) KB                 
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 3                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Accessible by all:       FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx90c:xnack-   
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)             
        y                        4294967295(0xffffffff)             
        z                        4294967295(0xffffffff)             
      FBarrier Max Size:       32                                 
*** Done ***             

Optional list elements, on item separated lists, Cats-Parse (Scala)

Please email me.
QEMU/KVM Clipboard Sharing

Host/Guest Operation System Needed Software Component
Host Manjaro Xfce Linux spice-vdagent
Guest Windows 10 spice-guest-tools
Console ANSI Colors Output

Depending on your Console or IDE application, ANSI colors might be displayed differently. Here is a small Scala test frame helping identify ANSI color codes by example printout ("rainbowing"). Repository on GitHub
MediaTek MT7921k Wi-Fi 6E 80MHz nutzen
(Manjaro Xfce Linux)

  • 1. "inxi -N" liefert die Adapter Kennung. Es ist erforderlich, den Linux Kernel auf 5.16.14. upzudaten.
  • 2. Das MT7921k Modell von Mediatek hat die Besonderheit, dass teilweise ein 60 Sekunden Power Shutdown (PC ganz aus, stromlos, für 60 Sekunden) nötig ist, um die Karte aktivierbar zu machen.
Diese obigen Punkte können Abhilfe schaffen, wenn WLAN Verbindungen trotz vorhandener Hardware im System nicht angezeigt werden.
draw.io: too many annoying "unsaved changes" popups

draw.io desktop e.g. version 22.0.3 - but probably other versions too - have problems with file save and reload later, sometimes a dialog appears mentioning "unsaved changes", and the user has to decide how to proceed. The message appears too often in my eyes. A work-around is: Goto menu "Extras" (in some themes its called "Settings" instead), then "Drafts ...", then enter "0" (zero) in the field "Draft save interval [sec] (0 to disable):".
That fixes the problem as far as I can observe.
CPU Stress

command line:
$ stress --cpu 16
um z.B. die CPU mit 16 Cores zu belasten. Nutzlich fur Stresstests.
Listen der Services (ArchLinux)

systemctl --user --type=service
Beispiel:
$ systemctl --user --type=service
  UNIT                                LOAD   ACTIVE SUB     DESCRIPTION                                                 
  at-spi-dbus-bus.service             loaded active running Accessibility services bus
  dbus.service                        loaded active running D-Bus User Message Bus
  dconf.service                       loaded active running User preferences database
  gnome-keyring-daemon.service        loaded active running GNOME Keyring daemon
  gvfs-afc-volume-monitor.service     loaded active running Virtual filesystem service - Apple File Conduit monitor
  gvfs-daemon.service                 loaded active running Virtual filesystem service
  gvfs-gphoto2-volume-monitor.service loaded active running Virtual filesystem service - digital camera monitor
  gvfs-metadata.service               loaded active running Virtual filesystem metadata service
  gvfs-mtp-volume-monitor.service     loaded active running Virtual filesystem service - Media Transfer Protocol monitor
  gvfs-udisks2-volume-monitor.service loaded active running Virtual filesystem service - disk device monitor
  obex.service                        loaded active running Bluetooth OBEX service
  pipewire.service                    loaded active running PipeWire Multimedia Service
  pulseaudio.service                  loaded active running Sound Service
  xdg-desktop-portal-gtk.service      loaded active running Portal service (GTK/GNOME implementation)
  xdg-desktop-portal.service          loaded active running Portal service
  xdg-document-portal.service         loaded active running flatpak document portal service
  xdg-permission-store.service        loaded active running sandboxed app permission store
  xfce4-notifyd.service               loaded active running XFCE notifications service

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
18 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Ulm, Germany
Phone: +49 (0) 731 14 399 046
Email: hartmut0407@googlemail.com
Powered by Cetalison Http

IT im Bereich
Unternehmenssoftware & Linux