1

I've been looking into my problem for days now and I didn't find a solution to it. If there is already a question about this issue, I have not found it, my apologies. Please direct me to it if there is.

I took responsibility for a project in my company that involves Raspberrys. Basically they are a bridge connecting computers to LED screen panels, that work through sending / receiving cards (The details escape me, and it's irrelevant as my problem happens also when they are connected to a regular monitor, so LEDs are not the cause). The raspberry grabs pictures that the PC makes a playlist of, and then shows them on the LED screen, applying some random animations that include resizing, spins, swipes, opacity, etc... All this is done within an apache server on the raspberry, working under PHP, Javascript and CSS.

Up until now, this was working flawlessly under Raspberry Pi3B and Raspbian Jessie. My company decided to start working with Raspberry Pi 3B+, and I was told we needed to upgrade from Jessie to Stretch for them to work, but not to worry because it was backwards compatible with the regular Pi3B. And it kinda is backwards compatible, that's not the problem. The thing is that what worked flawlessly before, not even a hint of lag, is now choppy. All the animations are so slow they are more of a slideshow than a real animation.

It feels like the Raspberry doesn't have enough power to move the pictures around. It even does things like choppily play an animation on a picture that should be upside down (a non animated "transform: rotate(180deg)") but display it upright, and when the animation has finished it kinda hangs for a second, then flips the picture for a split second, then cuts into next picture/animation.

My investigation these days has pointed me towards the memory allocation option in "raspi-config", but changing that has ony made it worse. I read somewhere too, that Stretch took more ram than Jessie and there was no way around it, so I should use a "lighter" browser. I tried both Midori and Opera and while the "slideshow-effect" was less noticeable it was still there, and something in the resize algorithm in those browsers is wrong because the pictures looked horribly pixelated during the animations (they looked good if they were still, but that's beside the point).

How can I fix this? What am I missing?

Thank you.


Edit:

I have completed a installation of Raspbian Stretch from scratch, not updating. The result is the same.

I have recorded a video (pardon my shaky hands) of what I mean by choppy. You can see that what I'm asking the raspberry to do is not that much, at all.

https://imgur.com/h2luMCi

I hope this is a helpful information.

  • not sure if this raspberrypi.org/forums/viewtopic.php?t=191087 will help, but, it may – Jaromanda X Oct 23 '18 at 12:11
  • What das update from Jessie to Stretch mean? Do you setup from scratch with latest version Raspbian Stretch or do you do sudo apt full-upgrade from Jessie to Stretch? Debian can do this but for my experience it mostly cannot "translate" all configurations exactly and the revision can take more time than a new setup. I may also confuse your update. So I prefer to setup from scratch with the new version. – Ingo Oct 23 '18 at 20:12
  • I've resorted to start with a new installation as you say. It's more complicated than it appears, but I'm getting there... I'll post back when I finish to tell how it went – Helwar Oct 24 '18 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.