bareboat-necessities / lysmarine_gen

With BBN OS you can build a central boat computer. BBN OS is free and open source. It is based on commonly used community supported open source projects such as SignalK, PyPilot, OpenCPN, and others. BBN OS graphical user interface will let you build a cockpit front-end to all functionality of the OS from chartplotting, dashboards, weather, etc.
https://github.com/bareboat-necessities/lysmarine_gen
246 stars 59 forks source link

Support for Raspberry Pi 5? #360

Closed tingles2233 closed 7 months ago

tingles2233 commented 9 months ago

As the title says support for Raspberry Pi 5?

Most likely means a port over to Bookworm from Bullseye.

mgrouch commented 9 months ago

Let’s see how many people actually need it. Please comment +1 if you need pi5 version

Starcrest2020 commented 9 months ago

÷1

tingles2233 commented 9 months ago

The big win for me with this is the faster processor which allows for in our case as it is positioned as a multipurpose device we can watch proper full resolution 4K web streams. All other functions would also benefit from the overall speed increase.

mgrouch commented 9 months ago

The big win for me with this is the faster processor which allows for in our case as it is positioned as a multipurpose device we can watch proper full resolution 4K web streams. All other functions would also benefit from the overall speed increase.

Speed increase in pi5 comes with higher power consumption as a con.

tingles2233 commented 9 months ago

Not wrong rpi5 idle power consumption is around 3.4watts compared to the idle of the rpi4 at 2.8watts in my testing.

Other then actively watching a video the pi seems to stay at idle power consumption. Even with opencpn running it doesn’t seem to consume more(on the rpi4) that is I would assume the rpi5 would be the same in that regard.

mgrouch commented 9 months ago

You can monitor the progress on test images which are appearing here

https://cloudsmith.io/~bbn-projects/repos/bbn-repo/packages/?q=bookworm

mgrouch commented 8 months ago

BBN Lite version based on bookworm looks pretty good already. Here are known issues

Seems

On bookworm version for pypilot motor controller UART you also need to disable the hciuart service, which initialises the Bluetooth modem:

sudo systemctl disable hciuart

Report here if you see other issues with BBN Lite

BBN Full version on bookworm is still missing features:

tingles2233 commented 8 months ago

Thanks, I’ll be doing testing first week in Jan and report back with my findings.

mgrouch commented 8 months ago

BBN Lite version based on bookworm looks pretty good already. Here are known issues

On bookworm version for pypilot motor controller UART you also need to disable the hciuart service, which initialises the Bluetooth modem:

sudo systemctl disable hciuart

Report here if you see other issues with BBN Lite

BBN Full version on bookworm no longer is missing features but has known issues:

mgrouch commented 8 months ago

This https://github.com/mopidy/mopidy/issues/1974 seems related to mopidy audio issues

mgrouch commented 8 months ago

Remaining (known) issues

Pypilot calibration tool issues with compass calibration screen (in FULL version) https://github.com/pypilot/pypilot/issues/216

No password popup on connecting to new Wi-Fi https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1461 (as workaround you can enter password later in WiFi settings) https://github.com/BuddiesOfBudgie/budgie-desktop/issues/508

Is this bacause of nm-applet --indicator ?

Web cam app doesn't start (seg faults) (affects FULL version) https://gitlab.gnome.org/GNOME/cheese/-/issues/174

Application menu organization changed https://github.com/BuddiesOfBudgie/budgie-desktop/issues/507 https://github.com/BuddiesOfBudgie/budgie-desktop/issues/506

mgrouch commented 7 months ago

No password popup on connecting to new Wi-Fi was fixed with using lightdm since BBN OS version 2024-01-28

mgrouch commented 7 months ago

Remaining (known) issues

Pypilot calibration tool issues with compass calibration screen (in FULL version) https://github.com/pypilot/pypilot/issues/216 Calibration (compass and acceperometer) in FULL version is missing spheres in UI. No calibration data is displayed in left bottom text area.

Web cam app doesn't start (seg faults) (affects FULL version) https://gitlab.gnome.org/GNOME/cheese/-/issues/174

Application menu organization changed https://github.com/BuddiesOfBudgie/budgie-desktop/issues/507 https://github.com/BuddiesOfBudgie/budgie-desktop/issues/506

5lav0 commented 7 months ago

+1

mgrouch commented 7 months ago

webcam and app menu organization issues and fixed

mgrouch commented 7 months ago

Remaining (known) issues

Pypilot calibration tool issues with compass calibration screen https://github.com/pypilot/pypilot/issues/216

mgrouch commented 7 months ago

UPDATE:

As of 2024-02-08 version I do not see any issues in LITE version. FULL version has only one issue known to me and it is pypilot_calibration for compass and accelerometer (seems to be libraries versions mismatch between LITE and FULL BBN OS versions)

The issues reported so far turned out to be hardware issues with users hardware and not with BBN OS software

mgrouch commented 7 months ago

Remaining (known) issues

Pypilot calibration tool issues with compass calibration screen in FULL version https://github.com/pypilot/pypilot/issues/216 Calibration (compass and accelerometer) in FULL version is missing spheres in UI. No calibration data is displayed in left bottom text area.

pigpiod and any pigpio specific features wouldn’t work on pi5. Seatalk1 SignalK plugin which requires pigpiod and pypilot hat UI will no longer be supported. Details: https://forums.raspberrypi.com/viewtopic.php?t=359742

Pypilot motor controller and IMU are supported.

mgrouch commented 7 months ago

The first release with bookworm and support for raspberry pi 5 is out. Closing

mgrouch commented 7 months ago

pi5 is supported by both LITE and FULL version since Release:

https://github.com/bareboat-necessities/lysmarine_gen/releases/tag/v2024-02-12.1