Posts by milhouse

    I'm not sure if the crash was due to using 2 monitors or having 1 4K and 1 HD monitor or if it was unrelated. I'd previous been scanning my NAS for TV programs and that took ages so not sure if I'd have had the crash anyway as a result of the really long scan.

    When I've scanned movies, I'll reboot and see if it starts up ok. Then scan TV programs and reboot again.

    Unrelated. The crash is due to data loss on your SD card, maybe you switched off without shutting down?

    You were missing the file /storage/.kodi/userdata/profiles.xml which can sometimes go missing after an improper shutdown (and other reasons we're not entirely sure about), but when it does go missing then Kodi will crash on startup. Copying the file from the safe mode installation to your FAILED installation is the quickest fix and avoids a re-installation.

    What is the issue?

    This: Pi4 not working with some chargers (or why you need two cc resistors) – The blog of Tyler Ward (aka scorpia)

    On reddit: Broken USB-PD power on Raspberry 4?! Almost of my usb-c power supplies do not work... :( : raspberry_pi

    It's an issue that appears to affect _some_ cables (it's not actually a charger issue, but a cable issue). It's not the end of the world, but might be nice to fix in a future rev - most users are unlikely to be affected with the current board revision.

    A bit of an unrelated question... What command should I use via SSH to monitor temperatures?

    You can use bcmstat.sh to monitor temperatures.

    Also how do I enable/disable a temperature overlay on the UI itself?

    If you want to disable the over temperature/under voltage warnings it's explained here, but that's not really a good or recommended solution as your device will throttle the frequency once it gets too hot.

    Why would 0-255 or 16-235 be an issue for Rec 2020 HDR10 output flagged as Rec 709 SDR?

    Just trying to rule out possible causes in an effort to identify what is happening.

    As it happens, there should be a fix for the "washed out" videos in the next release as MMAL required some extra support for the Rec2020 colour space that had been omitted. It would still be very nice if someone could upload a test sample or provide a link to a file that demonstrates the problem so we can fix it at the first attempt.

    Also, stuttering issues with interlaced videos should be fixed in the next release.

    Hi Milhouse,

    Everything is stock, including skin, I don't use any add-ons other than those already installed in Libreelec.

    Here are the results of the test at idle: https://imgur.com/a/8xfplsm

    Are you using hdmi_enable_4k=1 in config.txt? This enables 4Kp60 but (currently) increases clocks/voltages which leads to higher temperatures.

    Quote from popcornmix

    The reason that is optional is it increases clocks/voltages which means higher temps. We did lower these just before LE image was made but a. Issue with WiFi meant we reverted it. The latest rpi-update does lower this again (with a fix for WiFi.).

    Hopefully the next LibreELEC 9.2 alpha update (9.1.002) will have the updated firmware and thus lower temperatures with hdmi_enable_4k=1.

    Have you limited your GUI size to 1080p as this will give better performance (and thus potentially lower idle temperatures) than running the Kodi GUI at 4Kp30 or 4Kp60 (Settings > System > Display > Limit GUI Size - needs settings level set to "Expert").

    Can you upload your kodi.log from the RPi4 using the "upload kodi log" option in the LibreELEC Settings addon and post the link?

    this screenshoot is taken from a clean install.

    Is the screenshot taken at a time when your system is "idle"? If so, isn't it showing a temperature of 60C-61C? Where are you seeing 70C? Is it only after you install the addons that you start to see temps of around 70C?

    And why is one of your CPU cores spiking to 100% every 3-4 seconds on a "clean" install - that's not what I'd call an "idle" system (in my screenshot, CPU load was consistently low on 3 cores, with 1 core servicing kodi.bin at about 30%). From your screenshot, it appears that your system is hammering the SD card almost constantly writing large amounts of data (to the SD card) - try disabling Backup and Artwork Beef and see if the "iowt" column goes down to 0.00.

    Sorry, just a bit confused about your "idle" status and what the screenshot is telling me, and the lack of 70C temps.

    Same issue here. I have a 2GB RPi4 with official case, PSU and HDMI cable. Clean install, room temperature is 20c and the Rpi4 idles at 70c and goes up to 75c during video playback.

    While idle at the Kodi "Home" menu (presumably you are using the stock Estuary skin?), can you run the following command in ssh (make the ssh window quite wide/high - at least 186 columns, and 40+ lines):

    Code
    bcmstat.sh -ZCxpyd1

    Leave it running for a short while (20-30 seconds) then take a printscreen of the ssh window and upload it to imgur.com (then post the link). With this we can see if something is hammering on the CPU core(s) and driving up the temperature abnormally. Thanks.

    So I tested 4K HEVC video and it's working almost properly. But i must say I have washed out color too (like someone sad before me). Changing option "Limited color range" doesn't work and make things worse. I would say it looks like very bad HDR. I'm using original HDMI cable from PI Foundation (HDMI to micro HDMI). My Samsung TV has HDMI port set to HDMI UHD color (didn't try turn it off yet (but again with S905X it worked fine).

    Sometimes I get delayed audio, but that could be a source issue.

    Real pain is reading from my NAS via ethernet. It's connected via gigabit network and when I try to play even 2,7k it can't buffer enough and stutter a lot. I must say that via TV (which is connected just with 100M) and my old S905X (again 100M) android box it's working fine, so it must be RPi4 or LE issue.

    Next thing is, do you guys have same problem with overheating like me? The RPi 4 is really hot and I used passive cooler to CPU which helped just a bit. It says CPU temperature 80°C and I'm just sitting in menu. I can't realize playing 2 hours of 4k movie, after that will RPi 4 burn through my furniture :).

    I'm not sure about the high temperature, this is an uncased 4GB RPi4 (no heatsink) with 9.1.001 while idle at the Home menu for 7 hours:

    2nTO5bx.png

    Have you installed any add-ons? Is this a clean installation or upgrade from RPi3 - try a "clean" /storage/.kodi without any third party add-ons and see if you still have issues (maybe an add-on has gone nuts and is spinning on the CPU).

    Does the GUI look washed out or is it just videos? Presumably the washed out videos are HDR videos? As previously stated, there is currently no HDR support until this is baked into the Linux kernel, probably 5.2 or 5.3 so I'd expect the HDR metadata to be ignored. Can you upload a small sample video (or link to a sample video) that demonstrates the problem?

    Hi all,

    I installed this release on my PI4 2gb and and have a few questions.

    I can play 4K HEVC files fine but as all of them are HDR which isn't supported yet will this result in incorrect playback? They seem to be washed-out and lacking colour but this could be in my mind.

    The maximum refresh rate I can get is 30. In 1080p I can get 60. Is this likely to be down to the HDMI cable I'm using? I seem to remember I had this with my laptop and had to buy a quality cable. I'm using a micro to full size adaptor which I think might be limiting things.

    Thanks in advance for any help.

    documentation/hdmi-config.md at master · raspberrypi/documentation · GitHub

    In /flash/config.txt, add the following to enable 4Kp60 support:

    Code
    hdmi_enable_4k=1

    HDR metadata should be ignored for now, so if your display looks washed out try toggling Settings > System > Display > Use limited colour rage (16-235).

    I will check it when i get back to home, because I'm not sure. Anyway, it's a chance to get 4k h264 video in future?

    How about that audio? Should Dolby Atmos and DTS HD MA now work properly?

    Thanks.

    I don't think the hardware will support 4K H264 decode. It's more likely that 4K videos will be HEVC.

    Initially DTS HD-MA should work same as RPi3B, ie. LPCM, but HBR audio support is planned for the future which is when Atmos should work too.

    Yesterday I tried to play few movies in Kodi in 4k - results are not good, stuttering, freezing etc.

    Dolby Atmos and DTS HD MA not worked only DD 5.1 (yes i had enabled passthrough and Dolby Atmos and DTS HD MA capable receiver, this option worked with my S905X).

    Were these h264 or HEVC 4K videos? 4K video playback is HEVC only.

    From the announcement post:

    * HEVC decode to 4K@60 (with HDR)

    * H.264 decode to 1080p@60

    If these were HEVC 4K videos, can you post the media info?

    milhouse I will wait for the USB booting then. I was wondering if I can use the following method (I guess it should be faster):

    1. Download RPi4 image and manually upgrade my RPi3 with it (update folder).
    2. After rebooting my RPi3 should show the rainbow screen (firmware not right)
    3. Activate USB boot on my RPi4 (when available)
    4. Plug in my USB HDD in the RPi4 and cross fingers

    What do you think?

    You'd need to create /storage/.update/.nocompat to allow the RPi3 to upgrade using RPi4 image/tar, but then once it has finished upgrading to the RPi4 version of LibreELEC it will fail to boot as the new RPi4-based installation (when running on your RPi4 hardware) would not be able to boot from the USB drive to which it has been installed.

    If you left the RPi4-based installation running on your RPi3 hardware it may actually boot from your USB HDD, but the "RPi4 on RPi3" user experience is not good at the moment.

    My advice would be to install the RPi4 image to a fresh SD card, boot it and restore a backup of your RPi3 installation. Once USB booting is supported by the RPi4 - instructions will be posted detailing the bootloader flashing process - you should be able to attempt upgrading your RPI3 without the SD card using the latest RPi4 image and the nocompat method above. Then replace your RPi3 with your RPi4.

    soyxan USB and network booting are not yet supported, this is on the RPi Foundation to-do list - USB booting should be along soon (few weeks) followed by network boot support. The RPi has 512KB of flash memory so the bootloader can be updated with new features and bug fixes.

    Assuming you're happy to boot from SD card it should be possible to restore a backup of your RPi3 installation to the RPi4 system.