mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
Clean up outdated installation instructions (#164)
Removed outdated installation steps from README. Signed-off-by: Chuck <33324927+ChuckBuilds@users.noreply.github.com>
This commit is contained in:
93
README.md
93
README.md
@@ -303,99 +303,6 @@ This single script installs services, dependencies, configures permissions and s
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
<summary>Outdated Installation Steps left for reference</summary>
|
||||
|
||||
|
||||
-----------------------------------------------------------------------------------
|
||||
----- OLD STEPS (left for manual review, you don't need to run these if you run the First Time Install Script) -----
|
||||
4. Install dependencies:
|
||||
```bash
|
||||
sudo pip3 install --break-system-packages -r requirements.txt
|
||||
```
|
||||
--break-system-packages allows us to install without a virtual environment
|
||||
|
||||
|
||||
5. Install rpi-rgb-led-matrix dependencies:
|
||||
```bash
|
||||
cd rpi-rgb-led-matrix-master
|
||||
```
|
||||
```bash
|
||||
sudo make build-python PYTHON=$(which python3)
|
||||
```
|
||||
```bash
|
||||
cd bindings/python
|
||||
sudo python3 setup.py install
|
||||
```
|
||||
Test it with:
|
||||
```bash
|
||||
python3 -c 'from rgbmatrix import RGBMatrix, RGBMatrixOptions; print("Success!")'
|
||||
```
|
||||
|
||||
## Important: Sound Module Configuration
|
||||
|
||||
1. Remove unnecessary services that might interfere with the LED matrix:
|
||||
```bash
|
||||
sudo apt-get remove bluez bluez-firmware pi-bluetooth triggerhappy pigpio
|
||||
```
|
||||
|
||||
2. Blacklist the sound module:
|
||||
```bash
|
||||
cat <<EOF | sudo tee /etc/modprobe.d/blacklist-rgb-matrix.conf
|
||||
blacklist snd_bcm2835
|
||||
EOF
|
||||
```
|
||||
|
||||
then execute
|
||||
|
||||
```bash
|
||||
sudo update-initramfs -u
|
||||
```
|
||||
|
||||
3. Reboot:
|
||||
```bash
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
## Performance Optimization
|
||||
|
||||
To reduce flickering and improve display quality:
|
||||
|
||||
1. Edit `/boot/firmware/cmdline.txt`:
|
||||
```bash
|
||||
sudo nano /boot/firmware/cmdline.txt
|
||||
```
|
||||
|
||||
2. Add `isolcpus=3` at the end of the line
|
||||
|
||||
3. Ctrl + X to exit, Y to save, Enter to Confirm
|
||||
|
||||
4. Edit /boot/firmware/config.txt with
|
||||
```bash
|
||||
sudo nano /boot/firmware/config.txt
|
||||
```
|
||||
|
||||
6. Edit the `dtparam=audio=on` section to `dtparam=audio=off`
|
||||
|
||||
7. Ctrl + X to exit, Y to save, Enter to Confirm
|
||||
|
||||
8. Save and reboot:
|
||||
```bash
|
||||
sudo reboot
|
||||
```
|
||||
## Configuration
|
||||
|
||||
### Initial Setup
|
||||
|
||||
1. **First-time setup**: (First Time Script should do this for you) Copy the template to create your config:
|
||||
```bash
|
||||
cp config/config.template.json config/config.json
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user