1
General Discussion / Raspberry Pi 3
« on: January 29, 2020, 04:02:28 AM »
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.
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.