RK3328 4K HEVC stutter frame drop

  • hi, i'm using a Pine64 Rock64 (hardware supports 4K : .265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps
    source : https://pine64.org/documentation/ROCK64/_full/#video

    I've installed latest stable LibreELEC image
    (https://releases.libreelec.tv/LibreELEC-RK33…0-rock64.img.gz)
    I've set resolution to 4K in preferences and in inputstream resolution to 4K too.

    I've made some tests on various HEVC 4K files , the screen is green kodi.log says :

    ````

    Code
    error <general>: CDVDVideoCodecDRMPRIME::FilterOpen - avfilter_graph_config:  Function not implemented (-38)

    ```

    I've also disable DRM PRIME green screen is not present but CPU is 100% and fps are very slow, so can't see video

    How can I play 4K 265 in Rock64 ?

  • error <general>: CDVDVideoCodecDRMPRIME::FilterOpen - avfilter_graph_config: Function not implemented (-38)

    This ^ is harmless and can be ignored.

    I've set resolution to 4K in preferences and in inputstream resolution to 4K too

    Forcing the default resolution to 4K won't help the GUI experience, see https://wiki.libreelec.tv/configuration/4k-hdr and follow the recommendations for setup including the whitelist. Correct config on all ARM SoC hardware is DRMPRIME enabled, HW decoding enabled. Then retest with a current LE13 nightly. If there's still an issue, put Kodi in debug mode, reboot and demonstrate the issue and then "pastekodi" to share the log.

  • I've read the documentation and make some changes, i still get green screen

  • Tsxop But is the green screen only when playing the video or always? It could be a bug in the HW decoder pipeline, Kodi or worse a 4K format nn supported via HW. Do other resolutions work?

  • Just for some 4K HEVC video.

    Here's some details about the file which cause problems :

    That one works well : https://www.libde265.org/hevc-bitstream…x2160-cfg02.mkv

    Yes 1080p is ok

    Edited once, last by Tsxop (October 4, 2025 at 7:22 PM).

  • Comments:

    a) The desktop resolution is 1080@60.

    b) The whitelist has been configured but the whitelist decision-tree (evaluating what mode from the configuration to use) is not visible when media is played and this normally means adjust-refresh and/or the whitelist are not enabled.

    c) The family-movie file is 3840x2160@25 but there is no 4K@25 mode in the whitelist or EDID data. This means Kodi cannot play media at its native rate or a 'double' of the native rate (4K@50) and must adapt the content. This does not give great results, and there is also no mention of a rate change in the log so it might be converting 4K@25 to 1080@60?

    d) The log does not show playback of the BBB file, but this media is 3840x2160@60 and there is a 3840x2160@60 mode available so Kodi will be able to output at the native resolution/refresh.

    e) The "Impossible to convert between the formats" error is unusual (first time that I see it) and I'm not sure where in code that comes from, but the mention of scaling also makes me think it might be trying to scale 4K@25 to 1080@60.

    f) EDID data shows "IIyama" which is a Monitor brand. If this is a monitor? using a TV with a full selection of modes, ensuring that adjust-refresh and whitelist are enabled and set correctly (as per the article I linked before) the results should be better. The EDID data shows 4K@25/50 and [email protected]/24/25/29.97/30 modes are missing; although enabling rate-doubling means the 25/29.97/30 modes can match with 50/59.94/60. The lack of [email protected] mode means HD movies must be CPU scaled to [email protected] and this can impact overall device performance.

    g) If this is the only screen you have, download Handbrake and convert the problem files to 4K@30 and they should play better on a device that has a 4K@30 (and 4K@60) mode. Configure the phone? to use 4K@30 and then future movies don't require you to convert them with Handbrake.

    TL/DR: Monitors make rubbish TV's /shrug

  • Comments:

    a) The desktop resolution is 1080@60.

    Yes the resolution is set to 1080@60 manually fixed in kodi's settings

    b) The whitelist has been configured but the whitelist decision-tree (evaluating what mode from the configuration to use) is not visible when media is played and this normally means adjust-refresh and/or the whitelist are not enabled.

    I can see in yellow every 1920x1080 and every 3840x2160.

    I've also checked bellow whitelist 'Allow refresh 3:2 pulldown' and 'Refresh twices' in Whitelist section.

    c) The family-movie file is 3840x2160@25 but there is no 4K@25 mode in the whitelist or EDID data. This means Kodi cannot play media at its native rate or a 'double' of the native rate (4K@50) and must adapt the content. This does not give great results, and there is also no mention of a rate change in the log so it might be converting 4K@25 to 1080@60?

    I'm pressing o to see information the video is 3840x2160@25 but the video is adapted to 1920x1080 at the screen

    d) The log does not show playback of the BBB file, but this media is 3840x2160@60 and there is a 3840x2160@60 mode available so Kodi will be able to output at the native resolution/refresh.

    Ok

    e) The "Impossible to convert between the formats" error is unusual (first time that I see it) and I'm not sure where in code that comes from, but the mention of scaling also makes me think it might be trying to scale 4K@25 to 1080@60.


    f) EDID data shows "IIyama" which is a Monitor brand. If this is a monitor? using a TV with a full selection of modes, ensuring that adjust-refresh and whitelist are enabled and set correctly (as per the article I linked before) the results should be better. The EDID data shows 4K@25/50 and [email protected]/24/25/29.97/30 modes are missing; although enabling rate-doubling means the 25/29.97/30 modes can match with 50/59.94/60. The lack of [email protected] mode means HD movies must be CPU scaled to [email protected] and this can impact overall device performance.

    The monitor is IIyama ProLite XB3288UHSU which

    Native resolution3840 x 2160 @60Hz (8.3 megapixel 4K UHD)

    source : https://iiyama.com/gl_en/products/prolite-xb3288uhsu-b5/

    I've also : Set the Adjust Refresh setting to "On Start/Stop"

    g) If this is the only screen you have, download Handbrake and convert the problem files to 4K@30 and they should play better on a device that has a 4K@30 (and 4K@60) mode. Configure the phone? to use 4K@30 and then future movies don't require you to convert them with Handbrake.

    This is the only screen I have.

    I'm playing videos by using Kodi interface, how can I configure to use 4K@30 ?

    TL/DR: Monitors make rubbish TV's /shrug

  • There is no magic Kodi configuration that will fix this problem on your hardware. The three solutions are:

    a) Use a monitor or TV that has the required 4K@25 or (doubled) 4K@50 refresh rate so the RK3328 board can play media at native refresh rates without needing CPU conversion to 4K@60 or 1080@60 that a low-spec ARM SoC chip cannot handle.

    b) Use high-spec hardware that can handle the required CPU conversion to 4K@60 or 1080@60.

    c) Convert problem media (offline, using Handbrake) from 4K@25 to something that matches monitor modes, i.e. 4K@30 so the low-spec ARM SoC hardware can play media at native rates (as with the BBB file).