Please login or register.

Login with username, password and session length

News:

Registration is only required if you want to post, and is not needed to read any posts. To avoid excess 'spam' accounts, all accounts where no posts have been made will be deleted after two weeks. Please register again if you wish to post.

Author Topic: Raspberry Pi 3  (Read 8868 times)

January 29, 2020, 04:02:28 AM
  • Member
  • **
  • Posts: 6
    • View Profile
So I have downloaded your Pi installation package on to a fresh Raspian image, It works.

The processing power required for the wave motion is just too much for the Raspberry Pi 3. To fix this I change a setting in MovingWater.cpp. I change 'segments = 32' to 'segments=10'. This is on line 86.  Then I compile as per the instructions below.
I haven't had a crash or a freeze on the Pi since I set this.

Compile Bridgecommand for the Raspberry Pi 3 (and Linux Mint)

Ensure Raspbian is up to date:
https://www.raspberrypi.org/documentation/raspbian/updating.md
sudo apt-get update
sudo apt-get dist-upgrade

Enable opengl in Raspbian:
Run raspi-config
choose '7 - advanced' then 'A7 GL Driver' then 'G2 - GL Fake KMS'
Reboot

Install: mesa-common-dev
sudo apt-get install mesa-common-dev

Install: libxcursor-dev
sudo apt-get install  libxcursor-dev

Install: libgl1-mesa-dev
sudo apt-get install libgl1-mesa-dev

Get source code from:
https://www.bridgecommand.co.uk/
https://github.com/bridgecommand/bc

UPDATE: The processing power required for the wave motion is just too much for the Raspberry Pi. To fix this I change a setting in MovingWater.cpp. I change 'segments = 32' to 'segments=10'. This is on line 86. 
I haven't had a crash or a freeze on the Pi since I set this.

I have yet to get the sound to compile with the Pi, but I am not giving up yet.

Go to source root in console and run 'make'

Notes for PI:
Run off a SD card, not a USB. It crashes often.
You must run at 800x600 or less (640 x 480). I have found the best performance is with Raspbian set to 800x600 and BridgeCommand set to windowed 640 x 480 and set to auto size (width=0)
Turn off Shading.
You can set these by running bridgecommand-ini.
Sound does not work.
Use IP addresses not network name on the Pi for repeater and network settings.
« Last Edit: January 29, 2020, 04:04:13 AM by vpelss »

January 29, 2020, 03:26:44 PM
Reply #1
  • Administrator
  • Member
  • *****
  • Posts: 146
    • View Profile
Thanks, that's useful information. I'll make the water segments into an option the user can change.