(2019-07-24, 13:04)popcornmix Wrote: [ -> ] (2019-07-23, 19:46)graysky Wrote: [ -> ]What can we conclude from me booting Arch ARM with the LE kernel config? Doesn't that rule out a kernel setting as the issue? There is gave the same message you pointed out:
https://gist.github.com/graysky2/50c6ebb...1-txt-L401
Code:
DEBUG: CRBP::OpenDisplay device:0 m_display:0 (0)
OpenDisplay requires correct /opt/vc/lib, kernel and firmware.
Not sure how arch gets /opt/vc/lib but it may be worth trying with this: https://github.com/raspberrypi/firmware/...opt/vc/lib
Arch uses that source for the firmware:
https://github.com/archlinuxarm/PKGBUILD...GBUILD#L16
Currently shipping commit cba4be27.
I think I found a part of problem: my
/boot/config.txt
was:
Code:
initramfs initramfs-linux.img followkernel
gpu_mem=320
dtparam=audio=on
dtoverlay=vc4-fkms-v3d
Upon booting, my monitor was in some crazy low res mode so I added these lines and rebooted:
Code:
hdmi_group=2
hdmi_mode=69
I noticed that did not take effect so I re-read
this document which talked about differences between HDMI0 and HDMI1. I moved the plug into HDMI0 and now playing the low res sample works with and without MAAL enabled! I'm going to speculate the Kodi was playing to HDMI0 but that wasn't connected.
Without MAAL enabled log.
With MAAL enabled log.
So progress!
BUT, still not 100%. I cannot play the x265 clip which you can get
here.
Here is the log trying to play it. When I try to play it, the GUI just freezes for about 30 sec before systemd restarts my
kodi.service. Note that this clip plays under LE. Any thoughts are welcomed!
(2019-07-24, 15:05)popcornmix Wrote: [ -> ]Have you got the right permissions on /dev/argon-* ?
https://github.com/popcornmix/omxplayer/...-513919407
Thank you! That solved it!
Here is the debug log playing the file successfully.
This my current 99-kodi.rules ... does it look sane? Missing anything?
Code:
SUBSYSTEM=="bcm2835-gpiomem", GROUP="gpio", MODE="0660"
SUBSYSTEM=="bcm2708_vcio",GROUP="video",MODE="0660"
SUBSYSTEM=="argon-*", GROUP="video", MODE="0660"
SUBSYSTEM=="vc-sm",GROUP="video",MODE="0660"
SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"
SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0660"
I will opened a
separate thread to tackle the final obstacle to getting this fork to build. Thanks again!