Raspberry Pi 4
unstable
sway
i have to reboot for new info
After update those 2 i cant use keyboard or mouse, i see only the pointer mouse.
warning: raspberrypi-bootloader: ignoring package upgrade (20220104-1 => 20220117-1)
warning: raspberrypi-bootloader-x: ignoring package upgrade (20220104-1 => 20220117-1)
ctrl-f2 doesnt work
i had to reboot with another microsd
keyboard is k400 plus
or Bus 001 Device 004: ID 0e6a:02c0 Megawin Technology Co., Ltd Defender Gaming Keyboard
latest upgrade now running:
[2022-01-18T17:57:19+0100] [PACMAN] Running ‘pacman -Syu’
[2022-01-18T17:57:19+0100] [PACMAN] synchronizing package lists
[2022-01-18T17:57:20+0100] [PACMAN] starting full system upgrade
[2022-01-18T17:57:37+0100] [ALPM] transaction started
[2022-01-18T17:57:37+0100] [ALPM] upgraded iana-etc (20211203-1 → 20220110-1)
[2022-01-18T17:57:38+0100] [ALPM] upgraded libxml2 (2.9.12-6 → 2.9.12-7)
[2022-01-18T17:57:39+0100] [ALPM] upgraded expat (2.4.2-1 → 2.4.3-1)
[2022-01-18T17:57:39+0100] [ALPM] upgraded asciidoc (9.1.1-4 → 10.1.1-1)
[2022-01-18T17:57:40+0100] [ALPM] upgraded btrfs-progs (5.15.1-3 → 5.16-1)
[2022-01-18T17:57:40+0100] [ALPM] upgraded cryptsetup (2.4.2-3 → 2.4.3-1)
[2022-01-18T17:57:40+0100] [ALPM] upgraded ffnvcodec-headers (11.1.5.0-1 → 11.1.5.1-1)
[2022-01-18T17:57:40+0100] [ALPM] upgraded jack2 (1.9.19-2 → 1.9.20-3)
[2022-01-18T17:57:41+0100] [ALPM] upgraded mesa-git (22.0.0_devel.148623.9cb91010ab0-1 → 22.0.0_devel.148890.b8d37eb1bb9-1)
[2022-01-18T17:57:41+0100] [ALPM] upgraded gtk-update-icon-cache (1:4.6.0-1 → 1:4.6.0-2)
[2022-01-18T17:57:41+0100] [ALPM] upgraded rest (0.8.1-3 → 0.8.1+r4+ge5ee6ef-1)
[2022-01-18T17:57:51+0100] [ALPM] upgraded firefox (96.0-1 → 96.0.1-1)
[2022-01-18T17:57:51+0100] [ALPM] upgraded gobject-introspection-runtime (1.70.0-4 → 1.70.0-5)
[2022-01-18T17:57:51+0100] [ALPM] upgraded python-setuptools (1:59.1.0-1 → 1:59.1.1-1)
[2022-01-18T17:57:52+0100] [ALPM] upgraded gobject-introspection (1.70.0-4 → 1.70.0-5)
[2022-01-18T17:57:52+0100] [ALPM] upgraded gupnp (1:1.4.2-1 → 1:1.4.3-1)
[2022-01-18T17:57:53+0100] [ALPM] upgraded liburcu (0.13.0-1 → 0.13.1-1)
[2022-01-18T17:57:53+0100] [ALPM] upgraded libuv (1.42.0-1 → 1.43.0-1)
[2022-01-18T17:58:19+0100] [ALPM] upgraded linux-rpi4-mainline-headers (5.16.0-2 → 5.16.1-1)
[2022-01-18T17:58:20+0100] [ALPM] upgraded logrotate (3.18.1-1 → 3.19.0-1)
[2022-01-18T17:58:20+0100] [ALPM] upgraded mako (1.6-1 → 1.6-2)
[2022-01-18T17:58:21+0100] [ALPM] upgraded meson (0.61.0-2 → 0.61.1-1)
[2022-01-18T17:58:21+0100] [ALPM] upgraded ndctl (72-1 → 72.1-1)
[2022-01-18T17:58:23+0100] [ALPM] upgraded pacman (6.0.1-6 → 6.0.1-7)
[2022-01-18T17:58:35+0100] [ALPM] upgraded qt5-base (5.15.2+kde+r286-1 → 5.15.2+kde+r291-1)
[2022-01-18T17:58:35+0100] [ALPM] upgraded qt5-wayland (5.15.2+kde+r38-1 → 5.15.2+kde+r41-1)
[2022-01-18T17:58:35+0100] [ALPM] upgraded scdoc (1.11.2-1 → 1.11.2-2)
[2022-01-18T17:58:35+0100] [ALPM] upgraded seatd (0.6.3-1 → 0.6.3-2)
[2022-01-18T17:58:35+0100] [ALPM] upgraded swaybg (1.1-1 → 1.1-2)
[2022-01-18T17:58:40+0100] [ALPM] upgraded vim-runtime (8.2.3890-1 → 8.2.4106-1)
running kernel 5.12
Linux archlinux 5.12.0-rc8-1-MANJARO-ARM #1 SMP PREEMPT Mon Apr 19 14:53:34 UTC 2021 aarch64 GNU/Linux
local/egl-wayland 2:1.1.9+r3+g582b2d3-1
EGLStream-based Wayland external platform
local/grim 1.3.2-1
Screenshot utility for Wayland
local/kwayland 5.90.0-1 (kf5)
Qt-style Client and Server library wrapper for the Wayland libraries
local/mako 1.6-2
Lightweight notification daemon for Wayland
local/qt5-wayland 5.15.2+kde+r41-1 (qt qt5)
Provides APIs for Wayland
local/qt6-wayland 6.2.2-1 (qt6)
Provides APIs for Wayland
local/srandr 0.0.1-3
srandr - A tool for managing your sway outputs
local/sway 1:1.6.1-3
Tiling Wayland compositor and replacement for the i3 window manager
local/swaybg 1.1-2
Wallpaper tool for Wayland compositors
local/wayland-protocols 1.24-1
Specifications of extended Wayland protocols
local/wdisplays 1.1-1
GUI display configurator for wlroots compositors
local/wlroots 0.14.1-3
Modular Wayland compositor libra
in sway/config the first line
disable xwayland
tell me please if i have to add some info
Strit
18 January 2022 18:30
2
1 point.
Kernel 5.12 has been End Of Life for months. Please don’t use that.
Use either linux-rpi4
or linux-rpi4-mainline
. There is no reason to stay on an old kernel like 5.12.
Usually updating firmware, also requires the newest kernels.
You have these blocked in /etc/pacman.conf?
yes, after i realized the problem, i had to add this rule…
If i forget to not update, then i have to use a backup.
the old kernel is related to this problem:
opened 07:17PM - 11 Jan 22 UTC
### Describe the bug
Using mpv --hwdec=v4l2m2m-copy to play a some (not all) .m… p4 video results in no video but has audio. I went back installing kernels and the last good one was 5.10.52. Then the next kernel I have 5.10.64 was when the issue started. This is the issue started trying to boot with V3D so I do not have any kernels between these kernel versions to test. Eventually this issue has crept in to all of newer kernel trees.
### Steps to reproduce the behaviour
Play the attached video with mpv --hwdec=v4l2m2m-copy ./2minvideo.mp4
### Device (s)
Raspberry Pi 4 Mod. B
### System
[ray@pi4 ~]$ vcgencmd version
Jan 4 2022 18:09:05
Copyright (c) 2012 Broadcom
version 89012f19c33b91cbe9df3933e2a21375bb4f0274 (clean) (release) (start)
### Logs
Here are the logs with mpv with --msg-level=all=v First the last working kernel then the first non working kernel playing a .mp4 that has the issue.
Kernel 5.10.52 --hwdec=v4l2m2m-copy working:
[ray@pi4 Desktop]$ mpv --msg-level=all=v --hwdec=v4l2m2m-copy ./2minvideo.mp4
[cplayer] Command line options: '--msg-level=all=v' '--hwdec=v4l2m2m-copy' './2minvideo.mp4'
[cplayer] mpv 0.34.0-dirty Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
[cplayer] built on UNKNOWN
[cplayer] FFmpeg library versions:
[cplayer] libavutil 56.70.100
[cplayer] libavcodec 58.134.100
[cplayer] libavformat 58.76.100
[cplayer] libswscale 5.9.100
[cplayer] libavfilter 7.110.100
[cplayer] libswresample 3.9.100
[cplayer] FFmpeg version: n4.4.1
[cplayer]
[cplayer] Configuration: /usr/bin/waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-dvb --enable-dvdnav --enable-libarchive --enable-libmpv-shared --disable-build-date --disable-caca
[cplayer] List of enabled features: alsa asm cdda cplayer cplugins cuda-hwaccel cuda-interop debug-build drm dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffmpeg-aviocontext-bytes-read ffnvcodec gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua lua52 memfd_create optimize plain-gl posix posix-or-mingw pthreads pulse rubberband shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland-protocols x11 xv zimg zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /home/ray/.config/mpv/config
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'ao' = 'pulse' (flags = 4)
[cplayer] Setting option 'autofit-smaller' = '90%' (flags = 4)
[cplayer] Setting option 'autofit-larger' = '90%' (flags = 4)
[cplayer] Setting option 'volume-max' = '400' (flags = 4)
[cplayer] Setting option 'msg-level' = 'all=v' (flags = 8)
[cplayer] Setting option 'hwdec' = 'v4l2m2m-copy' (flags = 8)
[cplayer] Waiting for scripts...
[osd/libass] libass API version: 0x1502000
[osd/libass] libass source: commit: 0.15.2-0-gc967a5a3d9ec0d36af1148b3fdf2f307a21dd122
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 3.2.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 ./2minvideo.mp4
[bdmv/bluray] Opening ./2minvideo.mp4
[file] Opening ./2minvideo.mp4
[demux] Trying demuxers for level=normal.
[cplayer] Set property: shared-script-properties -> 1
[osd/libass] libass API version: 0x1502000
[osd/libass] libass source: commit: 0.15.2-0-gc967a5a3d9ec0d36af1148b3fdf2f307a21dd122
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 3.2.0 (COMPLEX)
[osd/libass] Setting up fonts...
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 69688987
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: ./2minvideo.mp4
[find_files] Loading external files in ./
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
(+) Video --vid=1 (*) (h264 1920x1080 49.313fps)
(+) Audio --aid=1 --alang=ita (*) (ac3 2ch 48000Hz)
[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, 1440, 900] @ 74.984427 FPS
[vo/gpu/x11] Current display FPS: 74.984427
[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/opengl] GL_VERSION='2.1 Mesa 21.3.3'
[vo/gpu/opengl] Detected desktop OpenGL 2.1.
[vo/gpu/opengl] GL_VENDOR='Broadcom'
[vo/gpu/opengl] GL_RENDERER='V3D 4.2'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='1.20'
[vo/gpu/opengl] Loaded extension GL_ARB_map_buffer_range.
[vo/gpu/opengl] Loaded extension GL_ARB_framebuffer_object.
[vo/gpu/opengl] Loaded extension GL_ARB_vertex_array_object.
[vo/gpu/opengl] Loaded extension GL_ARB_texture_rg.
[vo/gpu/opengl] Loaded extension GL_ARB_texture_float.
[vo/gpu/opengl] Loaded extension GL_ARB_sync.
[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_uniform_buffer_object.
[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] 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=0).
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 74.984427 FPS for display sync.
[vd] Container reported FPS: 49.312542
[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] Opening decoder h264
[vd] Looking at hwdec h264_v4l2m2m-v4l2m2m-copy...
[vd] Trying hardware decoding via h264_v4l2m2m-v4l2m2m-copy.
[vd] Using underlying hw-decoder 'h264_v4l2m2m'
[ffmpeg/video] h264_v4l2m2m: Using device /dev/video10
[ffmpeg/video] h264_v4l2m2m: driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
[ffmpeg/video] h264_v4l2m2m: requesting formats: output=H264 capture=YU12
[vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[vf] User filter list:
[vf] (empty)
[ad] Codec list:
[ad] ac3 - ATSC A/52A (AC-3)
[ad] ac3_fixed (ac3) - ATSC A/52A (AC-3)
[ad] Opening decoder ac3
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: ac3 (ATSC A/52A (AC-3))
[af] User filter list:
[af] (empty)
[cplayer] Starting playback...
[file] stream level seek from 69816380 to 48
[cplayer] Set property: shared-script-properties -> 1
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[ao] Trying audio driver 'pulse'
[ao/pulse] requested format: 48000 Hz, stereo channels, floatp
[ao/pulse] Library version: 15.0.0
[ao/pulse] Proto: 35
[ao/pulse] Server proto: 4294967295
[ao/pulse] Channel layouts:
[ao/pulse] - #fl
[ao/pulse] - #fr
[ao/pulse] - #fc
[ao/pulse] - #lfe
[ao/pulse] - #bl
[ao/pulse] - #br
[ao/pulse] - #flc
[ao/pulse] - #frc
[ao/pulse] - #bc
[ao/pulse] - #sl
[ao/pulse] - #sr
[ao/pulse] - #tc
[ao/pulse] - #tfl
[ao/pulse] - #tfc
[ao/pulse] - #tfr
[ao/pulse] - #tbl
[ao/pulse] - #tbc
[ao/pulse] - #tbr
[ao/pulse] result: stereo
[ao/pulse] device buffer: 4800 samples.
[ao/pulse] using soft-buffer of 9600 samples.
AO: [pulse] 48000Hz stereo 2ch float
[cplayer] AO: Description: PulseAudio audio output
[autoconvert] inserting resampler
[swresample] format change, reinitializing resampler
[swresample] 48000Hz stereo floatp -> 48000Hz stereo float
[af] [out] 48000Hz stereo 2ch float
Using hardware decoding (v4l2m2m-copy).
[vd] Decoder format: 1920x1080 [0:0] yuv420p auto/auto/auto/auto/auto CL=unknown
[vd] Using container aspect ratio.
[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
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] Resize: 1296x729
[vo/gpu] Window size: 1296x729 (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) 1296x729
[vo/gpu] Video scale: 0.675000/0.675000
[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] 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
[cplayer] audio ready
[cplayer] starting audio playback
[ao/pulse] starting AO
[cplayer] playback restart complete @ 0.800000, audio=playing, video=playing
AV: 00:00:00 / 00:02:00 (1%) A-V: -0.000
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: shared-script-properties -> 1
[vo/gpu/x11] Disabling screensaver.
AV: 00:00:04 / 00:02:00 (3%) A-V: 0.000
[cplayer] EOF code: 5
[cplayer] finished playback, success (reason 3)
Exiting... (Quit)
Kernel 5.10.64 --hwdec=v4l2m2m-copy not working:
[ray@pi4 Desktop]$ mpv --msg-level=all=v --hwdec=v4l2m2m-copy ./2minvideo.mp4
[cplayer] Command line options: '--msg-level=all=v' '--hwdec=v4l2m2m-copy' './2minvideo.mp4'
[cplayer] mpv 0.34.0-dirty Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
[cplayer] built on UNKNOWN
[cplayer] FFmpeg library versions:
[cplayer] libavutil 56.70.100
[cplayer] libavcodec 58.134.100
[cplayer] libavformat 58.76.100
[cplayer] libswscale 5.9.100
[cplayer] libavfilter 7.110.100
[cplayer] libswresample 3.9.100
[cplayer] FFmpeg version: n4.4.1
[cplayer]
[cplayer] Configuration: /usr/bin/waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-dvb --enable-dvdnav --enable-libarchive --enable-libmpv-shared --disable-build-date --disable-caca
[cplayer] List of enabled features: alsa asm cdda cplayer cplugins cuda-hwaccel cuda-interop debug-build drm dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffmpeg-aviocontext-bytes-read ffnvcodec gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua lua52 memfd_create optimize plain-gl posix posix-or-mingw pthreads pulse rubberband shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland-protocols x11 xv zimg zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /home/ray/.config/mpv/config
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'ao' = 'pulse' (flags = 4)
[cplayer] Setting option 'autofit-smaller' = '90%' (flags = 4)
[cplayer] Setting option 'autofit-larger' = '90%' (flags = 4)
[cplayer] Setting option 'volume-max' = '400' (flags = 4)
[cplayer] Setting option 'msg-level' = 'all=v' (flags = 8)
[cplayer] Setting option 'hwdec' = 'v4l2m2m-copy' (flags = 8)
[cplayer] Waiting for scripts...
[osd/libass] libass API version: 0x1502000
[osd/libass] libass source: commit: 0.15.2-0-gc967a5a3d9ec0d36af1148b3fdf2f307a21dd122
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 3.2.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 ./2minvideo.mp4
[bdmv/bluray] Opening ./2minvideo.mp4
[file] Opening ./2minvideo.mp4
[demux] Trying demuxers for level=normal.
[cplayer] Set property: shared-script-properties -> 1
[osd/libass] libass API version: 0x1502000
[osd/libass] libass source: commit: 0.15.2-0-gc967a5a3d9ec0d36af1148b3fdf2f307a21dd122
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 3.2.0 (COMPLEX)
[osd/libass] Setting up fonts...
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 69688987
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: ./2minvideo.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
[lavf] select track 1
(+) Video --vid=1 (*) (h264 1920x1080 49.313fps)
(+) Audio --aid=1 --alang=ita (*) (ac3 2ch 48000Hz)
[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, 1440, 900] @ 74.984427 FPS
[vo/gpu/x11] Current display FPS: 74.984427
[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/opengl] GL_VERSION='2.1 Mesa 21.3.3'
[vo/gpu/opengl] Detected desktop OpenGL 2.1.
[vo/gpu/opengl] GL_VENDOR='Broadcom'
[vo/gpu/opengl] GL_RENDERER='V3D 4.2'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='1.20'
[vo/gpu/opengl] Loaded extension GL_ARB_map_buffer_range.
[vo/gpu/opengl] Loaded extension GL_ARB_framebuffer_object.
[vo/gpu/opengl] Loaded extension GL_ARB_vertex_array_object.
[vo/gpu/opengl] Loaded extension GL_ARB_texture_rg.
[vo/gpu/opengl] Loaded extension GL_ARB_texture_float.
[vo/gpu/opengl] Loaded extension GL_ARB_sync.
[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_uniform_buffer_object.
[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] 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=0).
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 74.984427 FPS for display sync.
[vd] Container reported FPS: 49.312542
[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] Opening decoder h264
[vd] Looking at hwdec h264_v4l2m2m-v4l2m2m-copy...
[vd] Trying hardware decoding via h264_v4l2m2m-v4l2m2m-copy.
[vd] Using underlying hw-decoder 'h264_v4l2m2m'
[ffmpeg/video] h264_v4l2m2m: Using device /dev/video10
[ffmpeg/video] h264_v4l2m2m: driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
[ffmpeg/video] h264_v4l2m2m: requesting formats: output=H264 capture=YU12
[vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[vf] User filter list:
[vf] (empty)
[ad] Codec list:
[ad] ac3 - ATSC A/52A (AC-3)
[ad] ac3_fixed (ac3) - ATSC A/52A (AC-3)
[ad] Opening decoder ac3
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: ac3 (ATSC A/52A (AC-3))
[af] User filter list:
[af] (empty)
[cplayer] Starting playback...
[file] stream level seek from 69816380 to 48
[vf] filter input EOF
[vf] [userdeint] (disabled)
[vf] [autorotate] (disabled)
[vf] [convert] (disabled)
[vf] filter output EOF
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[cplayer] video EOF reached
[ao] Trying audio driver 'pulse'
[ao/pulse] requested format: 48000 Hz, stereo channels, floatp
[ao/pulse] Library version: 15.0.0
[ao/pulse] Proto: 35
[ao/pulse] Server proto: 4294967295
[ao/pulse] Channel layouts:
[ao/pulse] - #fl
[ao/pulse] - #fr
[ao/pulse] - #fc
[ao/pulse] - #lfe
[ao/pulse] - #bl
[ao/pulse] - #br
[ao/pulse] - #flc
[ao/pulse] - #frc
[ao/pulse] - #bc
[ao/pulse] - #sl
[ao/pulse] - #sr
[ao/pulse] - #tc
[ao/pulse] - #tfl
[ao/pulse] - #tfc
[ao/pulse] - #tfr
[ao/pulse] - #tbl
[ao/pulse] - #tbc
[ao/pulse] - #tbr
[ao/pulse] result: stereo
[ao/pulse] device buffer: 4800 samples.
[ao/pulse] using soft-buffer of 9600 samples.
AO: [pulse] 48000Hz stereo 2ch float
[cplayer] AO: Description: PulseAudio audio output
[autoconvert] inserting resampler
[swresample] format change, reinitializing resampler
[swresample] 48000Hz stereo floatp -> 48000Hz stereo float
[af] [out] 48000Hz stereo 2ch float
[cplayer] audio ready
[cplayer] starting audio playback
[ao/pulse] starting AO
[vo/gpu/x11] Disabling screensaver.
[cplayer] playback restart complete @ 0.000000, audio=playing, video=eof
[cplayer] Set property: shared-script-properties -> 1
AV: 00:00:01 / 00:02:00 (1%) A-V: 0.000
[cplayer] EOF code: 5
[vo/gpu/x11] Enabling screensaver.
[cplayer] finished playback, success (reason 3)
Exiting... (Quit)
[cplayer] Set property: shared-script-properties -> 1
### Additional context
Here is a link to a sample 2 minute .mp4 video that has the issue. Like I said above not all .mp4 has the issue but if I remember right I had to change config.txt to get the ones that did work. I believe I used a config used with kodi (dtoverlay=rpivid-v4l2) which I never did when the video was playing correctly.
https://drive.google.com/file/d/1_hC8hIGIQFnyBVwIEanwG_iEbgc7LsuD/view?usp=sharing
Strit
19 January 2022 06:03
6
So you would rather have a completely unsecure system that uses very old and unmaintained kernel, than not being able to play video with hardware acceleration?
so, the problem is solved, updating linux-rpi-rc, if i can ask, is linux-rpi4-rc-headers really necessary ?
thanks
system
Closed
21 January 2022 21:54
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.