Posts by Elicity

    balbes150

    So I can confirm this works on the NanoPi-r6C

    I have no experience installing u-boot, but with some dd magic and pure luck I got it to boot, albeit with an outdated/limited device tree so I have no audio atm. (although i see it loading the current dtb in the log). But it boots and it was fun to see that it works.

    Code
    After examination:
    00000000	MBR
    00008000	RKNS/idbloader/bootloader
    00800000	u-boot
    00C00000	trust.img

    So I used the OpenWRT image and skipped the EFI/MBR part and wrote from 0x8000 to 0x00c00000 (12M)

    Code
    $ dd if=owrt bs=1 skip=$((0x8000)) count=$((0x00c00000-0x8000)) seek=$((0x8000)) of=/dev/sda
    12550144+0 records in
    12550144+0 records out
    12550144 bytes (13 MB, 12 MiB) copied, 20,1171 s, 624 kB/s
    $ 

    Bootlog:

    NanoPi-r6c won't boot

    Steps I took:

    1. Booted OpenWRT (link) to test if debug-console was working and it was.

    screen /dev/ttyUSB0 1500000

    2. Verified checksum successfully:

    2186b184bb88272b2522841679b3bc99a7a7ae9aa376cc3d4b375b12381c4919

     LibreELEC-ARMv8.aarch64-13.0-devel-20250607193042-e5590fa-rk3588-roc-pc.img.gz

    3. Wrote test-image to sdcard and changed FTD to NanoPi-r6c

    $ diff extlinux.conf extlinux.conf.bak 
    3c3
    <   FDT /dtb/rockchip/rk3588s-nanopi-r6c.dtb
    ---
    >   FDT /dtb/rockchip/rk3588s-roc-pc.dtb

    4. Inserted sdcard into NanoP, no output on debug-console, unfortunately it does not boot.


    Thanks for all the hard work.

    Take a look, I'm not that versed in video tech but its x265 hevc if those are the right terms.

    Attachment triggers the GUI-palet shift on rpi5.

    Most colors switch to a "brighter" version of themselves, but its best seen if you select "brown" under settings>interface>skin>colors

    In the GUI brown just switches to red when playing that file.

    Afaict its just a one off after I tested more x265 and they do not seem to have this issue.

    However converting it to a different container or with different encoder does not seem to matter.

    The problems shifts along, its weird.

    I'll put in a request, referring to this thread.

    The GUI-colors are off too while playing, its weird :D

    So I thought I'd take some screenshots, to show the issue. Now here comes the kicker: they are snapped when colors are not right, but display fine when I look at them. When I play x265 GUI-colors are off, when I select another video-type x264, the GUI-colors snap back.

    There is another underlying issue. Maybe driver related idk.


    Thanks for all the help, its awesome!

    If you try to play this in any version of Kodi released since March 18 it will immediately crash Kodi hard. If it doesn't for you than maybe it is GPU related although I don't think Kodi uses the GPU for that kind of file, as best I could tell all the decoding was done in software.

    I tried on latest LE12 nightly (2025-04-04) and it works just fine. It uses SW decoding because of YUV422, but if you want HW decoding and save tons of space convert it using:

    Code
    ffmpeg -i test_recording.ts -acodec copy -pix_fmt yuv420p10le -c:v hevc test_recording.mp4

    This will reduce it to ~3.5mb which is a 93% reduction or ~16x smaller.

    -rw-r--r-- 1 kodi kodi 54689388 Apr 7 01:15 /dev/shm/test_recording.ts
    -rw-r--r-- 1 kodi kodi 3453886 Apr 7 01:22 /dev/shm/test_recording.mp4

    :)

    HiassofT Thank you very much, you guys are too fast ^^


    edit:

    So I updated to latest LE12 (2025-04-04), Immediately for some constructive feedback.

    The black screen problem has been fixed, yay!

    However the other issue i still present:

    Everything works fine except for Zoom Mode, when I cycle to that nothing happens. If I do it from the video-menu it does work, but I have to increase or decrease the percentage and set it back.

    (afaict the zoom value is not applied when switching to zoom mode)

    I tried doing this and there were some issues. I just unpacked the .kodi/userdata folder. That seemed to have worked fine. However the guisettings.xml caused my 4k screen to display as 1080p, leaving me with 25% to work with. I fixed that with:

    Code
    systemctl stop kodi
    cd /storage/.kodi/userdata
    mv guisettings.xml guisettings.xml.bak
    awk '/<resolutions>/ {print "    <resolutions />"; next} /<\/resolutions>/ {next} {print}' guisettings.xml.bak > guisettings.xml
    cd $OLDPWD
    systemctl start kodi

    Oh, and don't forget to extract your .ssh folder, almost locked myself out ;)

    Also deleted the Addons33.db, to prevent x86 plugins to reinstall.

    That was it for me /shrug

    but HDMI needs to be reliable.

    I looked at mainline again and I think the earliest would be 6.15, now that would be somewhere in July which also includes audio support. But to be honest I think if 26th of December presents us with an image we are very lucky. I'm sure they are working very hard to get it all in before 6.18 which afaict will become the latest stable.

    All n All, patience is key :saint:

    I bound a remote key to switching Display Modes, its easier than to go into the menu all the time.

    Now when I press a button on the remote I can easily cycle to the mode I want for a particular video.

    Everything works fine except for Zoom Mode, when I cycle to that nothing happens. If I do it from the video-menu it does work, but I have to increase or decrease the percentage and set it back.

    I'm using the generic x86/64 image.