WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #15 on: June 26, 2023, 09:29:51 AM »
In preview I am getting server error already posted before about so removing lots changing terms etc

inxi -Gxxx | grep loaded....Display: server: X.org driver: X: loaded: fbturbo gpu: bcm2708_fb

I have not fiddled with partition 1 configs.

swapping out that xf86-video-fbturbo for xf86-video-fbdev for Xorg.tcz.dep
Full reboot....yep desktop appears

inxi -Gxxx | grep loaded....Display: server: X.org driver: X: loaded: fbdev unloaded: modesetting

I do not know enough about RPi to know if I am supposed to have modesetting

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14845
Re: piCore 14.0 (32 and 64 bit) release
« Reply #16 on: June 26, 2023, 12:05:28 PM »
modesetting needs graphics-KERNEL

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1263
Re: piCore 14.0 (32 and 64 bit) release
« Reply #17 on: June 26, 2023, 02:21:19 PM »
Do we still want xf86-video-fbturbo, which doesn't work in aarch64, stops xorg-3d from working in armv* and is not maintained as the default or can we move to xf86-video-fbdev?

I'm not sure fbturbo did anything significant for the Raspi, and we should just move to keep 32 and 64 bit as close as we can.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 289
Re: piCore 14.0 (32 and 64 bit) release
« Reply #18 on: June 26, 2023, 10:27:50 PM »
Do we still want xf86-video-fbturbo, which doesn't work in aarch64, stops xorg-3d from working in armv* and is not maintained as the default or can we move to xf86-video-fbdev?

I'm not sure fbturbo did anything significant for the Raspi, and we should just move to keep 32 and 64 bit as close as we can.

I don't know how well it works currently in practice, but this RPi forum post describes how fbturbo was supposed to improve X performance.

But I think that was before the Linux kernel's vc4 DRM driver was available via the Xorg "modesetting" driver. I'm not sure how well that's supported in Xorg on PiCore (EDIT: I see vc4.ko is in graphics-KERNEL.tcz, so I guess that's all you need), but in theory it would be better than either fbdev or fbturbo because it uses the GPU (I think). It's not clear how much help it is for 2D acceleration though.
« Last Edit: June 26, 2023, 10:31:53 PM by CNK »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #19 on: June 27, 2023, 03:37:36 AM »
Hi Juanito
thanks but not showing modesetting....lets leave it as I have other issues

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #20 on: June 27, 2023, 03:42:02 AM »
Hi Paul_123

I stole a bit of your build script which reads
Quote
# Export variables needed for compilation

case $(uname -m) in
   arm*)
      export CFLAGS="-flto=auto -Os -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp"
      export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp"
   ;;
   aarch64)
      export CFLAGS="-flto=auto -Os -pipe -march=armv8-a+crc -mtune=cortex-a72"
      export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -march=armv8-a+crc -mtune=cortex-a72"
   ;;
esac
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

I am attempting to copy and paste initially from my TC64 via openssh.  I am connected but inputting above...too much stuff to post but the end bits suggest it is not working as
Code: [Select]
SNIP
locale                                     zstdmt
locate                                     zsync
logger
root@box:/tmp# export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -march=armv8-a+crc -mtune=cortex-a72"
root@box:/tmp# ;;
sh: syntax error: unexpected ";;"
root@box:/tmp# esac
sh: syntax error: unexpected "esac"
root@box:/tmp# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
root@box:/tmp# uname -m
armv7l
root@box:/tmp# echo $CFLAGS
-flto=auto -Os -pipe -march=armv8-a+crc -mtune=cortex-a72

this is my first attempt to use an arch test set flag
After sshing in....I become root via sudo su
I can do it manually but any clues?

Is not possible to do it by openssh?

###############

something is wrong with first bit...it fails and then flags are being set by the arm8 commands
« Last Edit: June 27, 2023, 03:43:33 AM by aus9 »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14845
Re: piCore 14.0 (32 and 64 bit) release
« Reply #21 on: June 27, 2023, 04:07:30 AM »
In aarch64 and armv7l it gives this:
Code: [Select]
inxi -Gxxx | grep loaded
  Display: server: X.org driver: X: loaded: modesetting dri: vc4
« Last Edit: June 27, 2023, 09:21:39 AM by Juanito »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #22 on: June 27, 2023, 07:01:30 AM »
in post 20 I was using openssh copy and paste into a terminal on TC64 sshed to RPi

in this post I am on RPi with copy and paste just the flags to aterm. I am root
Code: [Select]
root@box:/tmp# export CFLAGS="-flto=auto -Os -pipe -march=armv6zk -mtune=arm1176 jzf-s -mfpu=vfp"
root@box:/tmp#
.                                   logname
:                                   logread
X                                   losetup
Xnest                               ls

SNIP

logger                              zcat
login                               zsync
root@box:/tmp# export CXXFLAGS="-flto=auto -Os -pipe -fno-exceptions -fno-rtti -
march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp"

last line is not yet input....so me thinks its first line?

EDIT if I input the bits starting from -pipe.....I am not seeing any garbage
« Last Edit: June 27, 2023, 07:03:48 AM by aus9 »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1263
Re: piCore 14.0 (32 and 64 bit) release
« Reply #23 on: June 27, 2023, 10:24:20 AM »
My build systems are all headless, so I'm ssh'd into them all the time.  I've never seen cut and paste problems like that.

I use putty for my ssh client.

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #24 on: June 27, 2023, 11:19:58 AM »
hmmm well the good news is that back on RPi I can use rxvt. I still get garbage when I copy and paste from
case $(uname -m) in.......(to) esac but
Code: [Select]
echo $CFLAGS && echo $CXXFLAGS is returning the corrrect flags. So it looks like I will build natively.
tomorrow awaits.

thanks for your feedback

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: piCore 14.0 (32 and 64 bit) release
« Reply #25 on: June 28, 2023, 10:44:30 AM »
Congrats for the effort to release version no 14!
I have one issue: I use Roon Bridge to listen to music, and in Tiny Core v 14 sound quality seems to be lower than on picore 13. It could be from new kernel, or the new ALSA, or I don’t know. Maybe someone has experimented the same.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1263
Re: piCore 14.0 (32 and 64 bit) release
« Reply #26 on: June 28, 2023, 12:50:18 PM »
Sound quality is so subjective.  I cannot say that I noticed anything.

Are you using any of the alsa plugins/conversions or the alsa hw:xxxxx   devices?

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: piCore 14.0 (32 and 64 bit) release
« Reply #27 on: June 28, 2023, 01:21:48 PM »
I agree with you that is subjective, generally speaking.
But I'm an audiophile with high-end audio gears, so any small difference in SQ is immediately perceived.
I'm using exactly the same hardware components, and stable version is Roon Bridge on piCore 64 13.1.0

And I use alsa hw:xxxx device
« Last Edit: June 28, 2023, 01:25:57 PM by cosminbro »

aus9

  • Guest
Re: piCore 14.0 (32 and 64 bit) release
« Reply #28 on: June 28, 2023, 07:19:37 PM »
on piCore64-14.x I use firefox-perf which does not need apulse, and can play youtubes without pulseaudio. Its sound sounds good to my ears.

I tend to convert to mp3 which I know causes a loss of quality and play it thru parole on bcm2835 but swapped headphones for a desktop line out. I have always kept some fav mp3s. I can not detect any significant drop in quality given its already a drop in quality. The fact that I use mp3s should confirm I am not an audiophile.  ;D

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1263
Re: piCore 14.0 (32 and 64 bit) release
« Reply #29 on: June 28, 2023, 07:46:12 PM »
Lol aus9.   Not discounting cosminbro, but I stream a lot of internet radio.  So I’m not a good candidate for evaluation either.

Since you are using the hw:xxxx card, that should mostly rule out alsa.   But the newer kernel is for sure a possibility.  There are many reports that old 3.x and early 4.x kernels sound better.  But we have to keep up with rpi versions for new hardware support.   We use basically the same kernel that RaspiOS uses.

There are many blog posts around that explain tweaks to kernel runtime parameters that are perceived to make improvements.