-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant Freezing on Raspberry Pi 3B+ #213
Comments
Having the same issue. I may try it with the logic converter tomorrow to see if that helps, but I'm skeptical. All resources on the Pi seem underutilized. CPU usage is incredibly low, the GUI is off, the whole thing just seems to spontaneously lock up for seemingly no good reason. It's also worth noting that the LEDs run fine in all test modes. |
I'm already using a logic converter so I don't think that's the problem. I may have to try some of the forks and see if the issue exists there as well. |
I'm pretty sure it's something to do with the audio stream more than anything based on the errors I'm starting to get. It runs fine until it hits the end of this string in console. pi@raspberrypi:~/Downloads/audio-reactive-led-strip-master/python $ sudo python visualization.py |
I've come across someone claiming that these errors don't matter and that they get them and it still works. May have been in reference to just some of the errors, though. I do get the same messages. |
I just can't shake the feeling that the audio isn't reading into the Pi correctly since the code seems to run fine for most people and we know our LEDs are in working order. I'm not terribly familiar with Linux/Raspbian or Python, but checking the audio feed/playback (in terms of the Pi) seems like something worth looking into. The audio passes through to my sound system just fine. Either that or there's maybe a memory leak in the code? I dunno. How many pixels are you running by the way? |
Maybe it's a bug with a certain version of the dependencies for reading in audio or doing spectrum analysis. I'm running 60 LEDs by the way, shouldn't be any issue for the Pi model I'm using. |
My SD card broke yesterday in my pi 3b+, so i had to reinstall everything and now i have the exact same issue, but i installed it the same way as before and it was working flawlessly for the past months. Any fix so far? |
Set LED_DMA = 10 in config.py solved it for me |
DMKOfficial, I never thought about changing the DMA channel! That's solved the issue for me as well, performance is a little lower than what other people are claiming but no pauses in sight. Thank you! |
I've installed the ws281x library from https://github.com/jgarff/rpi_ws281x.git and the included strandtest.py works perfectly but running this projects visualization.py, I am getting constant freezing of both the LEDs and the FPS count, but not always at the same time.
I've setup everything in the config.py file and the LEDs are reacting to the microphone but only for a few seconds, then it freezes for well over a minute with 2-3% CPU usage. I've tried turning down the FPS, turning off the GUI and FPS counter, none of this works. What does help, for some reason, is launching other software. For example launching Chromium kicks the LEDs back into action for quite a while but once Chromium has finished loading up, it doesn't take long for the LEDs to freeze again.
Leaving it running causes the LEDs to intermittently freeze for long periods until eventually it freezes indefinitely.
The text was updated successfully, but these errors were encountered: