Closed werrie90 closed 1 year ago
Hi,
Do you get any errors on the terminal? (Specifically GL error 505)? I will try and reproduce your issue. Thanks for reporting the problem.
Cheers Mike
Hi Mike, sorry have not been able to touch my computer this week. will run it today and get the errors
Hi, The error I am getting is g1GetError 0x505
So it runs normally, then gets slower and slower and usually the colors on the title strips change. Then it crashes and throughs those errors.
The errors just stop after some time and it goes back to prompt.
Will be doing a fresh install today to test.
That error means the GPU has run out of memory. You can increase it by running sudo raspi-config, then changing the memory split in the advanced options. I recommend at least 256, but you may need to increase it further.
Mike
Okay great thanks.
I did have it on 256mb, have increased it now.
But what I find weird is that it works fine for a few hours. Then gradually goes slower until the crash. When i first start, the memory usage and everything looks great.
Will advise, have just increased and leaving it to run again.
Ok thanks. Maybe I have a memory leak. I'm on holiday next week, but will try and reproduce the issue when I get back.
Cheers Mike
From: werrie90 @.> Sent: Sunday, July 31, 2022 9:57:56 AM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Comment @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
Okay great thanks.
I did have it on 256mb, have increased it now.
But what I find weird is that it works fine for a few hours. Then gradually goes slower until the crash. When i first start, the memory usage and everything looks great.
Will advise, have just increased and leaving it to run again.
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1200381753, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFIOW7Q7AW6KGSWRCLTVWY5ZJANCNFSM54QAO7NQ. You are receiving this because you commented.Message ID: @.***>
No worries, hope you have a great holiday.
This can wait
Hi there, I took the attached screenshot yesterday and was going to post. I would say there is a memory leak. The old version I could leave my jukebox running for weeks, but this version I find it crashed easily within a day. I also have 256 set for memory. I could start timing it, but will wait for you to check..
Hi there, I took the attached screenshot yesterday and was going to post. I would say there is a memory leak. The old version I could leave my jukebox running for weeks, but this version I find it crashed easily within a day. I also have 256 set for memory. I could start timing it, but will wait for you to check..
Thanks for the feedback. I will definitely focus on assuming a memory leak then. I won't be able to work on it for another week or so, but please if you have any more information I'd gladly take it on board.
Cheers Mike
![20220731_192809](https://user-images.githubusercontent.com/9069944/182038518-7112e
https://user-images.githubusercontent.com/9069944/182038519-fc7703bd-0255-4266-bbd6-bac25f42afc7.mp4
ebc-a6ec-4ce4-b276-967a8c735342.jpg)
Hi Mike,
Just some more info. Had increased the mem to 512. It ran a lot longer. But currently going crazy.
Have attached some items for you. Hope it helps.
Any ETA on a version update to help with the suspected memory leak.. rebooting daily now to keep box stable
@chundermike Just wondering if you have any timeline on a version to stop the memory leak and crashing... I'm considering going back to the previous version as my JukeBox constantly crashes right now on fruitbox-v2.
Hi,
Difficult to pin an exact timeline down, but I'm looking at the issue now and it's my top fruitbox priority.
Cheers Mike
From: beit-no1 @.> Sent: Tuesday, September 27, 2022 10:24:31 PM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
@chundermikehttps://github.com/chundermike Just wondering if you have any timeline on a version to stop the memory leak and crashing... I'm considering going back to the previous version as my JukeBox constantly crashes right now on fruitbox-v2.
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1260070228, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFLF7DUMQWVXRNGYEATWANQY7ANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
Thanks Mike... that is good enough for me to wait.
On 2022-09-28 03:04, chundermike wrote:
Hi,
Difficult to pin an exact timeline down, but I'm looking at the issue now and it's my top fruitbox priority.
Cheers Mike
From: beit-no1 @.> Sent: Tuesday, September 27, 2022 10:24:31 PM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
@chundermikehttps://github.com/chundermike Just wondering if you have any timeline on a version to stop the memory leak and crashing... I'm considering going back to the previous version as my JukeBox constantly crashes right now on fruitbox-v2.
-- Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1260070228, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFLF7DUMQWVXRNGYEATWANQY7ANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you commented.Message ID: @.***>
[1] https://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1260476074 [2] https://github.com/notifications/unsubscribe-auth/AIPDATYRPGKSYGLMYOVISUDWAPUXJANCNFSM54QAO7NQ
Hi
Sorry not had the chance to look at it yet; have been on holiday. Will take a look at fixing it any day soon.
From: beit-no1 @.> Sent: Friday, 26 August 2022, 20:17 To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Comment @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
Any ETA on a version update to help with the suspected memory leak.. rebooting daily now to keep box stable
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1228832905, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFNUTKOJ2MO2KBDX2RLV3EJ55ANCNFSM54QAO7NQ. You are receiving this because you commented.Message ID: @.***>
Mike, have you had a chance to check this yet? Was there a memory leak?
Hi, sorry I've been snowed under with other stuff, but will try and take a look very soon
Cheers Mike
i only put in 100 songs and didn't play anything. I then just let it sit on the indiglo theme for about 4 hours and it froze up. not sure if its related to the software or not. it did not do the glgeterror I think it could be related to the number of pages it has to generate for the number of songs. Would be interested in knowing if there is a limit to the number of songs to add to the music. the first guy had 2000 songs. maybe if you put in 500 or less it won't crash.
I'll throw a hundred bucks at you to get this fixed. (Sorry not rich) :-)
Thanks for the info, I'll try and reproduce the bug using that skin and number of songs. I'll look into it as a priority.
Happy to test as my new installation with v2 crashes each day if just left unused, so it certainly appears to be a memory leak... I can give more details on the screen and number of songs, but at this time it's nothing unreasonable.
but are you using indieglo? I'm wondering if its the skin. I haven't used any other.
the install with only 100 song lasted 18 hours on a loop of 6 songs. so its not the number of songs.
Things I am going to try.
Current setup.
Raspberry Pi 3b+ (there is a shortage going on) 32mb MicroSD card.
using your recomenations here "For Raspberry Pi versions Zero through 3"
I'll submit some un-released skins once you fix it Mike. LOL
I'm curious what part of the skin is contributing the most to the slow down and crash. Is it the sequence of jpgs for the record spin, the multiple different colored title strips or a combination of the two? For what it's worth, my pi 400 will run for days and days with one of these skins selected with no issues. Have we hit a memory ceiling with the pi3s?
Hi Jay
Sorry I've been a bit slow the last couple of months...recently changed my job and house still being renovated so have been a bit distracted. I've put some Debug into my code now so will begin looking into the possible memory leak. If it is a particularly skin causing the issue then it still is the fault of fruitbox not the skin, as fruitbox should be able to handle (or gracefully moan at) any skin config. I'll keep you posted. On a different note, I have a nice video clip of a jukebox record loading (like Wurly but a different machine), if you fancy working your magic on that?
From: jaythom1 @.> Sent: Thursday, November 10, 2022 11:24:15 PM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
I'll submit some un-released skins once you fix it Mike. LOL
I'm curious what part of the skin is contributing the most to the slow down and crash. Is it the sequence of jpgs for the record spin, the multiple different colored title strips or a combination of the two? For what it's worth, my pi 400 will run for days and days with one of these skins selected with no issues. Have we hit a memory ceiling with the pi3s?
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1311036034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFNPMH2VODTF65LO53LWHV7Z7ANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
Hi Mike. Yeah, I'd love to have a go at your record loading video. Maybe you can throw it in a share and send me a link?
Great, will do
From: jaythom1 @.> Sent: Friday, November 11, 2022 2:14:20 AM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
Hi Mike. Yeah, I'd love to have a go at your record loading video. Maybe you can throw it in a share and send me a link?
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1311140371, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFMK4YMFGJL4S7X7PPTWHWTXZANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
Issue now found and fixed. Will get a release out in the next day or two.
v2.04 now released.
Thanks Mike! Looking forward to finishing my Lower Decks theme with improved spectrum analyzer color settings!
Great. As soon as you're happy to share your skins, send them to me and I'll stick them on Github :)
From: jaythom1 @.> Sent: Tuesday, November 15, 2022 6:38:27 PM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
Thanks Mike! Looking forward to finishing my Lower Decks theme with improved spectrum analyzer color settings!
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1315717384, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFNIEEXJ3NOAESXL55LWIPKCHANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
Hi Mike.. been waiting for this memory leak a while, so very excited to try as my installation has been crashing daily..
Went through the menu right now with Tab and can get the v2.04 to download, but there is no restart menu and if I power off and then power on or do sudo reboot then it still load v2.03. Is there another recommended method to do this or is it a bug as I don't want to ruin my installation.
Thanks for this.
That's weird, it should download the new fruitbox executable into rpi/fruitbox or rpi4/fruitbox (depending on which pi you have), and then in the fruitbox directory there should be a soft link called fruitbox to it. Try going into the rpi or rpi4 directory itself and typing. /fruitbox --version, to see if it's 2.04. If so, then the softlink in the fruitbox directory is wrong
From: beit-no1 @.> Sent: Tuesday, November 15, 2022 11:26:51 PM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
Hi Mike.. been waiting for this memory leak a while, so very excited to try as my installation has been crashing daily..
Went through the menu right now with Tab and can get the v2.04 to download, but there is no restart menu and if I power off and then power on or do sudo reboot then it still load v2.03. Is there another recommended method to do this or is it a bug as I don't want to ruin my installation.
Thanks for this.
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1316012012, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFJT4Q6KTGTTMK7T42TWIQL3XANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
I checked /home/pi/fruitbox/rpi 3 files fruitbox 7,792,252 with todays date/time fruitbox_2.03 7,792,252 with todays date/time fruitbox_prev 7,769,360 with 5/30/2022
pi@raspberrypi:~/fruitbox/rpi $ ./fruitbox --version 2.04
pi@raspberrypi:~/fruitbox/rpi $ ./fruitbox_prev --version 2.00
pi@raspberrypi:~/fruitbox/rpi $ ./fruitbox_2.03 --version 2.04
That's downloaded it OK. Have you manually changed the softlink?
Go into the fruitbox directory and type
ls -al
...the fruitbox entry should point to rpi/fruitbox. If it doesn't, do the following...
cd /home/pi/fruitbox rm ./fruitbox ln -s rpi/fruitbox ./fruitbox
Then run fruitbox in the current directory (by typing ./fruitbox --version) it should be 2.04
Mike
From: beit-no1 @.> Sent: Wednesday, November 16, 2022 12:08:34 AM To: chundermike/rpi-fruitbox-v2 @.> Cc: chundermike @.>; Mention @.> Subject: Re: [chundermike/rpi-fruitbox-v2] Fruitbox gets slower and then freezes and crashes (Issue #8)
I checked /home/pi/fruitbox/rpi 3 files fruitbox 7,792,252 with todays date/time fruitbox_2.03 7,792,252 with todays date/time fruitbox_prev 7,769,360 with 5/30/2022
@.***:~/fruitbox/rpi $ ./fruitbox --version 2.04
@.***:~/fruitbox/rpi $ ./fruitbox_prev --version 2.00
@.***:~/fruitbox/rpi $ ./fruitbox_2.03 --version 2.04
— Reply to this email directly, view it on GitHubhttps://github.com/chundermike/rpi-fruitbox-v2/issues/8#issuecomment-1316061294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ4JFJ5I2ACHLCOWOM5ASTWIQQYFANCNFSM54QAO7NQ. You are receiving this because you were mentioned.Message ID: @.***>
Was definitely pointing to a v2.03.. not sure if from the last upgrade, but I recall having some issues with the move to v2.03. Your instructions seem to have worked
Can confirm your instructions worked mike.. not sure how it got this way, but will test again if 2.05 is necessary... for now it is running 2.04 and will keep an eye on things.. Thanks
Hi Mike,
Thanks for the amazing piece of software you have provided us.
I have a raspberry pi 3 b and running version v2.03
I'm using the indieglo skin
Have about 2000 odd songs on it.
I noticed that the titles trip auto turn time gets slower after a while. Then the titles will get a weird color change and the. Just errors. After that it crashes.
When I load it up it runs smoothly again until about 3 or 4 hours later when it crashes.
Anything I can check out for?
The cpu and memory are at about 20% range. This happens when nothing is playing.