Posts by imforumman
-
-
-
-
Recently I upgraded my hardware from RasPi4s to RasPi5s, hence a clean install. Some files from the userdata directory were copied, since I'm running a common DB on my NAS. I upgraded two systems, one a LG TV with a Sony Reciever and one LG TV without a reciever. The error I am about to describe occurs only on the system with the reciever (between TV and RasPi) and did not occur using the RasPi4. The error occurs using LibreELEC 12.0.0, 12.0.1 and 12.0-nightly-20240910-bd771c9 from the thread about multiple CEC-adapters.
To reproduce:
Boot LE with TV and Amp on. The TV adds Kodi to the known sources. Everything works.
Switch to another source (ie live-TV) and Kodi remains in the list of known sources for about 20 seconds and then disappears! To get the TV to offer Kodi as a source again, I need to switch the source to the reciever, make sure the reciever has the right input selected at which point the TV learns again of Kodi as a souce, to which I need to switch in order to be able to control Kodi via CEC.
Can I provide a CEC log or something to that effect? How?
Thanks so much for LE!
-
Thanks, I've switched to using the nightlies you linked to (one RasPi4 and two RasPi5) and a couple of test runs have shown no awkward behavior. Thanks again so much.
-
Hi. Found this via the linked issue (Multiple Adapters...). Thanks for the quick fix, is the nightly likely to cause problems on the Pi5 in other aspects, or can I install it without needing to be worried? Will there soon be a 12.0.2 that includes this fix?
Thank you so much for your hard work on LibreELEC which is IMHO the supreme implementation of Kodi. So awesome.
-
This sounds great. Is this (vc4.inval_delay=0 vc4.cec_debug=0x100) going to make it's way into 10.0.3 or will this only be on a debug branch for quite some time?
Thanks for your hard work!
-
I got myself a new TV for Christmas, and with this TV I don't have any issue with the TV turning on again with LE 10.0.1.
I still use the same receiver (and cables), so the only difference is the TV.
r-pi4 --> Pioneer VSX-1131 --> Sony KDL-52W4500 - Problem with TV (and receiver) turning back on right after turning off.r-pi4 --> Pioneer VSX-1131 --> LG OLED65G1 - No problem at all with LE 10.0.1
Not that my kids would, but don't let the small ones read this (I would be forced to explain why they aren't getting their presents yet).
That is strange, as mentioned I have a new LG OLED65C1, just upgraded from a LG OLED55E7N (2017), and both show this behavior, attached to a Sony AVR. I thought the only difference between the C1 and G1 is the physical dimensions and the panel, but the hardware (CPU etc) and firmware is the same.
-
Seems you are right, I could with a short test reproduce only with an AVR between the TV and LE-Pi. After some replugging restarting and redoing I got CEC to work with the direct connection TV <-> LE-Pi, "but" when shutting off the TV everything worked fine, no sudden turn-ons for the TV.
The log: log-2021-11-28-22.06.43.zip
-
I provided my log with cec logging with AVR in the first post of this thread. I can, if it helps, attach the LE-Pi directly to the TV and take the AVR out of the equation and provide logs again, but I'm quite busy at the moment so I'm not going to do if you see no point in it trying to help debug this thing in this way.
Greetings and thanks for taking this on, popcornmix
-
Are any more logs with CEClib-logging or anything else necessary to analyze this problem? Am happy to provide whatever is helpful. Thanks for looking into this!
-
Did you try power cycling the TV ? - pull the power cord from the wall for 1 hour and then plug it back in again ? I know it sounds silly but for some reason it has fixed a lot of CEC related issues. I think some TV's have a CEC "memory" and when there is any change (like changing versions of LE), it may remember the last setting.
Just a thought
As stated in my second post, I can reproduce this behavior on LE 10.0.1 with two different TVs, one of them has never seen any other hardware than the attached AVR, BD-Player, and Pi, deef-freeze-booted (first time turned on) into that setup. I havn't had the time to downgrade to 10.0.0, I skipped that version coming from 9.3.x
-
Ok, so now I'm able to reproduce this behavior on a second TV, albeit also from LG.
I found I can also circumvent this by switching the TV to another source (ie conventional television, etc) and then turning off the TV, but this is kind of messy. I've always felt that CEC was rather buggy (across all vendors and implementations) but this would need to be something that changed from LI 9.3 to 10.0 within libCEC, but I don't even remember if the version was a different one.
Anybody have any ideas?
-
Hi again,
RasPi4 LE10.0.1 <--> AVR Sony <--> TV LG
LibreELEC is always on. Running LE9 I would turn on the TV and the AVR would turn on simultaneously (I've always experienced the bug that if I switched sources on the TV shortly after powering up the TV/AVR LibreELEC would steal focus and switch the source back to itself, but that just on the side). Now after the upgrade to LE10 (same RasPi4) whenever I turn the TV off (and with it the AVR), it takes anywhere from 5 to 20 seconds until the TV and AVR are turned back on.
If I turn off Auto-Power-Sync in the CEC options of the TV nothing is turned back on, but I would manually have to turn on the AVR and need a second remote for that, which I do not want. Obvoiusly if I turn CEC off on the TV or in Kodi no unwanted-power-on occurs, but all CEC-function is lost. In the CEClib settings everything that looks remotely like a command to turn anything on is switched off. I determined the HDMI Port to be 3 by changing it and accepting that value only when it switched to the right input after saving the CEC options, but besides that I'm not sure of this setting. The physical address seems to be changed to 2300 by the system. I entered that the REasPi is connected to the AVR (as shown above) but it keeps being reverted to TV, which is not physically correct.
I've attached a log-2021-11-04-08.13.18.zip with CEClib verbose logging turned on.
Can anybody help? Please? My wife is going to be so mad if I tell her something about workarounds....
-
Of course you are right, but if in a couple of days no quirks have shown... again: thank you!
-
Klojum Thank you for sending me in the right direction: "Debug log file please." Found
Code2021-11-03 21:51:29.088 T:847 INFO <general>: Old database found - updating from version 116 to 119 2021-11-03 21:51:29.089 T:847 ERROR <general>: SQL: Can't create database for copy: 'kodi_video116' (1044) 2021-11-03 21:51:29.089 T:847 ERROR <general>: Unable to copy old database kodi_video116 to new version kodi_video119
and checked the privileges of the kodi user on the mariaDB and was found it had no rights to create new databases... changed that an everything works.
So after I've upgraded all my LibreELEC Pis to 10.x I can delete the kodi databases with lower numbers? Music60 and music72 and video107 and video116? That's about 120 MB total.
Thanks so much!
-
Hello,
I have several Pi4s running with LE accessing one central DB on my NAS.
Today, seeing 10.0.1 was out with serveral fixes for Pi4 I attempted to migrate one the Pis to LE10. Clean install, copied
advancedsettings.xml, mediasources.xml, passwords.xml and sources.xml into the userdata directory and rebooted.
The result is that LE10 doesn't reach the DB "Your library is currently empty....". I can access the files on the NAS via Videos > Files, but then, when I attempt to play them Kodi restarts (I'm guessing the RasPi doesn't reboot, it's too fast).
Any ideas? I don't want to do anything to endanger my database, but am well aware that as soon as a connection is established, the db will be upgraded and unusable by the older clients.
Thanks for any ideas!
-
Ok, here is my pastkodi from the defunct unit.