Connect the RPi4 directly to the TV.
If this doesn't help add "video=HDMI-A-1:1920@1080" to the end of /flash/cmdline.txt (everything has to be on a single line!) to force HD mode and disable any 4k modes your TV/AVR may advertise.
so long,
Hias
Connect the RPi4 directly to the TV.
If this doesn't help add "video=HDMI-A-1:1920@1080" to the end of /flash/cmdline.txt (everything has to be on a single line!) to force HD mode and disable any 4k modes your TV/AVR may advertise.
so long,
Hias
Yes, just put it in .ssh/authorized_keys (full path /storage/.ssh/authorized_keys)
This works OOTB if you enabled ssh in the first run wizard (or later in LE settings).
so long,
Hias
Am I really missing anything with DV compared to HDR10?
Dolby Labs will of course tell you so, but the reality is that you won't notice much difference unless you have display equipment costing in the 5-7 digits USD/EUR range (eg professional cinema projectors).
See also the conclusion in the rtings article https://www.rtings.com/tv/learn/hdr10-vs-dolby-vision
QuoteUltimately, the difference between the three formats isn't that important. The quality of the TV itself has a much bigger impact on HDR. Both formats can produce much more dynamic images than what we used to see, and HDR delivers a more impactful movie experience as long as the TV displays it properly. There are limitations with HDR, though, because TVs can't reach the 10,000 nit peak brightness and all the colors HDR is capable of, but most TVs still deliver a satisfying HDR experience.
so long,
Hias
The power button will maybe be good for safely rebooting when LibreElec/Kodi freezes (?). Maybe you can hold the button for 5s and it will trigger a reboot.
The power button works pretty much as on a PC: if you press it for a shot time it'll do a graceful shutdown and if it hold it for 5s it'll do a hard poweroff (needed when the system/kernel completely locked up).
so long,
Hias
I just received my RPI4 on Friday, to find out that there's now an RPi5 on the way.
No worries, the RPi4 is still an excellent device. And as it draws less power than the RPi5 it's also easier to put it in a passively cooled case.
I can't comment on cooling requirements yet as I neither have the official active cooler nor the official active cooled case here (and OFC third-party cases or heatsinks are yet to come) but I'd guess it'd overheat (and throttle) quickly if you'd just put it into a simple plastic case without a fan.
Personally I'm a huge fan of passively, fanless, cooled systems as there are no mechanic parts that will make noise or wear out sooner or later. For RPi4 there are various proven cooling cases/heatsinks (I like the "armor case" a lot, some others prefer the Flirc case) and we'll yet have to see what will come (and work) for the RPi5.
so long,
Hias
The first CI-built LE12 nightly is now available:
https://test.libreelec.tv/12.0/RPi/RPi5/
so long,
Hias
Is for test purposes only and I will delete it after is done.
RPi5 was bored with that. Roughly 20% CPU load (15-30%, most of the time around 20%)
Video
ID : 1
Format : AV1
Format/Info : AOMedia Video 1
Format profile : [email protected]
Codec ID : V_AV1
Duration : 2 min 0 s
Bit rate : 6 720 kb/s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.182
Stream size : 96.2 MiB (96%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Display More
so long,
Hias
I wonder if you can test a SW playback of an AV1 10bit media as well Link
That file seems to be an 8bit one and it was a bit short.
Video
ID : 1
Format : AV1
Format/Info : AOMedia Video 1
Format profile : [email protected]
Codec ID : V_AV1
Duration : 9 s 991 ms
Bit rate : 7 431 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.155 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.060
Stream size : 8.85 MiB (96%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Display More
Testing showed roughly 40% CPU load and playback seemed smooth.
so long,
Hias
Preliminary LE12 PR is here: https://github.com/LibreELEC/LibreELEC.tv/pull/8175, I'm now looking at adding support to LE11 as well.
so long,
Hias
Will LE 11.0.3 run with a raspberry Pi 5 ?
LE 11.0.3 pre-dates the RPi5 release, so no
We are still thinking about if or how we include RPi5 support in LE 11 (eg 11.0.4).
Background info: we've been testing with LE12, which runs entirely 64bit code and can take advantage of several nice optimizations (eg accelerated deinterlace) which are only available on 64bit.
LE11 on RPi is entirely 32bit userspace code though. Adding 64bit support to it would open a can of worms (lots of the addons would need updates etc) so likely I'll have a look at doing a 32bit LE11 RPi5 build as this should be easier to achieve (fingers crossed).
so long,
Hias
The first one is Kodi's SMB Client configuration and the latter is LE's Samba server configuration.
so long,
Hias
Which LE version are you using?
I did a quick test on LE12 nightly and oddly kodi showed it under the name of my soundcard but with empty parenthesis after them (usually they have he name of the soundcard, again). Certainly some kodi oddity but I saw it in the log, too:
2023-09-25 18:58:05.085 T:1120 info <general>: Device 3
2023-09-25 18:58:05.085 T:1120 info <general>: m_deviceName : both
2023-09-25 18:58:05.085 T:1120 info <general>: m_displayName : RPi-Cirrus ()
2023-09-25 18:58:05.085 T:1120 info <general>: m_displayNameExtra: WM5102 AiFi wm5102-aif1-0
2023-09-25 18:58:05.085 T:1120 info <general>: m_deviceType : AE_DEVTYPE_PCM
2023-09-25 18:58:05.085 T:1120 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR, UNKNOWN1, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8
2023-09-25 18:58:05.085 T:1120 info <general>: m_sampleRates : 32000,44100,48000
2023-09-25 18:58:05.085 T:1120 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2023-09-25 18:58:05.085 T:1120 info <general>: m_streamTypes : No passthrough capabilities
If you can't get it working please provide a debug log (enabled debug logging in settings, reboot, ssh in and run "pastekodi").
If you play multichannel content and have the number of channels set to 2 in kodi audio config then kodi will downmix to 2ch automatically.
OFC you could also configure more channels, like you did before (also increase the number of channels in the multi pcm accordingly) and eg map 6 channels to HDMI and only FL and FR to the soundcard - but then you'll loose the center channel at the soundcard when playing 5.1 contents.
You could play around with ttable and down-mix more channels into left and right of the soundcard but that could have negative effects if you only output stereo content.
It's tricky, you have to play around a bit what you prefer.
so long,
Hias
It's best to refer to the various cards by name (eg CARD=vc4hdmi), not by number - the numbers can change. see the output of aplay -L
For hdmi output you need to use the hdmi PCM (i.e. hdmi:CARD=vc4hdmi,DEV=0) or the default pcm - the vc4 hw pcm supports only iec958 format (not S16LE etc) which pretty much no software supports (the hdmi pcm will do the necessary conversion).
It seems it's necessary to specify the number of slave channels (eg 4 if you want to output 2+2 channels via the multi pcm) in the route pcm.
And, if you want aplay -L to show the "both" pcm you need to add a description hint.
Please test with this asound.conf file:
pcm.both {
type route
slave.pcm {
type multi
slaves.a.pcm "hw:CARD=sndrpihifiberry"
slaves.a.channels 2
slaves.b.pcm "hdmi:CARD=vc4hdmi,DEV=0"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
slave.channels 4
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1 # front left
ttable.1.3 1 # front right
hint.description "Output to HDMI and Soundcard"
}
Display More
so long,
Hias
It looks like your 500GB drive is dying
Sep 24 17:24:51.239391 LibreELEC kernel: sd 3:0:1:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=1s
Sep 24 17:24:51.239860 LibreELEC kernel: sd 3:0:1:0: [sdb] tag#0 Sense Key : 0x3 [current]
Sep 24 17:24:51.240185 LibreELEC kernel: sd 3:0:1:0: [sdb] tag#0 ASC=0x11 ASCQ=0x4
Sep 24 17:24:51.240507 LibreELEC kernel: sd 3:0:1:0: [sdb] tag#0 CDB: opcode=0x28 28 00 15 17 16 90 00 00 08 00
Sep 24 17:24:51.240824 LibreELEC kernel: I/O error, dev sdb, sector 353834640 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
so long,
Hias
Next try, I found a rather easy way to fix this at least on GBM (i.e. all devices except Generic Legacy/X11)
Solution: let logind handle the system/case power buttons (performing a shutdown) and let kodi handle all other input devices which might have a power button on them as well (and show the shutdown menu).
so long,
Hias
Power off via systemd-logind can be configured in /storage/.config/logind.conf.d
This will only work on Generic Legacy where kodi doesn't grab the input device. On Gerneric with Kodi GBM logind won't see the power button as kodi has grabbed the input devices.
Currently the best way to do it (which will work on all variants) is to create a simple /storage/.kodi/userdata/keymaps/keyboard.xml file with the following content:
BTW: I've changed the PR I've linked and it won't fix that issue because it turned out to be very tricky - the change (and the keymap above) also affects USB / BT / Wireless / ... remotes that kodi sees as "keyboards" and thus kodi would shut down immediately if you (accidentally) hit the power button on such remotes (which can happen quite easily and may be fatal as often it's not possible to power up the PC / RPi / other devices via the remote again).
so long,
Hias
FYI: This should be fixed in LE12 nightlies when this PR https://github.com/LibreELEC/LibreELEC.tv/pull/8161 is merged
so long,
Hias
Thanks for analyzing this!
Could you please report that on the youtube addon issue tracker https://github.com/anxdpanic/plugin.video.youtube/issues ?
It could also be some kodi API change, something with inputstream.adaptive or something other - the addon devs should certainly know more about that than we do.
so long,
Hias