flx
January 13, 2015, 8:34pm
#1
Hello out there
i am developing an of app at start up in the raspi for an art installation…it has a fullscreen fbo, camera noir and audio and eat a lot of resources…
when it is run in the desktop it behaves fine but if i set it up for startuo at boot time it gets really slow and the fbo start jumping…and not moving smoothly…also the audio stops and starts…even if running without desktop
anybody have any clue?
Thanks
felix
zach
January 14, 2015, 3:01am
#2
how are you starting it?
I’ve found good luck using this method:
This is a quick and dirty way to get your Pi to run a particular piece of software on boot. A better way will involve cron or something similar to make sure the software is always running and the hardware watchdog.
http://pi.gadgetoid.co.uk/post/001-who-watches-the-watcher
http://raspberrypi.stackexchange.com/questions/1517/can-i-send-a-heart-beat-to-hardware-watch-dog-from-my-own-program
http://dovgalecs.com/blog/keeping-your-raspberry-pi-alive-enabling-hardware-watchdog-under-arch-linux/
But let's start with this for now, this has only been tested with Raspbian.
First we need the system to boot into a command prompt without requiring a password, so from the command line run:
sudo nano /etc/inittab
Then change the line:
1:2345:respawn:/sbin/getty --noclear 38400 tty1
Into:
1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1
This file has been truncated. show original
flx
January 14, 2015, 3:20am
#3
Hello Zach
thanks for the reply
I have tried that method, but i am using crontab…