Ok,so added the line to config.txt and so far so good..no crashes..I m able to scroll on widgets again and enter menus while a movie is playing in the background..
fingers crossed..
Thanks again
Ok,so added the line to config.txt and so far so good..no crashes..I m able to scroll on widgets again and enter menus while a movie is playing in the background..
fingers crossed..
Thanks again
Display MoreThanks for the log!
As expected RPi is running out of CMA (graphics) memory
CodeNov 24 23:49:06.029657 LibreELEC kernel: cma: cma_alloc: alloc failed, req-size: 720 pages, ret: -12 Nov 24 23:49:06.030344 LibreELEC kernel: bcm2835-codec bcm2835-codec: dma_alloc_coherent of size 2949120 failed Nov 24 23:49:43.019743 LibreELEC kernel: [drm:vc4_bo_create] *ERROR* Failed to allocate from CMA:
You could try with more memory, add eg dtoverlay=cma,cma-384 (or cma-512) to config.txt to increase it from 256 to 384/512 MB or use another less heavy skin.
There's also a long standing issue that kodi buffers way too many pictures than it actually should and thus is eating graphics memory for breakfast - until that's exhausted and it just crashes. Unfortunately there are no fixes for that yet
so long,
Hias
Thanks for your quick support..
Problem is I had to update from LE 9 which was working fine due to an addon (new ITV HUB) that wasn't available anymore for kodi Leia..never had these issues on LE 9.
Let me try increasing memory (fingers crossed)..
Looks like it's time to upgrade to a Pi4
Please use the crash upload function in LE settings (or pastecrash via ssh) to provide logs.
Most likely you are running out of (CMA) memory - the necessary info about that is not in kodi logs, but in pastecrash logs.
so long,
Hias
Here it is..thanks
Hoping to get some help..
Not sure if this is a known issue..but since LE10.0.* on my rpi I m getting several crashes..
Skin is Aeon Nox Silvo,but issue happened on basically 99% of the skins I tested besides estuary..
To replicate crash...
start movie
go to home menu and
browse movies
scroll widgets
go to kodi settings/addons menu while movie is in the background..
Tried many things like starting from scratch,installing my setup with 1 addon at a time...disabling language invoker on the few addons I had installed etc..
Depending on what you'r trying to do...and when you want your vpn to be connected or disconnected..
Server or client?
Thanks for the suggestion, both os.system("sudo sleep 5s") and time.sleep(5) seem to work intchangeably.
The led only blinks buring the few seconds of poweoff, which is the expected behavior (the rest of the time it just stays on).
Thanks again for your suggestions, I've been trying to make this script work for quite some time and with your help is was much easier than expected!
LibreELEC:~ # sudo
There is no working 'sudo'.
On debian/ubuntu/all general purpose linux distributions 'sudo'
allows a permitted user to execute a command as the superuser
or another user, as specified by the security policy
With LibreELEC you have root access by default, so you dont need 'sudo'
this might be it: llctl
You saved my day..yes that's it...updated to LE 10.0.3 and forgot to save a copy of this..working fine..thanks
This can be done without kernel modifications. See:
Raspberry Pi • View topic - Controlling LAN LEDs individually
As compiling on LE is tricky, here is a build I did on raspbian that works fine on LE.Codewget -O llctl "https://drive.google.com/uc?id=0B-6zmEDJwxZEbmJkU3g2MlhMQWs&export=download" chmod +x llctl
You can now turn off LEDS with
and turn them on with
popcornmix ..
Hi
Do you still have this file please as google link seem dead?
This is all you need...if you get stuck ask on that forum..
Altough I m not sure how that script works...Assuming you already connected the cables to your rpi gpio pins...the "recalbox_SafeShutdown.py" should work fine for you..
step 1
Install virtual.rpi-tools addon from libreelec repo.
step 2
download the script and place somewhere in your rpi storage where you keep your scripts
add these 2 lines to the top
then
chmod +x <path to script>
dos2unix <path to script>
step 3
test with command
If it works just create a service or add to autostart.sh last command in step 3 to always start the script on startup..
Display MoreI have cron enabled in settings.
I have verified the cron is working by creating a crontab entry
* * * * * * date >/tmp/date.txt
And indeed /tmp/date.txt gets the time and date written once per minute.
However when I change the crontab to
* * * * * * /storage/usr1/kenc/temps.sh >/tmp/temps.sh.txt 2>&1
where temps.sh contains
date
The file is chmod 755 and runs when executed from an interactive shell.
I've tried with and without a shebang in the file.
The script doesn't run.
Confusingly, /tmp/temps.sh.txt contains:
/bin/sh: backup: not found
Any ideas?
does it work like this
* * * * * * echo $(date) >/tmp/temps.sh.txt
edit : yes you tryed already
second tought..
in /storage/usr1/kenc/temps.sh
change date to
Checked it out and yes it does "stutter" a bit on live TV. When you say "deinterlacing on your LE device" do you mean the TV or the RPi?
I mean when watching a recordings or live tv in kodi try to change deinterlace settings from osd menu-video settings
I think this post belongs here rather than in the PVR group. Using TVHeadend (4.2) I recorded an episode of Doc Martin with stream profile of "pass". Playing it back lip sync was out and it was "stuttering" sort of freeze of a 10th of a second to give jerky movements.
I copied the .ts file to a memory stick, plugged it into one of the TVs USB ports and playback was perfect. I've recorded 3 other programs to test (different times, different channels) with the same result.
Recordings are being saved onto the SSD that Kodi runs from so to eliminate that I copied the .ts file onto the 6TB HDD I store my films on. Still stuttering on playback.
I'm guessing the issue is caused by ffmpeg so I'm going to try changing the stream profile to "matroska" and see if that helps. I'll report on that later today.
You probably have the same issue viewing live TV...playing with deinterlacing on your LE device should fix that..
I would start by installing keymap editor and try to find out that the yellow button should actually be "yellow"in the keymap and not some number..
Just try to create a random function for the yellow key with the addon and check your keymap.xml if the yellow is actually 'yellow' and not something else.
Also some keys are hard coded and cannot be programmed...but the yellow shouldn't be one of them..
Just checked on my remote the yellow button is '253'
keymap looks like this
Bluetooth errors are apperently harmless on pi2..just because there is no bluetooth module on a pi2