![]() |
Forum Index : Microcontroller and PC projects : IMAGE ROTATE
![]() ![]() |
|||||
Author | Message | ||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3315 |
Very encouraging here. Lew--can you re-post the pi image or link to the post that contains it? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3999 |
If curses is installed, there should be a file of similar name (libncurses.so or libncurses.so.6 or whatever), probably in /usr/lib but have a look. You can then make a link (or symbolic link) with the missing name to the one that does exist. Slightly naughty but will usually then let you run the program (mmbasic in this case). The reason why is that one of the points of shared libraries is that they don't (as in: must not!) break existing APIs. John Edited 2021-01-14 00:01 by JohnS |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Thanks John, but probably best if I stick to the Pi 3 for the moment with the version of Stretch Peter said to use at least until it's working properly first. |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Sorry to report failed again It ran for 117 minutes before crashing with the time |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3999 |
11 is SIGSEGV i.e. a bad pointer John |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Lasted longer this time 127 minutes However Peter if you're watching this, I remembered to run Screen this time and once I reopened the console and did the -D -r it came back up with this with the same flashing cursor No mention of parsing error or crashing because of it I wonder if the processor is getting too hot and bugs out? Edit: in case anyone is wondering, the numbers before the amount of minutes is the Lunar day Edited 2021-01-14 03:57 by lew247 |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
129 minutes this time I had a fan attached as well Is there a way to monitor the temperature of the core while MM is running? |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
it's Definitely not the JSON parsing that's making it crash It stopped after 164 minutes and 56 seconds into the minute I Set it to print the time every second as well as letting me know it received the data and parsed it ok. It collects the weather data at 57 seconds into the minute and crashed at 56 so it can't be the data collection/parsing Definitely seems to be Pigpio issue withy memory I found this if you happen to see this Peter and didn't actually know it, but you probably did know link to article Edited 2021-01-14 16:27 by lew247 |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Peter If you happen to see this I've got the Pi 4 working with 5.05.04 from here and pigpio V71 I'm going to leave it running and see if it crashes or not. The display works properly, the only thing not working is triangles there's nothing on the screen where they should be but I'm not worried about that at all for now I'll leave it running and see how it goes, hopefully it will carry on Edited 2021-01-14 18:05 by lew247 |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Hi Peter I know you're an extremely busy person, but if you ever get time could you take a look at this version of pi-cromite 5.05.04 please? Everything I've tested seems to be working properly other than triangles, they aren't being drawn at all, so I can't test Blit either but I suspect if triangles worked then Blit would also. I've had it running now for 195 minutes with no issues whatsoever, the temperature of both the GPU and CPU is 65C - I set the program to report both core temperatures once a minute I also installed the exact same on the Pi 3 and the results are the same other than the GPU and CPU temperatures are 59C so slightly lower. HDMI works on both versions but I can't test touch. I used the latest Buster Lite latest version released on both the Pi 3 and Pi 4 from here Then installed sudo apt-get install python3-distutils then Pigpio V71 from here |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10070 |
Looking at it achieves nothing since I don't have an archive of the V5.05.04 source. I di have 5.05.03 source and this is what I used to build the current versions with just some MMBasic internal fixes and the addition of Rotate and fix to triangle. If you want to move this forward you need to slowly strip your program until you find what functionality is causing the crash. Alternatively you can send me the full program but first you will need to modify it so I can run it without any connected devices assuming it still errors when you have done this |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Sorry, I thought you might be able to decompi9le 5.05.04 and just see why triangles didn't work. I've sent you the full code including the icons and it will run without anything attached Edit the reason I thought that is it's now been running for 281 minutes with no issues on both pi 3 and 4 and Buster not stretch Edited 2021-01-14 22:39 by lew247 |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Arghh sorry it eventually crashed after 357 minutes with the sigHandled signal 11 It's probably simpler for me just to go back to having the Esp32 parse the data and picromite display it. Sorry Peter for taking up so much of your time. |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |