Page 1 of 1

Raspberry Pi OS 64 Bit

Posted: Sat Oct 21, 2023 4:15 pm
by C87
The 64 bit version of the Raspberry Pi OS is now available for download.
Release date was on the 10th Of October but will only go on the Pi4 series. Seems Ok and meant I could install the Brave browser, which I did but cannot get Tor to work but it will no doubt be fixed. All I need to do now is to go through the fraught process (for me ) of installing Purebasic.
Otherwise seems fine with a few updates included and I get the feeling it is quicker than the 32bit OS.

Re: Raspberry Pi OS 64 Bit

Posted: Sat Oct 21, 2023 5:13 pm
by mk-soft
Purebasic for Raspberry has been around since v6.00 (Arm32/Arm64)
The Arm version can also be used on other Arm systems with Linux.

I just unpacked v6.03 LTS and it runs as expected.
If you follow the INSTALL instructions, there should be no problems.

A current version of INSTALL is available here. Simple Install of Purebasic ...

Re: Raspberry Pi OS 64 Bit

Posted: Mon Oct 23, 2023 6:03 pm
by C87
@mk-soft you were correct. PureBasic did install Ok onto the Raspberry Pi4 16Bit by following your routine that is included in the package.
I've created a new project and pulled in a program and it's database from Windows 10Pror. However, it fails on a line where I'm loading image files.
It loads 18 image files but falls over on the 19th on the line with the following code

IncludeBinary "images" + #PS$ + "SafeOpen.png"

All of the 18 others use the same code and all of the .png files are in the /images folder and all names correctly named and cased.
It just errors out with INCLUDED FILE NOT FOUND No idea why though. I did wonder if using the 6.02 files from Windows could be the cause. So I created 16 new programs on the RaspberryPi and imported the code. But no change. I've copied a more trivial program and that is Ok.

Mind you PureBasic 6.03 seems a little buggy on the Raspberry anyway. When editing a program it has crashed around five times resulting in total loss of changes. And it crashes right out to system startup, shutting everything down and I need to enter the password to restart. It never wants the password when switched on, so it is a total crash to system start.

I'm leaving it for now as I've no idea if it is the new R-Pi OS or PureBasic 6.03 causing the issue. I'll get back to my Tkinter and come back to the RaspberryPi and PureB in a week or so.

Re: Raspberry Pi OS 64 Bit

Posted: Mon Oct 23, 2023 6:14 pm
by mk-soft
Check the lower case of the path and file names. This is relevant for linux.

The Purebasic IDE gkt3 does crash for me too.
Maybe start the IDE purebasic_gtk2.

Unfortunately, the debug output still has a quirk and the output must be smaller than 16000 characters.

Re: Raspberry Pi OS 64 Bit

Posted: Thu Oct 26, 2023 10:25 pm
by mk-soft
The crash should be fixed with this change in the IDE
Link: viewtopic.php?t=82749

Re: Raspberry Pi OS 64 Bit

Posted: Fri Oct 27, 2023 5:30 pm
by C87
Many thanks for your posts mk-soft. I'll take a look through those but can't say I really know what I'm doing.

The error I was getting was a mystery. The program is only about 4,450 lines but has been in daily use in Windows for a couple of years without any problems. I fixed the image issue by moving a copy of the file SafeOpen.png into the program folder from the images subfolder and it worked. It also loaded all of the prior and following images without error. It then came up with a variable not defined that was. So I gave up. Then after a couple of days it proceeded past that error but came up with another that I have to look at. So all in all a bit irritating. My bother is that once I've cleared these hurdles once compiled will the executable then fall over unexplainably? We'll see I keep dipping in and out. I was going to leave it but you always find time to do something you shouldn't be doing!

Regards the Tor in Brave on the Raspberry Pi4 X64. It appears that Tor for Linux is compiled on X86 architecture and won't run on X64 Linux. Brave itself is only available in X64 on the RPi4. I'll just do without Tor because the Brave browser helps itself to a lot less from my PC than Chrome, or Edge for that matter.

Re: Raspberry Pi OS 64 Bit

Posted: Sat Oct 28, 2023 12:39 pm
by mk-soft
@C97

Read your private messages !

Re: Raspberry Pi OS 64 Bit

Posted: Sat Oct 28, 2023 7:51 pm
by Kuron
mk-soft wrote: Sat Oct 21, 2023 5:13 pm The Arm version can also be used on other Arm systems with Linux.
Stupid question, but on an ARM Chromebook, under the Linux Development Environment, in theory one could install the ARM version?

Re: Raspberry Pi OS 64 Bit

Posted: Sun Oct 29, 2023 10:21 am
by mk-soft
Kuron wrote: Sat Oct 28, 2023 7:51 pm
mk-soft wrote: Sat Oct 21, 2023 5:13 pm The Arm version can also be used on other Arm systems with Linux.
Stupid question, but on an ARM Chromebook, under the Linux Development Environment, in theory one could install the ARM version?
However, a Linux OS should be installed.
Also runs on an Apple M1/M2 on a VM with Linux ARM.

Re: Raspberry Pi OS 64 Bit

Posted: Thu Nov 09, 2023 3:34 pm
by C87
As an update on my situation, I've abandoned the idea of Purebasic on the Raspberry Pi4 in Debian
I’ve created a Windows11 Pro bootable USB and installed a compiled copy of my Access version of the application. It runs fine on the RPi4 with no speed issues whatsoever. THe PureBasic Windows version runs fine as well. Probably the same spec as PCs around 2010 anyway.

But I have to admit that Widows11 Pro operations, such as opening Explorer, Settings, Control Panel and going online are a somewhat peaceful experience. However it isn’t necessary at all for it to be online, so that’s Ok.

I’ll buy the Raspberry Pi5 when they are freely available and try that. The increase to 2.4GHz and 8MB of RAM should give an improvement. Maybe it will be a reasonable PC with a 128GB USB fitted? That spec for only about £100 looks quite reasonable.

Many thanks for all your responses and advice.

Re: Raspberry Pi OS 64 Bit

Posted: Thu Nov 09, 2023 4:41 pm
by Kuron
mk-soft wrote: Sun Oct 29, 2023 10:21 am However, a Linux OS should be installed.
The Linux Development Environment is a Debian install. So far all Linux software (as long as it is compiled for ARM) installs fine. Simply download the program and click on the .deb file and it installs just fine. Only Vivaldi has had some issues (weird graphical glitches).

I will have to try PB if I can figure it out.