WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 17 Beta Releases  (Read 2148 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15718
Re: piCore 17 Beta Releases
« Reply #15 on: July 17, 2026, 06:49:40 AM »
Testing beta2 on an RPi5 loading Xorg-3d, flwm, aterm, and wbar, the gui will not start without the following file:
Code: [Select]
cat /usr/local/share/X11/xorg.conf.d/99-vc4.conf
Section "OutputClass"
  Identifier "vc4"
  MatchDriver "vc4"
  Driver "modesetting"
  Option "PrimaryGPU" "true"
EndSection

I'm not sure if this is due to the changes with the frame buffer or a problem with the xorg-server startup script:
Code: [Select]
cat /usr/local/tce.installed/xorg-server
...
REVISION=$(awk -F: '/^Revision/ { print $2 }' /proc/cpuinfo | sed 's/ //g')
REVISION=${REVISION: -6}
case ${REVISION:2:1} in
    3|4) #BCM2711 and BCM2712 CPU"
        break
    ;;
    0|1|2) #BCM2835, BCM2836 and BCM2837 CPUS, all early VC4 Graphics
        cp /usr/local/share/xorg-server/files/99-vc4.conf /usr/local/share/X11/xorg.conf.d
    ;;
    *) #Unknown CPU
        break
    ;;
esac

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1598
Re: piCore 17 Beta Releases
« Reply #16 on: July 18, 2026, 01:38:02 PM »
The change was on the older pies pi3 and less.  The pi5 should not have changed.....but its something they don't make known all the time.

But I concur, that my pi5 needs it too.
« Last Edit: July 18, 2026, 01:44:16 PM by Paul_123 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15718
Re: piCore 17 Beta Releases
« Reply #17 on: July 23, 2026, 04:58:28 AM »
I tested piCore64 17beta2 on an RPi4 - 99-vc4.conf is not needed for Xorg-3d to work.

Offline meo

  • Hero Member
  • *****
  • Posts: 725
Re: piCore 17 Beta Releases
« Reply #18 on: July 23, 2026, 04:13:37 PM »
Hi!

I just had to try piCore64 beta 2 on my faithful Raspberry Pi 4. It showed when I was loading Xorg-3d that
graphics-6.18.37-piCore-v8 was missing. I downloaded it and now Xorg-3d works and loads in a very nice manner. So RPi 4 can also use piCore64 beta 2 with Xorg-3d, It seems that a few bugs still have to be squashed in this release though.

Kind greetings,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15718
Re: piCore 17 Beta Releases
« Reply #19 on: July 24, 2026, 06:32:06 AM »
Which bugs are you speaking of?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12925
Re: piCore 17 Beta Releases
« Reply #20 on: July 24, 2026, 08:49:23 AM »
Hi meo
... It showed when I was loading Xorg-3d that
graphics-6.18.37-piCore-v8 was missing. ...
These are the contents of  Xorg-3d.tcz.dep:
Code: [Select]
Xorg.tcz
graphics-KERNEL.tcz
libGLES.tcz
libEGL.tcz
So when you installed  Xorg-3d , it would have installed  graphics-KERNEL.
Maybe you updated the kernel but not  graphics-KERNEL?

If you run:
Code: [Select]
ls -l /etc/sysconfig/tcedir/optional/graphics-*.tczdo you see multiple versions of graphics-KERNEL?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15718
Re: piCore 17 Beta Releases
« Reply #21 on: July 24, 2026, 09:42:47 AM »
After adding dtoverlay=vc4-kms-v3d, Xorg-3d works on an RPi3 running piCore 17beta2, so the startup script only needs modifying for an RPi5

Offline meo

  • Hero Member
  • *****
  • Posts: 725
Re: piCore 17 Beta Releases
« Reply #22 on: July 24, 2026, 11:28:40 AM »
Hi Juanito!

I can tell you exactly what I have done to make Xorg3d work also on Raspberry Pi 4. I even have done a fresh install so that I easier can find out why things happen. What I do: from the first time starting the GUI I decide what I want to have ondemand and install it as so. After that comes a funny thing that I discovered when I couldn't install Xorg-3d from the prompt. I downloaded it to my personal repo on the micro SD card. I made another try and now something happened. Packets were installed until it reached the error "graphics/6.18.37-piCore-v8 is missing". I started the GUI and downloaded the missing package *I just downloaded it". Back to the prompt typing: tce-load -i Xorg-3d.tcz and then a lot of packages were scanned and I could see an OK at everyone finalizing with Xorg-3d.tcz OK and Xorg.tcz ) OK and a green prompt. I just gave the obvious command "startx", and it did. That is the way I have it setup as a fresh install. There is a but though I get the same problem with Pragtical as before. I was thinking, could that be fixed, the Pragmatic'al' problem, by making a change in .ashrc. If there is another solution I'm all ears since I can't make Pragmatic work on a Raspberry Pi 4.

Kind greetings,
meo

PS Sometimes the screen flickers when loading Xorg-3d but it stops and gives you a prompt to start the GUI DS
« Last Edit: July 24, 2026, 11:46:22 AM by meo »
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15718
Re: piCore 17 Beta Releases
« Reply #23 on: July 25, 2026, 11:25:26 AM »
Sometimes the screen flickers when loading Xorg-3d but it stops and gives you a prompt to start the GUI DS

Using piCore64 on an RPi4/5, when graphics-KERNEL is loaded the screen will blank and you will see a different console font on high resolution displays.

Using piCore on an RPi3, when graphics-KERNEL is loaded the screen will blank, but you will see the same console font. Some times the gui will not start (due to module load timing issues?) and you will need to manually startx.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12925
Re: piCore 17 Beta Releases
« Reply #24 on: July 25, 2026, 01:44:05 PM »
Hi Juanito
... Some times the gui will not start (due to module load timing issues?) and you will need to manually startx.
I've had the same issue on a couple of x86/x86_64 systems and it was
a timing issue. In my case, it was  /dev/dri/card0  not showing up on time.

To fix it, I placed this at the beginning of ~/.xsession:
Code: [Select]
while [ $Timeout -lt 40 ]
do
[ -e /dev/dri/card0 ] && break
Timeout=$(($Timeout + 1))
sleep 0.25
done
It tests for the existence of  /dev/dri/card0  every 0.25 seconds.
The loop terminates when /dev/dri/card0 is detected or after 10 seconds.

When the GUI fails to start, run this:
Code: [Select]
grep '(EE)' /var/log/Xorg.0.logOne of those error messages should tell you what's not showing up on time.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1598
Re: piCore 17 Beta Releases
« Reply #25 on: July 25, 2026, 02:02:41 PM »
Should we fix that in .xsession.  If one is using Xorg-3d the should be some sort of gpu loading.....or is it too different between systems
« Last Edit: July 25, 2026, 02:06:22 PM by Paul_123 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12925
Re: piCore 17 Beta Releases
« Reply #26 on: July 25, 2026, 02:17:31 PM »
Hi Paul_123
Assuming it's always the same item causing the issue, /dev/dri/card0
for example, then this should work:
Code: [Select]
if tce-status -i | grep -qE "Xorg.*3d"
then
while [ $Timeout -lt 40 ]
do
[ -e /dev/dri/card0 ] && break
Timeout=$(($Timeout + 1))
sleep 0.25
done
fi
That should only execute if Xorg 3d is loaded.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1598
Re: piCore 17 Beta Releases
« Reply #27 on: July 26, 2026, 11:45:15 AM »
wayland seems to run okay on the pi5.

Whats the thought for this point in 2026?   Should we really be moving to wayland wl_roots sway xwayland configuration?   And drop xorg from default dependancies?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15718
Re: piCore 17 Beta Releases
« Reply #28 on: July 26, 2026, 12:36:51 PM »
We could think about moving to labwc, which with labwc-config gives a tc-like dynamic menu.

A move to wayland perhaps makes more sense if we drop x11 - this would eliminate many extensions and fltk, gtk3 and gtk4 apps would all work.

Offline meo

  • Hero Member
  • *****
  • Posts: 725
Re: piCore 17 Beta Releases
« Reply #29 on: July 27, 2026, 08:36:47 AM »
Hello!

I'm very impressed how piCore64 v17beta2 works on my Raspberry Pi 4. No problems at all and I have all the programs I need handy and it's a breeze to load the Xorg-3d.tcz.  As I mentioned before I only download Xorg-3d.tcz and graphics-6.18.37-piCore-v8.tcz. If I don't have them downloaded I get an error message saying that they are missing. So the only thing I have to do to be able to use for example pragtical is to, from the prompt, issue the command tce-load -i Xorg-3d.tcz followed by startx at the prompt. It loads and everything works flawlessly. I have installed my database and it works perfect also. So now I have started on my BHP project in Python on the RPi4 because it's more convenient. So a big thanks to all that have worked on this release! Now I don't get surprises on any kind, it just works.

Kind greetings,
meo

PS The only thing I have to worry about is the size of the backup. It's already about 74.5MB DS

« Last Edit: July 27, 2026, 09:11:24 AM by meo »
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire