Posts by rdorsch

    I tried to build kmscube but the build fails with a duplicate definition of the symbol gl. I probably miss something, but I have no idea what.

    Output of objdump for the two object files:

    Please let me know if anything further information is needed.

    Thanks

    Rainer

    Hello,

    I am trying to enable a virtual terminal on a libreelec master image (PROJECT=NXP DEVICE=iMX6 ARCH=arm UBOOT_SYSTEM=cubox-q make image).

    ALT+CTRL+F3 does not work.

    The kernel seems to provide tty0..63.

    But I neither find a getty systemd service not a getty binary.

    Can anybody tell how to get this done?

    Thanks

    Rainer

    Hi,

    I wanted to add the kmscube package to my image by

    PROJECT=NXP DEVICE=iMX6 ARCH=arm UBOOT_SYSTEM=cubox-q ADDITIONAL_PACKAGES="kmscube" make image

    but that does not seem to have an effect :-/

    Can anybody tell how I can do that?

    Thanks

    Rainer

    Does anybody know if it is possible to run a simple testcase, which demonstrates the problem?

    E..g. can I start libreelec in console mode and is there a standard player which is well known by the mesa community, which illustrates the problem?

    Maybe that could be a path to get more mesa knowledge involved (since this community does most likely not know all the kodi details).

    Thanks

    Rainer

    Hi thundy

    It doesn't look like rdorsch is still following the forum :(

    lrusak  chewitt , do you have more infos on your side ?

    Thank you

    many thanks for performing the tests.

    Sorry, but I hoped that I get a notification if there are posts on the thread.

    I recently built libreelec from master again, since I saw the imx6 patches mainly from lrusak have been merged.

    It is a lot more stable now, we even used it for a few hours with different movies :)

    But the blocker with the colors is still there, so I went back to an old kodi release.

    I dislike somewhat applying patches blindly. I think it would be good if someone with decent mesa understanding would at least be involved. Not sure if that is possible though.

    Additional information from lrusak at IRC:

    [22:39] <lrusak> most likely some YUV path not working in mesa

    [22:42] <lrusak> rdorsch, ^^

    [...]

    [22:53] <lrusak> src/gallium/drivers/etnaviv/etnaviv_format.c · master · Mesa / mesa · GitLab

    [22:55] <lrusak> [Mesa-dev] [PATCH 0/9] Etnaviv direct YUV support

    [22:55] <lrusak> [Mesa-dev] [PATCH 0/6] Add support for NV12

    [22:56] <lrusak> I think with those two patch sets it would work much better

    Thanks, Lukas

    I found the setting in

    settings -> player -> media playback -> video -> PRIME render method

    and put it to EGL as you recommended. Then I had to change the audio device in system settings, the default used spif instead of HDMI and enabled passthrough.

    After that it worked amazingly well.

    I saw two issues

    • the coloring of the videos was wrong. They have been almost black and white, but some colors were mixed in, sometimes they seem to look unrelated to the video.
    • I can always play a video once then it does not start anymore

    Full log is here.

    How is this related to the 1080p50 mentioned in #kodi ?

    [22:10] <TeamKodi> [unknown] decoder is rated for 1080p30 only (we nearly got 1080p50 going)

    [22:10] <TeamKodi> [unknown] for etnaviv + coda it's in a very good shape. dma_buf import works (for egl) or even direct yuv scanout

    [22:11] <TeamKodi> [unknown] why no one works on it anymore: it's just 1080p capable

    [22:12] <TeamKodi> [unknown] it should be in quite good shape though with v4l2 decoder

    [22:14] <TeamKodi> [unknown] And: no one has time anymore ;)

    And how do I use egl rendering? Are the 15 fps for 1080p will it increase for 720p or get even worse?

    The image boots on an Cubox-i/imx6. Basic operations works, slideshows work.

    Playing videos does not work. There seems to be an audio issue, but the main issue is that the TV reports that there is no HDMI source anymore.

    In kodi.log, I see (full log at kodi.log video starts around 16:53)

    Code
    2020-03-21 16:59:22.643 T:988   ERROR: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover
    2020-03-21 16:59:22.646 T:980   ERROR: CDRMAtomic::DrmAtomicCommit - test commit failed: Numerical result out of range
    2020-03-21 16:59:22.797 T:988   ERROR: Previous line repeats 3 times.
    2020-03-21 16:59:22.797 T:988   ERROR: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover
    2020-03-21 16:59:22.812 T:980   ERROR: CDRMAtomic::DrmAtomicCommit - test commit failed: Numerical result out of range
    2020-03-21 16:59:22.950 T:988   ERROR: Previous line repeats 3 times.
    2020-03-21 16:59:22.950 T:988   ERROR: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover
    2020-03-21 16:59:22.979 T:980   ERROR: CDRMAtomic::DrmAtomicCommit - test commit failed: Numerical result out of range
    2020-03-21 16:59:23.103 T:988   ERROR: Previous line repeats 2 times.

    and dmesg is full of

    entries. This is not the first one though, the first one aged out of the history already.

    Here is in addition a dmesg output after a reboot:

    dmesg.log

    I saw the recent commits, which resolve this issue. Now the build fails later on

    Hello,

    it seems that iMX6 does currently not build, since a patch for etnaviv does not apply properly. Not sure if this is the right place to report here....

    Thanks,

    Rainer

    You are using an old, outdated version of Libreelec. That could be the reason for your issue. Have you tried to install a newer version of the addon ?

    I am running libreelec 8.2.5, but I cannot imagine that the addon versions are hardcoded in libreelec.

    I assume it is some kind of repo (zip file), I need to update. But which one?