Z-Bolt / OctoScreen

LCD touch interface for our OctoPrint
GNU Affero General Public License v3.0
722 stars 118 forks source link

Octoscreen resets every few minutes #75

Closed nicwilson58 closed 3 years ago

nicwilson58 commented 4 years ago

I have this installed and working on a Genuine Rasberry Pi 3B+ with a 5" TFT touchscreen. Everything works yet every few minutes, sometimes longer, the octoprint program resets, I get a very brief view of a "VNCConnect" screen then the Octoprint screen resumes again working. The same thing will then occur a couple of minutes later, sometimes longer.

NOTE: its only octoprint program resetting not the raspberry PI, Octoprint remains running and camera feed remains running. What can I do to provide you with more information?

Cheers NicW

DeviousPenguin commented 4 years ago

I've also been getting this issue, have the octoprint plugin installed, octoscreen usually closes then opens again when octoprint is doing something significant such as starting or stopping a print job.

However octoscreen closing and opening again for me does not interrupt the print for me, and I'm running the Klipper firmware which is also running on the same Raspberry Pi 3.

I'm happy to try fixes / patches as this is an annoying issue.

manbehindthemadness commented 4 years ago

I solved my issue of OctoScreen halting prints; however, it still goes through a random crater and restart every once in a while during printing. Too bad really, it's a slick little app.

joshgluck commented 4 years ago

New install on RPI4B with Octopi running Octoprint 1.4.0 Screen resets randomly with the following watchdog timeout in syslog:

Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Watchdog timeout (limit 10s)! Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Killing process 2790 (xinit) with signal SIGABRT. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Killing process 2791 (Xorg) with signal SIGABRT. Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: (EE) Backtrace: Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: (EE) Received signal 6 sent by process 1, uid 0 Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Killing process 2804 (OctoScreen) with signal SIGABRT. Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: Fatal server error: Mar 7 00:47:23 octopi xinit[2790]: (EE) Caught signal 6 (Aborted). Server aborting Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: Please consult the The X.Org Foundation support Mar 7 00:47:23 octopi xinit[2790]: #011 at http://wiki.x.org Mar 7 00:47:23 octopi xinit[2790]: for help. Mar 7 00:47:23 octopi xinit[2790]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Main process exited, code=killed, status=6/ABRT Mar 7 00:47:23 octopi xinit[2790]: (EE) Server terminated with error (1). Closing log file. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Failed with result 'watchdog'. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Service RestartSec=100ms expired, scheduling restart. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Scheduled restart job, restart counter is at 31. Mar 7 00:47:23 octopi systemd[1]: Stopped OctoScreen. Mar 7 00:47:23 octopi systemd[1]: Starting OctoScreen... Mar 7 00:47:23 octopi xinit[2889]: X.Org X Server 1.20.4 Mar 7 00:47:23 octopi xinit[2889]: X Protocol Version 11, Revision 0 Mar 7 00:47:23 octopi xinit[2889]: Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian Mar 7 00:47:23 octopi xinit[2889]: Current Operating System: Linux octopi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l Mar 7 00:47:23 octopi xinit[2889]: Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M smsc95xx.macaddr=DC:A6:32:2D:B8:52 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait Mar 7 00:47:23 octopi xinit[2889]: Build Date: 05 June 2019 12:49:54PM Mar 7 00:47:23 octopi xinit[2889]: xorg-server 2:1.20.4-1+rpt1 (https://www.debian.org/support) Mar 7 00:47:23 octopi xinit[2889]: Current version of pixman: 0.36.0 Mar 7 00:47:23 octopi xinit[2889]: #011Before reporting problems, check http://wiki.x.org Mar 7 00:47:23 octopi xinit[2889]: #011to make sure that you have the latest version. Mar 7 00:47:23 octopi xinit[2889]: Markers: (--) probed, (*) from config file, (==) default setting, Mar 7 00:47:23 octopi xinit[2889]: #011(++) from command line, (!!) notice, (II) informational, Mar 7 00:47:23 octopi xinit[2889]: #011(WW) warning, (EE) error, (NI) not implemented, (??) unknown. Mar 7 00:47:23 octopi xinit[2889]: (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 7 00:47:23 2020 Mar 7 00:47:23 octopi xinit[2889]: (==) Using config file: "/etc/X11/xorg.conf" Mar 7 00:47:23 octopi xinit[2889]: (==) Using system config directory "/usr/share/X11/xorg.conf.d" Mar 7 00:47:23 octopi xinit[2889]: modprobe: FATAL: Module g2d_23 not found in directory /lib/modules/4.19.97-v7l+ Mar 7 00:47:23 octopi xinit[2889]: time="2020-03-07T00:47:23Z" level=info msg="OctoPrint's config file found: \"/home/pi/.octoprint/config.yaml\"" file=main.go func=main.readConfig line=102 Mar 7 00:47:23 octopi xinit[2889]: time="2020-03-07T00:47:23Z" level=info msg="Using \"http://localhost:5000\" as server address" file=main.go func=main.init.0 line=52 Mar 7 00:47:23 octopi xinit[2889]: time="2020-03-07T00:47:23Z" level=info msg="Found API key at \"/home/pi/.octoprint/config.yaml\" file" file=main.go func=main.init.0 line=58 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=debug msg="New background task started" file=common.go func="ui.(BackgroundTask).Start" line=136 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=error msg="unexpected status code: 404" file=ui.go func="ui.(UI).loadSettings" line=194 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=info msg="Printing a job" file=ui.go func="ui.(UI).verifyConnection" line=169 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=debug msg="New background task started" file=common.go func="ui.(BackgroundTask).Start" line=136 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=info msg=20322 file=print_status.go func="ui.(printStatusPanel).updateJob" line=277 Mar 7 00:47:26 octopi xinit[2889]: time="2020-03-07T00:47:26Z" level=info msg=20324 file=print_status.go func="ui.(printStatusPanel).updateJob" line=277 Mar 7 00:47:28 octopi xinit[2889]: time="2020-03-07T00:47:28Z" level=info msg=20326 file=print_status.go func="ui.(printStatusPanel).updateJob" line=277

Any further information on this?

manbehindthemadness commented 4 years ago

Sadly no, we are all experiencing it

Sent from my iPhone

On Mar 6, 2020, at 7:53 PM, joshgluck notifications@github.com wrote:

 New install on RPI4B with Octopi running Octoprint 1.4.0 Screen resets randomly with the following watchdog timeout in syslog:

Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Watchdog timeout (limit 10s)! Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Killing process 2790 (xinit) with signal SIGABRT. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Killing process 2791 (Xorg) with signal SIGABRT. Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: (EE) Backtrace: Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: (EE) Received signal 6 sent by process 1, uid 0 Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Killing process 2804 (OctoScreen) with signal SIGABRT. Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: Fatal server error: Mar 7 00:47:23 octopi xinit[2790]: (EE) Caught signal 6 (Aborted). Server aborting Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi xinit[2790]: Please consult the The X.Org Foundation support Mar 7 00:47:23 octopi xinit[2790]: #11 at http://wiki.x.org Mar 7 00:47:23 octopi xinit[2790]: for help. Mar 7 00:47:23 octopi xinit[2790]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. Mar 7 00:47:23 octopi xinit[2790]: (EE) Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Main process exited, code=killed, status=6/ABRT Mar 7 00:47:23 octopi xinit[2790]: (EE) Server terminated with error (1). Closing log file. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Failed with result 'watchdog'. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Service RestartSec=100ms expired, scheduling restart. Mar 7 00:47:23 octopi systemd[1]: octoscreen.service: Scheduled restart job, restart counter is at 31. Mar 7 00:47:23 octopi systemd[1]: Stopped OctoScreen. Mar 7 00:47:23 octopi systemd[1]: Starting OctoScreen... Mar 7 00:47:23 octopi xinit[2889]: X.Org X Server 1.20.4 Mar 7 00:47:23 octopi xinit[2889]: X Protocol Version 11, Revision 0 Mar 7 00:47:23 octopi xinit[2889]: Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian Mar 7 00:47:23 octopi xinit[2889]: Current Operating System: Linux octopi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l Mar 7 00:47:23 octopi xinit[2889]: Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M smsc95xx.macaddr=DC:A6:32:2D:B8:52 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait Mar 7 00:47:23 octopi xinit[2889]: Build Date: 05 June 2019 12:49:54PM Mar 7 00:47:23 octopi xinit[2889]: xorg-server 2:1.20.4-1+rpt1 (https://www.debian.org/support) Mar 7 00:47:23 octopi xinit[2889]: Current version of pixman: 0.36.0 Mar 7 00:47:23 octopi xinit[2889]: #011Before reporting problems, check http://wiki.x.org Mar 7 00:47:23 octopi xinit[2889]: #011to make sure that you have the latest version. Mar 7 00:47:23 octopi xinit[2889]: Markers: (--) probed, (*) from config file, (==) default setting, Mar 7 00:47:23 octopi xinit[2889]: #11(++) from command line, (!!) notice, (II) informational, Mar 7 00:47:23 octopi xinit[2889]: #11(WW) warning, (EE) error, (NI) not implemented, (??) unknown. Mar 7 00:47:23 octopi xinit[2889]: (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 7 00:47:23 2020 Mar 7 00:47:23 octopi xinit[2889]: (==) Using config file: "/etc/X11/xorg.conf" Mar 7 00:47:23 octopi xinit[2889]: (==) Using system config directory "/usr/share/X11/xorg.conf.d" Mar 7 00:47:23 octopi xinit[2889]: modprobe: FATAL: Module g2d_23 not found in directory /lib/modules/4.19.97-v7l+ Mar 7 00:47:23 octopi xinit[2889]: time="2020-03-07T00:47:23Z" level=info msg="OctoPrint's config file found: "/home/pi/.octoprint/config.yaml"" file=main.go func=main.readConfig line=102 Mar 7 00:47:23 octopi xinit[2889]: time="2020-03-07T00:47:23Z" level=info msg="Using "http://localhost:5000\" as server address" file=main.go func=main.init.0 line=52 Mar 7 00:47:23 octopi xinit[2889]: time="2020-03-07T00:47:23Z" level=info msg="Found API key at "/home/pi/.octoprint/config.yaml" file" file=main.go func=main.init.0 line=58 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=debug msg="New background task started" file=common.go func="ui.(BackgroundTask).Start" line=136 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=error msg="unexpected status code: 404" file=ui.go func="ui.(UI).loadSettings" line=194 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=info msg="Printing a job" file=ui.go func="ui.(UI).verifyConnection" line=169 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=debug msg="New background task started" file=common.go func="ui.(BackgroundTask).Start" line=136 Mar 7 00:47:24 octopi xinit[2889]: time="2020-03-07T00:47:24Z" level=info msg=20322 file=print_status.go func="ui.(printStatusPanel).updateJob" line=277 Mar 7 00:47:26 octopi xinit[2889]: time="2020-03-07T00:47:26Z" level=info msg=20324 file=print_status.go func="ui.(printStatusPanel).updateJob" line=277 Mar 7 00:47:28 octopi xinit[2889]: time="2020-03-07T00:47:28Z" level=info msg=20326 file=print_status.go func="ui.(printStatusPanel).updateJob" line=277

Any further information on this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nicwilson58 commented 4 years ago

Well I think I might be out of here. its just far too unstable to use, its been months with no progress since I opened this issue, that is not a complaint just reality, if the author is too busy to fx it then fine, i just cannot use it nor wait anymore, constant crashing hundreds of times per day does not even qualify for an Alpha software release. For now i will stop using the Pi Touchscreen and use Octoprint via windows until I find a suitable alternative to this.

floridaservices commented 4 years ago

Well I think I might be out of here. its just far too unstable to use, its been months with no progress since I opened this issue, that is not a complaint just reality, if the author is too busy to fx it then fine, i just cannot use it nor wait anymore, constant crashing hundreds of times per day does not even qualify for an Alpha software release. For now i will stop using the Pi Touchscreen and use Octoprint via windows until I find a suitable alternative to this.

Check out OctoDash, someone else on here mentioned it as an alternative, and I ended up liking it like I wanted to like OctoScreen. It has an install script for starters, and also runs on X.

nicwilson58 commented 4 years ago

Well I think I might be out of here. its just far too unstable to use, its been months with no progress since I opened this issue, that is not a complaint just reality, if the author is too busy to fx it then fine, i just cannot use it nor wait anymore, constant crashing hundreds of times per day does not even qualify for an Alpha software release. For now i will stop using the Pi Touchscreen and use Octoprint via windows until I find a suitable alternative to this.

Check out OctoDash, someone else on here mentioned it as an alternative, and I ended up liking it like I wanted to like OctoScreen. It has an install script for starters, and also runs on X.

Thanks for that, the install of it was very easy, its connected and working, very nice and clean display and not one crash so far. Brilliant :)

ChaosBlades commented 4 years ago

I checked it out as well. It comes with PSU Control and has sleep that turns off the backlight. The project in general seems to be more active and have fewer issues than OctoScreen.

JENkt4k commented 4 years ago

as @redwiz666 commented:

sudo apt-get install x11-xserver-utils

This fixed my issue even though I installed this package as a pre-requisite. My log had no errors but screen would constantly refresh.

uninstall previous octoscreen and just pull this: wget https://github.com/MatthewCroughan/octobalena/releases/download/workaround/octoscreen_2.4-9_armhf_no_autoconnect.deb && dpkg -i octoscreen_2.4-9_armhf_no_autoconnect.deb

https://github.com/Z-Bolt/OctoScreen/issues/56 I will attempt to see if connection works without this revision.

I hope this helps others! Wasted a day on this.

JeffB42 commented 3 years ago

@nicwilson58 I believe this was fixed in 2.7.0, which was just released.