Thank you so much for your enormous efforts to track this bug down. It's so annoying to have to restart Kodi every few hours because it runs OOM. Can't wait to have a normally working instance again.
Posts by MaxMustermann
-
-
Your disrespectful, vulgar and aggressive tone based on prejudices goes way to far IMHO. I tried to provide logs to help investigating a technical problem and even wrote a bash script to log memory usage.
I do not want to take part in personal disputes, so I will leave the thread here. Maybe someone else will provide a clean enough log to solve the problem in the end.
-
You might want to start by doing a clean installation without any of the banned repositories/addons https://kodi.wiki/view/Official:Forum_rules/Banned_add-ons
1. Can you please tell me which addons you mean? I only found the 5star repo that is on the list of banned repos. I am using the Last Played addon https://forum.kodi.tv/showthread.php?tid=279131 from there, so I am surprised that the repo is banned at all. There shouldn't be a thread in the offical kodi forum if the addon belongs to a banned repo.
2. I can confirm that the memory leakage does not occur with LibreELEC-RPi4.aarch64-12.0-nightly-20230829-db892cd.img.gz, like the thread opener wrote.
-
same issue with build nightly-20230911-e17bf16
Can confirm that the memory leak is still present.
-
Now I have the strange situation that inputstream and visualization addons have been updated, but pvr addons have not. There isn't even a 'PVR-Clients' category at the 'LibreELEC Add-ons' repository. In particular, I need the pvr.hts addon version 20.5.0.
-
AFAIK, the binary addons are built manually. This may take some time.
We make periodic updates to add-ons and build them when upstream things are bumped (and we notice, there is no automation) but they are not built "nightly" like core images.
-
Hi Pipesmoker,
1. The config for your clients should be here: /home/hts/.hts/tvheadend/accesscontrol. Each client has its own file in JSON format.
2. Channels and timers are in /home/hts/.hts/tvheadend too. Channels in subfolder channel/config and autotimers in subfolder dvr/autorec. Just have a try on copying your 4.2 files there. AFAIK the folder structure has not changed.
-
Many thanks for shedding some light on screen darkness
which was my initial reason for fiddling around with color range. I removed the modetest line from the autostart script and instead adjusted the display settings at last.
-
If you want to set the output to full range and 12bits, you can do so using modetest:
# Broadcast RGB:
# flags: enum
# enums: Automatic=0 Full=1 Limited 16:235=2
modetest -M vc4 -w 32:Colorspace:12 -w 32:"max bpc":12 -w 32:"Broadcast RGB":1
I have a corresponding entry in my autostart.sh script, of course with ()& around the statement in order to run in background.
The id 32 goes for hdmi0, for hdmi1 use id 41.
-
I had a similar problem when I set hdmi_ignore_cec_init=1 in config.txt. Setting it to 0 makes CEC work again.
-
Hello,
I am on LE nightly LibreELEC-RPi4.arm-11.0-nightly-20220424-d546803 and would like to use the python-cec module for some advanced CEC programming. Since there is no pip on LE, I thought it would be possible to compile it myself on another RPi4 with Rasperry Pi OS (64-bit). Using it on LE gives me this error:
PythonTraceback (most recent call last): File "/storage/scripts/cec/test.py", line 6, in <module> from cec import cec File "/storage/lib/cec/cec.py", line 9, in <module> __bootstrap__() File "/storage/lib/cec/cec.py", line 7, in __bootstrap__ mod = importlib.util.module_from_spec(spec) ImportError: /storage/lib/cec/cec.cpython-39-aarch64-linux-gnu.so: wrong ELF class: ELFCLASS64
What am I missing? Both OSes are aarch64, right?
UPDATE:
I solved the problem. Had to compile it on the 32bit version of Raspberry Pi OS. In addition to that, it was necessary to compile with libcec version 4 (most current is 6).
-
I've got a RemotePi since 2019 and am very happy with it. Unfortunately, their shop was closed last September, but maybe there are still some boards on eBay or so.
-
The problem was that kodi wrote a wrong path in the profiles.xml on crash (it wrote just "gs" as a path). I don't know why this file is touched at all on every exit, whether something has changed or not.
Using ssh to close kodi
and then correcting the path solved the problem.
Search for this line and enter the correct path to your userdata folder:Code<profiles> ... <profile> ... <directory pathversion="1">/storage/.kodi/userdata</directory> ... </profile> </profiles>
After that, kodi can be restarted
-
Why does kodi search for a location "gs"?
I found this in my logfile too:
Code16:59:12.315 T:140180110682240 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping. 17:59:12.473 T:140180110682240 INFO: creating subdirectories 17:59:12.473 T:140180110682240 INFO: userdata folder: gs 17:59:12.473 T:140180110682240 INFO: recording folder: 17:59:12.473 T:140180110682240 INFO: screenshots folder: /storage/screenshots/
Is there a way to set the right path to my userdata? I.e. ~/.kodi/userdata
-
I had a Kodi freeze when stopping live tv, so I send "systemctl restart kodi" via ssh. After the restart nearly all of my settings were gone. It was the first time this happened, and I use Kodi (Xbmc) for about 6 years.
This is an extract from my log file:
Python
Display More01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs 01:36:48.119 T:140327681375552 ERROR: Previous line repeats 1 times. 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Database 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Database/CDDB 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/library 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/Video 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/Video/Bookmarks 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Savestates 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/0 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/1 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/2 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/3 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/4 01:36:48.119 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/5 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/6 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/7 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/8 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/9 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/a 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/b 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/c 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/d 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/e 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/Thumbnails/f 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/addon_data 01:36:48.120 T:140327681375552 ERROR: Create - Error creating special://profile/addon_data 01:36:48.120 T:140327681375552 ERROR: Create - Error creating gs/keymaps 01:36:48.120 T:140327681375552 ERROR: Create - Error creating special://profile/keymaps 01:36:48.122 T:140327681375552 ERROR: Unable to create new database ... 01:36:49.270 T:140326530422528 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.OSError'> Error Contents: [Errno 30] Read-only file system: 'gs' Traceback (most recent call last): File "/storage/.kodi/addons/script.extendedinfo/plugin.py", line 12, in <module> from resources.lib import process File "/storage/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 16, in <module> import Trakt File "/storage/.kodi/addons/script.extendedinfo/resources/lib/Trakt.py", line 8, in <module> import TheMovieDB as tmdb File "/storage/.kodi/addons/script.extendedinfo/resources/lib/TheMovieDB.py", line 9, in <module> from kodi65 import kodijson File "/storage/.kodi/addons/script.module.kodi65/lib/kodi65/__init__.py", line 9, in <module> from listitem import ListItem, VideoItem, AudioItem File "/storage/.kodi/addons/script.module.kodi65/lib/kodi65/listitem.py", line 8, in <module> from kodi65 import utils File "/storage/.kodi/addons/script.module.kodi65/lib/kodi65/utils.py", line 21, in <module> import YDStreamExtractor File "/storage/.kodi/addons/script.module.youtube.dl/lib/YDStreamExtractor.py", line 8, in <module> import YoutubeDLWrapper File "/storage/.kodi/addons/script.module.youtube.dl/lib/YoutubeDLWrapper.py", line 6, in <module> from yd_private_libs import util, updater File "/storage/.kodi/addons/script.module.youtube.dl/lib/yd_private_libs/util.py", line 9, in <module> if not os.path.exists(TMP_PATH): os.makedirs(TMP_PATH) File "/usr/lib/python2.7/os.py", line 150, in makedirs File "/usr/lib/python2.7/os.py", line 150, in makedirs File "/usr/lib/python2.7/os.py", line 150, in makedirs File "/usr/lib/python2.7/os.py", line 157, in makedirs OSError: [Errno 30] Read-only file system: 'gs' -->End of Python script error report<--
This is my uncut dmesg output: ufx3EnP3.
It seems that a filesystem error on my ssd occurred, so it switched to read-only mode. I booted the PC with a gparted usb stick and ran fsck on both the system and storage partitions. No error was found.
I don't know how to fix this error or if it can be fixed at all. Since I can still access all relevant files and have a dedicated disk for these two partitions, it would just be a matter of some hours to setup a fresh system. But if the error could be fixed with some command line trickery I would highly appreciate this.Can anyone help me, please?