I just installed RaspberryPi OS Bookworm and I have the same symptoms as @hansotten, that is, a blank form appears several seconds before the main form - of course, as @rvk advised, you can close it and the application immediately appears, but it is annoying. Will have to dump Wayland and install X11.
@hansotten: fpcupdeluxe installs without a problem. You install the necessary packages:
sudo apt install libx11-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev git
you download
fpcupdeluxe-aarch64-linux (for RaspberryPi OS 64-bit), then run it and install fpc+lazarus
@rvk: from Windows at the moment you can only connect using TigerVNC:
https://sourceforge.net/projects/tigervnc/files/stable/1.13.1/when connecting there will be a message that an invalid certificate, but you click "Yes" and then it works. After connecting under the F8 key you have the VNC context menu, where you can, among other things, enable or disable fullscreen