Raspberry Pi OS 64 Bit

Raspberry PI specific forum
User avatar
C87
Enthusiast
Enthusiast
Posts: 176
Joined: Mon Jul 17, 2017 7:22 am
Location: Cotswolds England

Raspberry Pi OS 64 Bit

Post 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.
If it's falling over......just remember the computer is never wrong!
User avatar
mk-soft
Always Here
Always Here
Posts: 5398
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Raspberry Pi OS 64 Bit

Post 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 ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
C87
Enthusiast
Enthusiast
Posts: 176
Joined: Mon Jul 17, 2017 7:22 am
Location: Cotswolds England

Re: Raspberry Pi OS 64 Bit

Post 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.
If it's falling over......just remember the computer is never wrong!
User avatar
mk-soft
Always Here
Always Here
Posts: 5398
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Raspberry Pi OS 64 Bit

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 5398
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Raspberry Pi OS 64 Bit

Post by mk-soft »

The crash should be fixed with this change in the IDE
Link: viewtopic.php?t=82749
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
C87
Enthusiast
Enthusiast
Posts: 176
Joined: Mon Jul 17, 2017 7:22 am
Location: Cotswolds England

Re: Raspberry Pi OS 64 Bit

Post 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.
If it's falling over......just remember the computer is never wrong!
User avatar
mk-soft
Always Here
Always Here
Posts: 5398
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Raspberry Pi OS 64 Bit

Post by mk-soft »

@C97

Read your private messages !
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Raspberry Pi OS 64 Bit

Post 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?
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
mk-soft
Always Here
Always Here
Posts: 5398
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Raspberry Pi OS 64 Bit

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
C87
Enthusiast
Enthusiast
Posts: 176
Joined: Mon Jul 17, 2017 7:22 am
Location: Cotswolds England

Re: Raspberry Pi OS 64 Bit

Post 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.
If it's falling over......just remember the computer is never wrong!
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Raspberry Pi OS 64 Bit

Post 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.
Best wishes to the PB community. Thank you for the memories. ♥️
Post Reply