Jump to content

robertoj

Members
  • Posts

    519
  • Joined

  • Last visited

Posts posted by robertoj

  1. The ffmpeg discussion posted a way to test the code (at the bottom of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20847 )

     

    *install all the ffmpeg dependencies, then:

    $ git fetch -u https://code.ffmpeg.org/Kwiboo/FFmpeg v4l2request-v3:Kwiboo-v4l2request-v3
    $ git switch Kwiboo-v4l2request-v3

    * compile and install

     

    Then rebuild mpv+PR14690 (https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/page/5/#findComment-226567)

     

  2. 9 hours ago, JFL said:

    You managed to build mpv with v4l2request for Debian Trixie that has vpu hardware acceleration? Care to share?

     

    No. I haven't tried anything new. My previous attempts compiling mpv in Trixie were unsuccessful.

     

    I want to try it again by compiling and installing this new ffmpeg+v4l2 first, then trying compiling mpv again.

     

    You should try it too :)

  3. There's a new version of the kwiboo ffmpeg+v4l2request function

     

    https://code.ffmpeg.org/Kwiboo/FFmpeg/src/branch/v4l2request-v3

     

    And it was shown as a work in progress in the ffmpeg community

     

    https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20847

     

    Then, it was noticed in the mpv community

     

    https://github.com/mpv-player/mpv/pull/14690#issuecomment-3500141427

     

    They previously said that v4l2request first needs to be integrated in ffmpeg officially, then mpv would start working on v4l2request

     

    This is needed, to have mpv+v4l2request compiling successfully and working under Debian Trixie (my experience)

  4. It all depends on the GUI apps you want to run.

     

    Web browser: at least 4GB

     

    Your own Python GUI app: 1GB

     

    16GB storage is fine.

     

    "A more advanced build framework" only refers to the laptop you use to compile your own Armbian OS... it doesn't refer to the SBC where you will run it.

  5. Yes, CONFIG_TINYDRM_ILI9486 is the kernel module for that model of LCD with DRM. There's another thread explaining how to use it.

     

    I think you can use udev rules to force SPI LCD as /dev/fb0 and HDMI as /dev/fb1 always.

  6. I noticed this problem a long time ago, but now I feel it is important to fix it:

     

    I get a slim black bar on the left side, and a portion of the pixels on the right get "cropped" because they don't fit in the LCD display area?

     

    I get the left 2 pixels of the screen "cropped", so in console, the first left-side are always missing the left pixels.

     

    Do you get the same in your LCD? Do you know a way to fix it? I am talking about this LCD: RED PCB LCD https://www.aliexpress.us/item/3256802847521952.html?

  7. In that case, dont try my solution: it is for the red ili9341.

     

    If you search ili9486 threads in this forum, that same blue LCD is ili9486... so you were wrong in calling it ili9341 in the first place :)

     

    If you have time, find another solution to get you a DRM frambuffer (instead of a classic FB). Then you can enjoy smoother animations and video.

     

    Regarding displaying boot messages to the LCD, instead of HDMI. I don't know, but it may be because your HDMI is /dev/fb0 and the LCD is /dev/fb1

     

    Will you use X11?

  8. If anyone in interested in a lightweight wayland desktop, inspired by openbox, you should try labwc.

     

    In orange pi zero 3, we need to stay in bookworm to get video acceleration, so this guide helps build labwc in bookworm :thumbup:

     

    As a greeter, I chose pi-greeter, because it is the lightest login manager I could setup, without any X11

     

    https://github.com/robertojguerra/opiz3-labwc-setup

     

    I am open to read any improvements, or show me how I could make deb packages.

     

    In the near future, I will make a step-by-step video tutorial in Youtube.

  9. Dont write that "fbi works correctly", when it is not.

     

    The display remains white, and the kernel doesn't show any errors.

     

    * Re-check your wiring

    * Disconnect the touch part of the LCD pins

    * Try reversing the polarity:

    dc-gpios = <&pio 2 6 1>;   << change the 1 to 0
    reset-gpios = <&pio 2 9 1>;  << change the 1 to 0

     

    If the CPU is successful sending the reset signal, the data/command, the chip select and any bytes through SPI, at least the LCD should turn black.

     

  10. I got my issue resolved with labwc+greetd+nwg-hello

     

    See this link https://github.com/nwg-piotr/nwg-hello/issues/43

     

    Please check it and post any corrections if needed

     

    Getting rpi-greeter (no python) and wf-panel-pi (combines panel and launcher in compact form) would be ideal, but not resolved yet.

     

    If anyone is interested in getting rpi-greeter working, this is my partial progress, and I still cannot make it start under lightdm, without any X11:

     

    sudo apt install lightdm accountsservice polkitd

    sudo apt install libgtk-layer-shell-dev librsvg2-common

    sudo apt install gnome-common gobject-introspection gir1.2-gtk-3.0

     

    These might be needed. I installed them the day after I installed greetd and ngw-hello. Note: I am working from a minimal debian trixie image

    appmenu-gtk-module-common libaccountsservice-dev gir1.2-accountsservice-1.0 liblightdm-gobject-dev liblightdm-gobject-1-0 libgtk-3-dev gnome-common nasm

     

    ~$ mkdir rpi-greeter ; cd rpi-greeter

    wget https://github.com/raspberrypi-ui/pi-greeter/archive/refs/heads/master.zip

    unzip master.zip ; cd rpi-greeter-master

    autogen.sh

    ./configure

    make

    sudo make install

     

    Change /etc/lightdm/lightdm.conf with:

    greeter-session=pi-greeter-labwc

     

    Test with:

    $ sudo lightdm --test-mode --debug

    or

    $ sudo systemctl start lightdm

    $ journalctl -b -u lightdm.service

    The error is:

     

    Oct 13 22:01:49 orangepizero3 lightdm[845]: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.Accounts.Error.PermissionDenied: Not authorized: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files

     

    DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)

     

    I think I am very close to getting rpi-greeter working. What could be missing?

     

    I see that in a raspberry pi, the folder /etc/xdg/labwc-greeter/ exists, with 3 files inside, but in armbian, it doesn't exist. Should it be created by sudo make install?

     

    sudo nano /var/log/lightdm/lightdm.log:

    Nothing weird. Only:

    [+0.07s] DEBUG: Session pid=6392: Running command /usr/bin/labwc -C /etc/xdg/labwc-greeter/ (and this folder /etc/xdg/labwc-greeter/ does not exist)

    In raspberry: /etc/xdg/labwc-greeter/ contains autostart, rc.xml and environment

     

    sudo nano /var/log/lightdm/seat0-greeter.log:

    ** (process:6392): WARNING **: 00:23:07.745: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.E>
    00:00:00.000 [ERROR] [../src/main.c:202] XDG_RUNTIME_DIR is unset

     

    The etc/xdg/labwc-greeter/autostart, etc files come from a package named raspberrypi-ui-mods

    (raspberry$ dpkg -S /etc/xdg/labwc-greeter/autostart)

    What part of https://github.com/raspberrypi-ui/raspberrypi-ui-mods would get my lightdm+labwc+rpigreeter working?

     

    Copying the /etc/xdg/labwc-greeter/ folder with the 3 files, with the same permissions, allow the pi-greeter to display (it is very plain), but after entering the password, the text mode display shows for 2 seconds, then the labwc black background and cursor shows for 1/4 second, then returns to the login screen.

     

    Found this error in the log:

    /etc/xdg/labwc-greeter//autostart: 2: /usr/bin/kanshi: not found

     

    Final part of solution:

    lightdm should contain:

    user-session=LXDE-pi-labwc

     

    Create file /usr/share/wayland-sessions/ LXDE-pi-labwc.desktop:

    [Desktop Entry]
    Type=Application
    Name=Labwc Desktop on Wayland
    Exec=/usr/bin/labwc

     

    rpi-greeter does not allow selection of other sessions: only labwc

  11. On 10/5/2025 at 12:34 PM, jock said:

    mpv official github repo. v4l2request commits are in a pull request.

     

    Hello Jock,

    Can you confirm that you use the patch in mpv PR1460, or something else?

     

    --vo=gpu or -vo=gpu-next?

    I installed mesa-vulkan-drivers today, with some difference in the mpv log, but same performance

     

    I also get:

    [vo/gpu-next/libplacebo] Found no suitable device, giving up.
    [vo/gpu-next/libplacebo] Failed initializing vulkan device

    and ...

    Spoiler

    ...

    [vo/gpu-next] Assuming 59.962844 FPS for display sync.
    [vd] Container reported FPS: 29.970030
    [vd] Codec list:
    [vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
    [vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
    [vd] Opening decoder h264
    [vd] Looking at hwdec h264-v4l2request...
    [vo/gpu-next] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu-next] Loading hwdec driver 'drmprime'
    [vo/gpu-next/drmprime] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu-next/drmprime] Using DRM device: /dev/dri/renderD128
    [vo/gpu-next] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu-next/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu-next] Loading failed.
    [vo/gpu-next] Loading hwdec driver 'v4l2request'
    [vo/gpu-next/v4l2request] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu-next] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu-next/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu-next] Loading failed.
    [vd] Trying hardware decoding via h264-v4l2request.
    [vd] Requesting 4 threads for decoding.
    [vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vf] User filter list:
    [vf]   (empty)
    [ad] Codec list:
    [ad]     aac - AAC (Advanced Audio Coding)
    [ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
    [ad] Opening decoder aac
    [ad] Requesting 1 threads for decoding.
    [ad] Selected decoder: aac - AAC (Advanced Audio Coding)
    [af] User filter list:
    [af]   (empty)
    [cplayer] Starting playback...

     

    Does it matter?

    If I want to test the latest libplacebo route (with git clone https://code.videolan.org/videolan/libplacebo.git...) do I need to uninstall libplacebo and libplacebo-dev?

  12. I was successful in compiling mpv-0.3.9 + the 2 patches from PR14690.

     

    I downloaded the release mpv as a tar.gz, expanded it, and applied the 2 patches. One hunk failed but it wasnt needed

     

    A 720p h264 video played with 10% CPU: (note that the options are --hwdec=v4l2request --drm-drmprime-video-plane=primary --drm-draw-plane=overlay -v

     

    Spoiler

    roberto@orangepizero3:~/mpv-official/mpv-0.39.0$ DISPLAY=:0.0 ./build/mpv --hwdec=v4l2request --drm-drmprime-video-plane=primary --drm-draw-plane=overlay -v ~/donde\ venderan\ buen\ trago\ 720p.mp4 
    [cplayer] Command line options: '--hwdec=v4l2request' '--drm-drmprime-video-plane=primary' '--drm-draw-plane=overlay' '-v' '/home/roberto/donde venderan buen trago 720p.mp4'
    [cplayer] mpv 0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on Oct 10 2025 10:05:25
    [cplayer] libplacebo version: v7.349.0
    [cplayer] FFmpeg version: 7.1.2-0+deb13u1
    [cplayer] FFmpeg library versions:
    [cplayer]    libavcodec      61.19.101
    [cplayer]    libavdevice     61.3.100
    [cplayer]    libavfilter     10.4.100
    [cplayer]    libavformat     61.7.100
    [cplayer]    libavutil       59.39.100
    [cplayer]    libswresample   5.3.100
    [cplayer]    libswscale      8.3.100
    [cplayer] Configuration: 
    [cplayer] List of enabled features: alsa build-date caca cplugins debug dmabuf-interop-gl dmabuf-wayland drm dvbin egl egl-drm egl-wayland egl-x11 ffmpeg gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs lua52 memfd-create memrchr pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sixel sndio sndio-1-9 uchardet v4l2request vaapi vaapi-drm vaapi-wayland vaapi-x11 vdpau vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 x11 xv zlib
    [cplayer] Setting option 'hwdec' = 'v4l2request' (flags = 😎
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 😎
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 😎
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [cplayer] Set property: user-data/osc/visibility="auto" -> 1
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: auto_profiles/on_before_start_file
    [cplayer] Running hook: ytdl_hook/on_load
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] playlist hook
    [cplayer] Running hook: auto_profiles/on_load
    [bdmv/bluray] Opening /home/roberto/donde venderan buen trago 720p.mp4
    [file] Opening /home/roberto/donde venderan buen trago 720p.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [osd/libass] libass API version: 0x1703000
    [osd/libass] libass source: tarball: 0.17.3
    [osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 10.2.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
    [cplayer] Opening done: /home/roberto/donde venderan buen trago 720p.mp4
    [find_files] Loading external files in /home/roberto/
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [cplayer] Running hook: auto_profiles/on_preloaded
    [lavf] select track 0
    [lavf] select track 1
    [cplayer] ● Video  --vid=1               (h264 1280x720 29.97 fps) [default]
    [cplayer] ● Audio  --aid=1  --alang=eng  (aac 2ch 44100 Hz 128 kbps) [default]
    [vo/gpu] Probing for best GPU context.
    [vo/gpu/auto] Initializing GPU context 'auto'
    [vo/gpu/opengl] Initializing GPU context 'wayland'
    [vo/gpu/opengl] Initializing GPU context 'x11egl'
    [vo/gpu/x11] X11 opening display: :0.0
    [vo/gpu/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
    [vo/gpu/x11] Current display FPS: 60.000000
    [vo/gpu/opengl] EGL_VERSION=1.5
    [vo/gpu/opengl] EGL_VENDOR=Mesa Project
    [vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES 
    [vo/gpu/opengl] Trying to create Desktop OpenGL context.
    [vo/gpu/opengl] Choosing visual EGL config 0x9, visual ID 0x21
    [vo/gpu/x11] The XPresent extension was found.
    [vo/gpu/x11] XPresent enabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 25.0.7-2'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Mesa'
    [vo/gpu/opengl] GL_RENDERER='Mali-G31 (Panfrost)'
    [vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='1.40'
    [vo/gpu/opengl] Loaded extension GL_ARB_sync.
    [vo/gpu/opengl] Loaded extension GL_ARB_timer_query.
    [vo/gpu/opengl] Loaded extension GL_ARB_invalidate_subdata.
    [vo/gpu/opengl] Loaded extension GL_ARB_get_program_binary.
    [vo/gpu/opengl] Loaded extension GL_ARB_buffer_storage.
    [vo/gpu/opengl] Loaded extension GL_ARB_shader_image_load_store.
    [vo/gpu/opengl] Loaded extension GL_ARB_shader_storage_buffer_object.
    [vo/gpu/opengl] Loaded extension GL_ARB_arrays_of_arrays.
    [vo/gpu/opengl] Loaded extension GL_ARB_debug_output.
    [vo/gpu/opengl] Loaded extension GL_KHR_debug.
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
    [vo/gpu] Assuming 60.000000 FPS for display sync.
    [vd] Container reported FPS: 29.970030
    [vd] Codec list:
    [vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
    [vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
    [vd] Opening decoder h264
    [vd] Looking at hwdec h264-v4l2request...
    [vo/gpu] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu] Loading hwdec driver 'drmprime'
    [vo/gpu/drmprime] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
    [vo/gpu] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vo/gpu] Loading hwdec driver 'v4l2request'
    [vo/gpu/v4l2request] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vd] Trying hardware decoding via h264-v4l2request.
    [vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vf] User filter list:
    [vf]   (empty)
    [ad] Codec list:
    [ad]     aac - AAC (Advanced Audio Coding)
    [ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
    [ad] Opening decoder aac
    [ad] Requesting 1 threads for decoding.
    [ad] Selected decoder: aac - AAC (Advanced Audio Coding)
    [af] User filter list:
    [af]   (empty)
    [cplayer] Starting playback...
    [af] [in] 44100Hz stereo 2ch floatp
    [af] [userspeed] 44100Hz stereo 2ch floatp
    [af] [userspeed] (disabled)
    [af] [convert] 44100Hz stereo 2ch floatp
    [vd] Pixel formats supported by decoder: vdpau vulkan cuda drm_prime vaapi yuv420p
    [vd] Codec profile: Main (0x4d)
    [vd] Requesting pixfmt 'drm_prime' from decoder.
    [ffmpeg/video] h264: Using V4L2 media driver cedrus (6.15.4) for S264
    [vd] Using hardware decoding (v4l2request).
    [vd] Decoder format: 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1280x720+0+0
    [vd] Using container aspect ratio.
    [vf] [in] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1280x720+0+0
    [vf] [userdeint] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1280x720+0+0
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1280x720+0+0
    [vf] [autorotate] (disabled)
    [vf] [convert] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1280x720+0+0
    [vo/gpu] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vo/gpu] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [hwupload] hwdec 'drmprime' does not report hwframe constraints. Using static metadata.
    [vf] [out] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1280x720+0+0
    [ao] Trying audio driver 'pipewire'
    [ao/pipewire] requested format: 44100 Hz, stereo channels, floatp
    [ao/pipewire] Headers version: 1.4.2
    [ao/pipewire] Library version: 1.4.2
    [W][10:19:43.740112] pw.conf      | [          conf.c: 1204 pw_conf_load_conf_for_context()] setting config.name to client-rt.conf is deprecated, using client.conf
    [W][10:19:43.740371] pw.conf      | [          conf.c: 1182 try_load_conf()] can't load config client.conf: No such file or directory
    [E][10:19:43.740422] pw.conf      | [          conf.c: 1215 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory
    [ao] Trying audio driver 'pulse'
    [ao/pulse] requested format: 44100 Hz, stereo channels, floatp
    [ao/pulse] Library version: 17.0.0
    [ao/pulse] Proto: 35
    [ao/pulse] Server proto: 4294967295
    [ao/pulse] Channel layouts:
    [ao/pulse]  - #fl
    [ao/pulse]  - #fr
    [ao/pulse]  - #fc
    [ao/pulse]  - #lfe
    [ao/pulse]  - #bl
    [ao/pulse]  - #br
    [ao/pulse]  - #flc
    [ao/pulse]  - #frc
    [ao/pulse]  - #bc
    [ao/pulse]  - #sl
    [ao/pulse]  - #sr
    [ao/pulse]  - #tc
    [ao/pulse]  - #tfl
    [ao/pulse]  - #tfc
    [ao/pulse]  - #tfr
    [ao/pulse]  - #tbl
    [ao/pulse]  - #tbc
    [ao/pulse]  - #tbr
    [ao/pulse] result: stereo
    [ao/pulse] device buffer: 6172 samples.
    [ao/pulse] using soft-buffer of 8820 samples.
    [cplayer] AO: [pulse] 44100Hz stereo 2ch float
    [cplayer] AO: Description: PulseAudio audio output
    [autoconvert] inserting resampler
    [swresample] format change, reinitializing resampler
    [swresample] 44100Hz stereo floatp -> 44100Hz stereo float
    [af] [out] 44100Hz stereo 2ch float
    [cplayer] VO: [gpu] 1280x720 drm_prime[nv12]
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] reconfig to 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1280x720+0+0
    [vo/gpu] Resize: 1280x720
    [vo/gpu] Window size: 1280x720 (Borders: l=0 t=0 r=0 b=0)
    [vo/gpu] Video source: 1280x720 (1:1)
    [vo/gpu] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720
    [vo/gpu] Video scale: 1.000000/1.000000
    [vo/gpu] OSD borders: l=0 t=0 r=0 b=0
    [vo/gpu] Video borders: l=0 t=0 r=0 b=0
    [vo/gpu] Reported display depth: 8
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Dither to 8.
    [cplayer] first video frame after restart shown
    [osd/libass] libass API version: 0x1703000
    [osd/libass] libass source: tarball: 0.17.3
    [osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 10.2.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [cplayer] audio ready
    [cplayer] starting audio playback
    [cplayer] playback restart complete @ 0.000000, audio=playing, video=playing
    [vo/gpu/x11] Disabling screensaver.
    [ao/pulse] starting AO
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [cplayer] EOF code: 5  
    [vo/gpu/x11] Enabling screensaver.
    [statusline] AV: 00:00:29 / 00:04:18 (11%) A-V:  0.000
    [cplayer] finished playback, success (reason 3)
    [cplayer] Running hook: ytdl_hook/on_after_end_file
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    roberto@orangepizero3:~/mpv-official/mpv-0.39.0$

     

    Next, I tried with a 1080p h264... in this case, I needed the extraargs=cma=256M line in armbianEnv.txt.

    Result, low CPU usage, but dropped frames (choppy video)

    I didn't need to install mpv, because I ran it from within the build directory

    Removing the --drm-drmprime-video-plane=primary --drm-draw-plane=overlay from the options didn't make any positive or negative difference

     

    Spoiler

    roberto@orangepizero3:~/mpv-official/mpv-0.39.0$ DISPLAY=:0.0 ./build/mpv --hwdec=v4l2request --drm-drmprime-video-plane=primary --drm-draw-plane=overlay -v ~/concert.mp4 
    [cplayer] Command line options: '--hwdec=v4l2request' '--drm-drmprime-video-plane=primary' '--drm-draw-plane=overlay' '-v' '/home/roberto/concert.mp4'
    [cplayer] mpv 0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on Oct 10 2025 10:05:25
    [cplayer] libplacebo version: v7.349.0
    [cplayer] FFmpeg version: 7.1.2-0+deb13u1
    [cplayer] FFmpeg library versions:
    [cplayer]    libavcodec      61.19.101
    [cplayer]    libavdevice     61.3.100
    [cplayer]    libavfilter     10.4.100
    [cplayer]    libavformat     61.7.100
    [cplayer]    libavutil       59.39.100
    [cplayer]    libswresample   5.3.100
    [cplayer]    libswscale      8.3.100
    [cplayer] Configuration: 
    [cplayer] List of enabled features: alsa build-date caca cplugins debug dmabuf-interop-gl dmabuf-wayland drm dvbin egl egl-drm egl-wayland egl-x11 ffmpeg gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs lua52 memfd-create memrchr pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sixel sndio sndio-1-9 uchardet v4l2request vaapi vaapi-drm vaapi-wayland vaapi-x11 vdpau vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 x11 xv zlib
    [cplayer] Setting option 'hwdec' = 'v4l2request' (flags = 😎
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 😎
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 😎
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [cplayer] Set property: user-data/osc/visibility="auto" -> 1
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: auto_profiles/on_before_start_file
    [cplayer] Running hook: ytdl_hook/on_load
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] playlist hook
    [cplayer] Running hook: auto_profiles/on_load
    [bdmv/bluray] Opening /home/roberto/concert.mp4
    [file] Opening /home/roberto/concert.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [osd/libass] libass API version: 0x1703000
    [osd/libass] libass source: tarball: 0.17.3
    [osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 10.2.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
    [demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
    [cplayer] Opening done: /home/roberto/concert.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in /home/roberto/
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [cplayer] Running hook: auto_profiles/on_preloaded
    [lavf] select track 0
    [cplayer] ● Video  --vid=1  (h264 1920x1080 30 fps) [default]
    [vo/gpu] Probing for best GPU context.
    [vo/gpu/auto] Initializing GPU context 'auto'
    [vo/gpu/opengl] Initializing GPU context 'wayland'
    [vo/gpu/opengl] Initializing GPU context 'x11egl'
    [vo/gpu/x11] X11 opening display: :0.0
    [vo/gpu/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
    [vo/gpu/x11] Current display FPS: 60.000000
    [vo/gpu/opengl] EGL_VERSION=1.5
    [vo/gpu/opengl] EGL_VENDOR=Mesa Project
    [vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES 
    [vo/gpu/opengl] Trying to create Desktop OpenGL context.
    [vo/gpu/opengl] Choosing visual EGL config 0x9, visual ID 0x21
    [vo/gpu/x11] The XPresent extension was found.
    [vo/gpu/x11] XPresent enabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 25.0.7-2'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Mesa'
    [vo/gpu/opengl] GL_RENDERER='Mali-G31 (Panfrost)'
    [vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='1.40'
    [vo/gpu/opengl] Loaded extension GL_ARB_sync.
    [vo/gpu/opengl] Loaded extension GL_ARB_timer_query.
    [vo/gpu/opengl] Loaded extension GL_ARB_invalidate_subdata.
    [vo/gpu/opengl] Loaded extension GL_ARB_get_program_binary.
    [vo/gpu/opengl] Loaded extension GL_ARB_buffer_storage.
    [vo/gpu/opengl] Loaded extension GL_ARB_shader_image_load_store.
    [vo/gpu/opengl] Loaded extension GL_ARB_shader_storage_buffer_object.
    [vo/gpu/opengl] Loaded extension GL_ARB_arrays_of_arrays.
    [vo/gpu/opengl] Loaded extension GL_ARB_debug_output.
    [vo/gpu/opengl] Loaded extension GL_KHR_debug.
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
    [vo/gpu] Assuming 60.000000 FPS for display sync.
    [vd] Container reported FPS: 30.000000
    [vd] Codec list:
    [vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
    [vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
    [vd] Opening decoder h264
    [vd] Looking at hwdec h264-v4l2request...
    [vo/gpu] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu] Loading hwdec driver 'drmprime'
    [vo/gpu/drmprime] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
    [vo/gpu] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vo/gpu] Loading hwdec driver 'v4l2request'
    [vo/gpu/v4l2request] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vd] Trying hardware decoding via h264-v4l2request.
    [vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [vd] Pixel formats supported by decoder: vdpau vulkan cuda drm_prime vaapi yuv420p
    [vd] Codec profile: High (0x64)
    [vd] Requesting pixfmt 'drm_prime' from decoder.
    [ffmpeg/video] h264: Using V4L2 media driver cedrus (6.15.4) for S264
    [vd] Using hardware decoding (v4l2request).
    [vd] Decoder format: 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [in] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [userdeint] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vo/gpu] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vo/gpu] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [hwupload] hwdec 'drmprime' does not report hwframe constraints. Using static metadata.
    [vf] [out] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [osd/libass] libass API version: 0x1703000
    [osd/libass] libass source: tarball: 0.17.3
    [osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 10.2.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] VO: [gpu] 1920x1080 drm_prime[nv12]
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] reconfig to 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vo/gpu/x11] not waiting for MapNotify
    [vo/gpu] Resize: 1920x1025
    [vo/gpu] Window size: 1920x1025 (Borders: l=0 t=0 r=0 b=0)
    [vo/gpu] Video source: 1920x1080 (1:1)
    [vo/gpu] Video display: (0, 0) 1920x1080 -> (49, 0) 1822x1025
    [vo/gpu] Video scale: 0.948958/0.949074
    [vo/gpu] OSD borders: l=49 t=0 r=49 b=0
    [vo/gpu] Video borders: l=49 t=0 r=49 b=0
    [vo/gpu] Reported display depth: 8
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Resize: 1920x1025
    [vo/gpu] Window size: 1920x1025 (Borders: l=0 t=0 r=0 b=0)
    [vo/gpu] Video source: 1920x1080 (1:1)
    [vo/gpu] Video display: (0, 0) 1920x1080 -> (49, 0) 1822x1025
    [vo/gpu] Video scale: 0.948958/0.949074
    [vo/gpu] OSD borders: l=49 t=0 r=49 b=0
    [vo/gpu] Video borders: l=49 t=0 r=49 b=0
    [vo/gpu] Reported display depth: 8
    [vo/gpu] Dither to 8.
    [cplayer] first video frame after restart shown
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [vo/gpu/x11] Disabling screensaver.
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] EOF code: 5  
    [statusline] V: 00:00:20 / 00:04:49 (7%) Dropped: 415
    [cplayer] finished playback, success (reason 3)
    [cplayer] Running hook: ytdl_hook/on_after_end_file
    [vo/gpu/x11] Enabling screensaver.
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    roberto@orangepizero3:~/mpv-official/mpv-0.39.0$

     

     

    I repeated the test with mpv-0.4.0 and the result was the same.

     

    I am using linux 6.15.4... tomorrow I will re-test with linux 6.16.8 and again with labwc (wayland)

     

    UPDATE: with labwc-0.8.3-1 (from Trixie repo), 720p playback is fine, and 1080p playback drops 220 frames over 10 seconds.

    However it seems that it activates an X11 renderer, and XWayland appears in the htop list. <-- only if started from SSH session, with "DISPLAY=:0"

    How can I ensure that pure wayland is used? <-- answer: start mpv from within a terminal in labwc, like foot

     

    mpv log:

    Spoiler

    roberto@orangepizero3:~/mpv-official/mpv-0.40.0$ DISPLAY=:0 ./build/mpv --hwdec=v4l2request --loop -v ~/concert.mp4 
    [cplayer] Command line options: '--hwdec=v4l2request' '--loop' '-v' '/home/roberto/concert.mp4'
    [cplayer] mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on Oct 10 2025 10:50:55
    [cplayer] libplacebo version: v7.349.0
    [cplayer] FFmpeg version: 7.1.2-0+deb13u1
    [cplayer] FFmpeg library versions:
    [cplayer]    libavcodec      61.19.101
    [cplayer]    libavdevice     61.3.100
    [cplayer]    libavfilter     10.4.100
    [cplayer]    libavformat     61.7.100
    [cplayer]    libavutil       59.39.100
    [cplayer]    libswresample   5.3.100
    [cplayer]    libswscale      8.3.100
    [cplayer] Configuration: 
    [cplayer] List of enabled features: alsa build-date caca cdda cplugins debug dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs lua52 memfd-create memrchr pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sixel sndio sndio-1-9 uchardet v4l2request vaapi vaapi-drm vaapi-wayland vaapi-x11 vdpau vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 x11 xv zlib
    [cplayer] Setting option 'hwdec' = 'v4l2request' (flags = 😎
    [cplayer] Setting option 'loop' = '' (flags = 😎
    [cplayer] Setting option 'v' = '' (flags = 😎
    [clipboard] Initialized vo clipboard backend.
    [cplayer] Waiting for scripts...
    [cplayer] Set property: user-data/osc/visibility="auto" -> 1
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: auto_profiles/on_before_start_file
    [cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
    [cplayer] Running hook: auto_profiles/on_load
    [cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
    [cplayer] Running hook: ytdl_hook/on_load
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] playlist hook
    [ifo_dvdnav] Opening /home/roberto/concert.mp4
    [bdmv/bluray] Opening /home/roberto/concert.mp4
    [file] Opening /home/roberto/concert.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [osd/libass] libass API version: 0x1703000
    [osd/libass] libass source: tarball: 0.17.3
    [osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 10.2.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
    [demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
    [cplayer] Opening done: /home/roberto/concert.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in /home/roberto/
    [cplayer] Running hook: auto_profiles/on_preloaded
    [cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer] ● Video  --vid=1  (h264 1920x1080 30 fps) [default]
    [vo/gpu] Probing for best GPU context.
    [vo/gpu/auto] Initializing GPU context 'auto'
    [vo/gpu/vulkan] Initializing GPU context 'waylandvk'
    [vo/gpu/libplacebo] Initialized libplacebo v7.349.0 (API v349)
    [vo/gpu/libplacebo] Creating vulkan instance with extensions:
    [vo/gpu/libplacebo]     VK_KHR_get_physical_device_properties2
    [vo/gpu/libplacebo]     VK_KHR_portability_enumeration
    [vo/gpu/libplacebo]     VK_KHR_surface
    [vo/gpu/libplacebo]     VK_KHR_wayland_surface
    [vo/gpu/libplacebo] Failed creating instance: VK_ERROR_INCOMPATIBLE_DRIVER
    [vo/gpu/libplacebo] Failed initializing vulkan instance
    [vo/gpu/vulkan] Initializing GPU context 'x11vk'
    [vo/gpu/libplacebo] Initialized libplacebo v7.349.0 (API v349)
    [vo/gpu/libplacebo] Creating vulkan instance with extensions:
    [vo/gpu/libplacebo]     VK_KHR_get_physical_device_properties2
    [vo/gpu/libplacebo]     VK_KHR_portability_enumeration
    [vo/gpu/libplacebo]     VK_KHR_surface
    [vo/gpu/libplacebo]     VK_KHR_xlib_surface
    [vo/gpu/libplacebo] Failed creating instance: VK_ERROR_INCOMPATIBLE_DRIVER
    [vo/gpu/libplacebo] Failed initializing vulkan instance
    [vo/gpu/opengl] Initializing GPU context 'wayland'
    [vo/gpu/opengl] Initializing GPU context 'x11egl'
    [vo/gpu/x11] X11 opening display: :0
    [vo/gpu/x11] Display 0 (HDMI-A-1): [0, 0, 1920, 1080] @ 59.962844 FPS
    [vo/gpu/x11] Current display FPS: 59.962844
    [vo/gpu/opengl] EGL_VERSION=1.5
    [vo/gpu/opengl] EGL_VENDOR=Mesa Project
    [vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES 
    [vo/gpu/opengl] Trying to create Desktop OpenGL context.
    [vo/gpu/opengl] Choosing visual EGL config 0x9, visual ID 0x40
    [vo/gpu/x11] The XPresent extension was found.
    [vo/gpu/x11] XPresent disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 25.0.7-2'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Mesa'
    [vo/gpu/opengl] GL_RENDERER='Mali-G31 (Panfrost)'
    [vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='1.40'
    [vo/gpu/opengl] Loaded extension GL_ARB_sync.
    [vo/gpu/opengl] Loaded extension GL_ARB_timer_query.
    [vo/gpu/opengl] Loaded extension GL_ARB_invalidate_subdata.
    [vo/gpu/opengl] Loaded extension GL_ARB_get_program_binary.
    [vo/gpu/opengl] Loaded extension GL_ARB_buffer_storage.
    [vo/gpu/opengl] Loaded extension GL_ARB_shader_image_load_store.
    [vo/gpu/opengl] Loaded extension GL_ARB_shader_storage_buffer_object.
    [vo/gpu/opengl] Loaded extension GL_ARB_arrays_of_arrays.
    [vo/gpu/opengl] Loaded extension GL_ARB_debug_output.
    [vo/gpu/opengl] Loaded extension GL_KHR_debug.
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
    [vo/gpu] Assuming 59.962844 FPS for display sync.
    [vd] Container reported FPS: 30.000000
    [vd] Codec list:
    [vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
    [vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
    [vd] Opening decoder h264
    [vd] Looking at hwdec h264-v4l2request...
    [vo/gpu] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu] Loading hwdec driver 'drmprime'
    [vo/gpu/drmprime] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
    [vo/gpu] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vo/gpu] Loading hwdec driver 'v4l2request'
    [vo/gpu/v4l2request] Using EGL dmabuf interop via GL_EXT_EGL_image_storage
    [vo/gpu] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vd] Trying hardware decoding via h264-v4l2request.
    [vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [vd] Pixel formats supported by decoder: vdpau vulkan cuda drm_prime vaapi yuv420p
    [vd] Codec profile: High (0x64)
    [vd] Requesting pixfmt 'drm_prime' from decoder.
    [ffmpeg/video] h264: Using V4L2 media driver cedrus (6.15.4) for S264
    [vd] Using hardware decoding (v4l2request).
    [vd] Decoder format: 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [in] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [userdeint] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vo/gpu] Loading hwdec drivers for format: 'drm_prime'
    [vo/gpu] Loading hwdec driver 'drmprime-overlay'
    [vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [vo/gpu] Loading hwdec driver 'v4l2request-overlay'
    [vo/gpu/v4l2request-overlay] Failed to retrieve DRM fd from native display.
    [vo/gpu] Loading failed.
    [hwupload] hwdec 'drmprime' does not report hwframe constraints. Using static metadata.
    [vf] [out] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [osd/libass] libass API version: 0x1703000
    [osd/libass] libass source: tarball: 0.17.3
    [osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 10.2.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] VO: [gpu] 1920x1080 drm_prime[nv12]
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] reconfig to 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vo/gpu] Resize: 1920x1080
    [vo/gpu] Window size: 1920x1080 (Borders: l=0 t=0 r=0 b=0)
    [vo/gpu] Video source: 1920x1080 (1:1)
    [vo/gpu] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
    [vo/gpu] Video scale: 1.000000/1.000000
    [vo/gpu] OSD borders: l=0 t=0 r=0 b=0
    [vo/gpu] Video borders: l=0 t=0 r=0 b=0
    [vo/gpu] Reported display depth: 8
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Dither to 8.
    [cplayer] first video frame after restart shown
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [vo/gpu/x11] Disabling screensaver.
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [vo/gpu] Resize: 1918x1052
    [vo/gpu] Window size: 1918x1052 (Borders: l=0 t=0 r=0 b=0)
    [vo/gpu] Video source: 1920x1080 (1:1)
    [vo/gpu] Video display: (0, 0) 1920x1080 -> (24, 0) 1870x1052
    [vo/gpu] Video scale: 0.973958/0.974074
    [vo/gpu] OSD borders: l=24 t=0 r=24 b=0
    [vo/gpu] Video borders: l=24 t=0 r=24 b=0
    [vo/gpu] Reported display depth: 8
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    [cplayer] EOF code: 5  
    [statusline] V: 00:00:10 / 00:04:49 (4%) Dropped: 220
    [cplayer] finished playback, success (reason 3)
    [cplayer] Running hook: ytdl_hook/on_after_end_file
    [vo/gpu/x11] Enabling screensaver.
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1
    roberto@orangepizero3:~/mpv-official/mpv-0.40.0$

     

    When I try mpv-0.3.9 (from the source folder, so I dont need to install it), I get the same result: v4l2request works perfectly in 720p, but choppy in 1080p

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines