WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 14.0 (32 and 64 bit) release  (Read 24530 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14796
Re: piCore 14.0 (32 and 64 bit) release
« Reply #60 on: July 06, 2023, 02:45:26 AM »
I think that's probably a mistake in the gtk4-dev dep file - adjusted

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11585
Re: piCore 14.0 (32 and 64 bit) release
« Reply #61 on: July 06, 2023, 01:48:28 PM »
Hi Juanito
It might be a carry over from x86_64 repos which contain:
colord-dev.tcz
colord-gir.tcz
colord-gtk-dev.tcz
colord-gtk-gir.tcz
colord-gtk.tcz
colord.tcz

The comments from http://tinycorelinux.net/14.x/x86_64/tcz/gtk4.tcz.info state:
Quote
                can optionally use the colord, libavformat4, libcups, libswscale4,
                gst-plugins-bad and rest extensions

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #62 on: July 09, 2023, 10:04:11 PM »
Hi Juanito

server error on preview so mod output does not like my xorg lines nor gtk4 stuff

I am planning on testing vkcube from vulkan-tools and have done or seen the following with no joy on modesetting
Code: [Select]
inxi -Gxxx | grep loaded
  Display: server: X.org driver: X: loaded: fbturbo

cat /var/log/Xorg.0.log | grep accel
SNIP
FBTURBO(0): G2D hardware acceleration can't be enabled
FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP

bootlist
openssh.tcz
bash.tcz
nano.tcz
mc.tcz
graphics-KERNEL.tcz
Xorg-3d.tcz
jwm.tcz
leafpad.tcz
firefox.tcz
aterm.tcz
lxterminal.tcz
pcmanfm.tcz

Code: [Select]
cat /mnt/mmcblk0p1/config.txt | grep pi4
dtoverlay=vc4-kms-v3d-pi4

I know you have modesetting.....where I am going wrong please?
« Last Edit: July 09, 2023, 10:08:49 PM by aus9 »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #63 on: July 09, 2023, 10:09:25 PM »
vkcube: /usr/src/Vulkan-Tools-1.2.141/cube/cube.c:3175: demo_init_vk: Assertion `!err' failed.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14796
Re: piCore 14.0 (32 and 64 bit) release
« Reply #64 on: July 10, 2023, 01:16:30 AM »
I know you have modesetting.....where I am going wrong please?

Did you delete the fbturbo code snippet in /usr/local/share/X11/xorg.conf.d?

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #65 on: July 10, 2023, 05:18:31 AM »
No I did not. Instead as a response I removed that TCE as a dep of Xorg
initial reboot gave me a failed for waitforX
I have made some changes to config.txt for better or for worse at my own risk etc etc

configs now
hdmi_safe=1
config_hdmi_boost=4
# dtoverlay=vc4-kms-v3d-pi4
dtoverlay=vc4-fkms-v3d

Boot list relevant bits unchanged
graphics-KERNEL.tcz
Xorg-3d.tcz
then the desktop etc

finally
Code: [Select]
inxi -Gxxx | grep loaded
  Display: server: X.org driver: X: loaded: modesetting alternate: fbdev
vkcube
vkcube: /usr/src/Vulkan-Tools-1.2.141/cube/cube.c:3175: demo_init_vk: Assertion `!err' failed.
Aborted

I know you set run dir but its not set with current TCE loaded
I know weston will set it
Code: [Select]
vulkaninfo
error: XDG_RUNTIME_DIR not set in the environment.
ERROR at /usr/src/Vulkan-Tools-1.2.141/vulkaninfo/vulkaninfo.h:240:vkEnumerateInstanceExtensionProperties failed with ERROR_INITIALIZATION_FAILED
tc@box:~$ export XDG_RUNTIME_DIR=/TMP
tc@box:~$ vulkaninfo
ERROR at /usr/src/Vulkan-Tools-1.2.141/vulkaninfo/vulkaninfo.h:240:vkEnumerateInstanceExtensionProperties failed with ERROR_INITIALIZATION_FAILED

« Last Edit: July 10, 2023, 05:24:46 AM by aus9 »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #66 on: July 10, 2023, 08:34:22 AM »
Hi Paul_123 or Juanito

found a missing dep with change to udev
Code: [Select]
epiphany &
tc@box:~/1builds$ epiphany: error while loading shared libraries: libgudev-1.0.so.0: cannot open shared object file: No such file or directory

[1]+  Done(127)                  epiphany
tc@box:~/1builds$ tce-load -i  gudev-lib
gudev-lib.tcz: OK
tc@box:~/1builds$ epiphany & # loads as expected

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #67 on: July 10, 2023, 08:42:37 AM »
arm 6/7*

mtpaint which is my baby needs an update due to libffi5 EEK
Code: [Select]
mtpaint
mtpaint: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory

I was going to show a screenshot that firefox nightly is not displaying some web pages correctly while epiphany is still good.

Anyone not using headless setup can you confirm please, otherwise I might be running with too few fonts?

https://github.com/lanoxx/tilda

at some later date.....I am tempted to look at a decent web browser for my needs too

EDIT

I forgot to mention that I solved one font issue before by unticking "allow pages to choose their own fonts"
in advanced settings for firefox.....this does not work for me at above site
and quite a few other github gitlab type sites

YMMV
« Last Edit: July 10, 2023, 08:59:47 AM by aus9 »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1499
Re: piCore 14.0 (32 and 64 bit) release
« Reply #68 on: July 11, 2023, 10:26:05 AM »
at some later date.....I am tempted to look at a decent web browser for my needs too
On x86_64 there is brave-browser.tcz. It is FOSS, based on chromium, and comes with many privacy-friendly features (e.g., anti-fingerprinting) enabled by default. I've been happy with it.

I was going to show a screenshot that firefox nightly is not displaying some web pages correctly while epiphany is still good.
Is your issue that some webpages show text with huge spaces between letters and digits, like this?

When using Brave in TCL, solution was "Settings" -> "Appearance" -> "Customize fonts", then to change every listed font type from "Custom" to one of the fonts in the pull-down menu (which are the fonts actually available on your system). End result:




« Last Edit: July 11, 2023, 10:37:44 AM by GNUser »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #69 on: July 11, 2023, 08:07:16 PM »
Hi GNUser

the image is supposed to show text to the right of data, docs etc

https://imgur.com/aqr3OUp

I looked at what fonts I have loaded, and available in piCore-14.x. I will need to add some.
However I forced a terminal font onto FF....reload shows a thinner font....so the font was accepted but still no joy on the missing text

2) I am pretty sure I will need to compile a web browser. This can wait until we have some updated packages.  TC64 can use FF and I think brave from unpack without packaging.....that does not work on arm.

It might be possible to convert  arm  debian package to TC....which is cheating....something I am highly skilled at  ;D

cheers
« Last Edit: July 11, 2023, 08:10:03 PM by aus9 »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #70 on: July 11, 2023, 11:28:04 PM »
WOO HOO

on arm32 I have converted a debian chromium and it displays my tricky test web page

I started a new post on this not to pollute TCB post any further
http://forum.tinycorelinux.net/index.php/topic,26322.0.html

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 278
Re: piCore 14.0 (32 and 64 bit) release
« Reply #71 on: July 12, 2023, 08:10:46 PM »
the image is supposed to show text to the right of data, docs etc

https://imgur.com/aqr3OUp

The Javascript on the page didn't load, or is still loading. That should be fixable, but it's too hard to understand exactly what you're doing/running so as to give further advice.

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #72 on: July 12, 2023, 10:00:57 PM »
Hi    CNK
my reply is here...to reduce my waffle on a TCB post
http://forum.tinycorelinux.net/index.php/topic,26322.0.html

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #73 on: July 13, 2023, 10:10:19 PM »
Hi Paul_123

arm 7 Maybe alsa-utils needs alsa as a dep?
Code: [Select]
tce-load -i alsa-utils
alsa-utils.tcz: OK
tc@box:~$ alsamixer
ALSA lib conf.c:4556:(snd_config_update_r) Cannot access file /usr/local/share/alsa/alsa.conf
ALSA lib control.c:1529:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory

tce-load -i alsa
alsamixer # works as expected

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #74 on: July 14, 2023, 02:55:51 AM »
hi Paul_123

There is a difference in your kernel lines to enable/disable headphones and hdmi.

For reasons I can not explain....the kernel line that works for arm8 piCore-14.x reads in part
Quote
snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1
snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0

I am now confused by above anyhow the main thing is you have enable headphones disabled hdmi and
Code: [Select]
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

# no card1

arm7 kernel line similar for headphones....disabled then enabled but
hdmi is enabled and there is no string to disable it.

For those who want a temporary fix and use line out/headphone,
here is my suggestion add to bootlocal.sh after confirming with root powers aplay results in headphones only output

Quote
rmmod snd_bcm2835
modprobe snd_bcm2835 options enable_headphones=1 enable_hdmi=0

thanks for reading