Anonymousdog / displaycameras

System for displaying RTSP feeds from IP cameras on the Raspberry Pi
Apache License 2.0
570 stars 114 forks source link

Blanking not working on reboot #13

Closed kris6673 closed 5 years ago

kris6673 commented 5 years ago

Describe the bug Blanking does not work when you reboot. The black screen does not show, instead it shows the background desktop. If you restart the service with sudo systemctl restart displaycameras, it blanks just fine. status shows that the fbi process is running both when you reboot and restart the service. I have reinstalled the OS and updated everything, didn't work. Currently i use a small script to restart the service 30 sec after boot to fix the problem. To Reproduce Steps to reproduce the behavior: Throws no error that i can see since the issue is fixed when you restart the service.

Expected behavior Blanking to blackout the transition between streams.

Screenshots Not really sure if screenshots would help, ask me for the ones you want.

Raspberry Pi (please complete the following information):

**Display Configuration

Camera information (please complete the following information):

Features enabled (please complete the following information):

Anonymousdog commented 5 years ago

I am unable to replicate this behavior on Raspbian_Lite which is definitely the preferred OS for a single use server like this, esp since there is zero need for a resource-hungry GUI on this device. My bet is the window management bits load long after DBUS and network; so, the service starts before the GUI which plasters itself on a higher frame buffer layer than fbi is running...I don't know. Bottom line: the fix is running the recommended OS.

kris6673 commented 5 years ago

Sounds likely, switching to lite then. Thanks!