Recent

Author Topic: Lazarus Install PI5 Bookworm  (Read 1352 times)

andrew Bubble

  • Jr. Member
  • **
  • Posts: 57
Lazarus Install PI5 Bookworm
« on: November 28, 2023, 07:47:28 pm »
Hi All

I have installed fpc and Lazarus on a Raspberry PI 5 (bookworm) using the "sudo apt install fpc lazarus-ide" from a terminal.

Everything seems to be working except for two strange things, when the Lazarus first boots up there is a very small window which comes on just after the splash screen then after about say a minute Lazarus starts as normal, if I expand this small window all it says at the top is Lazarus and nothing else

I cannot see any issues when trying to build an application, however when I try to run an application another small window appears, if expand this all it says at the top is project 1.

For your information the version details at the bottom of the splash screen are 2.2.6+dfsg2-2.

I have tried the install on both 32 bit and 64 bit and the two small windows appears exaclty on both.

paweld

  • Hero Member
  • *****
  • Posts: 944
Re: Lazarus Install PI5 Bookworm
« Reply #1 on: November 28, 2023, 09:03:29 pm »
Hi,       
Unfortunately, this is a Wayland problem, which RaspberryPi OS Bookworm uses by default. After switching to X11, the problem you described does not appear. To switch rpiOS to use X11 run a terminal and type:
Code: [Select]
sudo raspi-config nonint do_wayland W1and then restart the system
Best regards / Pozdrawiam
paweld

andrew Bubble

  • Jr. Member
  • **
  • Posts: 57
Re: Lazarus Install PI5 Bookworm
« Reply #2 on: November 28, 2023, 09:16:27 pm »
Hi Paweld

Yes that works fine, I assume if I need to deploy any applications on another Raspberry PI using the latest OS Bookworm I will need to do the same on that pi as well.

Regards Andrew

paweld

  • Hero Member
  • *****
  • Posts: 944
Re: Lazarus Install PI5 Bookworm
« Reply #3 on: November 28, 2023, 09:26:57 pm »
Yes.
Or patiently wait those dozen / tens of seconds for it to show the application :-)
Best regards / Pozdrawiam
paweld

TRon

  • Hero Member
  • *****
  • Posts: 2280
Re: Lazarus Install PI5 Bookworm
« Reply #4 on: November 28, 2023, 09:49:59 pm »
Wasn't this addressed recently with/in 3.0 RC2 fixes (40413) ?


paweld

  • Hero Member
  • *****
  • Posts: 944
Re: Lazarus Install PI5 Bookworm
« Reply #5 on: November 28, 2023, 10:42:37 pm »
@TRon - I will check again tomorrow, but rather not, a month and a half ago I checked has rpi4 with rpios 12 64bit and laz trunk and had to wait ( https://forum.lazarus.freepascal.org/index.php/topic,64874.0.html ). And the closing of the application is from 3 months ago.
Best regards / Pozdrawiam
paweld

TRon

  • Hero Member
  • *****
  • Posts: 2280
Re: Lazarus Install PI5 Bookworm
« Reply #6 on: November 29, 2023, 01:21:23 am »
@paweld:
If not mistaken then both threads seem to be referring to Lazarus 2.2.6 while the mentioned fixes are present in 3.0rc2 so in case you already checked the latter and still experience (the same) issues then it might be worth considering re-opening or creating a new bugreport.

The pi OS has switched recently to wayland so it might be there are still issues in/with the OS itself. Unfortunately I can't test myself as all my pi's are occupied atm (and am still waiting for new ones to arrive). Dunno if the same behaviour shows itself on the desktop version of Pi OS.

Also I dunno when Lazarus 3.0 is to be released, in case is soon(-ish) then it would be more or less cumbersome to test with a release candidate (assuming you wish to update when Lazarus 3.0 release is being published).

paweld

  • Hero Member
  • *****
  • Posts: 944
Re: Lazarus Install PI5 Bookworm
« Reply #7 on: November 29, 2023, 01:36:00 pm »
@TRon: I checked again and unfortunately there is still a problem with the wait time to show the correct window on RaspberryPi OS Bookworm on Wayland and Wayfire window manager.
rpi 5, rpi os 12 64bit, Lazarus trunk/fpc trunk.

I won't open a issue for now - I'll check if on another Linux with Wayfire there is also this problem
Best regards / Pozdrawiam
paweld

 

TinyPortal © 2005-2018