Posts: 190
Threads: 12
Joined: Aug 2020
Reputation:
1
Hi,
Still get stuck after a while, with 7.4, 7.5, 7.6
I was able to get Moode to work all the time with Firefox browser with 7.2, check this thread, not sure if still working with 7.6.
Posts: 6,022
Threads: 176
Joined: Apr 2018
Reputation:
235
(12-01-2021, 07:49 PM)Alaini93 Wrote: Hi,
Still get stuck after a while, with 7.4, 7.5, 7.6
I was able to get Moode to work all the time with Firefox browser with 7.2, check this thread, not sure if still working with 7.6.
Good to know. I'd dabbled with alternative browsers at one point too, but not recently. Once I see the Chromium "effect" repro'd, I'll try Firefox and possibly others.
Regards,
Kent
Posts: 47
Threads: 3
Joined: Apr 2021
Reputation:
0
(12-01-2021, 04:54 PM)TheOldPresbyope Wrote: I interpreted your "I found the offender" post to mean you had resolved your particular issue.
Sorry, it was a misunderstanding: the issue begin when I configure a NAS.
And nothing to do with browser, works fine with firefox for me. When it freezes, I can't even reach moode with SSH.
Posts: 47
Threads: 3
Joined: Apr 2021
Reputation:
0
(12-01-2021, 07:49 PM)Alaini93 Wrote: Hi,
Still get stuck after a while, with 7.4, 7.5, 7.6
I was able to get Moode to work all the time with Firefox browser with 7.2, check this thread, not sure if still working with 7.6.
then I'm not sure it is related, but anyway I prefer to use official version at the moment
Posts: 1,869
Threads: 43
Joined: Mar 2020
Reputation:
85
(06-17-2021, 09:37 PM)rph-r Wrote: Hi,
I found the offender:
after a kernel failure (probably due to daily hard shut down), I reinstalled a fresh moode, last version. I reconfigured all and tried, the bug was still present. Then I thought maybe it has to do with NAS, so I removed the network drive (on another RPi), and it works, no more freeze!
Hope it helps to fix it!
Just to hopefully clarify what the issue you report is. Does the post quoted above tell us that you get no freezes until you mount a network drive that is actually located on another RPi?
If so, some details of what method is being used to set up that connection would probably help (i.e what type of NAS are you running and how are you connecting to it).
----------------
Robert
Posts: 47
Threads: 3
Joined: Apr 2021
Reputation:
0
(12-02-2021, 04:31 PM)the_bertrum Wrote: Just to hopefully clarify what the issue you report is. Does the post quoted above tell us that you get no freezes until you mount a network drive that is actually located on another RPi? Exactly!
It is a very basic Samba network.
-on Moode: I select it in the library settings (create -> type: SMB)
-on the RPi server:
Code: fstab:
UUID=EB07-72BC /home/pi/Music vfat defaults,noatime,nofail,uid=pi,utf8,x-systemd.device-timeout=1 0 0
Code: smb.conf:
[global]
dos charset = CP850
unix charset = UTF-8
...
[musique]
comment= DD Musique
path= /home/pi/Music
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no
Posts: 6,022
Threads: 176
Joined: Apr 2018
Reputation:
235
(12-02-2021, 10:05 AM)rph-r Wrote: (12-01-2021, 04:54 PM)TheOldPresbyope Wrote: I interpreted your "I found the offender" post to mean you had resolved your particular issue.
Sorry, it was a misunderstanding: the issue begin when I configure a NAS.
And nothing to do with browser, works fine with firefox for me. When it freezes, I can't even reach moode with SSH.
Just to be clear, Alaini93 and I are talking about the browser processes running in moOde which feeds the local display. This is not the same as the browser being used on some other device to interact with the moOdeUI.
Reading through the entire thread, it appears to me that you are experiencing freezing only when both 1) you have a samba share mounted as a Library source, and 2) you have local display enabled with the Official 7" touchscreen.
Why the combination is necessary isn't clear to me but, if true, it might clear up a discrepancy between Tim's and my results in earlier testing.
I'm now running four test players with different configurations to gather some data. With luck two will fail (e.g., "freeze") and two won't.
Regards,
Kent
Posts: 47
Threads: 3
Joined: Apr 2021
Reputation:
0
Quote:it appears to me that you are experiencing freezing only when both 1) you have a samba share mounted as a Library source, and 2) you have local display enabled with the Official 7" touchscreen.
It seems to be like you say...
Since I reinstalled Moode, I tried with only a USB as source, no network drive, and after hours it is still working.
If it helps: I can try with Samba, but deactivating the 7'' screen.
Posts: 404
Threads: 2
Joined: Apr 2018
Reputation:
14
@ rph-r
As you are in 'test mode' please make sure that both RPi's, the one running MoOde and the one acting as a NAS with a SAMBA share, are on the SAME LAN network (no mixture of LAN and WiFi, Access Points, etc)
Posts: 11
Threads: 2
Joined: Nov 2018
Reputation:
1
03-03-2022, 09:59 AM
(This post was last modified: 03-03-2022, 10:02 AM by stefil.)
Hi,
i had the same behaviour with PI3.
Moode web app has some memory leaks, especially when using large music library.
When using local UI, with low memory capacity (on pi3 for example) chromium takes all available memory.
After a while, even with no local UI interaction, the system freeze with lack of memory (system fail swaping memory efficiently).
In my case i just want a local UI with few infos : cover and current info (Artist / Album / Title) and no interaction (i use my laptop or smartphone to control music).
So i create a custom default page for local UI and place it in :
/home/pi/.xinitrc
last line :
Code: chromium-browser --app=http://localhost/coverview.php --window-size=$SCREENSIZE$
the coverview.php i put in : /var/www/
PHP Code: <?php $txt_file = '/var/local/www/currentsong.txt'; ?> <html> <head> <META HTTP-EQUIV="refresh" CONTENT="30"> <style> body { background-color: #000000; } </style> </head> <style> p { font-family: "Verdana", "Georgia", "Didot", "Times New Roman", Times, serif; text-align: center; color: white; font-size: 20px; } </style> <body> <?php $lines = file($txt_file); foreach ($lines as $num=>$line) { $numval = explode( '=' , $line); switch ($numval[0]){ case 'artist': $artist=$numval[1]; break; case 'album': $album=$numval[1]; break; case 'title': $title=$numval[1]; break; case 'coverurl': $img="<center><img height=90% src=\"".$numval[1]."\"></center>"; break; default: break; } //echo 'Line '.$num.': '.$line.'<br/>'; } echo '<p>'; echo $artist . ' | '; echo $album . ' | '; echo $title . '<BR>'; echo '</p>'; echo $img . ' | '; ?> </body> </html>
it work like a charm.
Before : chromium use 75% of memory and keeps trying to get more -> freeze, even SSH fail
After : memory usage stable, chromium ~25%
Capture of new superlite local ui for me :
I think it can be a good improvment to propose in a future release such a superlight local ui for system with low memory capacity
Best regards
Stephane
|