Jump to content

robertoj

Members
  • Posts

    479
  • Joined

  • Last visited

Posts posted by robertoj

  1. Successful playing of H264 1080p mp4

     

    Orange pi zero 3, 1GB

    Self-built Bookworm, with XFCE desktop

    Linux edge 6.15.4

    No changed linux configurations

     

    Using ffmpeg+libraries provided in the first post of https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/

    (you can even install all the bookworm ffmpeg, mpv, then when you add the new repository, update and upgrade, apt will replace the packages with their ffmpeg-v4l2request equivalents)

     

    Testing 1080P H264 (warning, some mp4's will actually be AV1 codec), checked with VLC

    Compositor on or off, doesn't make a difference. Video plays at full 30 fps

     

    To avoid video glitches during window resizing: add "extraargs=cma=256M" in /boot/armbianEnv.txt

     

    With hwdec=drm-prime, CPU is 50% in all 4 cores

    With hwdec=drm, CPU is 10% or less in all 4 cores

    Without HW acceleration, CPU is 100% in all 4 cores with many skipped frames

     

    mpv.conf and mpv log:

      Reveal hidden contents


     

    Spoiler

    roberto@orangepizero3:~$ cat /etc/mpv/mpv.conf
    hwdec=drm
    drm-drmprime-video-plane=primary
    drm-draw-plane=overlay
    roberto@orangepizero3:~$
    roberto@orangepizero3:~$
    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v windwaker1080p.mp4
    [cplayer] Command line options: '-v' 'windwaker1080p.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [ifo_dvdnav] Opening windwaker1080p.mp4
    [bdmv/bluray] Opening windwaker1080p.mp4
    [file] Opening windwaker1080p.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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: windwaker1080p.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer]  (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [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-drm...
    [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 'drmprime'
    [vo/gpu/drmprime] using EGL dmabuf interop
    [vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
    [vd] Trying hardware decoding via h264-drm.
    [vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [cplayer] Set property: shared-script-properties -> 1
    [vd] Pixel formats supported by decoder: vdpau cuda vaapi drm_prime yuv420p
    [vd] Codec profile: High (0x64)
    [vd] Requesting pixfmt 'drm_prime' from decoder.
    [vd] Using hardware decoding (drm).
    [vd] Decoder format: 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264
    [vf] [in] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [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 SP=1.000000 CL=mpeg2/4/h264
    [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] No advanced processing required. Enabling dumb mode.
    [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
    [cplayer] first video frame after restart shown
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [vo/gpu/x11] Disabling screensaver.
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:06 / 00:04:31 (2%)
    [cplayer] EOF code: 5  
    [cplayer] finished playback, success (reason 3)
    [cplayer]
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: shared-script-properties -> 1
    [vo/gpu/x11] Enabling screensaver.

     

     

    THANK YOU to all who gave me updated information!

     

     

    Edited just now by robertoj

  2. 12 hours ago, usual user said:

    Just out of curiosity, you are trying to play content that is encoded in AV1.

    Are you sure that your device is equipped with an AV1 decoder IP and that the kernel has the appropriate driver?

    You are right.

    I just downloaded something from youtube and assumed it was H264.

    When I checked it in VLC in my PC, the codec is: AOMedia's AV1 video (av01)

     

     

    I picked another mp4, which I verified in VLC as H264-MPEG4, 720p, and it played with 10% CPU :)

    This test below is with Bookworm XFCE, compositor ON, Linux 6.15.4 with default configuration

    Spoiler

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v donde\ venderan\ buen\ trago\ 720p.mp4
    [cplayer] Command line options: '-v' 'donde venderan buen trago 720p.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [ifo_dvdnav] Opening donde venderan buen trago 720p.mp4
    [bdmv/bluray] Opening donde venderan buen trago 720p.mp4
    [file] Opening donde venderan buen trago 720p.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
    [cplayer] Opening done: donde venderan buen trago 720p.mp4
    [find_files] Loading external files in .
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [lavf] select track 1
    [cplayer]  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
    [cplayer]  (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [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-drm...
    [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 'drmprime'
    [vo/gpu/drmprime] using EGL dmabuf interop
    [vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
    [vd] Trying hardware decoding via h264-drm.
    [vd] Selected codec: 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 codec: 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 cuda vaapi drm_prime yuv420p
    [vd] Codec profile: Main (0x4d)
    [vd] Requesting pixfmt 'drm_prime' from decoder.
    [vd] Using hardware decoding (drm).
    [vd] Decoder format: 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264
    [vd] Using container aspect ratio.
    [vf] [in] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1280x720 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [ao] Trying audio driver 'pipewire'
    [ao/pipewire] requested format: 44100 Hz, stereo channels, floatp
    [ao/pipewire] Headers version: 0.3.65
    [ao/pipewire] Library version: 0.3.65
    [W][00618.325296] pw.conf      | [          conf.c:  939 try_load_conf()] can't load config client.conf: No such file or directory
    [E][00618.325551] pw.conf      | [          conf.c:  963 pw_conf_load_conf_for_context()] can't load default 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: 16.1.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 SP=1.000000 CL=mpeg2/4/h264
    [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] No advanced processing required. Enabling dumb mode.
    [cplayer] first video frame after restart shown
    [cplayer] Set property: shared-script-properties -> 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
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource

    [cplayer] Set property: shared-script-properties -> 1
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    [statusline] AV: 00:00:04 / 00:04:18 (2%) A-V:  0.000
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] AV: 00:00:04 / 00:04:18 (2%) A-V:  0.000
    [osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
    [osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular
    [vo/gpu] Reallocating OSD texture to 2048x256.
    [statusline] AV: 00:00:05 / 00:04:18 (2%) A-V:  0.000
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] AV: 00:00:08 / 00:04:18 (3%) A-V:  0.000 Dropped: 2
    [vo/gpu] Resize: 1093x615
    [vo/gpu] Window size: 1093x615 (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) 1093x615
    [vo/gpu] Video scale: 0.853906/0.854167
    [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
    [statusline] AV: 00:00:08 / 00:04:18 (3%) A-V:  0.000 Dropped: 2
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] AV: 00:00:19 / 00:04:18 (7%) A-V:  0.000 Dropped: 2
    [cplayer] EOF code: 5  
    [cplayer] finished playback, success (reason 3)
    [cplayer]
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: shared-script-properties -> 1
    [vo/gpu/x11] Enabling screensaver

     

     

    Then I repeat the test with a 1080p H264 mp4. mpv tries to use hardware acceleration, but the mpv is black and there's continuous DRM_IOCTL errors:

    Spoiler

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v windwaker1080p.mp4
    [cplayer] Command line options: '-v' 'windwaker1080p.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [ifo_dvdnav] Opening windwaker1080p.mp4
    [bdmv/bluray] Opening windwaker1080p.mp4
    [file] Opening windwaker1080p.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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: windwaker1080p.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer]  (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [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-drm...
    [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 'drmprime'
    [vo/gpu/drmprime] using EGL dmabuf interop
    [vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
    [vd] Trying hardware decoding via h264-drm.
    [vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [cplayer] Set property: shared-script-properties -> 1
    [vd] Pixel formats supported by decoder: vdpau cuda vaapi drm_prime yuv420p
    [vd] Codec profile: High (0x64)
    [vd] Requesting pixfmt 'drm_prime' from decoder.
    [vd] Using hardware decoding (drm).
    [vd] Decoder format: 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264
    [vf] [in] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 drm_prime[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [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 SP=1.000000 CL=mpeg2/4/h264
    [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] No advanced processing required. Enabling dumb mode.
    [cplayer] first video frame after restart shown
    [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
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [vo/gpu] Reported display depth: 8
    [vo/gpu/x11] Disabling screensaver.
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource

    [cplayer] Set property: shared-script-properties -> 1
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    [cplayer] Set property: shared-script-properties -> 1
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
    Failed to create scanout resource

     

    Then I tried this inside /etc/mpv/mpv.conf

    hwdec=drm-prime
    drm-drmprime-video-plane=primary
    drm-draw-plane=overlay

     

    and the 1080p H264 starts playing fluidly with just 40% CPU (compositor off)

    Spoiler

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v windwaker1080p.mp4
    [cplayer] Command line options: '-v' 'windwaker1080p.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm-prime' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [cplayer] Set property: shared-script-properties -> 1
    [ifo_dvdnav] Opening windwaker1080p.mp4
    [bdmv/bluray] Opening windwaker1080p.mp4
    [file] Opening windwaker1080p.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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: windwaker1080p.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer]  (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [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] Unsupported hwdec: drm-prime
    [vd] No hardware decoding available for this codec.
    [vd] Using software decoding.
    [vd] Detected 4 logical cores.
    [vd] Requesting 5 threads for decoding.
    [vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [vd] DR failed - disabling.
    [vd] Using software decoding.
    [vd] Decoder format: 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264
    [vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [cplayer] VO: [gpu] 1920x1080 yuv420p
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] DR path suspected slow/uncached, disabling..reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [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] Texture for plane 0: 1920x1080
    [vo/gpu] Texture for plane 1: 960x540
    [vo/gpu] Texture for plane 2: 960x540
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] No advanced processing required. Enabling dumb mode.
    [cplayer] first video frame after restart shown
    [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
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [vo/gpu] Reported display depth: 8
    [vo/gpu/x11] Disabling screensaver.
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:09 / 00:04:31 (3%)
    [cplayer] EOF code: 5  
    [vo/gpu/x11] Enabling screensaver.
    [cplayer] finished playback, success (reason 3)
    [cplayer]
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: shared-script-properties -> 1

     

    With compositor on, I get same 40% CPU

    Spoiler

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v windwaker1080p.mp4
    [cplayer] Command line options: '-v' 'windwaker1080p.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm-prime' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [ifo_dvdnav] Opening windwaker1080p.mp4
    [bdmv/bluray] Opening windwaker1080p.mp4
    [file] Opening windwaker1080p.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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: windwaker1080p.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer]  (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [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] Unsupported hwdec: drm-prime
    [vd] No hardware decoding available for this codec.
    [vd] Using software decoding.
    [vd] Detected 4 logical cores.
    [vd] Requesting 5 threads for decoding.
    [vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [vd] DR failed - disabling.
    [vd] Using software decoding.
    [vd] Decoder format: 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264
    [vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [cplayer] VO: [gpu] 1920x1080 yuv420p
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] DR path suspected slow/uncached, disabling..reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [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] Texture for plane 0: 1920x1080
    [vo/gpu] Texture for plane 1: 960x540
    [vo/gpu] Texture for plane 2: 960x540
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] No advanced processing required. Enabling dumb mode.
    [cplayer] first video frame after restart shown
    [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
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [vo/gpu] Reported display depth: 8
    [vo/gpu/x11] Disabling screensaver.
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:00 / 00:04:31 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:16 / 00:04:31 (6%) Dropped: 2
    [cplayer] EOF code: 5  
    [vo/gpu/x11] Enabling screensaver.
    [cplayer] finished playback, success (reason 3)
    [cplayer]
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: shared-script-properties -> 1

     

    Same video glitches, with or without compositor, but I am getting hardware acceleration (although there's the hwdec unsupported message)

     

    Update: Thank you to all who helped me. I have hardware acceleration again with my opiz3

    hwdec=drm is more efficient

    extraargs=cma=256 is needed to avoid memory allocation problems and video glitches.

     

    https://forum.armbian.com/topic/29202-orange-pi-zero-3/page/26/#findComment-222596

     

     

  3. 9 hours ago, Gabriel Negrisiolo Righi said:

    i've got working with compositor turned on

    I started building mesa 25.2 according to https://docs.mesa3d.org/install.html

    When I started meson, it complained about meson-1.0.1 is too old (Bookworm)... needs 1.4.0

    Trixie will provide meson 1.7... is this what you did? Start with a self built Armbian-Trixie?

     

    When you type "replace the libs", do you mean to uninstall debian package, and install the just compiled source?

    libva2 - Video Acceleration (VA) API for Linux -- runtime

     

    Is this independent from ffmpeg (I only see libav in ffmpeg, not libva)

     

    Does mpv need any special configuration?

  4. I have tried again with trixie, ensuring that the kernel patches were taken... no difference.

     

    Then I build a Bookworm Armbian image, with linux 6.15.4. It wasn't visible wether the kernel was downloaded from armbian, or the last one was included in my OS image.

     

    Just for fun, I tried it with Bookworm's default ffmpeg-5.1.6, with xfce with compositor off... and I got a 1080p MP4 playing with 100%

     

    mpv log:

    Spoiler

    bookworm without compositor, linux 6.15.4, default ffmpeg

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v videofile.mp4
    [cplayer] Command line options: '-v' 'videofile.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [ifo_dvdnav] Opening videofile.mp4
    [bdmv/bluray] Opening videofile.mp4
    [file] Opening videofile.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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: videofile.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer]  (+) Video --vid=1 (*) (av1 1920x1080 30.000fps)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [vo/gpu] Assuming 60.000000 FPS for display sync.
    [vd] Container reported FPS: 30.000000
    [vd] Codec list:
    [vd]     libdav1d (av1) - dav1d AV1 decoder by VideoLAN
    [vd]     libaom-av1 (av1) - libaom AV1
    [vd]     av1 - Alliance for Open Media AV1
    [vd]     av1_cuvid (av1) - Nvidia CUVID AV1 decoder
    [vd] Opening decoder libdav1d
    [vd] Unsupported hwdec: drm
    [vd] No hardware decoding available for this codec.
    [vd] Using software decoding.
    [vd] Detected 4 logical cores.
    [vd] Requesting 5 threads for decoding.
    [ffmpeg/video] libdav1d: libdav1d 1.0.0
    [vd] Selected codec: libdav1d (dav1d AV1 decoder by VideoLAN)
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [vd] Using software decoding.
    [vd] Decoder format: 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=unknown
    [vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] VO: [gpu] 1920x1080 yuv420p
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [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] Texture for plane 0: 1920x1080
    [vo/gpu] Texture for plane 1: 960x540
    [vo/gpu] Texture for plane 2: 960x540
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] No advanced processing required. Enabling dumb mode.
    [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
    [cplayer] first video frame after restart shown
    [vo/gpu/x11] Disabling screensaver.
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [statusline] V: 00:00:00 / 00:04:49 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:08 / 00:04:49 (3%) Dropped: 47
    [cplayer] Set property: fullscreen -> 1
    [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
    [statusline] V: 00:00:08 / 00:04:49 (3%) Dropped: 47
    [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
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:08 / 00:04:49 (3%) Dropped: 47
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:08 / 00:04:49 (3%) Dropped: 47
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:26 / 00:04:49 (9%) Dropped: 150
    [cplayer] EOF code: 5  
    [vo/gpu/x11] Enabling screensaver.
    [cplayer] finished playback, success (reason 3)
    [cplayer]
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: shared-script-properties -> 1

    ...

     

    roberto@orangepizero3:~$ apt list ffmpeg
    Listing... Done
    ffmpeg/stable,stable-security,now 7:5.1.6-0+deb12u1 arm64 [installed]

    roberto@orangepizero3:~$ apt list libavcodec59
    Listing... Done
    libavcodec59/stable,stable-security,now 7:5.1.6-0+deb12u1 arm64 [installed,automatic]

    Note that mpv still complains about unsupported hwdec: drm

     

    I repeated the test with compositor ON: killall xfwm4 && xfwm4 --compositor=on --display :0.0 &

     

    Same result: CPU 100%, but nice full FPS video

     

     

     

     

    Then I tried with the ffmpeg-x.x.x-v4l2 request

    Adding the repo, updating, and checking the update:

    Spoiler

    roberto@orangepizero3:~$ apt list --upgradable
    Listing... Done
    ffmpeg/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libavcodec59/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libavdevice59/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libavfilter8/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libavformat59/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libavutil57/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libpostproc56/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libswresample4/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    libswscale6/bookworm 7:5.1.6-0+deb12u1-v4l2request1 arm64 [upgradable from: 7:5.1.6-0+deb12u1]
    roberto@orangepizero3:~$ sudo apt upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      ffmpeg libavcodec59 libavdevice59 libavfilter8 libavformat59 libavutil57 libpostproc56 libswresample4
      libswscale6
    9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 11.8 MB of archives.
    After this operation, 66.6 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y

    ... the 9 ffmpeg packages get installed with no problem

     

     

     

    Then I tried playing the mp4, I got no complaint about "unsupported hwdec: drm", but the CPU was still 100%

    For the first time, I get some video glitches when I resize, and repeated messages:

     

    Failed to create scanout resource
    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory

     

    compositor=on or off doesn't make a difference for me.

     

    mpv log:

    Spoiler

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v videofile.mp4
    [cplayer] Command line options: '-v' 'videofile.mp4'
    [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    [cplayer]  built on UNKNOWN
    [cplayer] FFmpeg library versions:
    [cplayer]    libavutil       57.28.100
    [cplayer]    libavcodec      59.37.100
    [cplayer]    libavformat     59.27.100
    [cplayer]    libswscale      6.7.100
    [cplayer]    libavfilter     8.44.100
    [cplayer]    libswresample   4.7.100
    [cplayer] FFmpeg version: 5.1.6-0+deb12u1
    [cplayer]
    [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
    [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [cplayer] Setting option 'v' = '' (flags = 😎
    [cplayer] Waiting for scripts...
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
    [osd/libass] Setting up fonts...
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] Done loading scripts.
    [cplayer] Running hook: ytdl_hook/on_load
    [ytdl_hook] ytdl:// hook
    [ytdl_hook] not a ytdl:// url
    [ifo_dvdnav] Opening videofile.mp4
    [bdmv/bluray] Opening videofile.mp4
    [file] Opening videofile.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: shared-script-properties -> 1
    [osd/libass] libass API version: 0x1701000
    [osd/libass] libass source: tarball: 0.17.1
    [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.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: videofile.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [cplayer] Running hook: ytdl_hook/on_preloaded
    [lavf] select track 0
    [cplayer]  (+) Video --vid=1 (*) (av1 1920x1080 30.000fps)
    [vo/gpu] Probing for best GPU context.
    [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.4
    [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 disabled.
    [vo/gpu/opengl] GL_VERSION='3.1 Mesa 22.3.6'
    [vo/gpu/opengl] Detected desktop OpenGL 3.1.
    [vo/gpu/opengl] GL_VENDOR='Panfrost'
    [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_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] No advanced processing required. Enabling dumb mode.
    [vo/gpu] Assuming 60.000000 FPS for display sync.
    [vd] Container reported FPS: 30.000000
    [vd] Codec list:
    [vd]     libdav1d (av1) - dav1d AV1 decoder by VideoLAN
    [vd]     libaom-av1 (av1) - libaom AV1
    [vd]     av1 - Alliance for Open Media AV1
    [vd]     av1_cuvid (av1) - Nvidia CUVID AV1 decoder
    [vd] Opening decoder libdav1d
    [vd] No hardware decoding available for this codec.
    [vd] Using software decoding.
    [vd] Detected 4 logical cores.
    [vd] Requesting 5 threads for decoding.
    [ffmpeg/video] libdav1d: libdav1d 1.0.0
    [vd] Selected codec: libdav1d (dav1d AV1 decoder by VideoLAN)
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [cplayer] Set property: shared-script-properties -> 1
    [vd] Using software decoding.
    [vd] Decoder format: 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=unknown
    [vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [cplayer] Set property: shared-script-properties -> 1
    [cplayer] VO: [gpu] 1920x1080 yuv420p
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
    [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] Texture for plane 0: 1920x1080
    [vo/gpu] Texture for plane 1: 960x540
    [vo/gpu] Texture for plane 2: 960x540
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] No advanced processing required. Enabling dumb mode.
    [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
    [cplayer] first video frame after restart shown
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [statusline] V: 00:00:00 / 00:04:49 (0%)
    [vo/gpu/x11] Disabling screensaver.
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:00 / 00:04:49 (0%)
    [cplayer] Set property: shared-script-properties -> 1
    [statusline] V: 00:00:16 / 00:04:49 (6%) Dropped: 216
    [cplayer] EOF code: 5  
    [vo/gpu/x11] Enabling screensaver.
    [vf] dropping frame due to pin disconnect
    [cplayer] finished playback, success (reason 3)
    [cplayer]
    [cplayer] Exiting... (Quit)
    [cplayer] Set property: shared-script-properties -> 1

     

    Summary:

    Armbian Trixie (and the correspoinding ffmpeg 7.1.1) will always result in "unsupported hwdec: drm", with default ffmpeg, or ffmpeg-v4l2 request

    Armbian Bookworm (ffmpeg 5.1.6) will never complain about "unsupported hwdec: drm", with default ffmpeg or ffmpeg-v4l2request. Still 100% CPU

  5. I tried this in a raspberry pi with graphic services stopped. Labwc exits normally

     

    I tried it in a virtualbox x86, with Debian trixie netinstall (barebones+labwc+seatd). Labwc exits normally.

     

    I think other armbian users (probably non allwinner) have used labwc, but they never complained about Labwc crashes.

     

    YES. I will try it with a true intel system.

     

    I will also try the stable-version Linux (instead of edge).

  6. I have tried again with orange pi zero 3, debian trixie linux edge, xfce desktop.

     

    This time, I tried without compositor. I ran this from SSH, as my user:

    killall xfwm4 && xfwm4 --compositor=off &

    I got:  (xfwm4:7880): Gtk-WARNING **: 10:45:56.629: cannot open display:

     

    Then I tried "killall xfwm4 && xfwm4 --compositor=off --display :0.0 &" and there were no errors. The orange transparent effect when moving windows is now a white line rectangle

     

    Then, mpv played my 1080p mp4 with low framerate (slow motion, 75% of speed)... sometimes with 100% CPU and sometimes with 25% CPU

     

    I noticed this in the log (both high and low CPU cases)

    [vd] Unsupported hwdec: drm
    [vd] Using software decoding.

     

    With high CPU:

    [cplayer] Set property: user-data/osc/margins={"b":0,"r":0,"t":0,"l":0} -> 1

     

    With 25% CPU:

    [cplayer] Set property: user-data/osc/margins={"l":0,"b":0,"r":0,"t":0} -> 1

     

    Whole log (low CPU case):

    (Mpv.conf at the bottom)

     

    Spoiler

    LOW CPU

    roberto@orangepizero3:~$ DISPLAY=:0.0 mpv -v videofile.mp4
    [cplayer] Command line options: '-v' 'videofile.mp4'
    [cplayer] mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
    [cplayer] libplacebo version: v7.349.0
    [cplayer] FFmpeg version: 7.1.1-1+b1 (runtime 7.1.1-1)
    [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: -Dpython.bytecompile=-1 -Dlibmpv=true -Dbuild-date=false -Dcdda=enabled -Ddvdnav=enabled -Dsdl2=enabled -Ddvbin=enabled -Dprefix=/usr -Dlibdir=lib/aarch64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload
    [cplayer] List of enabled features: alsa caca cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec 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 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel sndio sndio-1-9 uchardet 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 zimg zimg-st428 zlib
    [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
    [ifo_dvdnav] Opening /etc/mpv/encoding-profiles.conf
    [bdmv/bluray] Opening /etc/mpv/encoding-profiles.conf
    [file] Opening /etc/mpv/encoding-profiles.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Reading config file /etc/mpv/mpv.conf
    [ifo_dvdnav] Opening /etc/mpv/mpv.conf
    [bdmv/bluray] Opening /etc/mpv/mpv.conf
    [file] Opening /etc/mpv/mpv.conf
    [cplayer] Applying profile 'default'...
    [cplayer] Setting option 'hwdec' = 'drm' (flags = 4)
    [cplayer] Setting option 'drm-drmprime-video-plane' = 'primary' (flags = 4)
    [cplayer] Setting option 'drm-draw-plane' = 'overlay' (flags = 4)
    [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={"b":0,"l":0,"t":0,"r":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 videofile.mp4
    [bdmv/bluray] Opening videofile.mp4
    [file] Opening videofile.mp4
    [demux] Trying demuxers for level=normal.
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [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.
    [demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
    [cplayer] Opening done: videofile.mp4
    [osd/libass] Using font provider fontconfig
    [osd/libass] Done.
    [find_files] Loading external files in .
    [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  (av1 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.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.5-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]     libdav1d (av1) - dav1d AV1 decoder by VideoLAN
    [vd]     libaom-av1 (av1) - libaom AV1
    [vd]     av1 - Alliance for Open Media AV1
    [vd]     av1_cuvid (av1) - Nvidia CUVID AV1 decoder
    [vd] Opening decoder libdav1d
    [vd] Unsupported hwdec: drm
    [vd] Using software decoding.
    [vd] Detected 4 logical cores.
    [vd] Requesting 5 threads for decoding.
    [vd] Selected decoder: libdav1d - dav1d AV1 decoder by VideoLAN
    [vf] User filter list:
    [vf]   (empty)
    [cplayer] Starting playback...
    [vd] Using software decoding.
    [vd] Decoder format: 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=unknown crop=1920x1080+0+0
    [vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [userdeint] (disabled)
    [vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [autorotate] (disabled)
    [vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [vf] [convert] (disabled)
    [vf] [out] 1920x1080 yuv420p 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 yuv420p
    [cplayer] VO: Description: Shader-based GPU Renderer
    [vo/gpu] reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
    [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] Texture for plane 0: 1920x1080
    [vo/gpu] Texture for plane 1: 960x540
    [vo/gpu] Texture for plane 2: 960x540
    [vo/gpu] Testing FBO format rgba16f
    [vo/gpu] Using FBO format rgba16f.
    [vo/gpu] Dither to 8.
    [cplayer] first video frame after restart shown
    [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/x11] Disabling screensaver.
    [cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
    [cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1

    ...

     

    roberto@orangepizero3:~$ cat /etc/mpv/mpv.conf
    hwdec=drm
    drm-drmprime-video-plane=primary
    drm-draw-plane=overlay

     

    Another sanity check:

    Spoiler

    roberto@orangepizero3:~$ uname -a
    Linux orangepizero3 6.15.4-edge-sunxi64 #2 SMP Fri Jun 27 10:13:43 UTC 2025 aarch64 GNU/Linux

     

    roberto@orangepizero3:~$ apt list libav*|grep v4l2

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    libavcodec-dev/trixie 7:7.1.1-1-v4l2request1 arm64
    libavcodec-extra61-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavcodec-extra61/trixie 7:7.1.1-1-v4l2request1 arm64
    libavcodec-extra/trixie 7:7.1.1-1-v4l2request1 arm64
    libavcodec61-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavcodec61/trixie,now 7:7.1.1-1-v4l2request1 arm64 [installed,automatic]
    libavdevice-dev/trixie 7:7.1.1-1-v4l2request1 arm64
    libavdevice61-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavdevice61/trixie,now 7:7.1.1-1-v4l2request1 arm64 [installed,automatic]
    libavfilter-dev/trixie 7:7.1.1-1-v4l2request1 arm64
    libavfilter-extra10-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavfilter-extra10/trixie 7:7.1.1-1-v4l2request1 arm64
    libavfilter-extra/trixie 7:7.1.1-1-v4l2request1 arm64
    libavfilter10-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavfilter10/trixie,now 7:7.1.1-1-v4l2request1 arm64 [installed,automatic]
    libavformat-dev/trixie 7:7.1.1-1-v4l2request1 arm64
    libavformat-extra61-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavformat-extra61/trixie 7:7.1.1-1-v4l2request1 arm64
    libavformat-extra/trixie 7:7.1.1-1-v4l2request1 arm64
    libavformat61-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavformat61/trixie,now 7:7.1.1-1-v4l2request1 arm64 [installed,automatic]
    libavutil-dev/trixie 7:7.1.1-1-v4l2request1 arm64
    libavutil59-dbgsym/trixie 7:7.1.1-1-v4l2request1 arm64
    libavutil59/trixie,now 7:7.1.1-1-v4l2request1 arm64 [installed,automatic]

     

    Ryzer, did you turn the compositor off? Are you using an armbian-downloaded OS, or self built? What kernel version?

    DId you change anything in the linux menuconfig?

     

    I am recompiling again, having checked again that the new linux patches are taken.... how could I check that my current Linux kernel has the new v4l2, cedrus functions?

    Then I will try again with Bookworm

  7. Ryzer,

    you can navigate to the http link

    http://apt.undo.it:7242

    click “pool” and all the other links until you see all the debs for download

     

    check you distribution recommended ffmpeg version with “apt list ffmpeg”

     

    download the matching deb versions: ffmpeg-x.x.x-v4l2request.deb, lib…x.x.x

     

    Sudo apt install ./lib…Deb (one by one)

     

    Sudo apt install./ffmpeg….deb

     

    sudo apt install mpv (from the original Armbian-configured repository)

  8. I have been trying to set up labwc as a replacement for openbox (X11) in my project.

     

    I can install it very simply by building a minimal image Trixie (Bookworm does not include labwc), then

    * sudo apt install labwc seatd foot

    * at the screen with usb keyboard (not from SSH) start: labwc -d -s foot

     

    Then I am in labwc, with a terminal emulator on my HDMI screen

     

    When I right click on the desktop and choose "Exit", I get a kernel oops:

    Spoiler
    Armbian-unofficial 25.08.0-trunk Trixie ttyS0
    
    orangepizero3 login: Internal error: Oops - BUG: 00000000f2000800 [#1]  SMP
    Modules linked in: rfcomm bnep hci_uart btqca btrtl btintel btbcm bluetooth ecdh_generic ecc sprdwl_ng sunxi_addr zram snd_soc_hdmi_codec sun50i_h6_prcm_ppu snd_soc_sunxi_machine snd_soc_sunxi_ahub panel_mipi_dbi dw_hdmi_i2s_audio dw_hdmi_cec cmdlinepart drm_mipi_dbi snd_soc_sunxi_ahub_dam spi_nor sun8i_ce backlight cfg80211 crypto_engine display_connector binfmt_misc uio_pdrv_genirq uio sprdbt_tty uwe5622_bsp_sdio rfkill configfs sunxi musb_hdrc phy_generic
    CPU: 2 UID: 1000 PID: 5465 Comm: labwc Tainted: G        W           6.15.4-edge-sunxi64 #1 NONE
    Tainted: [W]=WARN
    Hardware name: OrangePi Zero3 (DT)
    pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    pc : dma_buf_release+0x8c/0x98
    lr : __dentry_kill+0xb4/0x238
    sp : ffff80008779bd40
    x29: ffff80008779bd40 x28: ffff0000073d6180 x27: 0000000000000000
    x26: 0000000000000000 x25: 0000000000000000 x24: ffff8000820932e8
    x23: ffff000007d76220 x22: ffff000002486da0 x21: ffff000023b0c440
    x20: ffff000023b0c440 x19: ffff00000746e800 x18: 0000000000000000
    x17: 0000000000000000 x16: 0000000000000000 x15: ffff80008779bd10
    x14: 0000000000000004 x13: ffff00000890f850 x12: 0000000000000000
    x11: ffff000026d434d0 x10: ffff000026d43478 x9 : 0000000000000000
    x8 : ffff80008779bb60 x7 : 0000000000000000 x6 : 00000000000009a3
    x5 : 0000000000000000 x4 : 0000000000002771 x3 : 0000000000000000
    x2 : ffffffffffffffff x1 : ffff800080a6b2d8 x0 : 0000000000000001
    Call trace:
     dma_buf_release+0x8c/0x98 (P)
     __dentry_kill+0xb4/0x238
     dput+0xdc/0x224
     __fput+0x10c/0x2d4
     ____fput+0x10/0x18
     task_work_run+0x88/0x110
     do_notify_resume+0x11c/0x138
     el0_svc+0x110/0x120
     el0t_64_sync_handler+0x104/0x130
     el0t_64_sync+0x170/0x174
    Code: d65f03c0 d4210000 94001345 17fffff1 (d4210000)
    ---[ end trace 0000000000000000 ]---
    note: labwc[5465] exited with irqs disabled
    ------------[ cut here ]------------
    WARNING: CPU: 2 PID: 0 at kernel/context_tracking.c:127 ct_kernel_exit.constprop.0+0x8c/0x94
    Modules linked in: rfcomm bnep hci_uart btqca btrtl btintel btbcm bluetooth ecdh_generic ecc sprdwl_ng sunxi_addr zram snd_soc_hdmi_codec sun50i_h6_prcm_ppu snd_soc_sunxi_machine snd_soc_sunxi_ahub panel_mipi_dbi dw_hdmi_i2s_audio dw_hdmi_cec cmdlinepart drm_mipi_dbi snd_soc_sunxi_ahub_dam spi_nor sun8i_ce backlight cfg80211 crypto_engine display_connector binfmt_misc uio_pdrv_genirq uio sprdbt_tty uwe5622_bsp_sdio rfkill configfs sunxi musb_hdrc phy_generic
    CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G      D W           6.15.4-edge-sunxi64 #1 NONE
    Tainted: [D]=DIE, [W]=WARN
    Hardware name: OrangePi Zero3 (DT)
    pstate: 200003c5 (nzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    pc : ct_kernel_exit.constprop.0+0x8c/0x94
    lr : ct_idle_enter+0xc/0x14
    sp : ffff800082213dd0
    x29: ffff800082213dd0 x28: 0000000000000000 x27: 0000000000000000
    x26: 0000000000000000 x25: ffff000002535140 x24: 0000000000000000
    x23: 0000000000000000 x22: ffff800081f0ab98 x21: ffff000002535140
    x20: ffff800081f0ab38 x19: ffff00003fd8b0f8 x18: 0000000000000001
    x17: 3030303030303030 x16: 3030303030303020 x15: 0000016d01e397a2
    x14: 0000016dfc674a7c x13: 000000000000005b x12: 0000000000000000
    x11: ffff7fffbe127000 x10: 00000000000009e0 x9 : ffff800082213d50
    x8 : ffff000002535b80 x7 : 0000000000000000 x6 : 0000000000000000
    x5 : 4000000000000002 x4 : ffff7fffbe13f000 x3 : ffff800082213dd0
    x2 : 4000000000000000 x1 : ffff800081c4c0f8 x0 : ffff800081c4c0f8
    Call trace:
     ct_kernel_exit.constprop.0+0x8c/0x94 (P)
     ct_idle_enter+0xc/0x14
     default_idle_call+0x18/0x34
     do_idle+0x1c0/0x20c
     cpu_startup_entry+0x30/0x38
     secondary_start_kernel+0x110/0x130
     __secondary_switched+0x74/0x78
    ---[ end trace 0000000000000000 ]---
    
    roberto@orangepizero3:~$ ps ax|grep labwc
       1304 tty1     Zl+    0:01 [labwc] <defunct>
       1574 ttyS0    S+     0:00 grep labwc

     

     

    And the labwc process shows "defunct"

     

    Has anybody experienced this?

     

    Maybe my kernel is too new? I used 6.15.4 (edge). My labwc is 0.8.3

     

    The error in the terminal that started labwc (the HDMI screen) is:

    ...wlr_drm_lease_v1.c:103] Destroying wlr_drm_lease_device_v1 for /dev/dri/cardiationsodifier LINEAR (0x0000.....)

    XT_EGL_image_storage_compression GL_EXT_texture_storage_compression GL_MESA_bgra im...

     

    Same error message here:

    https://github.com/labwc/labwc/issues/1424

     

    Source of wlroots, mentioned in the error:

    https://github.com/swaywm/wlroots/blob/master/types/wlr_drm_lease_v1.c

     

    A developer in the labwc group suggest this might be GPU driver related

    https://github.com/labwc/labwc/discussions/2923

     

    Can someone with an SBC other than H618 try running labwc and exiting? What about xfce in wayland mode... does it crash?

    Is anyone aware of a H618 or sunxi running wayland successfully?

  9. 12 hours ago, ag123 said:

    oops, I missed reading that 100% cpu, but it is ok it is a a53 after all 😅

     

    videos I'd guess is still 'difficult' on z3, accordingly there is some support for gpu vector graphics but I'd guess mostly just triangles.

    video decoding can be done with just neon (vector computation) , but i'd guess there is still limited access to video decoding hardware.

    using neon is likely to give that 100% cpu reading as the cpu is busy literally, using real video hardware would be 'invisible' in a sense, the cpu usage may look low but that one won't see that the video hardware itself may after all be reading 100%.

     

    Thank you for replying.

     

    I run xscreensavers-gl in a window and it always gets 30FPS with <10% CPU in my opiz3, I even show 3D models in F3D... so I am getting 3D MESA acceleration in HDMI and SPI-LCD displays.

     

    If the video decoding in my opiz3 is using ARM NEON instructions, then I am fortunate I have that, at least :) (note: this is possible without needing ffmpeg-v4l2request)

     

    I will have to re-check how I was successful with 1080P H264 acceleration last year (I was even getting temporary glitches and pink hues sometimes).

  10. On 7/13/2025 at 1:35 AM, robertoj said:

     

    Can you give an updated comment about what to download or how to build Armbian OS, and get the needed requirements, before we apply the ffmpeg repository?

    I haven't been able to get video acceleration for many months. Can you tell us what new kernel modules are needed also?

     

    Ok, I finally built armbian 25.5.1, to get Linux-edge 14.7 Bookworm + XFCE for my opiz3... and this time copy/pasted the whole build log to verify that:

    * the new patches mentioned in Pull Request 8086 were applied

    * the affected C files are compiled to .o files

     

    And then I tried the new ffmpeg-v4l2request with Bookworm's MPV, following the instructions in the original post.... I got the same result: 1080P plays smoothly, but with 100% CPU in all 4 cores.

    There's no error message of "unsupported hwdec=drm"... but there isn't any confirmation message from MPV either.

    (same behavior as with plain ffmpeg, from previous experiments)

  11. On 4/3/2025 at 7:03 AM, firepower said:

    latest build  Armbian-unofficial 25.05.0-trunk noble, 6.12.11-edge-sunxi64, cinnamon 6.04

     

    tanix-tx6s-axp313.csc

    working: 3 USB, Wifi, IR remote,LED Clock

    not working: Bluetooth,Video Acceleration, sound out via jack (2 analog audio output shown)

     

    vontar-h618.csc

    working: 2 USB, Wifi (needed to rename brcmfmac4334-sdio.rockchip,rk3318-box.txt > brcmfmac4334-sdio.txt), IR remote, LED Clock, sound jack out via jack (3 analog audio output shown)

    not working: Bluetooth, Video Acceleration

    Edited April 4 by firepower

     

    Regarding video acceleration in H618:

     

    Can you try the latest armbian with linux edge?

    https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/#findComment-216587

    (the announcement refers to 6.13, but I don't know if it applies to 6.14 or 6.15)

    ... I think armbian 25.5.1 with linux edge option, builds linux 6.13.x

    https://github.com/armbian/build/releases/tag/v25.5.1  (and it seems that minimal images de-activates v4l2)

     

    I see the patches in my armbian build folder, I compiled in many ways, but I didn't get video acceleration.

    I didn't get new kernel modules that seem to be related to the patch source code.

     

    Perhaps I needed to check that the specific patches are activated or find the linux config option=m

     

    Update: you can see that the Linux source files are applied, right before the compilation stage... copy paste the entire terminal scrolled text (or find the appropriate output/log/... file)... search the patch file names

    I couldn't get acceleration, but hopefully someone else can, and share the method.

  12. On 7/12/2025 at 3:27 AM, ag123 said:

    and a recent 'success story'

     

    My story is definitely NOT a success story :(

    I see the media.patches in the cache folder, I compile armbian edge, but the image didn't contain the cedrus+v4l2 kernel modules I need for decoding acceleration

  13. On 11/8/2024 at 6:56 AM, jock said:

    I may guess there are some missing pieces in the armbian kernel for allwinner: for rockchip, there are some patches borrowed from libreelec to make it work correctly with all formats. I don't know what is the status for allwinner and if there are similar patches and fixes that are not include right now, you won't be able to get anything.

     

    ffmpeg with v4l2request patches applied should work with any device which has a working v4l2request compliant drivers in the kernel, plus it also requires a properly working presentation framework for the DRM/DRMPrime and EGL parts, so there are several players involved: ffmpeg has to talk via v4l2-request to the kernel, the hardware decoding happens in the V4L2 drivers, but the presentation on screen happens within the kernel (DRM) and/or Mesa (EGL/OpenGL), bridged by DRMPRIME buffer sharing.

     

    I guess Mesa is pretty ok, since both Lima and Panfrost have the necessary bits in place to present things on screen, yet the Cedrus hardware decoder driver has to properly support hardware decoding and buffer sharing via drmprime with the GPU driver. I made some simplifications here and omitted details, but as you see it is already a fairly complex communication setup, of which ffmpeg is just the "user" of all those other services.

     

    Hello Jock, thank you for all the work bringing this video acceleration to our boards.

     

    Can you give an updated comment about what to download or how to build Armbian OS, and get the needed requirements, before we apply the ffmpeg repository?

    I haven't been able to get video acceleration for many months. Can you tell us what new kernel modules are needed also?

  14. On 4/15/2025 at 1:55 AM, going said:

    Allwinner h616-h618:

    After this pull request

    pull/8086

    the 6.13 EDGE core supports hardware decoding.

    You can use the instructions:

    repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner

     

    Enjoy your viewing.

     

    Are there any linux build config options needed to get the v4l2 functions?

    Can I assume that the improvements in 6.13.11 would be also in 6.15.4? No, the patches in pull/8086 are not in 6.14, 6.15

    build/patch/kernel/archive/sunxi-6.13/patches.media vs the 6.14,6.15 folders

     

    Right now, linux-current is 6.12 and linux-edge is 6.15... I want to compile a Linux 6.13 Armbian OS... what specific linux version would I need to enter inside userpatches/lib.config ?

    KERNELBRANCH="tag:v6.13.xx"

     

    I tried building armbian 25.5.1 so I could get linux 6.14.x... but in the image file, there aren't the ko files mentioned in the pull/8086. For example:

    roberto@orangepizero3:~$ ls /lib/modules/6.14.5-edge-sunxi64/kernel/drivers/media/v4l2-core/
    tuner.ko       v4l2-cci.ko         v4l2-fwnode.ko  v4l2-jpeg.ko     v4l2-vp9.ko
    v4l2-async.ko  v4l2-dv-timings.ko  v4l2-h264.ko    v4l2-mem2mem.ko  videodev.ko
    roberto@orangepizero3:~$ ls /lib/modules/6.14.5-edge-sunxi64/kernel/drivers/media/v4l2-core/v4l2-io*
    ls: cannot access '/lib/modules/6.14.5-edge-sunxi64/kernel/drivers/media/v4l2-core/v4l2-io*': No such file or directory

     

  15. I am checking now :)

     

    Before installing plymouth, I checked that panel-mipi-dbi-spi is still loaded late:

    Spoiler

    roberto@orangepizero3:~$ dmesg|grep panel
    [    1.811708] panel@0 enforce active low on GPIO handle
    [    7.677563] panel-mipi-dbi-spi spi1.0: supply power not found, using dummy regulator
    [    7.677805] panel-mipi-dbi-spi spi1.0: supply io not found, using dummy regulator
    [    7.854434] [drm] Initialized panel-mipi-dbi 1.0.0 for spi1.0 on minor 1
    [    8.613814] panel-mipi-dbi-spi spi1.0: [drm] fb0: panel-mipi-dbid frame buffer device

     

    I added the include-lcd-bin.sh and installed plymouth:

    Spoiler

    roberto@orangepizero3:~$ sudo apt install plymouth
    [sudo] password for roberto:
    Installing:                     
      plymouth

    Installing dependencies:
      libplymouth5

    Suggested packages:
      desktop-base  plymouth-themes

    Summary:
      Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
      Download size: 254 kB
      Space needed: 1,708 kB / 58.8 GB available

    Continue? [Y/n] Y
    Get:1 http://deb.debian.org/debian trixie/main arm64 libplymouth5 arm64 24.004.60-5 [119 kB]
    Get:2 http://deb.debian.org/debian trixie/main arm64 plymouth arm64 24.004.60-5 [135 kB]
    Fetched 254 kB in 0s (909 kB/s)   
    Selecting previously unselected package libplymouth5:arm64.
    (Reading database ... 29860 files and directories currently installed.)
    Preparing to unpack .../libplymouth5_24.004.60-5_arm64.deb ...
    Unpacking libplymouth5:arm64 (24.004.60-5) ...
    Selecting previously unselected package plymouth.
    Preparing to unpack .../plymouth_24.004.60-5_arm64.deb ...
    Unpacking plymouth (24.004.60-5) ...
    Setting up libplymouth5:arm64 (24.004.60-5) ...
    Setting up plymouth (24.004.60-5) ...
    update-initramfs: Generating /boot/initrd.img-6.15.0-edge-sunxi64
    update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.15.0-edge-sunxi64
    Image Name:   uInitrd
    Created:      Tue Jul  8 09:01:32 2025
    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
    Data Size:    18468072 Bytes = 18035.23 KiB = 17.61 MiB
    Load Address: 00000000
    Entry Point:  00000000
    update-initramfs: Armbian: Symlinking /boot/uInitrd-6.15.0-edge-sunxi64 to /boot/uInitrd
    '/boot/uInitrd' -> 'uInitrd-6.15.0-edge-sunxi64'
    update-initramfs: Armbian: done.
    Processing triggers for man-db (2.13.1-1) ...
    Processing triggers for libc-bin (2.41-9) ...

     

    Checking that my bin file is there:

    Spoiler

    roberto@orangepizero3:~$ lsinitramfs /boot/initrd.img-6.15.0-edge-sunxi64 |grep panel
    usr/lib/firmware/panel-mipi-dbi-spi.bin
    usr/lib/modules/6.15.0-edge-sunxi64/kernel/drivers/gpu/drm/panel
    usr/lib/modules/6.15.0-edge-sunxi64/kernel/drivers/gpu/drm/panel/panel-abt-y030xx067a.ko
    usr/lib/modules/6.15.0-edge-sunxi64/kernel/drivers/gpu/drm/panel/panel-arm-versatile.ko
    usr/lib/modules/6.15.0-edge-sunxi64/kernel/drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.ko

    .... 60 kernel modules that have the word "panel"

     

    The LCD works with plymouth: it starts the LCD earlier, with a smaller font, then switches to normal font, showing all the boot messages

     

    My armbian is not setup yet with lightdm+openbox (x11) or greetd+gtkgreet+labwc (wayland)... I will continue tomorrow

  16. Currently trying to follow the manual

    https://manpages.ubuntu.com/manpages/bionic/man8/initramfs-tools.8.html#configuration hook scripts

     

    I want to include this file:

    Spoiler

    roberto@orangepizero3:/etc/initramfs-tools/hooks$ ls -l /lib/firmware/panel-mipi-dbi-spi.bin
    -rw-r--r-- 1 root root 100 Dec 25  2024 /lib/firmware/panel-mipi-dbi-spi.bin

     

    Creating this file:

    Spoiler
    roberto@orangepizero3:/etc/initramfs-tools/hooks$ cat include-lcd-bin.sh
    #!/bin/sh
    PREREQ=""
    prereqs()
    {
         echo "$PREREQ"
    }
    
    case $1 in
    prereqs)
         prereqs
         exit 0
         ;;
    esac
    . /usr/share/initramfs-tools/hook-functions
    # Begin real processing below this line
    copy_exec /lib/firmware/panel-mipi-dbi-spi.bin

     

     

    chmod +x include-lcd-bin.sh

     

    Then I updated the initrd:

    Spoiler

    roberto@orangepizero3:/etc/initramfs-tools/hooks$ sudo update-initramfs -u
    update-initramfs: Generating /boot/initrd.img-6.13.7-edge-sunxi64
    update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.13.7-edge-sunxi64
    Image Name:   uInitrd
    Created:      Tue Jul  8 08:48:49 2025
    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
    Data Size:    12430475 Bytes = 12139.14 KiB = 11.85 MiB
    Load Address: 00000000
    Entry Point:  00000000
    update-initramfs: Armbian: Symlinking /boot/uInitrd-6.13.7-edge-sunxi64 to /boot/uInitrd
    '/boot/uInitrd' -> 'uInitrd-6.13.7-edge-sunxi64'
    update-initramfs: Armbian: done.

     

    Then I checked, and the desired file was included :)

    Spoiler

    roberto@orangepizero3:/etc/initramfs-tools/hooks$ lsinitramfs -l /boot/initrd.img-6.13.7-edge-sunxi64 |grep panel
    -rw-r--r--   1 root     root          100 Dec 25  2024 usr/lib/firmware/panel-mipi-dbi-spi.bin
    drwxr-xr-x   2 root     root            0 Jul  8 08:48 usr/lib/modules/6.13.7-edge-sunxi64/kernel/drivers/gpu/drm/panel
    -rw-r--r--   1 root     root        58928 Mar 31 20:06 usr/lib/modules/6.13.7-edge-sunxi64/kernel/drivers/gpu/drm/panel/panel-edp.ko
    -rw-r--r--   1 root     root       136552 Mar 31 20:06 usr/lib/modules/6.13.7-edge-sunxi64/kernel/drivers/gpu/drm/panel/panel-simple.ko

    I will repeat this with the actual armbian OS with plymouth, tomorrow.

  17. I am using my orange pi zero 3 with an SPI 4.0" LCD, with driver panel-mipi-dbi-spi. It works great with Linux 6.13.7 (started with a self built image with edge, minimal, Bookworm) and older, but I am having troubles with 6.14.8.

     

    Result from armbianmonitor -u after upgrading to linux 6.14.8:

    sudo apt install linux-image-edge-sunxi64=25.5.1

    I reboot and the SPI LCD starts the text mode console, then turns black instead of starting lightdm

    https://paste.armbian.com/ucoxuwetiq

    Also xorg log after "sudo startx" fails to start.

    Spoiler

    roberto@orangepizero3:~$ tail -n300 /var/log/Xorg.0.log
    [   234.918]
    X.Org X Server 1.21.1.7
    X Protocol Version 11, Revision 0
    [   234.918] Current Operating System: Linux orangepizero3 6.14.8-edge-sunxi64 #1 SMP Thu May 22 12:31:58 UTC 2025 aarch64
    [   234.918] Kernel command line: root=UUID=405815fa-b5a7-4731-8675-6d56d040972c rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart=a66e3381-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory
    [   234.918] xorg-server 2:21.1.7-3+deb12u10 (https://www.debian.org/support)
    [   234.918] Current version of pixman: 0.42.2
    [   234.918]     Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
    [   234.918] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [   234.918] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  8 06:04:03 2025
    [   234.919] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [   234.919] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [   234.919] (==) No Layout section.  Using the first Screen section.
    [   234.919] (==) No screen section available. Using defaults.
    [   234.919] (**) |-->Screen "Default Screen Section" (0)
    [   234.920] (**) |   |-->Monitor "<default monitor>"
    [   234.920] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
    [   234.920] (**) |   |-->Device "myfb"
    [   234.920] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
    [   234.920] (==) Automatically adding devices
    [   234.920] (==) Automatically enabling devices
    [   234.920] (==) Automatically adding GPU devices
    [   234.920] (==) Automatically binding GPU devices
    [   234.920] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [   234.920] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
    [   234.920]     Entry deleted from font path.
    [   234.920] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [   234.920]     Entry deleted from font path.
    [   234.920] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
    [   234.920]     Entry deleted from font path.
    [   234.920] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
    [   234.920]     Entry deleted from font path.
    [   234.921] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
    [   234.921]     Entry deleted from font path.
    [   234.921] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
    [   234.921]     Entry deleted from font path.
    [   234.921] (==) FontPath set to:
        /usr/share/fonts/X11/Type1,
        built-ins
    [   234.921] (==) ModulePath set to "/usr/lib/xorg/modules"
    [   234.921] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
    [   234.921] (II) Loader magic: 0xaaaac7840f00
    [   234.921] (II) Module ABI versions:
    [   234.921]     X.Org ANSI C Emulation: 0.4
    [   234.921]     X.Org Video Driver: 25.2
    [   234.921]     X.Org XInput driver : 24.4
    [   234.921]     X.Org Server Extension : 10.0
    [   234.922] (--) using VT number 2

    [   234.922] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [   234.926] (II) xfree86: Adding drm device (/dev/dri/card0)
    [   234.926] (II) Platform probe for /sys/devices/platform/display-engine/drm/card0
    [   234.926] (II) xfree86: Adding drm device (/dev/dri/card2)
    [   234.926] (II) Platform probe for /sys/devices/platform/soc/1800000.gpu/drm/card2
    [   234.927] (II) xfree86: Adding drm device (/dev/dri/card1)
    [   234.927] (II) Platform probe for /sys/devices/platform/soc/5011000.spi/spi_master/spi1/spi1.0/drm/card1
    [   235.025] (II) no primary bus or device found
    [   235.025]     falling back to /sys/devices/platform/display-engine/drm/card0
    [   235.026] (II) LoadModule: "glx"
    [   235.026] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [   235.029] (II) Module glx: vendor="X.Org Foundation"
    [   235.030]     compiled for 1.21.1.7, module version = 1.0.0
    [   235.030]     ABI class: X.Org Server Extension, version 10.0
    [   235.030] (II) LoadModule: "fbdev"
    [   235.030] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    [   235.030] (II) Module fbdev: vendor="X.Org Foundation"
    [   235.030]     compiled for 1.21.1.3, module version = 0.5.0
    [   235.030]     Module class: X.Org Video Driver
    [   235.030]     ABI class: X.Org Video Driver, version 25.2
    [   235.030] (II) FBDEV: driver for framebuffer: fbdev
    [   235.131] (WW) Falling back to old probe method for fbdev
    [   235.131] (II) Loading sub module "fbdevhw"
    [   235.131] (II) LoadModule: "fbdevhw"
    [   235.132] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [   235.132] (II) Module fbdevhw: vendor="X.Org Foundation"
    [   235.133]     compiled for 1.21.1.7, module version = 0.0.2
    [   235.133]     ABI class: X.Org Video Driver, version 25.2
    [   235.133] (II) FBDEV(0): using /dev/fb0
    [   235.133] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
    [   235.133] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
    [   235.133] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
    [   235.133] (==) FBDEV(0): RGB weight 888
    [   235.133] (==) FBDEV(0): Default visual is TrueColor
    [   235.133] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
    [   235.133] (II) FBDEV(0): hardware: panel-mipi-dbid (video memory: 452kB)
    [   235.133] (DB) xf86MergeOutputClassOptions unsupported bus type 0
    [   235.133] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
    [   235.133] (II) FBDEV(0): checking modes against framebuffer device...
    [   235.133] (II) FBDEV(0): checking modes against monitor...
    [   235.133] (II) FBDEV(0): Virtual size is 480x320 (pitch 480)
    [   235.133] (**) FBDEV(0):  Built-in mode "current"
    [   235.133] (==) FBDEV(0): DPI set to (96, 96)
    [   235.133] (II) Loading sub module "fb"
    [   235.133] (II) LoadModule: "fb"
    [   235.133] (II) Module "fb" already built-in
    [   235.133] (**) FBDEV(0): using shadow framebuffer
    [   235.133] (II) Loading sub module "shadow"
    [   235.133] (II) LoadModule: "shadow"
    [   235.133] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [   235.134] (II) Module shadow: vendor="X.Org Foundation"
    [   235.134]     compiled for 1.21.1.7, module version = 1.1.0
    [   235.134]     ABI class: X.Org ANSI C Emulation, version 0.4
    [   235.134] (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
    [   235.134] (EE) FBDEV(0): mode initialization failed
    [   235.134] (EE)
    Fatal server error:
    [   235.134] (EE) AddScreen/ScreenInit failed for driver 0
    [   235.134] (EE)
    [   235.134] (EE)
    Please consult the The X.Org Foundation support
         at http://wiki.x.org
     for help.
    [   235.134] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [   235.134] (EE)
    [   235.634] (EE) Server terminated with error (1). Closing log file.

     

    When I start the opiz3 with an HDMI screen connected (appears as /dev/fb0), startx and lightdm start normally, but NOT displaying anything in the small LCD

     

    Then, I downgrade to linux 6.13.7,

    sudo apt install linux-image-edge-sunxi64=25.2.3

    I reboot and lightdm starts normally in the 4.0 LCD

    https://paste.armbian.com/uqafuxexiv

    Stopping lightdm and trying x11 to see the log

    sudo startx   ... starts xorg normally

    Spoiler

    roberto@orangepizero3:~$ tail -n600 /var/log/Xorg.0.log
    [   191.489]
    X.Org X Server 1.21.1.7
    X Protocol Version 11, Revision 0
    [   191.490] Current Operating System: Linux orangepizero3 6.13.7-edge-sunxi64 #2 SMP Thu Mar 13 12:08:08 UTC 2025 aarch64
    [   191.490] Kernel command line: root=UUID=405815fa-b5a7-4731-8675-6d56d040972c rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart=a66e3381-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory
    [   191.490] xorg-server 2:21.1.7-3+deb12u10 (https://www.debian.org/support)
    [   191.490] Current version of pixman: 0.42.2
    [   191.490]     Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
    [   191.490] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [   191.490] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  8 06:36:59 2025
    [   191.491] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [   191.491] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [   191.492] (==) No Layout section.  Using the first Screen section.
    [   191.492] (==) No screen section available. Using defaults.
    [   191.492] (**) |-->Screen "Default Screen Section" (0)
    [   191.492] (**) |   |-->Monitor "<default monitor>"
    [   191.494] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
    [   191.494] (**) |   |-->Device "myfb"
    [   191.494] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
    [   191.494] (==) Automatically adding devices
    [   191.494] (==) Automatically enabling devices
    [   191.494] (==) Automatically adding GPU devices
    [   191.494] (==) Automatically binding GPU devices
    [   191.494] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [   191.494] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
    [   191.494]     Entry deleted from font path.
    [   191.494] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [   191.494]     Entry deleted from font path.
    [   191.494] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
    [   191.494]     Entry deleted from font path.
    [   191.494] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
    [   191.494]     Entry deleted from font path.
    [   191.494] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
    [   191.494]     Entry deleted from font path.
    [   191.494] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
    [   191.494]     Entry deleted from font path.
    [   191.494] (==) FontPath set to:
        /usr/share/fonts/X11/Type1,
        built-ins
    [   191.494] (==) ModulePath set to "/usr/lib/xorg/modules"
    [   191.494] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
    [   191.494] (II) Loader magic: 0xaaaabd9a0f00
    [   191.495] (II) Module ABI versions:
    [   191.495]     X.Org ANSI C Emulation: 0.4
    [   191.495]     X.Org Video Driver: 25.2
    [   191.495]     X.Org XInput driver : 24.4
    [   191.495]     X.Org Server Extension : 10.0
    [   191.498] (--) using VT number 2

    [   191.498] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [   191.504] (II) xfree86: Adding drm device (/dev/dri/card0)
    [   191.504] (II) Platform probe for /sys/devices/platform/display-engine/drm/card0
    [   191.505] (II) xfree86: Adding drm device (/dev/dri/card2)
    [   191.505] (II) Platform probe for /sys/devices/platform/soc/1800000.gpu/drm/card2
    [   191.506] (II) xfree86: Adding drm device (/dev/dri/card1)
    [   191.506] (II) Platform probe for /sys/devices/platform/soc/5011000.spi/spi_master/spi1/spi1.0/drm/card1
    [   191.609] (II) no primary bus or device found
    [   191.609]     falling back to /sys/devices/platform/display-engine/drm/card0
    [   191.609] (II) LoadModule: "glx"
    [   191.609] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [   191.613] (II) Module glx: vendor="X.Org Foundation"
    [   191.613]     compiled for 1.21.1.7, module version = 1.0.0
    [   191.613]     ABI class: X.Org Server Extension, version 10.0
    [   191.613] (II) LoadModule: "fbdev"
    [   191.613] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    [   191.614] (II) Module fbdev: vendor="X.Org Foundation"
    [   191.614]     compiled for 1.21.1.3, module version = 0.5.0
    [   191.614]     Module class: X.Org Video Driver
    [   191.614]     ABI class: X.Org Video Driver, version 25.2
    [   191.614] (II) FBDEV: driver for framebuffer: fbdev
    [   191.716] (WW) Falling back to old probe method for fbdev
    [   191.716] (II) Loading sub module "fbdevhw"
    [   191.716] (II) LoadModule: "fbdevhw"
    [   191.716] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [   191.717] (II) Module fbdevhw: vendor="X.Org Foundation"
    [   191.717]     compiled for 1.21.1.7, module version = 0.0.2
    [   191.717]     ABI class: X.Org Video Driver, version 25.2
    [   191.717] (II) FBDEV(0): using /dev/fb0
    [   191.717] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
    [   191.717] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
    [   191.717] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
    [   191.717] (==) FBDEV(0): RGB weight 888
    [   191.717] (==) FBDEV(0): Default visual is TrueColor
    [   191.717] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
    [   191.717] (II) FBDEV(0): hardware: panel-mipi-dbid (video memory: 600kB)
    [   191.717] (DB) xf86MergeOutputClassOptions unsupported bus type 0
    [   191.717] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
    [   191.717] (II) FBDEV(0): checking modes against framebuffer device...
    [   191.717] (II) FBDEV(0): checking modes against monitor...
    [   191.717] (II) FBDEV(0): Virtual size is 480x320 (pitch 480)
    [   191.717] (**) FBDEV(0):  Built-in mode "current"
    [   191.717] (==) FBDEV(0): DPI set to (96, 96)
    [   191.717] (II) Loading sub module "fb"
    [   191.717] (II) LoadModule: "fb"
    [   191.717] (II) Module "fb" already built-in
    [   191.717] (**) FBDEV(0): using shadow framebuffer
    [   191.717] (II) Loading sub module "shadow"
    [   191.717] (II) LoadModule: "shadow"
    [   191.718] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [   191.718] (II) Module shadow: vendor="X.Org Foundation"
    [   191.718]     compiled for 1.21.1.7, module version = 1.1.0
    [   191.718]     ABI class: X.Org ANSI C Emulation, version 0.4
    [   192.532] (==) FBDEV(0): Backing store enabled
    [   192.533] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.533] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.533] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.533] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    Error...repeated 200 times, but X11 starts normally
    [   192.536] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.536] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.536] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.536] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
    [   192.537] (==) FBDEV(0): DPMS enabled
    [   192.537] (II) Initializing extension Generic Event Extension
    [   192.537] (II) Initializing extension SHAPE
    [   192.538] (II) Initializing extension MIT-SHM
    [   192.538] (II) Initializing extension XInputExtension
    [   192.539] (II) Initializing extension XTEST
    [   192.539] (II) Initializing extension BIG-REQUESTS
    [   192.540] (II) Initializing extension SYNC
    [   192.540] (II) Initializing extension XKEYBOARD
    [   192.541] (II) Initializing extension XC-MISC
    [   192.541] (II) Initializing extension SECURITY
    [   192.542] (II) Initializing extension XFIXES
    [   192.542] (II) Initializing extension RENDER
    [   192.542] (II) Initializing extension RANDR
    [   192.543] (II) Initializing extension COMPOSITE
    [   192.544] (II) Initializing extension DAMAGE
    [   192.544] (II) Initializing extension MIT-SCREEN-SAVER
    [   192.545] (II) Initializing extension DOUBLE-BUFFER
    [   192.545] (II) Initializing extension RECORD
    [   192.546] (II) Initializing extension DPMS
    [   192.546] (II) Initializing extension Present
    [   192.547] (II) Initializing extension DRI3
    [   192.547] (II) Initializing extension X-Resource
    [   192.547] (II) Initializing extension XVideo
    [   192.548] (II) Initializing extension XVideo-MotionCompensation
    [   192.548] (II) Initializing extension SELinux
    [   192.548] (II) SELinux: Disabled on system
    [   192.548] (II) Initializing extension GLX
    [   192.548] (II) AIGLX: Screen 0 is not DRI2 capable
    [   192.677] (II) IGLX: Loaded and initialized swrast
    [   192.678] (II) GLX: Initialized DRISWRAST GL provider for screen 0
    [   192.678] (II) Initializing extension XFree86-VidModeExtension
    [   192.678] (II) Initializing extension XFree86-DGA
    [   192.679] (II) Initializing extension XFree86-DRI
    [   192.679] (II) Initializing extension DRI2
    [   192.798] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event4)
    [   192.798] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
    [   192.798] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
    [   192.798] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
    [   192.798] (II) LoadModule: "evdev"
    [   192.798] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [   192.800] (II) Module evdev: vendor="X.Org Foundation"
    [   192.800]     compiled for 1.21.1.3, module version = 2.10.6
    [   192.800]     Module class: X.Org XInput Driver
    [   192.800]     ABI class: X.Org XInput driver, version 24.4
    [   192.800] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
    [   192.800] (**) ADS7846 Touchscreen: always reports core events
    [   192.800] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/event4"
    [   192.800] (--) evdev: ADS7846 Touchscreen: Vendor 0 Product 0x1ea6
    [   192.800] (--) evdev: ADS7846 Touchscreen: Found absolute axes
    [   192.800] (--) evdev: ADS7846 Touchscreen: Found x and y absolute axes
    [   192.800] (--) evdev: ADS7846 Touchscreen: Found absolute touchscreen
    [   192.800] (**) Option "SwapAxes" "0"
    [   192.800] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
    [   192.800] (**) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
    [   192.800] (**) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [   192.800] (**) Option "config_info" "udev:/sys/devices/platform/soc/5011000.spi/spi_master/spi1/spi1.1/input/input4/event4"
    [   192.801] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
    [   192.801] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
    [   192.801] (**) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
    [   192.801] (**) ADS7846 Touchscreen: (accel) acceleration profile 0
    [   192.801] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
    [   192.801] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
    [   192.803] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse1)
    [   192.803] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
    [   192.803] (II) No input driver specified, ignoring this device.
    [   192.803] (II) This device may have been added with another device file.
    [   192.805] (II) config/udev: Adding input device Mitsumi Electric Apple Extended USB Keyboard (/dev/input/event0)
    [   192.805] (**) Mitsumi Electric Apple Extended USB Keyboard: Applying InputClass "evdev keyboard catchall"
    [   192.805] (**) Mitsumi Electric Apple Extended USB Keyboard: Applying InputClass "evdev keyboard catchall"
    [   192.805] (II) Using input driver 'evdev' for 'Mitsumi Electric Apple Extended USB Keyboard'
    [   192.805] (**) Mitsumi Electric Apple Extended USB Keyboard: always reports core events
    [   192.805] (**) evdev: Mitsumi Electric Apple Extended USB Keyboard: Device: "/dev/input/event0"
    [   192.806] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard: Vendor 0x5ac Product 0x204
    [   192.806] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard: Found keys
    [   192.806] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard: Configuring as keyboard
    [   192.806] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.1/6-1.1:1.0/0003:05AC:0204.0001/input/input0/event0"
    [   192.806] (II) XINPUT: Adding extended input device "Mitsumi Electric Apple Extended USB Keyboard" (type: KEYBOARD, id 7)
    [   192.806] (**) Option "xkb_rules" "evdev"
    [   192.806] (**) Option "xkb_model" "pc105"
    [   192.806] (**) Option "xkb_layout" "us"
    [   192.809] (II) config/udev: Adding input device Mitsumi Electric Apple Extended USB Keyboard System Control (/dev/input/event1)
    [   192.809] (**) Mitsumi Electric Apple Extended USB Keyboard System Control: Applying InputClass "evdev keyboard catchall"
    [   192.809] (**) Mitsumi Electric Apple Extended USB Keyboard System Control: Applying InputClass "evdev keyboard catchall"
    [   192.809] (II) Using input driver 'evdev' for 'Mitsumi Electric Apple Extended USB Keyboard System Control'
    [   192.809] (**) Mitsumi Electric Apple Extended USB Keyboard System Control: always reports core events
    [   192.809] (**) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Device: "/dev/input/event1"
    [   192.809] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Vendor 0x5ac Product 0x204
    [   192.809] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Found keys
    [   192.809] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Configuring as keyboard
    [   192.809] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.1/6-1.1:1.1/0003:05AC:0204.0002/input/input1/event1"
    [   192.809] (II) XINPUT: Adding extended input device "Mitsumi Electric Apple Extended USB Keyboard System Control" (type: KEYBOARD, id 😎
    [   192.809] (**) Option "xkb_rules" "evdev"
    [   192.809] (**) Option "xkb_model" "pc105"
    [   192.809] (**) Option "xkb_layout" "us"
    [   192.812] (II) config/udev: Adding input device Mitsumi Electric Apple Extended USB Keyboard Consumer Control (/dev/input/event2)
    [   192.812] (**) Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
    [   192.813] (**) Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
    [   192.813] (II) Using input driver 'evdev' for 'Mitsumi Electric Apple Extended USB Keyboard Consumer Control'
    [   192.813] (**) Mitsumi Electric Apple Extended USB Keyboard Consumer Control: always reports core events
    [   192.813] (**) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Device: "/dev/input/event2"
    [   192.813] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Vendor 0x5ac Product 0x204
    [   192.813] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Found keys
    [   192.813] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Configuring as keyboard
    [   192.813] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.1/6-1.1:1.1/0003:05AC:0204.0002/input/input2/event2"
    [   192.813] (II) XINPUT: Adding extended input device "Mitsumi Electric Apple Extended USB Keyboard Consumer Control" (type: KEYBOARD, id 9)
    [   192.813] (**) Option "xkb_rules" "evdev"
    [   192.813] (**) Option "xkb_model" "pc105"
    [   192.813] (**) Option "xkb_layout" "us"
    [   192.816] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/event3)
    [   192.816] (**) PixArt USB Optical Mouse: Applying InputClass "evdev pointer catchall"
    [   192.816] (**) PixArt USB Optical Mouse: Applying InputClass "evdev pointer catchall"
    [   192.816] (II) Using input driver 'evdev' for 'PixArt USB Optical Mouse'
    [   192.816] (**) PixArt USB Optical Mouse: always reports core events
    [   192.816] (**) evdev: PixArt USB Optical Mouse: Device: "/dev/input/event3"
    [   192.816] (--) evdev: PixArt USB Optical Mouse: Vendor 0x93a Product 0x2510
    [   192.816] (--) evdev: PixArt USB Optical Mouse: Found 3 mouse buttons
    [   192.816] (--) evdev: PixArt USB Optical Mouse: Found scroll wheel(s)
    [   192.816] (--) evdev: PixArt USB Optical Mouse: Found relative axes
    [   192.816] (--) evdev: PixArt USB Optical Mouse: Found x and y relative axes
    [   192.816] (II) evdev: PixArt USB Optical Mouse: Configuring as mouse
    [   192.816] (II) evdev: PixArt USB Optical Mouse: Adding scrollwheel support
    [   192.816] (**) evdev: PixArt USB Optical Mouse: YAxisMapping: buttons 4 and 5
    [   192.816] (**) evdev: PixArt USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [   192.816] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.2/6-1.2:1.0/0003:093A:2510.0003/input/input3/event3"
    [   192.816] (II) XINPUT: Adding extended input device "PixArt USB Optical Mouse" (type: MOUSE, id 10)
    [   192.817] (II) evdev: PixArt USB Optical Mouse: initialized for relative axes.
    [   192.817] (**) PixArt USB Optical Mouse: (accel) keeping acceleration scheme 1
    [   192.817] (**) PixArt USB Optical Mouse: (accel) acceleration profile 0
    [   192.817] (**) PixArt USB Optical Mouse: (accel) acceleration factor: 2.000
    [   192.817] (**) PixArt USB Optical Mouse: (accel) acceleration threshold: 4
    [   192.819] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/mouse0)
    [   192.819] (II) No input driver specified, ignoring this device.
    [   192.819] (II) This device may have been added with another device file.
    [   232.119] (II) evdev: PixArt USB Optical Mouse: Close
    [   232.119] (II) UnloadModule: "evdev"
    [   232.119] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Close
    [   232.119] (II) UnloadModule: "evdev"
    [   232.120] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Close
    [   232.120] (II) UnloadModule: "evdev"
    [   232.120] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard: Close
    [   232.120] (II) UnloadModule: "evdev"
    [   232.120] (II) evdev: ADS7846 Touchscreen: Close
    [   232.120] (II) UnloadModule: "evdev"
    [   232.565] (II) Server terminated successfully (0). Closing log file.
    roberto@orangepizero3:~$

     

    Just downgrading to Linux 6.13.7 allows the 4.0" SPI LCD to work again.

    Dowgrading the linux package did not cause a downgrade of X11 (version 1.21.1.7).

    The small LCD always works ok in text mode. The driver is DRM but it is using the X11 fbdev submodule

     

    The fbdev.conf file:

    Spoiler

    roberto@orangepizero3:~$ cat /etc/X11/xorg.conf.d/99-fbdev.conf
    Section "Device"
        Identifier "myfb"
        Driver "fbdev"
        Option "fbdev" "/dev/fb0"
    EndSection

     

    Using an HDMI screen is not affected

     

    When I disable the fbdev conf file

    sudo mv 99-fbdev.conf 99-fbdev.conf.disabled

     

    Then x11 fails in another way:

    Spoiler

    roberto@orangepizero3:/etc/X11/xorg.conf.d$ sudo startx


    X.Org X Server 1.21.1.7
    X Protocol Version 11, Revision 0
    Current Operating System: Linux orangepizero3 6.13.7-edge-sunxi64 #2 SMP Thu Mar 13 12:08:08 UTC 2025 aarch64
    Kernel command line: root=UUID=405815fa-b5a7-4731-8675-6d56d040972c rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart=a66e3381-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory
    xorg-server 2:21.1.7-3+deb12u10 (https://www.debian.org/support)
    Current version of pixman: 0.42.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  8 06:53:10 2025
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    MESA-LOADER: failed to open panel-mipi-dbi: /usr/lib/dri/panel-mipi-dbi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    failed to load driver: panel-mipi-dbi
    ^Cxinit: connection to X server lost

    waiting for X server to shut down .(II) Server terminated successfully (0). Closing log file.

    xinit: unexpected signal 2
    roberto@orangepizero3:/etc/X11/xorg.conf.d$

     

    The xorg log doesn't show any error:

    Spoiler

    roberto@orangepizero3:/etc/X11/xorg.conf.d$ tail -n500 /var/log/Xorg.0.log
    [  1161.992]
    X.Org X Server 1.21.1.7
    X Protocol Version 11, Revision 0
    [  1161.992] Current Operating System: Linux orangepizero3 6.13.7-edge-sunxi64 #2 SMP Thu Mar 13 12:08:08 UTC 2025 aarch64
    [  1161.992] Kernel command line: root=UUID=405815fa-b5a7-4731-8675-6d56d040972c rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart=a66e3381-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory
    [  1161.993] xorg-server 2:21.1.7-3+deb12u10 (https://www.debian.org/support)
    [  1161.993] Current version of pixman: 0.42.2
    [  1161.993]     Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
    [  1161.993] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [  1161.993] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  8 06:53:10 2025
    [  1161.993] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [  1161.993] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [  1161.994] (==) No Layout section.  Using the first Screen section.
    [  1161.994] (==) No screen section available. Using defaults.
    [  1161.994] (**) |-->Screen "Default Screen Section" (0)
    [  1161.994] (**) |   |-->Monitor "<default monitor>"
    [  1161.995] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
    [  1161.995] (==) Automatically adding devices
    [  1161.995] (==) Automatically enabling devices
    [  1161.995] (==) Automatically adding GPU devices
    [  1161.995] (==) Automatically binding GPU devices
    [  1161.995] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [  1161.995] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
    [  1161.995]     Entry deleted from font path.
    [  1161.995] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [  1161.995]     Entry deleted from font path.
    [  1161.995] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
    [  1161.995]     Entry deleted from font path.
    [  1161.995] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
    [  1161.995]     Entry deleted from font path.
    [  1161.995] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
    [  1161.995]     Entry deleted from font path.
    [  1161.995] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
    [  1161.995]     Entry deleted from font path.
    [  1161.995] (==) FontPath set to:
        /usr/share/fonts/X11/Type1,
        built-ins
    [  1161.995] (==) ModulePath set to "/usr/lib/xorg/modules"
    [  1161.995] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
    [  1161.995] (II) Loader magic: 0xaaaaab5a0f00
    [  1161.995] (II) Module ABI versions:
    [  1161.995]     X.Org ANSI C Emulation: 0.4
    [  1161.995]     X.Org Video Driver: 25.2
    [  1161.995]     X.Org XInput driver : 24.4
    [  1161.995]     X.Org Server Extension : 10.0
    [  1161.997] (--) using VT number 2

    [  1161.997] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [  1162.000] (II) xfree86: Adding drm device (/dev/dri/card0)
    [  1162.000] (II) Platform probe for /sys/devices/platform/display-engine/drm/card0
    [  1162.000] (II) xfree86: Adding drm device (/dev/dri/card2)
    [  1162.001] (II) Platform probe for /sys/devices/platform/soc/1800000.gpu/drm/card2
    [  1162.001] (II) xfree86: Adding drm device (/dev/dri/card1)
    [  1162.001] (II) Platform probe for /sys/devices/platform/soc/5011000.spi/spi_master/spi1/spi1.0/drm/card1
    [  1162.102] (II) no primary bus or device found
    [  1162.102]     falling back to /sys/devices/platform/display-engine/drm/card0
    [  1162.102] (II) LoadModule: "glx"
    [  1162.103] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [  1162.106] (II) Module glx: vendor="X.Org Foundation"
    [  1162.106]     compiled for 1.21.1.7, module version = 1.0.0
    [  1162.106]     ABI class: X.Org Server Extension, version 10.0
    [  1162.106] (==) Matched modesetting as autoconfigured driver 0
    [  1162.106] (==) Matched fbdev as autoconfigured driver 1
    [  1162.106] (==) Assigned the driver to the xf86ConfigLayout
    [  1162.106] (II) LoadModule: "modesetting"
    [  1162.107] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    [  1162.107] (II) Module modesetting: vendor="X.Org Foundation"
    [  1162.107]     compiled for 1.21.1.7, module version = 1.21.1
    [  1162.107]     Module class: X.Org Video Driver
    [  1162.107]     ABI class: X.Org Video Driver, version 25.2
    [  1162.107] (II) LoadModule: "fbdev"
    [  1162.107] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    [  1162.107] (II) Module fbdev: vendor="X.Org Foundation"
    [  1162.107]     compiled for 1.21.1.3, module version = 0.5.0
    [  1162.108]     Module class: X.Org Video Driver
    [  1162.108]     ABI class: X.Org Video Driver, version 25.2
    [  1162.108] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    [  1162.108] (II) FBDEV: driver for framebuffer: fbdev
    [  1162.210] (II) modeset(0): using drv /dev/dri/card0
    [  1162.210] (WW) Falling back to old probe method for fbdev
    [  1162.210] (II) Loading sub module "fbdevhw"
    [  1162.210] (II) LoadModule: "fbdevhw"
    [  1162.210] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [  1162.211] (II) Module fbdevhw: vendor="X.Org Foundation"
    [  1162.211]     compiled for 1.21.1.7, module version = 0.0.2
    [  1162.211]     ABI class: X.Org Video Driver, version 25.2
    [  1162.411] (II) modeset(G0): using drv /dev/dri/card1
    [  1162.411] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
    [  1162.411] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
    [  1162.411] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
    [  1162.411] (==) modeset(0): RGB weight 888
    [  1162.411] (==) modeset(0): Default visual is TrueColor
    [  1162.411] (II) Loading sub module "glamoregl"
    [  1162.411] (II) LoadModule: "glamoregl"
    [  1162.412] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    [  1162.428] (II) Module glamoregl: vendor="X.Org Foundation"
    [  1162.428]     compiled for 1.21.1.7, module version = 1.0.1
    [  1162.428]     ABI class: X.Org ANSI C Emulation, version 0.4
    [  1162.810] (II) modeset(0): glamor X acceleration enabled on Mali-G31 (Panfrost)
    [  1162.810] (II) modeset(0): glamor initialized
    [  1162.810] (==) modeset(0): VariableRefresh: disabled
    [  1162.810] (==) modeset(0): AsyncFlipSecondaries: disabled
    [  1162.810] (II) modeset(0): Output HDMI-1 has no monitor section
    [  1162.810] (II) modeset(0): EDID for output HDMI-1
    [  1162.811] (II) modeset(0): Output HDMI-1 disconnected
    [  1162.811] (WW) modeset(0): No outputs definitely connected, trying again...
    [  1162.811] (II) modeset(0): Output HDMI-1 disconnected
    [  1162.811] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
    [  1162.811] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
    [  1162.811] (==) modeset(0): DPI set to (96, 96)
    [  1162.811] (II) Loading sub module "fb"
    [  1162.811] (II) LoadModule: "fb"
    [  1162.811] (II) Module "fb" already built-in
    [  1162.813] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
    [  1162.813] (==) modeset(G0): RGB weight 888
    [  1162.813] (==) modeset(G0): Default visual is TrueColor
    [  1162.813] (II) Loading sub module "glamoregl"
    [  1162.813] (II) LoadModule: "glamoregl"
    [  1162.814] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    [  1162.814] (II) Module glamoregl: vendor="X.Org Foundation"
    [  1162.814]     compiled for 1.21.1.7, module version = 1.0.1
    [  1162.814]     ABI class: X.Org ANSI C Emulation, version 0.4
    [  1163.053] (II) modeset(G0): glamor X acceleration enabled on Mali-G31 (Panfrost)
    [  1163.053] (II) modeset(G0): glamor initialized
    [  1163.053] (II) modeset(G0): Output Unknown19-1 has no monitor section
    [  1163.053] (II) modeset(G0): EDID for output Unknown19-1
    [  1163.053] (II) modeset(G0): Printing probed modes for output Unknown19-1
    [  1163.053] (II) modeset(G0): Modeline "480x320"x60.0    9.22  480 480 480 480  320 320 320 320 (19.2 kHz eP)
    [  1163.053] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
    [  1163.053] (==) modeset(G0): DPI set to (96, 96)
    [  1163.053] (II) Loading sub module "fb"
    [  1163.053] (II) LoadModule: "fb"
    [  1163.053] (II) Module "fb" already built-in
    [  1163.053] (II) UnloadModule: "fbdev"
    [  1163.053] (II) Unloading fbdev
    [  1163.054] (II) UnloadSubModule: "fbdevhw"
    [  1163.054] (II) Unloading fbdevhw
    [  1163.102] (==) modeset(0): Backing store enabled
    [  1163.102] (==) modeset(0): Silken mouse enabled
    [  1163.103] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
    [  1163.103] (==) modeset(0): DPMS enabled
    [  1163.103] (II) modeset(0): [DRI2] Setup complete
    [  1163.103] (II) modeset(0): [DRI2]   DRI driver: sun4i-drm
    [  1163.103] (II) modeset(0): [DRI2]   VDPAU driver: sun4i-drm
    [  1163.124] (==) modeset(G0): Backing store enabled
    [  1163.124] (==) modeset(G0): Silken mouse enabled
    [  1163.225] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
    [  1163.225] (==) modeset(G0): DPMS enabled
    [  1163.225] (II) modeset(G0): [DRI2] Setup complete
    [  1163.225] (II) modeset(G0): [DRI2]   DRI driver: zink
    [  1163.225] (II) modeset(G0): [DRI2]   VDPAU driver: zink
    [  1163.225] (II) Initializing extension Generic Event Extension
    [  1163.226] (II) Initializing extension SHAPE
    [  1163.226] (II) Initializing extension MIT-SHM
    [  1163.227] (II) Initializing extension XInputExtension
    [  1163.227] (II) Initializing extension XTEST
    [  1163.228] (II) Initializing extension BIG-REQUESTS
    [  1163.228] (II) Initializing extension SYNC
    [  1163.229] (II) Initializing extension XKEYBOARD
    [  1163.229] (II) Initializing extension XC-MISC
    [  1163.230] (II) Initializing extension SECURITY
    [  1163.230] (II) Initializing extension XFIXES
    [  1163.231] (II) Initializing extension RENDER
    [  1163.231] (II) Initializing extension RANDR
    [  1163.232] (II) Initializing extension COMPOSITE
    [  1163.233] (II) Initializing extension DAMAGE
    [  1163.233] (II) Initializing extension MIT-SCREEN-SAVER
    [  1163.234] (II) Initializing extension DOUBLE-BUFFER
    [  1163.234] (II) Initializing extension RECORD
    [  1163.235] (II) Initializing extension DPMS
    [  1163.235] (II) Initializing extension Present
    [  1163.236] (II) Initializing extension DRI3
    [  1163.236] (II) Initializing extension X-Resource
    [  1163.237] (II) Initializing extension XVideo
    [  1163.237] (II) Initializing extension XVideo-MotionCompensation
    [  1163.237] (II) Initializing extension SELinux
    [  1163.237] (II) SELinux: Disabled on system
    [  1163.237] (II) Initializing extension GLX
    [  1163.475] (II) AIGLX: Loaded and initialized sun4i-drm
    [  1163.476] (II) GLX: Initialized DRI2 GL provider for screen 0
    [  1163.476] (II) Initializing extension XFree86-VidModeExtension
    [  1163.476] (II) Initializing extension XFree86-DGA
    [  1163.477] (II) Initializing extension XFree86-DRI
    [  1163.477] (II) Initializing extension DRI2
    [  1163.540] (II) modeset(G0): Damage tracking initialized
    [  1163.541] (II) modeset(0): Damage tracking initialized
    [  1163.673] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event4)
    [  1163.673] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
    [  1163.673] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
    [  1163.673] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
    [  1163.673] (II) LoadModule: "evdev"
    [  1163.673] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [  1163.675] (II) Module evdev: vendor="X.Org Foundation"
    [  1163.675]     compiled for 1.21.1.3, module version = 2.10.6
    [  1163.675]     Module class: X.Org XInput Driver
    [  1163.675]     ABI class: X.Org XInput driver, version 24.4
    [  1163.675] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
    [  1163.675] (**) ADS7846 Touchscreen: always reports core events
    [  1163.675] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/event4"
    [  1163.675] (--) evdev: ADS7846 Touchscreen: Vendor 0 Product 0x1ea6
    [  1163.675] (--) evdev: ADS7846 Touchscreen: Found absolute axes
    [  1163.675] (--) evdev: ADS7846 Touchscreen: Found x and y absolute axes
    [  1163.675] (--) evdev: ADS7846 Touchscreen: Found absolute touchscreen
    [  1163.675] (**) Option "SwapAxes" "0"
    [  1163.675] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
    [  1163.675] (**) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
    [  1163.675] (**) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [  1163.675] (**) Option "config_info" "udev:/sys/devices/platform/soc/5011000.spi/spi_master/spi1/spi1.1/input/input4/event4"
    [  1163.675] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
    [  1163.676] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
    [  1163.676] (**) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
    [  1163.676] (**) ADS7846 Touchscreen: (accel) acceleration profile 0
    [  1163.676] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
    [  1163.676] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
    [  1163.678] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse1)
    [  1163.678] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
    [  1163.678] (II) No input driver specified, ignoring this device.
    [  1163.678] (II) This device may have been added with another device file.
    [  1163.680] (II) config/udev: Adding input device Mitsumi Electric Apple Extended USB Keyboard (/dev/input/event0)
    [  1163.680] (**) Mitsumi Electric Apple Extended USB Keyboard: Applying InputClass "evdev keyboard catchall"
    [  1163.681] (**) Mitsumi Electric Apple Extended USB Keyboard: Applying InputClass "evdev keyboard catchall"
    [  1163.681] (II) Using input driver 'evdev' for 'Mitsumi Electric Apple Extended USB Keyboard'
    [  1163.681] (**) Mitsumi Electric Apple Extended USB Keyboard: always reports core events
    [  1163.681] (**) evdev: Mitsumi Electric Apple Extended USB Keyboard: Device: "/dev/input/event0"
    [  1163.681] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard: Vendor 0x5ac Product 0x204
    [  1163.681] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard: Found keys
    [  1163.681] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard: Configuring as keyboard
    [  1163.681] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.1/6-1.1:1.0/0003:05AC:0204.0001/input/input0/event0"
    [  1163.681] (II) XINPUT: Adding extended input device "Mitsumi Electric Apple Extended USB Keyboard" (type: KEYBOARD, id 7)
    [  1163.681] (**) Option "xkb_rules" "evdev"
    [  1163.681] (**) Option "xkb_model" "pc105"
    [  1163.681] (**) Option "xkb_layout" "us"
    [  1163.684] (II) config/udev: Adding input device Mitsumi Electric Apple Extended USB Keyboard System Control (/dev/input/event1)
    [  1163.684] (**) Mitsumi Electric Apple Extended USB Keyboard System Control: Applying InputClass "evdev keyboard catchall"
    [  1163.684] (**) Mitsumi Electric Apple Extended USB Keyboard System Control: Applying InputClass "evdev keyboard catchall"
    [  1163.684] (II) Using input driver 'evdev' for 'Mitsumi Electric Apple Extended USB Keyboard System Control'
    [  1163.684] (**) Mitsumi Electric Apple Extended USB Keyboard System Control: always reports core events
    [  1163.684] (**) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Device: "/dev/input/event1"
    [  1163.684] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Vendor 0x5ac Product 0x204
    [  1163.684] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Found keys
    [  1163.684] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Configuring as keyboard
    [  1163.685] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.1/6-1.1:1.1/0003:05AC:0204.0002/input/input1/event1"
    [  1163.685] (II) XINPUT: Adding extended input device "Mitsumi Electric Apple Extended USB Keyboard System Control" (type: KEYBOARD, id 😎
    [  1163.685] (**) Option "xkb_rules" "evdev"
    [  1163.685] (**) Option "xkb_model" "pc105"
    [  1163.685] (**) Option "xkb_layout" "us"
    [  1163.688] (II) config/udev: Adding input device Mitsumi Electric Apple Extended USB Keyboard Consumer Control (/dev/input/event2)
    [  1163.688] (**) Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
    [  1163.688] (**) Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
    [  1163.688] (II) Using input driver 'evdev' for 'Mitsumi Electric Apple Extended USB Keyboard Consumer Control'
    [  1163.688] (**) Mitsumi Electric Apple Extended USB Keyboard Consumer Control: always reports core events
    [  1163.688] (**) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Device: "/dev/input/event2"
    [  1163.688] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Vendor 0x5ac Product 0x204
    [  1163.688] (--) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Found keys
    [  1163.688] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Configuring as keyboard
    [  1163.688] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.1/6-1.1:1.1/0003:05AC:0204.0002/input/input2/event2"
    [  1163.688] (II) XINPUT: Adding extended input device "Mitsumi Electric Apple Extended USB Keyboard Consumer Control" (type: KEYBOARD, id 9)
    [  1163.688] (**) Option "xkb_rules" "evdev"
    [  1163.688] (**) Option "xkb_model" "pc105"
    [  1163.688] (**) Option "xkb_layout" "us"
    [  1163.691] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/event3)
    [  1163.691] (**) PixArt USB Optical Mouse: Applying InputClass "evdev pointer catchall"
    [  1163.691] (**) PixArt USB Optical Mouse: Applying InputClass "evdev pointer catchall"
    [  1163.692] (II) Using input driver 'evdev' for 'PixArt USB Optical Mouse'
    [  1163.692] (**) PixArt USB Optical Mouse: always reports core events
    [  1163.692] (**) evdev: PixArt USB Optical Mouse: Device: "/dev/input/event3"
    [  1163.692] (--) evdev: PixArt USB Optical Mouse: Vendor 0x93a Product 0x2510
    [  1163.692] (--) evdev: PixArt USB Optical Mouse: Found 3 mouse buttons
    [  1163.692] (--) evdev: PixArt USB Optical Mouse: Found scroll wheel(s)
    [  1163.692] (--) evdev: PixArt USB Optical Mouse: Found relative axes
    [  1163.692] (--) evdev: PixArt USB Optical Mouse: Found x and y relative axes
    [  1163.692] (II) evdev: PixArt USB Optical Mouse: Configuring as mouse
    [  1163.692] (II) evdev: PixArt USB Optical Mouse: Adding scrollwheel support
    [  1163.692] (**) evdev: PixArt USB Optical Mouse: YAxisMapping: buttons 4 and 5
    [  1163.692] (**) evdev: PixArt USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [  1163.692] (**) Option "config_info" "udev:/sys/devices/platform/soc/5311400.usb/usb6/6-1/6-1.2/6-1.2:1.0/0003:093A:2510.0003/input/input3/event3"
    [  1163.692] (II) XINPUT: Adding extended input device "PixArt USB Optical Mouse" (type: MOUSE, id 10)
    [  1163.692] (II) evdev: PixArt USB Optical Mouse: initialized for relative axes.
    [  1163.693] (**) PixArt USB Optical Mouse: (accel) keeping acceleration scheme 1
    [  1163.693] (**) PixArt USB Optical Mouse: (accel) acceleration profile 0
    [  1163.693] (**) PixArt USB Optical Mouse: (accel) acceleration factor: 2.000
    [  1163.693] (**) PixArt USB Optical Mouse: (accel) acceleration threshold: 4
    [  1163.695] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/mouse0)
    [  1163.695] (II) No input driver specified, ignoring this device.
    [  1163.695] (II) This device may have been added with another device file.
    [  1166.523] (II) evdev: PixArt USB Optical Mouse: Close
    [  1166.523] (II) UnloadModule: "evdev"
    [  1166.523] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard Consumer Control: Close
    [  1166.524] (II) UnloadModule: "evdev"
    [  1166.524] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard System Control: Close
    [  1166.524] (II) UnloadModule: "evdev"
    [  1166.524] (II) evdev: Mitsumi Electric Apple Extended USB Keyboard: Close
    [  1166.524] (II) UnloadModule: "evdev"
    [  1166.524] (II) evdev: ADS7846 Touchscreen: Close
    [  1166.525] (II) UnloadModule: "evdev"
    [  1167.522] (II) Server terminated successfully (0). Closing log file.

     

    dmesg|grep MESA shows nothing.

     

    Probably here is the solution https://github.com/agherzan/meta-raspberrypi/issues/1389 rebuilding mesa with some extra dependencies

    Bookworm containg mesa 22.3.6 right now, but Trixie contains mesa 25.0.5

    I tried the same in Trixie and Sid, but still get the same error: not able to load panel-mipi-dbi_dri.so

     

    I have a newly built armbian OS with kernel 6.15.x... I will try it later today.

     

     

  18. I haven't tested this... but I see that pins PH1, PI11, PI14 are not connectable in the orange pi zero 3.

     

    Only PH3 would be connectable. Is this correct?

     

    Is there an overlay to get PWM in PH2? (i read in the post from April 5 that it can be a PWM pin)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines