0

64x64 RGB LED matrix + bonnet + pi3 = buggy output
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

64x64 RGB LED matrix + bonnet + pi3 = buggy output

by jdungle on Wed Sep 25, 2019 9:34 pm

Hi,

I am trying to drive this 64x64 RGB LED matrix: https://www.adafruit.com/product/3649

With this raspberry pi adapter ("bonnet"): https://www.adafruit.com/product/3211

And this 5V 4A DC power supply (I know that's a bit low): https://www.adafruit.com/product/1466

I've been trying this demo in the rpi-rgb-led-matrix repo: sudo ./demo -D0 --led-gpio-mapping='adafruit-hat' --led-cols=64 --led-rows=64 --led-brightness=10

I set brightness to 10 to try to compensate for my under-amped power supply.

I see various outputs. Tapping the board on the corner near "B26" makes it change between one of these outputs:
* black screen
* demo with alternating 8px-wide stripes of "roughly working" output and black output. The "roughly working" 8px-wide stripes have their pixels and their neighboring stripe's pixels rendered on top of one another
* alternating 8px-wide stripes of randomly colored vertical stripes, and black output.

Images / videos: https://imgur.com/gallery/FkDGTjJ

I have done the following:
* soldered E pad to 8 pad
* verified that 1-wire is disabled
$ sudo grep 1w /boot/config.txt | wc -l
0
$ ls /sys/bus/w1
ls: cannot access '/sys/bus/w1': No such file or directory
* verified that sound is disabled:
$ sudo lsmod | grep snd | wc -l
0
* verified that overclocking is disabled:
$ sudo lscpu | grep MHz
CPU max MHz: 1200.0000
CPU min MHz: 600.0000
* tried 2 different power cables
* tried 2 different signal cables
* tried all --led-slowdown-gpio options
* tried all --led-gpio-mapping options (starting with adafruit-hat and adafruit-hat-pwm)
* tried different brightness settings
* verified that all signal pins on the display (R1, R2, B1, B2, G1, G2) are being driven to ~3v with a multimeter
* re-soldered the GPIO header on the bonnet, no change (I tried this after trying everything else listed)

I suspect that either my bonnet or my pi (less likely imo) are FUBAR. I have tried this with another 64x64 matrix (from Sparkfun - this one: https://www.sparkfun.com/products/14824) with similar results, so I don't think that the matrix is at fault.

Please LMK if there's anything else I should try! If there's nothing else, I'd like to get a functioning part or a refund. Thanks!

jdungle
 
Posts: 2
Joined: Wed Sep 25, 2019 7:49 pm

Re: 64x64 RGB LED matrix + bonnet + pi3 = buggy output

by adafruit_support_carter on Thu Sep 26, 2019 6:56 pm

Did you do the initial setup by running the installer script?
https://learn.adafruit.com/adafruit-rgb ... tware-4-16

adafruit_support_carter
 
Posts: 13170
Joined: Tue Nov 29, 2016 2:45 pm

Re: 64x64 RGB LED matrix + bonnet + pi3 = buggy output

by jdungle on Thu Sep 26, 2019 9:56 pm

Yes. To be sure, I re-ran it. No change in what I'm seeing on the display.

Full output from the install:

Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~/Downloads $ curl https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/rgb-matrix.sh >rgb-matrix.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6652  100  6652    0     0  24101      0 --:--:-- --:--:-- --:--:-- 24101
pi@raspberrypi:~/Downloads $ sudo bash rgb-matrix.sh
This script installs software for the Adafruit
RGB Matrix Bonnet or HAT for Raspberry Pi.
Steps include:
- Update package index files (apt-get update)
- Install prerequisite software
- Install RGB matrix driver software and examples
- Configure boot options
Run time ~15 minutes. Some options require reboot.
EXISTING INSTALLATION, IF ANY, WILL BE OVERWRITTEN.

CONTINUE? [y/N] y

Select interface board type:
1. Adafruit RGB Matrix Bonnet
2. Adafruit RGB Matrix HAT + RTC

SELECT 1-2: 1

Now you must choose between QUALITY and CONVENIENCE.

QUALITY: best output from the LED matrix requires
commandeering hardware normally used for sound, plus
some soldering.  If you choose this option, there will
be NO sound from the audio jack or HDMI (USB audio
adapters will work and sound best anyway), AND you
must SOLDER a wire between GPIO4 and GPIO18 on the
Bonnet or HAT board.

CONVENIENCE: sound works normally, no extra soldering.
Images on the LED matrix are not quite as steady, but
maybe OK for most uses.  If eager to get started, use
'CONVENIENCE' for now, you can make the change and
reinstall using this script later!

What is thy bidding?
1. Quality (disables sound, requires soldering)
2. Convenience (sound on, no soldering)

SELECT 1-2: 1

Interface board type: Adafruit RGB Matrix Bonnet
Optimize: Quality (disables sound, requires soldering)
Reminder: you must SOLDER a wire between GPIO4
and GPIO18, and internal sound is DISABLED!

CONTINUE? [y/N] y

Starting installation...
Updating package index files...
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.0 MB in 14s (911 kB/s)
Reading package lists... Done
Downloading prerequisites...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-pil' instead of 'python-pillow'
Note, selecting 'python3-pil' instead of 'python3-pillow'
python-pil is already the newest version (5.4.1-2).
python2.7-dev is already the newest version (2.7.16-2).
python3-dev is already the newest version (3.7.3-1).
python3-pil is already the newest version (5.4.1-2).
0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Downloading RGB matrix software...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   165    0   165    0     0    606      0 --:--:-- --:--:-- --:--:--   604
100 5896k    0 5896k    0     0  4344k      0 --:--:--  0:00:01 --:--:-- 13.8M
Building RGB matrix software...
make -C ./lib
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o gpio.o gpio.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix.o led-matrix.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o options-initialize.o options-initialize.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o framebuffer.o framebuffer.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o thread.o thread.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o bdf-font.o bdf-font.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o graphics.o graphics.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o transformer.o transformer.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix-c.o led-matrix-c.cc
cc  -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -c -o hardware-mapping.o hardware-mapping.c
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o content-streamer.o content-streamer.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o pixel-mapper.o pixel-mapper.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o multiplex-mappers.o multiplex-mappers.cc
ar rcs librgbmatrix.a gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o pixel-mapper.o multiplex-mappers.o
g++ -shared -Wl,-soname,librgbmatrix.so.1 -o librgbmatrix.so.1 gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o pixel-mapper.o multiplex-mappers.o -lpthread  -lrt -lm -lpthread
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make -C examples-api-use
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o demo-main.o demo-main.cc
make -C ../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
g++ demo-main.o -o demo -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o minimal-example.o minimal-example.cc
g++ minimal-example.o -o minimal-example -L../lib -lrgbmatrix -lrt -lm -lpthread
cc -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o c-example.o c-example.c
cc c-example.o -o c-example -L../lib -lrgbmatrix -lrt -lm -lpthread -lstdc++
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o text-example.o text-example.cc
g++ text-example.o -o text-example -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o scrolling-text-example.o scrolling-text-example.cc
g++ scrolling-text-example.o -o scrolling-text-example -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o clock.o clock.cc
g++ clock.o -o clock -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o ledcat.o ledcat.cc
g++ ledcat.o -o ledcat -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o input-example.o input-example.cc
g++ input-example.o -o input-example -L../lib -lrgbmatrix -lrt -lm -lpthread
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C bindings/python build
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ../../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
python setup.py build --build-lib .
running build
running build_py
running build_ext
building 'core' extension
creating build
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/rgbmatrix
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I../../include -I/usr/include/python2.7 -c rgbmatrix/core.cpp -o build/temp.linux-armv7l-2.7/rgbmatrix/core.o -O3 -Wall
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/rgbmatrix/core.o -L../../lib -lrgbmatrix -o ./rgbmatrix/core.so
building 'graphics' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I../../include -I/usr/include/python2.7 -c rgbmatrix/graphics.cpp -o build/temp.linux-armv7l-2.7/rgbmatrix/graphics.o -O3 -Wall
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/rgbmatrix/graphics.o -L../../lib -lrgbmatrix -o ./rgbmatrix/graphics.so
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ./lib
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make -C examples-api-use
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C ../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C bindings/python build
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ../../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
python setup.py build --build-lib .
running build
running build_py
running build_ext
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C bindings/python install
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
python setup.py install
running install
running build
running build_py
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/rgbmatrix
copying rgbmatrix/__init__.py -> build/lib.linux-armv7l-2.7/rgbmatrix
running build_ext
building 'core' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I../../include -I/usr/include/python2.7 -c rgbmatrix/core.cpp -o build/temp.linux-armv7l-2.7/rgbmatrix/core.o -O3 -Wall
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/rgbmatrix/core.o -L../../lib -lrgbmatrix -o build/lib.linux-armv7l-2.7/rgbmatrix/core.so
building 'graphics' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I../../include -I/usr/include/python2.7 -c rgbmatrix/graphics.cpp -o build/temp.linux-armv7l-2.7/rgbmatrix/graphics.o -O3 -Wall
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-9NJ3qw/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/rgbmatrix/graphics.o -L../../lib -lrgbmatrix -o build/lib.linux-armv7l-2.7/rgbmatrix/graphics.so
running install_lib
copying build/lib.linux-armv7l-2.7/rgbmatrix/graphics.so -> /usr/local/lib/python2.7/dist-packages/rgbmatrix
copying build/lib.linux-armv7l-2.7/rgbmatrix/core.so -> /usr/local/lib/python2.7/dist-packages/rgbmatrix
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/rgbmatrix-0.0.1.egg-info
Writing /usr/local/lib/python2.7/dist-packages/rgbmatrix-0.0.1.egg-info
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C lib clean
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
rm -f gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o pixel-mapper.o multiplex-mappers.o librgbmatrix.a librgbmatrix.so.1
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make -C utils clean
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/utils'
rm -f led-image-viewer.o led-image-viewer video-viewer.o video-viewer
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/utils'
make -C examples-api-use clean
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
rm -f demo-main.o minimal-example.o c-example.o text-example.o scrolling-text-example.o clock.o ledcat.o input-example.o demo minimal-example c-example text-example scrolling-text-example clock ledcat input-example
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C bindings/python clean
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
python setup.py clean --all
running clean
removing 'build/temp.linux-armv7l-2.7' (and everything under it)
removing 'build/lib.linux-armv7l-2.7' (and everything under it)
'build/bdist.linux-armv7l' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
removing 'build'
find ./rgbmatrix -type f -name \*.so -delete
find . -type f -name \*.pyc -delete
rm -f build-* install-* test-*
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ./lib
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o gpio.o gpio.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix.o led-matrix.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o options-initialize.o options-initialize.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o framebuffer.o framebuffer.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o thread.o thread.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o bdf-font.o bdf-font.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o graphics.o graphics.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o transformer.o transformer.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix-c.o led-matrix-c.cc
cc  -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -c -o hardware-mapping.o hardware-mapping.c
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o content-streamer.o content-streamer.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o pixel-mapper.o pixel-mapper.cc
g++ -I../include -Wall -O3 -g -fPIC  -DDEFAULT_HARDWARE='"adafruit-hat-pwm"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o multiplex-mappers.o multiplex-mappers.cc
ar rcs librgbmatrix.a gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o pixel-mapper.o multiplex-mappers.o
g++ -shared -Wl,-soname,librgbmatrix.so.1 -o librgbmatrix.so.1 gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o pixel-mapper.o multiplex-mappers.o -lpthread  -lrt -lm -lpthread
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make -C examples-api-use
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o demo-main.o demo-main.cc
make -C ../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
g++ demo-main.o -o demo -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o minimal-example.o minimal-example.cc
g++ minimal-example.o -o minimal-example -L../lib -lrgbmatrix -lrt -lm -lpthread
cc -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o c-example.o c-example.c
cc c-example.o -o c-example -L../lib -lrgbmatrix -lrt -lm -lpthread -lstdc++
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o text-example.o text-example.cc
g++ text-example.o -o text-example -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o scrolling-text-example.o scrolling-text-example.cc
g++ scrolling-text-example.o -o scrolling-text-example -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o clock.o clock.cc
g++ clock.o -o clock -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o ledcat.o ledcat.cc
g++ ledcat.o -o ledcat -L../lib -lrgbmatrix -lrt -lm -lpthread
g++ -I../include -Wall -O3 -g -Wextra -Wno-unused-parameter -c -o input-example.o input-example.cc
g++ input-example.o -o input-example -L../lib -lrgbmatrix -lrt -lm -lpthread
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C bindings/python build
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ../../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
/usr/bin/python3 setup.py build --build-lib .
running build
running build_py
running build_ext
building 'core' extension
creating build
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/rgbmatrix
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../include -I/usr/include/python3.7m -c rgbmatrix/core.cpp -o build/temp.linux-armv7l-3.7/rgbmatrix/core.o -O3 -Wall
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/rgbmatrix/core.o -L../../lib -lrgbmatrix -o ./rgbmatrix/core.cpython-37m-arm-linux-gnueabihf.so
building 'graphics' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../include -I/usr/include/python3.7m -c rgbmatrix/graphics.cpp -o build/temp.linux-armv7l-3.7/rgbmatrix/graphics.o -O3 -Wall
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/rgbmatrix/graphics.o -L../../lib -lrgbmatrix -o ./rgbmatrix/graphics.cpython-37m-arm-linux-gnueabihf.so
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ./lib
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make -C examples-api-use
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C ../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/examples-api-use'
make -C bindings/python build
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C ../../lib
make[2]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
make[2]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/lib'
/usr/bin/python3 setup.py build --build-lib .
running build
running build_py
running build_ext
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
make -C bindings/python install
make[1]: Entering directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
/usr/bin/python3 setup.py install
running install
running build
running build_py
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/rgbmatrix
copying rgbmatrix/__init__.py -> build/lib.linux-armv7l-3.7/rgbmatrix
running build_ext
building 'core' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../include -I/usr/include/python3.7m -c rgbmatrix/core.cpp -o build/temp.linux-armv7l-3.7/rgbmatrix/core.o -O3 -Wall
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/rgbmatrix/core.o -L../../lib -lrgbmatrix -o build/lib.linux-armv7l-3.7/rgbmatrix/core.cpython-37m-arm-linux-gnueabihf.so
building 'graphics' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../include -I/usr/include/python3.7m -c rgbmatrix/graphics.cpp -o build/temp.linux-armv7l-3.7/rgbmatrix/graphics.o -O3 -Wall
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/rgbmatrix/graphics.o -L../../lib -lrgbmatrix -o build/lib.linux-armv7l-3.7/rgbmatrix/graphics.cpython-37m-arm-linux-gnueabihf.so
running install_lib
copying build/lib.linux-armv7l-3.7/rgbmatrix/core.cpython-37m-arm-linux-gnueabihf.so -> /usr/local/lib/python3.7/dist-packages/rgbmatrix
copying build/lib.linux-armv7l-3.7/rgbmatrix/graphics.cpython-37m-arm-linux-gnueabihf.so -> /usr/local/lib/python3.7/dist-packages/rgbmatrix
running install_egg_info
Removing /usr/local/lib/python3.7/dist-packages/rgbmatrix-0.0.1.egg-info
Writing /usr/local/lib/python3.7/dist-packages/rgbmatrix-0.0.1.egg-info
make[1]: Leaving directory '/home/pi/Downloads/rpi-rgb-led-matrix/bindings/python'
Configuring system...
Done.

Settings take effect on next boot.

REBOOT NOW? [y/N] y
Reboot started...
Connection to 192.168.2.28 closed by remote host.
Connection to 192.168.2.28 closed.

jdungle
 
Posts: 2
Joined: Wed Sep 25, 2019 7:49 pm

Re: 64x64 RGB LED matrix + bonnet + pi3 = buggy output

by adafruit_support_carter on Fri Sep 27, 2019 2:17 pm

OK, let's double check what it actually did to your RPi config. Can you post the complete contents of the /boot/config.txt file here.

adafruit_support_carter
 
Posts: 13170
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.