Yeah, CEC is not stable. For some reason it's hard to make it work. Nothing I can fix soon.
Posts by jernej
-
-
Can you include it?
There is a reason why this is not done already and that's mentioned in OP. Another discussion here: Add Wifi driver for OrangePi Plus (RTL8189ES) by Vovanys · Pull Request #3279 · LibreELEC/LibreELEC.tv · GitHub
TL;DR: It works for now, but it won't in LE10.
EDIT: And nobody wants to deal with realtek drivers.
-
macchese all depends if someone manages to fix GPU driver bug. If yes, then everything else is very easy. If not, it only works for resolutions of 800x600 or lower.
-
Video will be decoded and displayed, but there will be combing effect visible. It really depends on the movie scene how much it is noticeable and how annoying it is.
-
no deintrlacing at all currently, or no hw deintrlacing, but sw deintrlacing still works?
SW deinterlacing works for sure, but that means rendering has to go trough GPU (higher GPU and CPU load). What I currently don't know is if you can combine that with HW decoding.
-
Deintrlacing and vsync?
HW deinterlacing is not (yet) supported, but vsync should work correctly. Deinterlacing is not an easy task, because there is no mainline driver yet and it is also not yet supported in the DRMPRIME renderer, which is used in Kodi for this platform.
EDIT: All these platforms (H3, A64, H6) have similar display/decoding hardware, so once you write driver for one of them, you can quickly extend it for others too.
-
H6 is almost on pair with H3 and A64, except analog audio and CEC is not working for some reason. HW accelerated decoding works same as on H3 and A64.
10 bit HEVC decoding almost works (some visible artifacts), but currently display driver doesn't support 10 bit output, so they are actually rendered in 8 bits.
-
It was tested in Samsung, Philips and LG tvs with differents hdmi cables, something about bat eidi info..
Can you post your dmesg or wherever it says about bad edid?
-
Any progress for H6?
Yes, I plan to upload PineH64 image next week. Since I don't have OrangePi 3, someone else will have to take care for it. It's missing few nodes in DT file.
-
I am really missing option to put my Orange Pi PC Plus board to sleep and wake up using power button.
Any chance to get this feature soon?
Shallow sleep (not much peripherals turned off) might be already possible, but deeper sleep state is tricky. For that you need special firmware on coprocessor. Such firmware, crust, is in the works, but I don't plan to use it in near future. At least until needed drivers come into mainline Linux.
I'm not sure shallow sleep is really usable. It would give you feeling that you turned off the board, but power consumption wouldn't be much lower.
Anyway, someone would have to do some research on that, but I rather work on other issues, like why some H264 and HEVC videos don't work properly.
-
Tell me how to choose a kernel when compiling (3.x, 4.x, 5.x)?
You can't. LibreELEC is highly integrated environment and changing kernel would break a lot of things. I always work with latest stable kernel (currently 5.0.1, just pushed) and sometimes even with RC, but that shouldn't happen anymore.
-
and which distro are you using?
You can try first by installing "xsltproc". If this doesn't work then you can try installing "docbook-xsl". Anyway, nothing of this should matter. If it does, package needs to be updated.
-
Can you check from completely clean image? E.g. burn image again, update it and try again? If this doesn't work I can only compile docker addon again.
-
which git source are you using? mine or that from LibreELEC official repo? What distro (including version) are you using for image building?
-
Ok, I'm out of ideas. All needed kernel options seems to be present now.
-
test this update: libreelec-h3.arm-9.1-devel-20190310131132-f3a2819.tar
I added mentioned and some other optional module. Unfortunatelly, blkio warnings can't be avoided. It seems needed kernel options were removed at Linux 5.0. I guess docker needs to be updated to account for this.
What is unusual is that your missing kernel module is not in check script provided by the docker.
-
This is report from script which checks kernel config for compatibility with docker.
Display Spoiler
info: reading kernel config from linux.arm.conf ...
Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_NF_NAT_IPV4: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module)
- CONFIG_IP_NF_NAT: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled
Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_CGROUP_PIDS: enabled
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: enabled
(cgroup swap accounting is currently enabled)
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_IOSCHED_CFQ: missing
- CONFIG_CFQ_GROUP_IOSCHED: missing
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: missing
- CONFIG_NET_CLS_CGROUP: enabled
- CONFIG_CGROUP_NET_PRIO: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_IP_NF_TARGET_REDIRECT: enabled (as module)
- CONFIG_IP_VS: enabled (as module)
- CONFIG_IP_VS_NFCT: enabled
- CONFIG_IP_VS_PROTO_TCP: enabled
- CONFIG_IP_VS_PROTO_UDP: enabled
- CONFIG_IP_VS_RR: enabled (as module)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
- "overlay":
- CONFIG_VXLAN: enabled (as module)
Optional (for encrypted networks):
- CONFIG_CRYPTO: enabled
- CONFIG_CRYPTO_AEAD: enabled (as module)
- CONFIG_CRYPTO_GCM: enabled (as module)
- CONFIG_CRYPTO_SEQIV: enabled (as module)
- CONFIG_CRYPTO_GHASH: enabled (as module)
- CONFIG_XFRM: enabled
- CONFIG_XFRM_USER: enabled
- CONFIG_XFRM_ALGO: enabled
- CONFIG_INET_ESP: enabled (as module)
- CONFIG_INET_XFRM_MODE_TRANSPORT: enabled (as module)
- "ipvlan":
- CONFIG_IPVLAN: enabled (as module)
- "macvlan":
- CONFIG_MACVLAN: enabled (as module)
- CONFIG_DUMMY: enabled (as module)
- "ftp,tftp client in container":
- CONFIG_NF_NAT_FTP: enabled (as module)
- CONFIG_NF_CONNTRACK_FTP: enabled (as module)
- CONFIG_NF_NAT_TFTP: enabled (as module)
- CONFIG_NF_CONNTRACK_TFTP: enabled (as module)
- Storage Drivers:
- "aufs":
- CONFIG_AUFS_FS: missing
- "btrfs":
- CONFIG_BTRFS_FS: missing
- CONFIG_BTRFS_FS_POSIX_ACL: missing
- "devicemapper":
- CONFIG_BLK_DEV_DM: missing
- CONFIG_DM_THIN_PROVISIONING: missing
- "overlay":
- CONFIG_OVERLAY_FS: enabled (as module)
- "zfs":
- /dev/zfs: missing
- zfs command: missing
- zpool command: missing
Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000
I have a feeling that docker doesn't load modules if they are needed. Can you load all drivers on the list marked with "(as module)" and then check if it works for you?
Regarding sound, that's strange. I tested image and sound works ok.
-
I found script which checks which kernel options are missing. I enabled almost all of them except few optional ones. Can you test this update:
libreelec-h3.arm-9.1-devel-20190309191047-37a2b75.tar
At this point I'm unsure if docker addon needs to be rebuild.
I guess kernel config is the main reason why experiment with using amlogic addons on allwinner images didn't work.