Open danielcloran opened 4 years ago
So you say it works fine in the Pi3 but not the Pi4 ?
The Pi4 is faster, so --led-slowdown-gpio
might need to be higher.
How are you connecting the panels, are you using an active3 adapter ? If so, I would also suggest to use parallel chains, e.g use --led-parallel=3 --led-chain=2
which allows for higher refresh.
Leds are connected using the red board you recommended in wiring... works perfectly normal and fine on Pi3. I used --led-slowdown-gpio=2 through 4 which helped with the flicker but did not change the lines.
I have tried using --led-parallel=3 and --led-chain=2 but I got many issues with only half of the panels lighting up so I postponed getting that to work to a later date.
this is strange; did you disable all potential services that might mess with your GPIO pins (such as one wire etc. mentioned in the troubleshooting section).
I've heard a few success reports of people happier with the DietPi distribution as it is more bare-bone and contains less things that might interfere with GPIO pins.
Only every other line or double line with double space showing up is usually a problem with one of the ABCDE lines not properly connected, but if you use the same adapter board and same LED matrix and stick it on different Pis, with only one having a problem, then at least the variable (that the adapter board might be broken) is out.
Are all your grounds between LED panel and Pi properly connected ? Usually that should be taken care of the adapter board, but it can't harm to connect the ground of your supply of the Matrix with the ground of the Pi (if you are using different supplies).
So I downloaded DietPi last night with a clean install as I saw you mention it elsewhere and a clean build and once again had the same two line issue. Which to me ruled out any Debian buster update that might be hurting it.
I disabled everything mentioned in troubleshooting (this pi did not have one wire enabled)... and earlier today I retested the setup on the Pi3 and everything still worked fine.
Grounds are connected through the adapter board but I just ran a manual jumper between the two grounds and nothing changed :/
Notable to mention is that this is a completely clean install of Debian Buster lite without anything on the pi other than your library and the essentials needed to get and build it.
I could possibly order another Pi4 just to see if I got some weird defect...
it does sound like some GPIO issue, yep. I once destroyed part of my GPIO pins by accidentally putting on an adapter board shifted by one pin ...
Argh okay... I'll put an order in now. I'll update this when I test it with the fresh Pi.
Thanks for the help, Daniel Cloran
@danielcloran I too am building a cube :) we should have a chat sometime and swap notes. As for your particular issue you may want to see this thread: https://github.com/hzeller/rpi-rgb-led-matrix/issues/989
New raspberry pi 4 arrived today and fixed the problem! I assume I blew one of the GPIO pins on the other one somehow... will be more careful in the future! Thanks for all the help @hzeller.
@mikecann I'd love to chat! I looked through your thread when trying to run the panels in parallel... but didn't get very far as my panels had some different issues. I'll email you when I get a chance tonight.
@danielcloran ye no worries mate, my email is: mike.cann@gmail.com hit me up :)
Hzeller
Thank you for the incredible library, I have used it to run a box of 5 64x64 led panels for about a year now with no issues until now.
I recently bought a raspberry pi 4 to hopefully allow for less flickering while my background processes are running on the pi and the lighting has gone weird. See attached photo
.
It seems as if every two lines is lit up.
I am running debian jessie lite on the raspberry pi 3b+ and running debian buster lite on the raspberry pi 4... I followed the exact same install procedure and cloned straight from the current branch.
My runtime command is: sudo ./demo -D11 --led-rows=64 --led-cols=64 --led-chain=5 --led-panel-type=FM6126A
I would really appreciate any help you could provide as I've spent the last couple of days banging my head against the wall.
Many thanks, Daniel Cloran