WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore14.0 Beta  (Read 27588 times)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1249
Re: piCore14.0 Beta
« Reply #75 on: June 02, 2023, 07:09:49 PM »
piCore14-beta2 posted for 32bit.
 - Only change is fixing a libstdc++ issue.

http://www.tinycorelinux.net/14.x/armv7/test_releases/RPi/piCore-14.0-beta2.zip


aus9

  • Guest
Re: piCore14.0 Beta
« Reply #76 on: June 02, 2023, 09:37:29 PM »
Hi Paul_123
Based on your reply and Patrikg, I withdrawn my ignorant getty request. I already have setup my inittab thanks.

To anyone,
This morning with that crazy setting...I used inxi -Gxxx to prove I was on fbdev with unloaded modesetting.
Xorg log showed no acceleration.

Hi Rich
I will test that edit later today thanks.

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #77 on: June 03, 2023, 01:06:56 AM »
Hi Rich
Using the editted Timeout xsession settings from power on to failed in waitforX took 36 seconds.

to Paul_123, Rich and interested parties I have editted my sync account to share a dir that contains my past and current dmesg and xorg files
New link takes you to a dir that contains only Xorg-3d  files
https://ln5.sync.com/dl/ab5f2e950/im3994fv-bvcpbmst-dxabzv4b-62dehkes

Rich I have in that dir dmesg-timeout.txt and xorg-timeout.txt
this can be compared to a working dmesg-sleep.txt and xorg-sleep.txt

As I have not posted what inxi thinks of a working Xorg-3d in the past here is what it looks like. I like it for summary of what it tried to load and what has loaded.....I also loaded glxinfo to get a bit more detail for those interested.

Output is for sleep config in .xsession.....Raspberry Pi 4 Model B Rev 1.1 4G RAM
Code: [Select]
tc@box:~$ inxi -Gxxx
Graphics:
  Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A
    chip-ID: brcm:fef00700 class-ID: hdmi
  Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A
    chip-ID: brcm:fef05700 class-ID: hdmi
  Device-3: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:gpu
    class-ID: gpu
  Display: server: X.org driver: X: loaded: modesetting unloaded: fbdev
    dri: vc4
    gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
    display-ID: :0.0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: HDMI-A-1 model: Lenovo LEN L22e-20 serial: 827215436
    res: 1920x1080 dpi: 102 size: 476x268mm (18.74x10.55") diag: 546mm (21.5")
    modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 2.1 Mesa 22.3.7 renderer: V3D 4.2 direct-render: Yes

past post from Juanito says I should show (and that is real result)
Code: [Select]
glxinfo | grep Accel
    Accelerated: yes

 :) :)
« Last Edit: June 03, 2023, 01:14:37 AM by aus9 »

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #78 on: June 03, 2023, 02:39:52 AM »
piCore64-14x issues with TCE lzip

Code: [Select]
tce-load -i lzip
lzip -h
sh: lzip: not found
tc@box:/tmp$ echo $PATH
/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/sysconfig/tcedir/ondemand
/usr/local/bin/lzip -d icewm-3.3.1.tar.lz
sh: /usr/local/bin/lzip: not found[

file /tmp/tcloop/lzip/usr/local/bin/lzip
/tmp/tcloop/lzip/usr/local/bin/lzip: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.9.22, stripped

Maybe I need a ELF 64 bit?

EEK its mine....I will have to rebuild it sorry. Aah the build script suggests it was built for -march=armv6zk
« Last Edit: June 03, 2023, 02:51:49 AM by aus9 »

Offline mortegai

  • Jr. Member
  • **
  • Posts: 55
Re: piCore14.0 Beta
« Reply #79 on: June 03, 2023, 06:43:48 AM »
The audio kernel modules will not be even mounted by then.  Onboot.lst is processed near the end of tc-config.   The better place to do what you want is /opt/bootsync.sh.  But I'm guessing the driver is long loaded by the time it gets to bootsync.

Yes, you are right, with the configuration/division of modules used by "original" piCore.  I am using a configuration in which all the modules (those of RaspiOS upstream, as in your case) are included in the initrd. 
Sorry for the possible confusion

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11661
Re: piCore14.0 Beta
« Reply #80 on: June 03, 2023, 08:26:39 AM »
Hi aus9
Using the editted Timeout xsession settings from power on to failed in waitforX took 36 seconds.

 ----- Snip -----

Rich I have in that dir dmesg-timeout.txt and xorg-timeout.txt
this can be compared to a working dmesg-sleep.txt and xorg-sleep.txt ...
In the timeout version  /dev/dri/card0  is found but not used. It then tries to use  /dev/fb0
which does not exist and then gives up.

In the sleep version  /dev/dri/card0  is found, but so is  /dev/dri/card1  which is what Xorg
winds up using.

Try changing it to this so it tests for both of them:
Code: [Select]
Timeout=40
while [ $Timeout -gt 0 ]
do
[ -e /dev/dri/card0 ] && [ -e /dev/dri/card1 ] && break
Timeout=$(($Timeout - 1))
sleep 0.25
done

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #81 on: June 03, 2023, 10:58:27 AM »
Hi Rich
that worked well....acceleration proved using prev commands. Too late for me to upload files but it works. I will test again tomorrow thanks

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #82 on: June 03, 2023, 10:47:16 PM »
Hi Rich
time from power on to desktop with new .xsession as per last post is about the same. The dmesg timestamps give your TIMEOUT a one second lead to be the new winner

Whats a second between friends  :D

If interested I have uploaded dmesg-rich.txt and xorg-rich.txt to same dir
https://ln5.sync.com/dl/ab5f2e950/im3994fv-bvcpbmst-dxabzv4b-62dehkes

Obviously what TCEs I load, what I have in backup will impact on other members boot up time if I choose to load Xorg-3d instead of normal Xorg.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11661
Re: piCore14.0 Beta
« Reply #83 on: June 04, 2023, 08:30:30 AM »
Hi aus9
... The dmesg timestamps give your TIMEOUT a one second lead to be the new winner ...
The sleep method will always wait 6 seconds regardless of if or when the  /dev/dri/  entries show up.
The Timeout method will only wait as long the  /dev/dri/  entries are not present up to a max of 10 seconds.

If you want to see the actual time spent in the Timeout code, you can
add a command to save the elapsed time to a file:
Code: [Select]
Timeout=40
while [ $Timeout -gt 0 ]
do
[ -e /dev/dri/card0 ] && [ -e /dev/dri/card1 ] && break
Timeout=$(($Timeout - 1))
sleep 0.25
done

calc '(40-'$Timeout')*.25' > Timeout.txt
The  Timeout.txt  file in your home directory will contain how many seconds it
had to wait for the  /dev/dri/  entries to show up.

Remember, the time it takes for the  /dev/dri/  entries to show up can vary with
changes made to the contents and order of extensions in your  onboot.lst  file.

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #84 on: June 04, 2023, 09:44:11 PM »
thanks Rich

to anyone piCore64-14.x
I think we may have a missing dep for firefox-perf
I have loaded a new desktop not yet ready for submission and I notice
Code: [Select]
tc@box:~$ firefox-perf
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libpci missing (t=3.57427) [GFX1-]: glxtest: libpci missing
JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 106: Error: Could not get children of file(/home/tc/.cache/mozilla/firefox/0npiijyc.default-default/thumbnails) because it does not exist
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libpci missing (t=3.57427) |[1][GFX1-]: Unrecognized feature VIDEO_OVERLAY (t=11.075) [GFX1-]: Unrecognized feature VIDEO_OVERLAY
^CExiting due to channel error.

tce-load -i libpci
firefox-perf # runs as expected

I may not have noticed before as I had inxi in my boot list which pulls pciutils dep of libpci?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1249
Re: piCore14.0 Beta
« Reply #85 on: June 04, 2023, 10:24:50 PM »
fixed the firefox-perf dep for you

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #86 on: June 05, 2023, 07:21:02 AM »
Hi Paul_123
thanks

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #87 on: June 05, 2023, 08:59:58 AM »
piCore64-14.x firefox-perf revisitted with less TCEs loaded finds it missing a dep
pcre2
My mistake, I was loading lxterminal that has that as a recursive dep....aterm found it.

also after seeing terminal snippet
Code: [Select]
firefox-perf
(firefox:6799): Gtk-WARNING **: 12:47:44.943: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
I ran
Code: [Select]
sudo gdk-pixbuf-query-loaders --update-cache or re-run the install script for gdk-pixbuf

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #88 on: June 06, 2023, 05:21:26 AM »
Hi Paul_123
mc is missing dep of pcre2 please

next command done by openssh as my new desktop is already loading pcre2. So I made my boot list without a desktop and then
Code: [Select]
tce-load -i mc
ncurses.tcz: OK
libssh2.tcz: OK
gcc_libs.tcz: OK
bzip2-lib.tcz: OK
pcre.tcz: OK
libelf.tcz: OK
gamin.tcz: OK
glib2.tcz: OK
mc.tcz: OK
tc@box:~$ mc
mc: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #89 on: June 06, 2023, 05:39:41 AM »
Hi Paul_123

EDIT
mc can run in the console....in a later post....I now thinking it might be smarter? to just add pcre2 to Xorg dep file?


I am on a roll with openssh...one of my babies leafpad missing pcre2 found by openssh too
or optionally....make it a dep of gdk-pixbuf?
Code: [Select]
tce-load -i leafpad
libXinerama.tcz: OK
libXcomposite.tcz: OK
libXrandr.tcz: OK
liblzma.tcz: OK
libxml2.tcz: OK
gcc_libs.tcz: OK
bzip2-lib.tcz: OK
pcre.tcz: OK
libelf.tcz: OK
gamin.tcz: OK
glib2.tcz: OK
shared-mime-info.tcz: OK
liblz4.tcz: OK
libzstd.tcz: OK
zstd.tcz: OK
libjpeg-turbo.tcz: OK
libtiff.tcz: OK
libpng.tcz: OK
gdk-pixbuf-query-loaders: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory
gdk-pixbuf.tcz: OK
atk.tcz: OK
fribidi.tcz: OK
graphite2.tcz: OK
harfbuzz.tcz: OK
freetype.tcz: OK
expat2.tcz: OK
fontconfig.tcz: OK
fc-cache: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory
libXft.tcz: OK
libudev.tcz: OK
libpciaccess.tcz: OK
libdrm.tcz: OK
ncurses.tcz: OK
llvm15-lib.tcz: OK
libxshmfence.tcz: OK
libXxf86vm.tcz: OK
libXdamage.tcz: OK
mesa.tcz: OK
libGLES.tcz: OK
wayland.tcz: OK
libEGL.tcz: OK
pixman.tcz: OK
cairo.tcz: OK
pango.tcz: OK
gtk-query-immodules-2.0: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory
gtk2.tcz: OK
leafpad.tcz: OK
« Last Edit: June 06, 2023, 05:55:35 AM by aus9 »