Switching to 1080p@50Hz seems to be a functional workaround with my setup (Denon x2400h with Panasonic OLED and CEC enabled on all devices)
Posts by greycat
-
-
There https://paste.libreelec.tv/infinite-crab.log
This is powering TV and AVR off, turning them back on: black screen on TV. I have to select another input on the AVR and Kodi input again to get a picture.
-
Running LE 11.0.6 on a Pi 4. Pi 4 is connected to a Denon X2400h via HDMI 5, Denon AVR connected to Panasonic OLED TV via HDMI 2 (ARC).
These are my CEC adapter settings after doing all the operations below. Note that it switch to TV as connected HDMI device instead of AVR as I initially set it up with no way to make the correct setting "stick".
Logs, with a comment at the beginning describing what I was doing before each log excerpt. All in sequence (i.e. did the operations one after the other without doing anything else in-between). Attached as a text file because it's too long to include in post.
How can I make it so that it all works properly?
-
I'm trying out LE10 nightly (20220610) on the Pi 4.
Today, when playing a video file that plays fine on the computer and on Pi 3 + LE9, I had sound cutting off intermittently and then permanently on the Pi 4 + LE10.
The beginning of the playback was fine, and then I paused around 15 minutes, and when I resumed, I was getting about 20-30 secs of sound, 2 secs cutoff, etc. It eventually became mute. The log attached is after rebooting, when it is 100% mute (but only for that file, playing youtube or another video file is fine).
Same video file at the same timestamps plays back fine on LE9 Pi 3 and with VLC on the computer.
I also get issues when switching the input to LE10 on my AVR: the screen is black and there is nothing shown. I have to switch to another input with video and back to LE10, then it displays the UI etc.
-
LE10 nightly fixed it.
Are the nightlies safe to use in a "set and forget" manner, or are they unstable? Does the updater find new nightlies and applies them automatically?
-
Please test with the latest LE10 nightly build from here https://test.libreelec.tv/10.0/RPi/ this should contain a fix for your issue.
so long,
Hias
I'll give it a shot. If you stumble here and are stuck on 10.0.2, it looks like disabling the refresh rate adjustment to match the video file's framerate avoids the black screen (but then the playback isn't as smooth)
-
I've been struggling with the Pi 4 and LE 10.0.2 for months, and every once in a while I try again.
I'm trying to play an H.265 encoded movie using LE 10.0.2 on the Pi 4 through a Denon X2400h PVR at 4k.
Whenever I start the movie, the screen goes black, no sound output, and the remote doesn't do anything anymore. The only option is easier to pull the power from the Pi or to SSH into it and `reboot`.
LE or Kodi doesn't *seem* to be crashed, it looks like it's just playing the video file into the void.
Here is the debug log attached.
-
Hi all,
I have what comes across as the same issue, except my AVR is a Pioneer VSX-529.
- Plugging my Pi into the receiver: No HDMI CEC
- Plugging my Pi into TV regular HDMI port: No HDMI CEC
- Plugging my Pi into TV HDMI ARC port with AVR unplugged: HDMI CEC works!
- Plugging my Pi into TV HDMI ARC port with AVR plugged in again: HDMI CEC broken again
It seems like there's a bizarre interaction between the CEC from the Pi and from the AVI.
Did you find the same behaviour greycat?
I've given up on the pi4 and 10.0.2. It's just too unstable for my liking and it's inferior to LE 9 in the sense that a significant chunk of my video library crashes LE10 but plays fine on LE9. And since I can't run LE9 on my pi4 for some reason (won't boot), I'm back to LE9 on Pi3, 4k be damned.
-
Thanks. LAN speeds and internet speeds are fine, they completely saturate the 100 mbit port on the Pi. The problem seems to be with SMB from the Pi, because SMB from my desktop client gets wire speed (gigabit). But SMB from the server to the Pi is what seems to be slow to a crawl, although I don't know how to actually measure it.
I tried copying a file from the SMB share to the Pi's sd card, timing it, and then dividing by the amount of data transferred. I got 4 MiB/s which is very low, but I don't know how much of that is a function of the sd card's write speeds.
-
I'm trying to troubleshoot stuttering with SMB files. I'm thinking maybe, somehow, SMB networking is slow between Pi and server (because it's gigabit wire speed from my Linux machine to the Linux SMB server, and it's 100 mbits from my Linux machine to the Pi using scp)
As a test, I'm copying a large file from the SMB share onto LE's internal storage using the file explorer.
But how can I see the actual transfer speed in real time? I tried `netstat -e` over ssh but it doesn't show that information. And I can't install any other Linux package because of LE's nature.
My router doesn't show SMB traffic in its speed graphs for some reason.
-
I used to use NFS to stream media to Kodi/LE. I have since migrated to SMB.
When I watch video content, every once in a while, playback will freeze for a few minutes. And in the logs, I see this around that time:
Code2022-05-11 12:43:54.696 T:1799328640 DEBUG: NFS: Context for 192.168.1.116 not open - get a new context. 2022-05-11 12:43:57.736 T:1799328640 ERROR: NFS: Failed to mount nfs share: (nfs_service failed)
I have checked everywhere I can (in sources, in the file explorer) and there is no trace of that NFS source anymore. And yet Kodi keeps trying to do something with it.
How do I obliterate this NFS reference? Where could it still be lurking??
-
I tried to run LE10 on the Pi4 I have. I downloaded the 10.0.2 image, unplugged my Pi3 running LE 9.2.8 from the AVR (Denon X2400h), and started it up. It seems to work fine except that I can't get CEC to work.
I tried in 1080p 30Hz, 60Hz, 4k 30Hz, 60Hz, no dice. Whenever I connect the Pi4 and LE10 through the AVR: no CEC. If I connect the Pi4 directly to the TV's ARC plug (Panasonic OLED TX-55FZ950), CEC works fine.
If I put the Pi3 on LE 9.2.8 back, CEC works fine. If I put LE 10.0.2 on that Pi3, CEC works fine.
The only combination that doesn't work is Pi4 on 10.0.2 through the AVR. Nothing else changes, all settings, cables, etc are the same.
Any ideas?
-
Is there any reason for not firing up an NFS server and use Linux native sharing protocol instead of Samba? You can share the same volume over several protocols same time (from my long experience in Linux forums many users somehow think it is not possible).
ACLs are much more complicated with NFS, that's the only reason. I don't have a practical and low overhead way of syncing UIDs and GIDs across all machines, containers, etc. on my network and whitelisting IPs is also hard to maintain. It's much easier to have a username and password to protect a share.
-
I'm sharing my media via SMB to LibreELEC (LE is the SMB client) using a username and password protected share. I'm able to enter the username and password when prompted in LE so that's fine. And media plays fine too.
The problem is that I have extensions that need write access (Janitor to delete watched files for example, or downloading subtitles)
On other machines, I can use file_mode=0777,dir_mode=0777 or uid=myuser and this is enough to get write access to that share without sudo.
How do I achieve this on LE so that my password protected shares aren't read only?
-
-
-
-
Please try with a clean installation of the latest LE10 beta, leave config.txt and distroconfig.txt as they are and add the following options to the end of cmdline.txt:
This should give you working video output at 1280x720.
Then ssh in, run the following commands and post the URLs you got from them:
If video and audio are working fine you can then drop the drm.debug option and just keep the video option in cmdline.
so long,
Hias
Would these steps also help troubleshoot 9.2 on RPi 4? There is a bunch of us who can't get an unmodified 9.2.{6,7} image to boot on the Pi 4. I made extensive testing with various Pi 4 EEPROM versions, SD cards and USB sticks combinations (all working on Pi 3 with LE or Pi 4 with other projects like PiOS), could never get 9.2 to boot. 9.95 was booting but it's missing features I need (subtitles on 4k videos, play/pause etc not working via CEC)
See 9.2.6 won't boot on Pi 4 (fresh install, frozen on black screen with white _ symbol)