Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi Performance
#1
This is not a support question, so much as it is advice for anyone exploring Tilengine.

I was experimenting with some SDL+OpenGL coding on my Raspberry Pi 3 last night, and discovered something that could be of help. If you are planning on using or trying Tilengine on the RPi, don't use the package manager to install SDL2. For whatever reason, the version of SDL2 that the apt-get package manager pulls down runs terribly if you try to compile Tilengine applications with it. We're talking less than a frame a second, really bad stuff.

But during my trials last night, I downloaded the latest stable version of SDL2, and built it from source on my RPi. On a whim, I went back to the Tilengine samples and tried building and running them again. They went from running terribly to running as smooth as butter. The silky-smooth 60 fps I was hoping for was there, and my RPi's system resources weren't even being pushed past 50%, it hovered comfortably in the 28% range.

Now I'm tackling the challenge of running SDL2 applications from the CLI. But I've got Tilengine in my back pocket as one of the most viable rendering engine's I've seen on the Raspberry Pi.
Reply


Messages In This Thread
Raspberry Pi Performance - by Richard Kain - 09-25-2019, 01:55 AM
RE: Raspberry Pi Performance - by megamarc - 09-25-2019, 06:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)