We are looking for good conversation, too, but pretty often we just get spam.
At which point is your question related to LibreELEC?
We are looking for good conversation, too, but pretty often we just get spam.
At which point is your question related to LibreELEC?
Please post a link to a kodi.log.
Maybe Raspbian boots into a lower resolution, compared to LE. Make sure your HDMI cable is 2.0 or 2.1 standard. That's needed for 4K.
I'm running out of ideas. Wild theory: The HDMI cable catches some interfering electromagnetic signals, which triggers the wake-up. If you have another HDMI cable, give it a shot. If you buy a new one, make sure it's HDMI 2.0 / 2.1 standard. Those standards are known to have good shielding.
OK, then you're probably right: The RPi must down-sample the stream somewhere. An RPi doesn't have a very fast data bus, so I think the down-sampling happens due to hardware limitation. LE usually deals with A/V streams, so my advice is to use an audio-optimized OS. Such an OS might be slow on video playback, but has the ability to deal with higher audio bit rates.
There already is an LE audio mod for RPi 2/3, which can deal with higher audio bit rates. Maybe those devs will switch to RPi 4 next.
LE's audio pass-through option is not related to your sound card. It's made for HDMI.
Are you sure your audio is resampled? You never leave digital audio transmission, because your sound card isn't a DAC. So I don't see any reason to resample anything.
I have now ordered an HDMI cable, type D to type A, which is recommended there. Maybe this helps...
Make sure that it's an HDMI 2.0 or 2.1 cable, because that's the standard for 4K.
We should close out any other wake-up cause. To do so, add hdmi_ignore_cec=1 to config.txt. You should have no wake-ups with this.
Please post your config.txt.
Activate hdmi_force_hotplug=1.
Deactivate hdmi_enable_4kp60=1.
Have a look at the alsamixer settings.
Add this lines to config.txt:
I mean this menu: Settings -> System -> Input -> Peripherals -> CEC Adapter.
Set Action when switching to another source to None.
Follow the advice of bubblegum57 . It's such a complex topic that trial-and-error is your best choice. We also can't predict the future of Linux kernel drivers.
At the CEC adapter settings set the HDMI signal to "always on". The default setting is to switch HDMI off when your TV uses a different source.
I currently don't have YT installed. Can you have a look at YT resolution settings? Maybe a high resolution has to be scaled down. Make sure LE and YT are using the same resolution.
Please provide a link to a complete kodi.log. No more text screenshots.
Explain the usage of OSCam.