Author Topic: Compiling Attract on Rasbian Stretch Lite  (Read 1737 times)

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Compiling Attract on Rasbian Stretch Lite
« on: October 28, 2018, 06:18:13 PM »
Creating my own rPi image from scratch. Using Raspbian Stretch Lite. I have recompiled SDL 2.0.8 and have mame 0.200 installed.

Does the Compiling on the Raspberry Pi (Raspbian Jessie) guide still apply to stretch? Git isn’t installed. Can probably substitute with wget.

What are the differences and advantages/disadvantages between software video decoding only and hardware accelerated video decoding?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Compiling Attract on Rasbian Stretch Lite
« Reply #1 on: October 28, 2018, 07:39:28 PM »
Compiling steps for Stretch should be similar to Jesse.

Hardware decoding is always prefer since it will use the GPU instead of the CPU. This will allow the Pi to run much cooler and provide more CPU power for non-graphics tasks. Hardware decoding supports less codecs than software decoding. If you enable hardware decoding and a video is selected with an unsupported codec it will try to use the hardware decoding, fail and instead use software decoding which may cause a slight delay. This is no big deal unless most of your videos are using unsupported codecs in which case most videos will have a delay.

You will find that the Pi's resources are very limited compared to what you're used to having on your Mac and PC. Keeping as many tasks offloaded from the CPU helps preserve it's power for tasks only it can preform.

Hardware decoding + properly encoded videos = the best solution for a low resource device like the Pi.
« Last Edit: October 28, 2018, 11:08:16 PM by progets »