Open tabjohitol opened 1 year ago
I’d guess it’s because the latest OctoPI is based on Debian Bullseye and OctoScreen currently only supports Buster, Stretch, and Jessie.
I have a Bullseye build you can try in my fork - it’s the deb-BULLSEYE-armhf
artifact here:
https://github.com/the-ress/OctoScreen/actions/runs/5326840521 (It contains changes from #346 and a couple more improvements I plan to contribute as PRs later.)
Thanks, just tried your build and it looks like the same error.
Would it be advisable to go back to Octopi 0.18 just to get the OctoScreen functionality working for now?
I tried to reproduce the issue, but I currently don’t have any RPi with me. (The closest I could do was an ARM64 Debian Bullseye VM in cloud, and it worked there.)
After googling the error message, I’m not entirely sure it’s the actual error. If you edit /etc/octoscreen/config
and set OCTOSCREEN_LOG_FILE_PATH
to something, does that file get created? If yes, does it contain anything interesting? (Also did you enter all the required settings in /etc/octoscreen/config
?)
When I googled the errors, I saw that the g2d_23 error was probably benign, so I think that might be ok to ignore and it's the undefined symbol: shadowUpdatePackedWeak portion that's problematic?
I did try setting OCTOSCREEN_LOG_FILE_PATH
to a value, but the file never gets created when attempting to start octoscreen.
This is what I have in /etc/octoscreen/config
cat /etc/octoscreen/config | grep -Ev "^#|^$"
OCTOPRINT_HOST=http://localhost:5000
OCTOPRINT_APIKEY=BD9B4xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OCTOSCREEN_STYLE_PATH=/opt/octoscreen/styles/z-bolt/
OCTOPRINT_CONFIG_FILE=/home/pi/.octoprint/config.yaml
OCTOSCREEN_LOG_FILE_PATH=/home/pi/logs/octoscreen.log
OCTOSCREEN_LOG_LEVEL=Error
OCTOSCREEN_RESOLUTION=800x533
I tested OctoScreen on the latest OctoPI yesterday and it worked fine. Then I noticed you fixed the wiki link and that you use a LCD display with a special driver.
Now I think it's the LCD driver. The waveshare/LCD-show
repo doesn't look well maintained and likely doesn't work with Bullseye. Looking through the issues there, I found someone recommending to use https://github.com/goodtft/LCD-show instead (https://github.com/waveshare/LCD-show/issues/56).
The waveshare lcd-show I think is almost, if not completely, the same as that found under the goodtft github. I used both with my generic tft and they both worked. For the error message you showed, I found that I had to (1) be sure via raspi-config that the default (via system option) is the 2nd option - auto login to command prompt (2) use rc.local and add the systemctl entry to start the octoscreen service. That's worked for me anyway.
Hello,
I recently re-installed Octoprint on my Raspberry Pi 4. Octoscreen and Octorprint had been working just fine once everything was up, but I was having to hit enter on the console (attached a keyboard) upon power-on because I was getting a locked root account message that I couldn't easily fix. I figured a quick reinstall would be the cleanest fix, and followed the instructions from the wiki that had previously worked flawlessly for me.
Everything works fine, I get no errors throughout the install process. However upon installing Octoscreen 2.7.4, Octoscreen fails to start and I get the following message:
I tried searching but failing to find a solution. It looks like I am failing to load some necessary module? Can someone please point me in the right direction or perhaps let me know what other diagnostics I can perform to figure out what the issue might be?
Appreciate any help!