Posts by smf007

    smf007 any suggestions on which SD card to get?

    Sorry, I had gone back to the microSD cards I had gotten when I first got my C2s, so they would be rather old at this point. It's also been a couple years since those issues, so might be possible things have improved in mainline.

    If you need a new microSD card though, maybe try asking on the Armbian forum or the HardKernel forum. HK had a thread on the mainline kernel, think a few things about SD card speed was mentioned there
    Odroid C2 mainline kernel support - ODROID

    My Odroid C2 is still having issues playing ogg vorbis. Looking at github it looks like Amlogic is still back on ffmpeg 6.0 instead of 6.0.1. Any chance of getting that minor bump to pick up the fixes for voribs and flac?


    Tested v12 nightly and v13 nightly.

    I have a bit of a few things going wrong that seem to be all related. Odroid C2, LE 12 nightlies.

    Issues started popping up a few weeks back.

    First issue, the system would often be found with a non-responsive GUI after it had been left idle, so screen saver active and eventually display shutdown. The display would turn back on, so CEC was still working, but the GUI would be frozen. Sometimes you could here the remote "clicks", but still the GUI was frozen. This sounds like https://github.com/LibreELEC/LibreELEC.tv/issues/8488 however I haven't any of those EGL errors.


    Second issue that started at the time was glitchy video playback IF using hardware acceleration. Basically, every so often, randomly, the frames momentarily freeze and/or are rendered in the wrong order. Truly random, the glitches don't occur in the same places when re-watching the video. Switching it to purely software decoding, either PRIME or EGL, and the issue appears to go away. Considering it had previously been working fine until sometime in December, and the randomness of it, could this be a timing issue that the EGL fence causes?


    The following is a log where a video was started and had some glitches within the first few minutes then playback was stopped,

    hastebin

    I'm still trying to get a log from the frozen GUI

    I just noticed on my x86-64 based system that with the nightlies I have some libraries with invalid symbolic links. I was wanting to try fixing it however I'm having a hard time identifying where those links get generated when building. Specifically the libraries I'm looking at libGL and libGLX, which you can see below are pointed at the wrong directories:

    If someone could please point me in the correct direction. Thank you!


    Turns out whether those libraries exist in /var/lib seems to be controlled at boot time. In testing a boot switch for my hardware, it disabled those files existing.

    I have found an issue with GBM, confirmed with both Generic and Amlogic, when configured as limited colour range. The issue being that images lines for dvb subtitles have the range conversion applied twice. In other words, the lines where dvb_subtitles are rendered, not just the text but the whole width of the screen appears lighter then the rest of the screen.

    This does not occur with Generic-Legacy (X11) nor Kodi (X11) on Ubuntu 22.04 (x64).

    I can provide a kodi debug log, however I'm not sure it would help.

    There has been a continual up and down over the last couple years with regard to the reboot issue.

    If you try a google, there is a back and forth breakage between the Kernel and u-boot. General summary seems to be related to the power for attached devices, e.g. SD-Card, USB, EMMC, so what you have attached also seems to impact whether you are impacted or not. Even just changing the speed of SD-Card has an impact.


    For any of the Libreelec team, the following might be of some help if you hadn't already seen:

    Armbian - meson64: edge: rework to kernel 5.19 which with regard to the reboot issue just references

    This discussion of CONFIG_DRM_MESON=m vs. CONFIG_DRM_MESON=y in terms of a broadly acceptable solution.

    Armbian's later update to Kernel 6.0.13 continued to follow suit on CONFIG_DRM_MESON=y

    Armbian - Update kernel configs for Meson64 CURRENT / EDGE

    Using the latest Generic-Legacy nightlies, there are missing library dependencies for the music visualization plugins. Seems to be a case of the plugins being compiled for Generic (GBM) instead of Generic-Legacy (X11). Below is for shadertoy, but the others are similar.

    I had cleaned out any archived copies in the packages folder, so I don't think it got a previously cached copies of the plugins.

    Code
    ldd: $warning: you do not have execution permission for `./visualization.shadertoy.so.20.3.0'
            linux-vdso.so.1 => linux-vdso.so.1 (0x00007fff70fa6000)
            libGLESv2.so.2 => not found
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff15b05b000)
            libm.so.6 => /usr/lib/libm.so.6 (0x00007ff15af7e000)
            libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007ff15af5e000)
            libc.so.6 => /usr/lib/libc.so.6 (0x00007ff15ad9e000)
            /usr/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007ff15b2dc000)

    I have gotten it working. Hopefully the following would provide assistance to anyone else encountering the problem.

    I was setup using the main lirc configuration file, Lircd.conf. As a test, I switched to using the distributed toml keymap file (see /usr/lib/udev/rc_keymaps/*). To do so, remove the lircd.conf and create a file ~/.config/.rc_maps.cfg containing:

    * * hauppauge.toml

    So follow these instructions instead of the Lirc documentation.

    I'm using an IR remote that is using the Hauppauge codes (PVR-250). Both a Hauppauge remote as well as a Harmony universal programmed as Hauppauge. The IR receiver being the built-in Odroid C2 one, so meson-ir.

    The lirc.conf for the remote is the borg standard Hauppauge from the lirc website.

    ir-keytable -t shows only one scan code per key. I also note that it immediately responds for each keypress, there is no waiting for the second keypress.

    Using the nightlies on an Arm - Odroid C2, there is an issue for my remote following the upgrade to Lirc 0.10.2.

    In short, Lirc 0.10.2 does not issue commands on each keypress. Instead, the key presses appear to be queued, with the queue being translated to commands on every 2nd key press. For example:

    1. Press down button - No effect on Kodi
    2. Press right button - Kodi responds with a down action (and navigation sound) followed by a right action (and navigation sound).

    In terms of the nightlies:

    Between those two builds is Pull lirc: update to 0.10.2 #6966

    The Kodi debug log does not help since it only records when it receives the commands from Lirc, which is after the issue.

    vpeter thanks. With the rebuild of the binary plugins, everything is good now.

    I will note though that generic-legacy is required due to the dependencies on X11. GBM is missing the libraries so Kodi will just sit with the spinner spinning, no recognition that the libraries didn't load unless you check a debug log. For GBM, the missing are:

    libXext.so.6 => not found

    libX11.so.6 => not found

    libxcb.so.1 => not found