WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore15.0 Beta  (Read 13768 times)

Offline yvs

  • Jr. Member
  • **
  • Posts: 69
Re: piCore15.0 Beta
« Reply #75 on: August 24, 2024, 09:24:46 AM »
Code: [Select]
% uname -a
Linux box 6.6.34-piCore-v7 #18 SMP Wed Jun 19 12:59:04 EDT 2024 armv7l GNU/Linux

running glxgears with v4-kms in config:
Code: [Select]
% top -n10 | head -10
Mem: 457868K used, 485156K free, 20660K shrd, 2344K buff, 263728K cached
CPU: 46.3% usr  2.4% sys  0.0% nic 51.2% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 2.64 2.87 2.55 6/136 9277
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 3430  2715 tc       R     177m 19.1   1 44.0 glxgears
 2727  2715 tc       S     162m 17.5   0  2.3 lxterminal
 2676     1 root     S     100m 10.8   0  2.3 /usr/local/lib/xorg/Xorg -nolisten
 2734     1 tc       S    44732  4.7   2  0.0 {at-spi-bus-laun} /usr/local/lib/a
 2757     1 tc       S    36428  3.8   1  0.0 {at-spi2-registr} /usr/local/lib/a
 2682     1 tc       S    13272  1.4   0  0.0 flwm_topside

running glxgears with v4-fkms:
Code: [Select]
% top -n10 | head -10
Mem: 449144K used, 493888K free, 19084K shrd, 2344K buff, 237456K cached
CPU:  2.3% usr  2.3% sys  0.0% nic 95.2% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.48 0.27 0.11 2/134 8438
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 2665     1 root     S     112m 12.1   1  3.1 /usr/local/lib/xorg/Xorg -nolisten
 8432  4650 tc       S    75084  7.9   3  1.5 glxgears
 8396  4650 tc       S     163m 17.6   2  0.0 lxterminal
 8403     1 tc       S    44768  4.7   2  0.0 {at-spi-bus-laun} /usr/local/lib/a
 8426     1 tc       S    36428  3.8   1  0.0 {at-spi2-registr} /usr/local/lib/a
 2674     1 tc       S    13340  1.4   2  0.0 flwm_topside
« Last Edit: August 24, 2024, 09:28:50 AM by yvs »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: piCore15.0 Beta
« Reply #76 on: August 24, 2024, 02:54:02 PM »
it looks like software rendering and visually slower comparing to v4-fkms

with v4-kms line in config

It looks like you’re missing something - the modesetting driver is not loaded, did you update both xorg-server and Xorg-3d?

Offline yvs

  • Jr. Member
  • **
  • Posts: 69
Re: piCore15.0 Beta
« Reply #77 on: August 24, 2024, 03:05:31 PM »
it looks like software rendering and visually slower comparing to v4-fkms

with v4-kms line in config

It looks like you’re missing something - the modesetting driver is not loaded, did you update both xorg-server and Xorg-3d?

yep, firstly updated via "Apps", then after getting it not worked: Xorg removed and downloaded with 'tce-load -wl' to be sure
Code: [Select]
% ls -l /mnt/mmcblk0p2/tce/optional/Xorg*
-rw-rw-r--    1 tc       staff         4096 Aug 24 11:35 /mnt/mmcblk0p2/tce/optional/Xorg-3d.tcz
-rw-rw-r--    1 tc       staff           52 Aug 24 11:35 /mnt/mmcblk0p2/tce/optional/Xorg-3d.tcz.dep
-rw-rw-r--    1 tc       staff           46 Aug 24 11:35 /mnt/mmcblk0p2/tce/optional/Xorg-3d.tcz.md5.txt
-rw-rw-r--    1 tc       staff      1564672 Jun 28 20:40 /mnt/mmcblk0p2/tce/optional/Xorg-fonts.tcz
-rw-rw-r--    1 tc       staff           49 Jun 28 20:40 /mnt/mmcblk0p2/tce/optional/Xorg-fonts.tcz.md5.txt
-rw-rw-r--    1 tc       staff         4096 Aug 24 11:35 /mnt/mmcblk0p2/tce/optional/Xorg.tcz
-rw-rw-r--    1 tc       staff          120 Aug 24 11:35 /mnt/mmcblk0p2/tce/optional/Xorg.tcz.dep
-rw-rw-r--    1 tc       staff           43 Aug 24 11:35 /mnt/mmcblk0p2/tce/optional/Xorg.tcz.md5.txt

% ls -l /mnt/mmcblk0p2/tce/optional/xorg*
-rw-rw-r--    1 tc       staff       307200 Jul  3 23:34 /mnt/mmcblk0p2/tce/optional/xorg-proto.tcz
-rw-rw-r--    1 tc       staff           16 Jul  3 23:33 /mnt/mmcblk0p2/tce/optional/xorg-proto.tcz.dep
-rw-rw-r--    1 tc       staff           49 Jul  3 23:34 /mnt/mmcblk0p2/tce/optional/xorg-proto.tcz.md5.txt
-rw--w----    1 tc       staff      2674688 Aug 24 08:49 /mnt/mmcblk0p2/tce/optional/xorg-server.tcz
-rw-rw-r--    1 tc       staff           86 Aug 24 10:21 /mnt/mmcblk0p2/tce/optional/xorg-server.tcz.dep
-rw-rw-r--    1 tc       staff           50 Aug 24 10:21 /mnt/mmcblk0p2/tce/optional/xorg-server.tcz.md5.txt
« Last Edit: August 24, 2024, 03:09:23 PM by yvs »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: piCore15.0 Beta
« Reply #78 on: August 24, 2024, 05:36:33 PM »
Hi yvs
Try running an update like this:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
exitcheck.sh reboot

Offline yvs

  • Jr. Member
  • **
  • Posts: 69
Re: piCore15.0 Beta
« Reply #79 on: August 24, 2024, 06:32:28 PM »
Hi yvs
Try running an update like this:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
exitcheck.sh reboot

Code: [Select]
% tce-audit builddb
Building Extension Database from /etc/sysconfig/tcedir/optional
....................................................................................

% tce-audit updatedeps
Updating .dep files from /etc/sysconfig/tcedir/optional
...
Building Extension Database from /etc/sysconfig/tcedir/optional
....................................................................................

% tce-audit fetchmissing
flac-dev is already downloaded.
libX11-dev is already downloaded.
libXau-dev is already downloaded.
libXdmcp-dev is already downloaded.
libXv-dev is already downloaded.
libXvmc is already downloaded.
Downloading: libacl-dev.tcz
Error on libacl-dev.tcz
libpsl-dev is already downloaded.
libsndfile is already downloaded.
libsoup is already downloaded.
libxcb-dev is already downloaded.
neon is already downloaded.

% tce-update
Checking for Easy Mode Operation... OK

Press Enter key to begin batch update of extensions in /mmcblk0p2/tce
or enter any char to exit now:
Checking Tiny Core Applications in /mnt/mmcblk0p2/tce/optional
Error Could not verify at-spi2-atk-dev.tcz
Error Could not verify at-spi2-atk.tcz
Error Could not verify atk-dev.tcz
Error Could not verify atk.tcz

Fetching required dependency: libX11-dev md5sum: can't open 'libX11-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libX11-dev': No such file or directory
Fetching required dependency: libxcb-dev md5sum: can't open 'libxcb-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libxcb-dev': No such file or directory
Fetching required dependency: libXau-dev md5sum: can't open 'libXau-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libXau-dev': No such file or directory
Fetching required dependency: libXdmcp-dev md5sum: can't open 'libXdmcp-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libXdmcp-dev': No such file or directory
Errors occurred during upgrade. Press Enter to see /tmp/upgrade_errors.lst

Your system is up-to-date.
Press Enter key.     

% tce-load -wl libX11-dev libxcb-dev libXau-dev libXdmcp-dev
libX11-dev is already downloaded.
libxcb-dev is already downloaded.
libXau-dev is already downloaded.
libXdmcp-dev is already downloaded.

% tce-load -wl at-spi2-atk at-spi2-atk-dev atk atk-dev
at-spi2-atk is already downloaded.
at-spi2-atk-dev is already downloaded.
atk is already downloaded.
atk-dev is already downloaded.

% exitcheck.sh reboot

and
Code: [Select]
   ( '>')
  /) TC (\   Core is distributed with ABSOLUTELY NO WARRANTY.
 (/-_--_-\)           www.tinycorelinux.net

failed in waitforX
tc@box:~$

in this time Xorg said neither fb0 nor dri/card0 are found
Code: [Select]
(EE) open /dev/fb0: No such file or directory
(EE) open /dev/dri/card0: No such file or directory

sometimes it's just "(EE) open /dev/dri/card0: No such file or directory" when xorg tries to work with it and that jumped to card1, but v4-kms usually works with framebuffer and there's x session via framebuffer.

p.s. with v4-fkms it works as that supposed to be on rpi3 in any configuration that I've had

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: piCore15.0 Beta
« Reply #80 on: August 24, 2024, 09:47:56 PM »
Hi yvs
I'm not sure what's going on there.

In reply #75 you posted:
Code: [Select]
% uname -a
Linux box 6.6.34-piCore-v7 #18 SMP Wed Jun 19 12:59:04 EDT 2024 armv7l GNU/Linux
...

In reply #79 you show this:
...
Code: [Select]
----- Snip -----
% tce-update
Checking for Easy Mode Operation... OK

Press Enter key to begin batch update of extensions in /mmcblk0p2/tce
or enter any char to exit now:
Checking Tiny Core Applications in /mnt/mmcblk0p2/tce/optional
Error Could not verify at-spi2-atk-dev.tcz
Error Could not verify at-spi2-atk.tcz
Error Could not verify atk-dev.tcz
Error Could not verify atk.tcz

Fetching required dependency: libX11-dev md5sum: can't open 'libX11-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libX11-dev': No such file or directory
Fetching required dependency: libxcb-dev md5sum: can't open 'libxcb-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libxcb-dev': No such file or directory
Fetching required dependency: libXau-dev md5sum: can't open 'libXau-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libXau-dev': No such file or directory
Fetching required dependency: libXdmcp-dev md5sum: can't open 'libXdmcp-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libXdmcp-dev': No such file or directory
Errors occurred during upgrade. Press Enter to see /tmp/upgrade_errors.lst

 ----- Snip -----
...
The  at-spi2-atk  and  atk  extensions don't exist in the  armhf  (v7) repository.
They do exist in the  aarch64  (v8) repository. Are you mixing extensions from
two different repositories?

I also don't understand where all those other extension (libX11-dev, libxcb-dev,
 libXau-dev, and libXdmcp-dev) errors are coming from.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: piCore15.0 Beta
« Reply #81 on: August 25, 2024, 03:30:13 AM »
Here's what you should get with xorg 3d working using vc4-kms-v3d on an RPi3:
Code: [Select]
glxinfo
...
    Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Broadcom (0x14e4)
    Device: VC4 V3D 2.1 (0xffffffff)
    Version: 24.1.4
    Accelerated: yes
    Video memory: 920MB
...

Code: [Select]
inxi -Ga
Graphics:
  Device-1: bcm2835-hdmi driver: vc4_hdmi v: N/A bus-ID: N/A
    chip-ID: brcm:3f902000 class-ID: hdmi
  Device-2: bcm2835-vc4 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:soc
    class-ID: gpu
  Display: server: X.org driver: X: loaded: modesetting
    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 screens: 1
  Screen-1: 0 s-res: 2048x1152 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Dell U2720Q serial: JT61X13
    built: 2020 res: 2048x1152 hz: 60 dpi: 87 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 2048x1152 min: 720x400
  API: OpenGL v: 2.1 vendor: broadcom mesa v: 24.1.4 glx-v: 1.4 es-v: 2.0
    direct-render: yes renderer: VC4 V3D 2.1 device-ID: 14e4:ffffffff
    memory: 898.4 MiB unified: yes
« Last Edit: August 25, 2024, 03:50:30 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: piCore15.0 Beta
« Reply #82 on: August 25, 2024, 03:41:19 AM »
The  at-spi2-atk  and  atk  extensions don't exist in the  armhf  (v7) repository.
They do exist in the  aarch64  (v8) repository. Are you mixing extensions from
two different repositories?

at-spi2-atk and atk were recently removed from the armhf repo as at-spi2-core now supplies at-spi2-atk and atk

Offline yvs

  • Jr. Member
  • **
  • Posts: 69
Re: piCore15.0 Beta
« Reply #83 on: August 25, 2024, 06:28:58 AM »
Hi yvs
I'm not sure what's going on there.

In reply #75 you posted:
Code: [Select]
% uname -a
Linux box 6.6.34-piCore-v7 #18 SMP Wed Jun 19 12:59:04 EDT 2024 armv7l GNU/Linux
...

In reply #79 you show this:
...
Code: [Select]
----- Snip -----
% tce-update
Checking for Easy Mode Operation... OK

Press Enter key to begin batch update of extensions in /mmcblk0p2/tce
or enter any char to exit now:
Checking Tiny Core Applications in /mnt/mmcblk0p2/tce/optional
Error Could not verify at-spi2-atk-dev.tcz
Error Could not verify at-spi2-atk.tcz
Error Could not verify atk-dev.tcz
Error Could not verify atk.tcz

Fetching required dependency: libX11-dev md5sum: can't open 'libX11-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libX11-dev': No such file or directory
Fetching required dependency: libxcb-dev md5sum: can't open 'libxcb-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libxcb-dev': No such file or directory
Fetching required dependency: libXau-dev md5sum: can't open 'libXau-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libXau-dev': No such file or directory
Fetching required dependency: libXdmcp-dev md5sum: can't open 'libXdmcp-dev.tcz': No such file or directory
Failed
rm: can't remove '/tmp/libXdmcp-dev': No such file or directory
Errors occurred during upgrade. Press Enter to see /tmp/upgrade_errors.lst

 ----- Snip -----
...
The  at-spi2-atk  and  atk  extensions don't exist in the  armhf  (v7) repository.
They do exist in the  aarch64  (v8) repository. Are you mixing extensions from
two different repositories?

I also don't understand where all those other extension (libX11-dev, libxcb-dev,
 libXau-dev, and libXdmcp-dev) errors are coming from.

It's RPi3 with not so long ago (month two) installed TCL and a couple updates via Apps plus 'tce-load' if some packages were needed.
I'd suppose that 'tce-audit' script doesn't take into account periodical possible changes in TCL repository.

Offline yvs

  • Jr. Member
  • **
  • Posts: 69
Re: piCore15.0 Beta
« Reply #84 on: August 25, 2024, 06:41:06 AM »
Code: [Select]
  API: OpenGL v: 2.1 vendor: broadcom mesa v: 24.1.4 glx-v: 1.4 es-v: 2.0
So, API versions are the same as with v4-fkms. I think I will stay with v4-fkms until v4-kms is polished (fighting with v4-kms takes too much time).

Offline yvs

  • Jr. Member
  • **
  • Posts: 69
Re: piCore15.0 Beta
« Reply #85 on: August 28, 2024, 07:33:32 PM »
Hi yvs
I'm not sure what's going on there.

In reply #75 you posted: ...
In reply #79 you show this: ...
The  at-spi2-atk  and  atk  extensions don't exist in the  armhf  (v7) repository.
They do exist in the  aarch64  (v8) repository. Are you mixing extensions from
two different repositories?

I also don't understand where all those other extension (libX11-dev, libxcb-dev,
 libXau-dev, and libXdmcp-dev) errors are coming from.

having time to look a bit more into details (besides atk related things clarified by @Juanito:
"at-spi2-atk and atk were recently removed from the armhf repo as at-spi2-core now supplies at-spi2-atk and atk")

Errors on libX11-dev, libxcb-dev, libXau-dev, and libXdmcp-dev:
it comes from libvulkan-1.3.283.tcz.dep, I'm not sure if that's from a local build or it came from repo some time ago too, like atk stuff

Error on libacl-dev:
- this artifact is still present in repo:
Code: [Select]
% wget -q -O - http://repo.tinycorelinux.net/15.x/armhf/tcz/gettext-dev.tcz.dep
gettext.tcz
libacl-dev.tcz
libxml2-dev.tcz
ncurses-dev.tcz

% wget http://repo.tinycorelinux.net/15.x/armhf/tcz/libacl-dev.tcz
--2024-08-28 22:58:16--  http://repo.tinycorelinux.net/15.x/armhf/tcz/libacl-dev.tcz
Resolving repo.tinycorelinux.net... 128.127.66.77
Connecting to repo.tinycorelinux.net|128.127.66.77|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-08-28 22:58:16 ERROR 404: Not Found.

I've not cleaned up optional/ to not download a lot of files again and suppose that removing all optional/ files and redownloading the needed can make tce-audit work with less complaints
« Last Edit: August 28, 2024, 07:43:57 PM by yvs »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: piCore15.0 Beta
« Reply #86 on: August 28, 2024, 09:15:16 PM »
Hi yvs
libacl-dev.tcz  does not appear to be in the  armhf  or  aarch64
repositories. Maybe paul-123 forgot to upload them ?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1268
Re: piCore15.0 Beta
« Reply #87 on: August 28, 2024, 10:31:32 PM »
The package is acl-dev.tcz.  I don't think there ever has been a libacl-dev.  On arm, libacl is split out, but the dev package is still acl-dev.

I'm not sure how gettext-dev.tcz got libacl-dev referenced.  Looks like the dep file for gettext-dev was just updated a couple of weeks ago.......  I'll fix it.
« Last Edit: August 28, 2024, 10:33:22 PM by Paul_123 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: piCore15.0 Beta
« Reply #88 on: August 29, 2024, 03:59:22 AM »
I'm not sure how gettext-dev.tcz got libacl-dev referenced.  Looks like the dep file for gettext-dev was just updated a couple of weeks ago.

Looks like my typo ☹️

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: piCore15.0 Beta
« Reply #89 on: August 29, 2024, 04:03:46 AM »
Errors on libX11-dev, libxcb-dev, libXau-dev, and libXdmcp-dev:
it comes from libvulkan-1.3.283.tcz.dep

Which repo are you speaking of - libvulkan doesn’t have a dep file..
« Last Edit: August 29, 2024, 04:05:22 AM by Juanito »