I don't know what a serial console is. That is way above my "paygrade."
You have to do this: beelink_x2#adding_a_serial_port_.28voids_warranty.29
I don't know what a serial console is. That is way above my "paygrade."
You have to do this: beelink_x2#adding_a_serial_port_.28voids_warranty.29
So, if anyone is willing to test PineH64 image, it is here: libreelec-h6.arm-9.1-devel-20190305205901-ac7b08f-pine_h64.img.gz
Known issues:
- monitor might flicker <- please report this one
- changing MAC address (causes IP address changes)
- 10 bit videos have slight corruption
Is this something that may be looked at later for main stream LE ?
Just now I'm uploading first preview version for PineH64, which has H6, same as OrangePi 3. Hopefully I'll get board sample and then I can prepare an image for it. At this point it's just a matter of DT file.
a20 lime has by default DFU enabled and it depends on USB that was disabled by 002-disable-usb.patch
I need to rethink that part. Probably only USB keyboards should be disabled.
lucize I don't own any A20 board so I can't help you much with U-Boot issues. Maybe removing projects/Allwinner/patches/u-boot folder will help?
Even if you manage to build image, video playback won't work unless you disable HW acceleration. For HW acceleration you would need at least 5.1 kernel (RC version will be available in two weeks) and additional ffmpeg patches, which are currently in the work.
ruslakall Can you connect serial console to it? Serial output would be very useful in diagnosing the issue. What is your TV native resolution? Can you connect it to any other display? 1080p computer monitor would be best.
New update files are uploaded for A64 and H3, along with updated addon repository (needed due to Kodi bump).
What's new:
- Kodi 18.1
- Linux 5.0-rc8
- 4K H264 decoding supported
- fixed 4K downscaling (watching 4K videos on 1080p screen)
- minor decoding speed improvements
- H264 memory optimizations (*might* help for OPi Lite & One, but I'm not sure)
- HDMI CEC fix
Known issues:
- some H264 and HEVC videos are still not correctly decoded, investigation is ongoing.
- Kodi screen calibration is not stored (fix in Kodi 18.2)
any eta when this will move from beta to kodi 18.1 ?
I can upload new updates today, but except Kodi update, 4K H264 decoding and maybe HDMI CEC fix, nothing else would be new. I'm still struggling with some problematic H264 and HEVC videos.
If you think that's ok, then I can do it.
How to make an analog TV output on this assembly.
Analog TV out driver is not yet completed, although anyone with some Linux driver skills could use existing but old patches for that functionality.
I do not know if it's all and if it's enough.
You need whole series, not just that patch. Series is enough for kernel side, but ffmpeg side is still missing.
I applied patches from kernel/git/next/linux-next.git, but I am confused about support for DRM format modifiers. Please, can You suggest a path?
There are no ffmpeg patches for this yet. Maybe wait until they are ready? Or you want to be proactive and help us with programming?
I know only probably this is problem with alsa / pulseaudio config.
Sadly, no. DW HDMI driver has to be improved, but yes, alsa config needs to be improved too.
andreabak It could be that some metadata are not set correctly. I haven't had time to look into that yet.
tothb001 I'll remove images for boards with 512 MiB of RAM soon. They won't be officially supported.
marcins 1024x768 resolution means that Linux failed to read EDID data from monitor. Because of that, it selected fallback resolution 1024x768. This issue is more common than I thought. For me, it usually helps to unplug HDMI cable on both sides and reconnect. Sometimes it also helps to unplug board completely (all cables) and left it for a few minutes. I really don't know what the issue is and it happens rarely for me, so I don't know how to test possible solutions.
psyapathy yes, it doesn't contain anything AW related. You would have to clone my repo and merge commits from that one. You have to learn a bit about git tool to do that.
lumpi latest update should fix crashing addons. It uses different repo which has addons specifically compiled for Allwinner boards.
orgonth There are probably a lot of drivers missing. The best way would be that you make a PR against allwinner branch which enables drivers you want. Please do that for both, 32 and 64 bit arm architectures at the same time.
BTW, streaming was not actually well tested. Just few seconds once. I guess error handling has to be improved, but that is known already.
psyapathy Sorry, no time to actually debug that. You can however try to build your own image and your own addon. Use following repository:
GitHub - jernejsk/LibreELEC.tv: Just enough OS for KODI
Command to build OrangePi Win image:
PROJECT=Allwinner ARCH=arm DEVICE=A64 UBOOT_SYSTEM=orangepi_win make image
Command to build addon:
PROJECT=Allwinner ARCH=arm DEVICE=A64 scripts/create_addon <addon name>
andreabak OpenELEC image used kernel which doesn't consider EDID at all. This was one of the pain points. You had to change fex file if your monitor didn't support 1080p. Besides, only 1080p, 720p and few other patched-in resolutions were supported. Here, on mainline kernel, a lot of stuff is based on EDID. Can you post output of following command?
edid-decode /sys/class/drm/card0-HDMI-A-1/edid
There are some other possible differences. AFAIK, mainline HDMI driver doesn't set correctly metadata like colorimetry, aspect ratio, etc. This might also be the problem.
andreabak Can you make some photo or video what it is and what it should be? I played video you referenced, but with that latest test update, it works same regardless DRM or GPU rendering (both HW decoded) or even completely SW decoded and GPU rendered. I can see flashing bars from 16 to 235. That's on PC monitor.
I install Gamestarer. I try to run it, it hangs on the splash screen and goes back to Kodi.
This is possible?
Did you updated to latest version which uses rebuilt addons so they shouldn't crash anymore? If yes then it might be an actual bug in addon. Note that I don't test addons nor fix bugs in them.
andreabak Please test this:
libreelec-h3.arm-9.1-devel-20190130174140-064c56c.tar
Full range is forced here and I think it should work well for monitors, but not TVs.
The issue here I think it's mix up between input range and output range. DRM property description doesn't explain it very well. If this works for you, I'll have a talk about it with other developers to find acceptable solution.
It is hard to test anything because system is write protected..
Depends what you want to do. Usually you have to update build system (mostly by adding patches), build update file and update board with it. It takes minute or few at most once you have good setup. That's the way I develop LE.
Any plans to run Passthrough?
Eventually, yes, but not by me since I don't have AVR.