Matthias Reichl
Matthias Reichl
I'd suggest requesting max_bpc=12, even if the video is only 10bit, as this will allow the video driver to use YCC422 - which is a 36-bit / 12 bit-per-component mode...
Testing on LibreELEC/RPi4 looks fine here, also reports from our forum users testing builds with this PR is good
It's tricky. We had several discussions about it before and the conclusion is userspace needs a way to hint the kernel which mode to choose as kernel doesn't know about...
@knaerzche I'm not sure I really understand you. If we set max_bpc to eg 12 the kernel driver is still free to reject that or choose a lower bit depth...
@knaerzche the "max bpc" connector property sets max_requested_bpc in connector state - see https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/drm_connector.c#L1233-L1238 , https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/drm_connector.c#L2218-L2250 and https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/drm_atomic_uapi.c#L800-L801 I agree colorspace should only be set if the sink supports it,...
Thanks a lot, testing on RPi4/LibreELEC looks fine!
Please test with the latest LE10 nightly from here https://test.libreelec.tv/10.0/RPi/RPi4/ and post a new log with that build if the issue is still present
Here's a log with DEBUG=1 in kodi.conf: http://ix.io/2Vt3
the patch didn't help - kodi is still crashing http://ix.io/2VwX
enabling/disabling isn't possible in kodi, probably because it's flagged as a system addon 