RPi-Distro / vlc

GNU General Public License v2.0
41 stars 4 forks source link

Rpi5 and waveshare display "only" (no HDMI) #102

Open mcpat-it opened 10 months ago

mcpat-it commented 10 months ago

Maybe someone here can help, I asked here, but I fear it's a problem with the RPi-Distro. I have a Rpi5 and acc. this help, I have my waveshare display running with config.txt

# waveshare 1.3in - 240x240pixel - SKU19650
dtoverlay=mipi-dbi-spi,speed=32000000
dtparam=compatible=wavesku19650\0panel-mipi-dbi-spi
dtparam=write-only,cpha,cpol
dtparam=width=240,height=240,width-mm=23,height-mm=23
dtparam=reset-gpio=27,dc-gpio=25,backlight-gpio=18

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d,nohdmi
max_framebuffers=2

with mpv everything is running (as well as with emulationstation):

root@rpi5:/opt/videos#  mpv --drm-connector=help
Available connectors for card 0 (/dev/dri/card2):
  SPI-1 (connected)

Available connectors for card 1 (/dev/dri/card1):

Available connectors for card 2 (/dev/dri/card0):
Cannot retrieve DRM resources: Operation not supported
root@rpi5:/opt/videos# mpv --no-audio  simpsons.mp4
 (+) Video --vid=1 (*) (h264 640x480 25.000fps)
     Audio --aid=1 --alang=deu (*) (aac 1ch 48000Hz)
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
VO: [gpu] 640x480 yuv420p
V: 00:05:28 / 00:22:15 (25%)

with drmdevice I get this output:

root@rpi5:/opt# drmdevice
--- Checking the number of DRM device available ---
--- Devices reported 3 ---
--- Retrieving devices information (PCI device revision is ignored) ---
device[0]
+-> available_nodes 0x01
+-> nodes
|   +-> nodes[0] /dev/dri/card2
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/pcie@120000/rp1/spi@50000/panel@0
+-> deviceinfo
    +-> platform
        +-> compatible
                    wavesku19650
                    panel-mipi-dbi-spi

--- Opening device node /dev/dri/card2 ---
--- Retrieving device info, for node /dev/dri/card2 ---
device[0]
+-> available_nodes 0x01
+-> nodes
|   +-> nodes[0] /dev/dri/card2
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/pcie@120000/rp1/spi@50000/panel@0
+-> deviceinfo
    +-> platform
        +-> compatible
                    wavesku19650
                    panel-mipi-dbi-spi

device[1]
+-> available_nodes 0x01
+-> nodes
|   +-> nodes[0] /dev/dri/card1
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/gpu
+-> deviceinfo
    +-> platform
        +-> compatible
                    brcm,bcm2712-vc6

--- Opening device node /dev/dri/card1 ---
--- Retrieving device info, for node /dev/dri/card1 ---
device[1]
+-> available_nodes 0x01
+-> nodes
|   +-> nodes[0] /dev/dri/card1
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/gpu
+-> deviceinfo
    +-> platform
        +-> compatible
                    brcm,bcm2712-vc6

device[2]
+-> available_nodes 0x05
+-> nodes
|   +-> nodes[0] /dev/dri/card0
|   +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/v3d@2000000
+-> deviceinfo
    +-> platform
        +-> compatible
                    brcm,2712-v3d

--- Opening device node /dev/dri/card0 ---
--- Retrieving device info, for node /dev/dri/card0 ---
device[2]
+-> available_nodes 0x05
+-> nodes
|   +-> nodes[0] /dev/dri/card0
|   +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/v3d@2000000
+-> deviceinfo
    +-> platform
        +-> compatible
                    brcm,2712-v3d

--- Opening device node /dev/dri/renderD128 ---
--- Retrieving device info, for node /dev/dri/renderD128 ---
device[2]
+-> available_nodes 0x05
+-> nodes
|   +-> nodes[0] /dev/dri/card0
|   +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
|   +-> platform
|       +-> fullname    /axi/v3d@2000000
+-> deviceinfo
    +-> platform
        +-> compatible
                    brcm,2712-v3d

and kmsprint shows

root@rpi5:~# kmsprint
Connector 0 (31) SPI-1 (connected)
  Encoder 0 (35) NONE
    Crtc 0 (34) 240x240@60.00 3.456 240/0/0/0/? 240/0/0/0/? 60 (60.00) P|D
      Plane 0 (32) fb-id: 36 (crtcs: 0) 0,0 240x240 -> 0,0 240x240 (RG16 XR24)
        FB 36 240x240 RG16

and here the output from vlc

root@rpi5:/opt/videos# cvlc -vvv --no-audio /opt/videos/simpsons.mp4
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[00005555e2511560] main libvlc debug: VLC media player - 3.0.20 Vetinari
[00005555e2511560] main libvlc debug: Copyright © 1996-2023 the VideoLAN team
[00005555e2511560] main libvlc debug: revision 3.0.20-0-g6f0d0ab126b
[00005555e2511560] main libvlc debug: configured with ./configure  '--build=aarch64-linux-gnu' '--prefix=/usr' '--includedir=/include' '--mandir=/share/man' '--infodir=/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=/lib/aarch64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=1:3.0.20-0+rpt2+deb12u1' '--enable-a52' '--enable-aa' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-srt' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-mmal' '--disable-mmal-avcodec' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sndio' '--disable-sparkle' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--disable-mmx' '--disable-sse' '--disable-neon' '--disable-vdpau' '--disable-libva' '--disable-altivec' '--disable-omxil' '--enable-run-as-root' 'build_alias=aarch64-linux-gnu'
[00005555e2511560] main libvlc debug: searching plug-in modules
[00005555e2511560] main libvlc debug: loading plugins cache file /usr/lib/aarch64-linux-gnu/vlc/plugins/plugins.dat
[00005555e2511560] main libvlc warning: cannot read /usr/lib/aarch64-linux-gnu/vlc/plugins/plugins.dat: No such file or directory
[00005555e2511560] main libvlc debug: recursively browsing `/usr/lib/aarch64-linux-gnu/vlc/plugins'
[00005555e2511560] main libvlc debug: plug-ins loaded: 509 modules
[00005555e2511560] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[00005555e25118c0] main logger debug: looking for logger module matching "any": 4 candidates
[00005555e25118c0] main logger debug: using logger module "console"
[00005555e2511560] main libvlc debug: translation test: code is "C"
[00005555e2798ad0] main keystore debug: looking for keystore module matching "memory": 4 candidates
[00005555e2798ad0] main keystore debug: using keystore module "memory"
[00005555e2511560] main libvlc debug: CPU has capabilities FPU
[00005555e25329f0] main input debug: Creating an input for 'Media Library'
[00005555e25329f0] main input debug: Input is a meta file: disabling unneeded options
[00005555e25329f0] main input debug: using timeshift granularity of 50 MiB
[00005555e25329f0] main input debug: using default timeshift path
[00005555e25329f0] main input debug: `file/directory:///root/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/root/.local/share/vlc/ml.xspf'
[00005555e279e200] main input source debug: creating demux: access='file' demux='directory' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[00005555e27a3620] main demux debug: looking for access_demux module matching "file": 20 candidates
[00005555e27a3620] main demux debug: no access_demux modules matched
[00005555e2537e10] main stream debug: creating access: file:///root/.local/share/vlc/ml.xspf
[00005555e2537e10] main stream debug:  (path: /root/.local/share/vlc/ml.xspf)
[00005555e2537e10] main stream debug: looking for access module matching "file": 30 candidates
[00005555e2537e10] main stream debug: using access module "filesystem"
[00005555e2538130] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[00005555e2538130] cache_read stream debug: Using stream method for AStream*
[00005555e2538130] cache_read stream debug: starting pre-buffering
[00005555e2538130] cache_read stream debug: received first data after 0 ms
[00005555e2538130] cache_read stream debug: pre-buffering done 296 bytes in 0s - 7050 KiB/s
[00005555e2538130] main stream debug: using stream_filter module "cache_read"
[00005555e25383f0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00005555e25383f0] playlist stream debug: using XSPF playlist reader
[00005555e25383f0] main stream debug: using stream_filter module "playlist"
[00005555e25383f0] main stream debug: stream filter added to 0x5555e2538130
[00005555e25385f0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00005555e25385f0] main stream debug: no stream_filter modules matched
[00005555e27a1460] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[00005555e27a1460] main stream_directory debug: no stream_directory modules matched
[00005555e279e200] main input source debug: attachment of directory-extractor failed for file:///root/.local/share/vlc/ml.xspf
[00005555e25385f0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[00005555e25385f0] main stream debug: using stream_filter module "record"
[00005555e279e200] main input source debug: creating demux: access='file' demux='directory' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[00005555e27cf740] main demux debug: looking for demux module matching "directory": 55 candidates
[00005555e27cf740] main demux debug: using demux module "directory"
[00005555e27cfc10] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[00005555e27cfc10] lua demux meta debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/reader
[00005555e27cfc10] lua demux meta debug: Trying Lua scripts in /usr/lib/aarch64-linux-gnu/vlc/lua/meta/reader
[00005555e27cfc10] lua demux meta debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/reader/filename.luac
[00005555e27cfc10] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[00005555e27cfc10] main demux meta debug: no meta reader modules matched
[00005555e25329f0] main input debug: `file/directory:///root/.local/share/vlc/ml.xspf' successfully opened
[00005555e279abc0] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[00005555e279abc0] main xml reader debug: using xml reader module "xml"
[00005555e25329f0] main input debug: EOF reached
[00005555e27cf740] main demux debug: removing module "directory"
[00005555e25385f0] main stream debug: removing module "record"
[00005555e25383f0] main stream debug: removing module "playlist"
[00005555e2538130] main stream debug: removing module "cache_read"
[00005555e2537e10] main stream debug: removing module "filesystem"
[00005555e27b5b50] main playlist debug: creating audio output
[00005555e27cf280] main audio output debug: looking for audio output module matching "any": 6 candidates
[00005555e27cf280] vlcpulse audio output debug: using library version 16.1.0
[00005555e27cf280] vlcpulse audio output debug:  (compiled with version 16.1.0, protocol 35)
[00005555e27cf280] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00005555e27cf280] alsa audio output debug: Available ALSA PCM devices:
[00005555e27cf280] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null)
[00005555e27cf280] alsa audio output debug: Rate Converter Plugin Using Libav/FFmpeg Library (lavrate)
[00005555e27cf280] alsa audio output debug: Rate Converter Plugin Using Samplerate Library (samplerate)
[00005555e27cf280] alsa audio output debug: Rate Converter Plugin Using Speex Resampler (speexrate)
[00005555e27cf280] alsa audio output debug: JACK Audio Connection Kit (jack)
[00005555e27cf280] alsa audio output debug: Open Sound System (oss)
[00005555e27cf280] alsa audio output debug: PulseAudio Sound Server (pulse)
[00005555e27cf280] alsa audio output debug: Plugin using Speex DSP (resample, agc, denoise, echo, dereverb) (speex)
[00005555e27cf280] alsa audio output debug: Plugin for channel upmix (4,6,8) (upmix)
[00005555e27cf280] alsa audio output debug: Plugin for channel downmix (stereo) with a simple spacialization (vdownmix)
[00005555e27cf280] main audio output debug: using audio output module "alsa"
[00005555e27b5b50] main playlist debug: keeping audio output
[00005555e27e0630] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[00005555e27e0630] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[00005555e27e0630] main interface debug: using interface module "dbus"
[00005555e27d1730] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[00005555e27d1730] main interface debug: using interface module "hotkeys"
[00005555e2807220] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[00007ffec8000c40] main input debug: Creating an input for preparsing 'simpsons.mp4'
[00005555e2807220] main interface debug: no interface modules matched
[00005555e2807220] main interface error: no suitable interface module
[00005555e2511560] main libvlc error: interface "globalhotkeys,none" initialization failed
[00005555e2807220] main interface debug: looking for interface module matching "dummy": 19 candidates
[00005555e2807220] dummy interface: using the dummy interface module...
[00005555e2807220] main interface debug: using interface module "dummy"
[00005555e27b5b50] main playlist debug: processing request item: null, node: Playlist, skip: 0
[00005555e27b5b50] main playlist debug: rebuilding array of current - root Playlist
[00005555e27b5b50] main playlist debug: rebuild done - 1 items, index -1
[00005555e27b5b50] main playlist debug: starting playback of new item
[00005555e27b5b50] main playlist debug: resyncing on simpsons.mp4
[00005555e27b5b50] main playlist debug: simpsons.mp4 is at 0
[00005555e27b5b50] main playlist debug: creating new input thread
[00007ffecc000ca0] main input debug: Creating an input for 'simpsons.mp4'
[00007ffec0000c40] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007ffec0000c40] lua meta fetcher debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/fetcher
[00007ffec0000c40] lua meta fetcher debug: Trying Lua scripts in /usr/lib/aarch64-linux-gnu/vlc/lua/meta/fetcher
[00007ffec0000c40] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007ffec0000c40] main meta fetcher debug: no meta fetcher modules matched
[00007ffec0000c40] main art finder debug: looking for art finder module matching "any": 2 candidates
[00005555e27b5b50] main playlist debug: requesting art for new input thread
[00007ffecc000ca0] main input debug: using timeshift granularity of 50 MiB
[00007ffecc000ca0] main input debug: using default timeshift path
[00007ffec0000c40] lua art finder debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/art
[00007ffec0000c40] lua art finder debug: Trying Lua scripts in /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art
[00007ffecc000ca0] main input debug: `file:///opt/videos/simpsons.mp4' gives access `file' demux `any' path `/opt/videos/simpsons.mp4'
[00007ffec4000fc0] main input source debug: creating demux: access='file' demux='any' location='/opt/videos/simpsons.mp4' file='/opt/videos/simpsons.mp4'
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ffec4001160] main demux debug: looking for access_demux module matching "file": 20 candidates
[00007ffec4001160] main demux debug: no access_demux modules matched
[00007ffec4001660] main stream debug: creating access: file:///opt/videos/simpsons.mp4
[00007ffec4001660] main stream debug:  (path: /opt/videos/simpsons.mp4)
[00007ffec4001660] main stream debug: looking for access module matching "file": 30 candidates
[00007ffec4001660] main stream debug: using access module "filesystem"
[00007ffec4001980] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[00007ffec4001980] cache_read stream debug: Using stream method for AStream*
[00007ffec4001980] cache_read stream debug: starting pre-buffering
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ffec4001980] cache_read stream debug: received first data after 0 ms
[00007ffec4001980] cache_read stream debug: pre-buffering done 1024 bytes in 0s - 19230 KiB/s
[00007ffec4001980] main stream debug: using stream_filter module "cache_read"
[00007ffec4c01dd0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua scripts in /root/.local/share/vlc/lua/playlist
[00007ffec4c01dd0] lua stream debug: Trying Lua scripts in /usr/lib/aarch64-linux-gnu/vlc/lua/playlist
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/anevia_streams.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/anevia_xml.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/appletrailers.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ffec0000c40] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007ffec0000c40] main art finder debug: no art finder modules matched
[00007ffec0000c40] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007ffec0000c40] lua meta fetcher debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/fetcher
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/bbc_co_uk.luac
[00007ffec0000c40] lua meta fetcher debug: Trying Lua scripts in /usr/lib/aarch64-linux-gnu/vlc/lua/meta/fetcher
[00007ffec0000c40] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007ffec0000c40] main meta fetcher debug: no meta fetcher modules matched
[00007ffec0000c40] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007ffec0000c40] lua art finder debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/art
[00007ffec0000c40] lua art finder debug: Trying Lua scripts in /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/cue.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/dailymotion.luac
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/jamendo.luac
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ffec0000c40] lua art finder debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/koreus.luac
[00007ffec0000c40] lua art finder debug: skipping script (unmatched scope) /usr/lib/aarch64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/liveleak.luac
[00007ffec0000c40] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007ffec0000c40] main art finder debug: no art finder modules matched
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/newgrounds.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/rockbox_fm_presets.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/soundcloud.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/twitch.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/vimeo.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/vocaroo.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua playlist script /usr/lib/aarch64-linux-gnu/vlc/lua/playlist/youtube.luac
[00007ffec4c01dd0] lua stream debug: Trying Lua scripts in /usr/share/vlc/lua/playlist
[00007ffec4c01dd0] main stream debug: no stream_filter modules matched
[00007ffec4c117f0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[00007ffec4c117f0] main stream_directory debug: no stream_directory modules matched
[00007ffec4000fc0] main input source debug: attachment of directory-extractor failed for file:///opt/videos/simpsons.mp4
[00007ffec4c01dd0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[00007ffec4c01dd0] main stream debug: using stream_filter module "record"
[00007ffec4000fc0] main input source debug: creating demux: access='file' demux='any' location='/opt/videos/simpsons.mp4' file='/opt/videos/simpsons.mp4'
[00007ffec4c07540] main demux debug: looking for demux module matching "mp4": 55 candidates
[00007ffec4c01dd0] mp4 stream warning: unknown box type titl (incompletely loaded)
[00007ffec4c01dd0] mp4 stream debug: dumping root Box "root"
[00007ffec4c01dd0] mp4 stream debug: |   + ftyp size 32 offset 0
[00007ffec4c01dd0] mp4 stream debug: |   + free size 8 offset 32
[00007ffec4c01dd0] mp4 stream debug: |   + mdat size 106739337 offset 40
[00007ffec4c01dd0] mp4 stream debug: |   + moov size 1045840 offset 106739377
[00007ffec4c01dd0] mp4 stream debug: |   |   + mvhd size 108 offset 106739385
[00007ffec4c01dd0] mp4 stream debug: |   |   + trak size 560957 offset 106739493
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + tkhd size 92 offset 106739501
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + edts size 36 offset 106739593
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + elst size 28 offset 106739601
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + mdia size 560821 offset 106739629
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + mdhd size 32 offset 106739637
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + hdlr size 45 offset 106739669
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + minf size 560736 offset 106739714
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + vmhd size 20 offset 106739722
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + dinf size 36 offset 106739742
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + dref size 28 offset 106739750
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   + url  size 12 offset 106739766
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + stbl size 560672 offset 106739778
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stsd size 208 offset 106739786
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   + avc1 size 192 offset 106739802
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   |   + avcC size 51 offset 106739888
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   |   + colr size 19 offset 106739939
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   |   + pasp size 16 offset 106739958
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   |   + btrt size 20 offset 106739974
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stts size 24 offset 106739994
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stss size 1484 offset 106740018
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + sdtp size 33396 offset 106741502
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + ctts size 258408 offset 106774898
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stsc size 40 offset 107033306
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stsz size 133556 offset 107033346
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stco size 133548 offset 107166902
[00007ffec4c01dd0] mp4 stream debug: |   |   + trak size 484656 offset 107300450
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + tkhd size 92 offset 107300458
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + edts size 36 offset 107300550
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + elst size 28 offset 107300558
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + mdia size 484481 offset 107300586
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + mdhd size 32 offset 107300594
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + hdlr size 37 offset 107300626
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + minf size 484404 offset 107300663
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + smhd size 16 offset 107300671
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + dinf size 36 offset 107300687
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + dref size 28 offset 107300695
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   + url  size 12 offset 107300711
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + stbl size 484344 offset 107300723
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stsd size 126 offset 107300731
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   + mp4a size 110 offset 107300747
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   |   + esds size 54 offset 107300783
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   |   |   + btrt size 20 offset 107300837
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stts size 24 offset 107300857
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stsc size 100180 offset 107300881
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stsz size 250404 offset 107401061
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + stco size 133548 offset 107651465
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + sgpd size 26 offset 107785013
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + sbgp size 28 offset 107785039
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + udta size 39 offset 107785067
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + name size 12 offset 107785075
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + titl size 19 offset 107785087 (????)
[00007ffec4c01dd0] mp4 stream debug: |   |   + udta size 111 offset 107785106
[00007ffec4c01dd0] mp4 stream debug: |   |   |   + meta size 103 offset 107785114
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + hdlr size 33 offset 107785126
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   + ilst size 58 offset 107785159
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   + ctoo size 50 offset 107785167
[00007ffec4c01dd0] mp4 stream debug: |   |   |   |   |   |   + data size 42 offset 107785175
[00007ffec4c07540] mp4 demux debug: unrecognized major media specification (mp42).
[00007ffec4c07540] mp4 demux debug: found 2 tracks
[00007ffec4c07540] mp4 demux warning: elst box found
[00007ffec4c07540] mp4 demux debug:    - [0] duration=1335360ms media time=80ms) rate=1.0
[00007ffec4c07540] mp4 demux debug: track[Id 0x1] read 33383 chunk
[00007ffec4c07540] mp4 demux warning: STTS table of 1 entries
[00007ffec4c07540] mp4 demux warning: CTTS table of 32299 entries
[00007ffec4c07540] mp4 demux debug: track[Id 0x1] read 33384 samples length:1335s
[00007ffecc000ca0] main input debug: selecting program id=0
[00007ffec4c07540] mp4 demux debug: adding track[Id 0x1] video (enable) language undef
[00007ffec4c07540] mp4 demux warning: elst box found
[00007ffec4c07540] mp4 demux debug:    - [0] duration=1335360ms media time=21ms) rate=1.0
[00007ffec4c07540] mp4 demux debug: track[Id 0x2] read 33383 chunk
[00007ffec4c07540] mp4 demux warning: STTS table of 1 entries
[00007ffec4c07540] mp4 demux debug: track[Id 0x2] read 62596 samples length:1335s
[00007ffec4c07540] mp4 demux debug: adding track[Id 0x2] audio (enable) language deu
[00007ffec4c07540] main demux debug: using demux module "mp4"
[00007ffecc000ca0] main input debug: looking for a subtitle file in /opt/videos/
[00007ffec4c0a850] main decoder debug: looking for video decoder module matching "any": 16 candidates
[00007ffec4c0a850] avcodec decoder debug: using ffmpeg Lavc59.37.100
[00007ffec4c0a850] avcodec decoder debug: CPU flags: 0x00000068
[00007ffec4c0a850] avcodec decoder debug: allowing 5 thread(s) for decoding
[h264_v4l2m2m @ 0x7ffec4c12720] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264_v4l2m2m @ 0x7ffec4c12720] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video19
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'rpivid' on card 'rpivid' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video37
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video36
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video35
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video34
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video33
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video32
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video31
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video30
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video29
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video28
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video27
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video26
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video25
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video24
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video23
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video22
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video21
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] probing device /dev/video20
[h264_v4l2m2m @ 0x7ffec4c12720] driver 'pispbe' on card 'pispbe' in mplane mode
[h264_v4l2m2m @ 0x7ffec4c12720] v4l2 output format not supported
[h264_v4l2m2m @ 0x7ffec4c12720] Could not find a valid device
[h264_v4l2m2m @ 0x7ffec4c12720] can't configure decoder
[h264_v4l2m2m @ 0x7ffec4c12720] V4L2 Codec end
V4L2 Context destroyed
[00007ffec4c0a850] avcodec decoder error: cannot start codec (h264_v4l2m2m)
[00007ffec4c0a850] avcodec decoder debug: Set hw fail for h264 640x480
[00007ffec4c0a850] avcodec decoder debug: using ffmpeg Lavc59.37.100
[00007ffec4c0a850] avcodec decoder debug: CPU flags: 0x00000068
[00007ffec4c0a850] avcodec decoder debug: allowing 5 thread(s) for decoding
[h264 @ 0x7ffec4c1d240] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7ffec4c1d240] nal_unit_type: 8(PPS), nal_ref_idc: 3
[00007ffec4c0a850] avcodec decoder debug: codec (h264) started
[00007ffec4c0a850] avcodec decoder debug: using frame thread mode with 5 threads
[00007ffec4c0a850] main decoder debug: using video decoder module "avcodec"
[00007ffecc000ca0] main input debug: audio is disabled, not selecting ES 0x1
[00007ffec4c0c500] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007ffec4c0c500] main demux meta debug: using meta reader module "taglib"
[00007ffec4c07540] main demux debug: removing module "taglib"
[00007ffecc000ca0] main input debug: `file:///opt/videos/simpsons.mp4' successfully opened
[00007ffec4c07540] mp4 demux debug: elst (0) gives 0ms (movie)-> 80ms (track)
[00007ffec4c07540] mp4 demux debug: track[Id 0x1] using Sync Sample Box (stss)
[00007ffec4c07540] mp4 demux debug: stss gives 2 --> 0 (sample number)
[00007ffecc000ca0] main input debug: Buffering 0%
[00007ffecc000ca0] main input debug: Buffering 25%
[00007ffecc000ca0] main input debug: Buffering 50%
[00007ffecc000ca0] main input debug: Buffering 75%
[00007ffecc000ca0] main input debug: Buffering 100%
[00007ffecc000ca0] main input debug: Stream buffering done (1250 ms in 0 ms)
[h264 @ 0x7ffec4c1d240] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x7ffec4c1d240] nal_unit_type: 5(IDR), nal_ref_idc: 3
[00007ffec4c0a850] avcodec decoder debug: available hardware decoder output format 98 (vdpau)
[00007ffec4c0a850] avcodec decoder debug: available hardware decoder output format 117 (cuda)
[00007ffec4c0a850] avcodec decoder debug: available hardware decoder output format 44 (vaapi)
[00007ffec4c0a850] avcodec decoder debug: available software decoder output format 0 (yuv420p)
[h264 @ 0x7ffec4c1d240] Format yuv420p chosen by get_format().
[h264 @ 0x7ffec4c1d240] Reinit context to 640x480, pix_fmt: yuv420p
[00007ffeb8069b10] main spu text debug: looking for text renderer module matching "any": 3 candidates
[00007ffeb8069b10] freetype spu text debug: Building font databases.
[00007ffeb8069b10] freetype spu text debug: Took -7878 microseconds
[00007ffeb8069b10] main spu text debug: using text renderer module "freetype"
[00007ffeb80c3cd0] main scale debug: looking for video converter module matching "any": 15 candidates
[swscaler @ 0x7ffeb80d02e0] Forcing full internal H chroma due to input having non subsampled chroma
[00007ffeb80c3cd0] swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
[00007ffeb80c3cd0] main scale debug: using video converter module "swscale"
[00007ffeb8079860] main scale debug: looking for video converter module matching "any": 15 candidates
[00007ffeb8079860] yuvp scale debug: YUVP to YUVA converter
[00007ffeb8079860] main scale debug: using video converter module "yuvp"
[00007ffeb8066020] main video output debug: Deinterlacing available
[00007ffeb8066020] main video output debug: deinterlace -1, mode auto, is_needed 0
[00007ffeb807a680] main window debug: looking for vout window module matching "any": 6 candidates
[00007ffeb807a680] main window debug: no vout window modules matched
[00007ffeb8066020] main video output debug: Opening vout display wrapper
[00007ffeb00013f0] main vout display debug: looking for vout display module matching "any": 16 candidates
[00007ffeb00013f0] wl_dmabuf vout display debug: Cannot create window - probably not using Wayland
[00007ffeb00013f0] wl_dmabuf vout display debug: <<< Close
[00007ffeb00013f0] wl_dmabuf vout display debug: >>> Close
[00007ffeb00013f0] wl_dmabuf vout display debug: >>> Open: ERROR
[00007ffeb00013f0] mmal_xsplitter vout display debug: >>> OpenMmalX11: I420,640x482 [(0,0) 640/480] sar:0/0
[00007ffeb0001b50] main generic debug: looking for vout display module matching "opengles2": 16 candidates
[00007ffeb0001b50] gles2 generic error: parent window not available
[00007ffeb0001b50] main generic debug: no vout display modules matched
[00007ffeb00013f0] mmal_xsplitter vout display debug: Failed to open Xsplitter:opengles2 module
[00007ffeb0001b50] main generic debug: looking for vout display module matching "xcb_x11": 16 candidates
[00007ffeb0001b50] xcb generic error: window not available
[00007ffeb0001b50] main generic debug: no vout display modules matched
[00007ffeb00013f0] mmal_xsplitter vout display debug: Failed to open Xsplitter:xcb_x11 module
[00007ffeb0001b50] main generic debug: looking for vout display module matching "mmal_vout": 16 candidates
[00007ffeb0001b50] main generic debug: no vout display modules matched
[00007ffeb00013f0] mmal_xsplitter vout display debug: Failed to open Xsplitter:mmal_vout module
[00007ffeb00013f0] mmal_xsplitter vout display: Try drm
[00007ffeb0001b50] main generic debug: looking for vout display module matching "drm_vout": 16 candidates
[00007ffeb0001b50] drm_vout generic: <<< OpenDrmVout: Fmt=I420
[00007ffeb0001b50] drm_vout generic warning: Failed to get XCB RandR version
[00007ffeb0001b50] drm_vout generic error: Failed to get xlease
[00007ffeb0001b50] drm_vout generic error: Failed to find output <auto>: No such file or directory
[00007ffeb0001b50] drm_vout generic debug: <<< CloseDrmVout
[00007ffeb0001b50] main generic debug: no vout display modules matched
[00007ffeb00013f0] mmal_xsplitter vout display debug: Failed to open Xsplitter:drm_vout module
[00007ffeb00013f0] mmal_xsplitter vout display: Drm no go
[00007ffeb00013f0] mmal_xsplitter vout display warning: No valid output found for vout (I420/I420)
[00007ffeb00013f0] mmal_xsplitter vout display debug: <<< CloseMmalX11
[00007ffeb00013f0] mmal_xsplitter vout display debug: >>> CloseMmalX11
[00007ffeb00013f0] gles2 vout display error: parent window not available
[00007ffeb00013f0] gl vout display error: parent window not available
[00007ffeb00013f0] xcb vout display error: window not available
[00007ffeb00013f0] xcb vout display error: window not available
[00007ffeb00013f0] fb vout display warning: disabling TTY handling, use with caution because there is no way to return to the TTY
[00007ffeb00013f0] fb vout display error: cannot get terminal mode (Inappropriate ioctl for device)
[00007ffeb00013f0] drm_vout vout display: <<< OpenDrmVout: Fmt=I420
[00007ffeb00013f0] drm_vout vout display warning: Failed to get XCB RandR version
[00007ffeb00013f0] drm_vout vout display error: Failed to get xlease
[00007ffeb00013f0] drm_vout vout display error: Failed to find output <auto>: No such file or directory
[00007ffeb00013f0] drm_vout vout display debug: <<< CloseDrmVout
[00007ffeb8069b10] main spu text debug: removing module "freetype"
[00007ffeb8079860] main scale debug: removing module "yuvp"
[00007ffeb80c3cd0] main scale debug: removing module "swscale"
f^C[00005555e2511560] main libvlc debug: exiting
[00005555e2511560] main libvlc debug: removing all interfaces
[00005555e2807220] main interface debug: removing module "dummy"
[00005555e27d1730] main interface debug: removing module "hotkeys"
[00005555e27e0630] main interface debug: removing module "dbus"
[00005555e27b5b50] main playlist debug: destroying
[00005555e27b5b50] main playlist debug: deactivating the playlist
[00005555e27cf280] main audio output debug: removing module "alsa"
[00005555e27e16e0] main playlist export debug: saving media library to file /root/.local/share/vlc/ml.xspf.tmp1503
[00005555e27e16e0] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[00005555e27e16e0] main playlist export debug: using playlist export module "export"
[00005555e27e16e0] main playlist export debug: removing module "export"
[00005555e27b5b50] main playlist debug: deleting item `Media Library'
[00005555e27b5b50] main playlist debug: deleting item `simpsons.mp4'
[00005555e27b5b50] main playlist debug: deleting item `Playlist'
[00005555e2798ad0] main keystore debug: removing module "memory"

It doesn't matter which parameter I tried, I never get the video shown on the display... Please help!!!

jc-kynesim commented 10 months ago

Are you trying this from outside any sort of windowing environment just from the command line so you would hope that DRM output worked? If so try vlc -V drm-vout --drm-vout-display SPI-1 ... That may/may not work - The Pi VLC DRM output expects a moderately capable output and from the debug above I'm not sure it has everything it is expecting. Either way give it a go and see if we've got further.

mcpat-it commented 10 months ago

@jc-kynesim Yes I booted the rpi to cli with autologin (not to desktop). Then I started with SSH session with vlc 3.0.20 (installed with apt)

root@rpi5:/opt/videos# cvlc --no-audio -V drm_vout --drm-vout-display SPI-1 simpsons.mp4
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[000055557f57a2d0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[000055557f2dc790] main interface error: no suitable interface module
[000055557f2b9560] main libvlc error: interface "globalhotkeys,none" initialization failed
[000055557f2dc790] dummy interface: using the dummy interface module...
[h264_v4l2m2m @ 0x7ffebcc12ff0] Could not find a valid device
[h264_v4l2m2m @ 0x7ffebcc12ff0] can't configure decoder
[00007ffebcc080a0] avcodec decoder error: cannot start codec (h264_v4l2m2m)
[00007ffeb40013f0] drm_vout vout display: <<< OpenDrmVout: Fmt=I420
[00007ffeb40013f0] drm_vout vout display error: Failed to get xlease
[00007ffeb40013f0] drm_vout vout display error: Failed to find output SPI-1: No such file or directory
[00007ffeb0066020] main video output error: video output creation failed
[00007ffebcc080a0] main decoder error: failed to create video output
[h264 @ 0x7ffebcc19160] get_buffer() failed
[h264 @ 0x7ffebcc19160] thread_get_buffer() failed
[h264 @ 0x7ffebcc19160] decode_slice_header error
[h264 @ 0x7ffebcc19160] no frame!

and as discussed in parallel here with compiled version 4.0.0 with this error:

root@rpi5:/opt/videos# cvlc --kms-device=/dev/dri/card2 --no-audio simpsons.mp4 
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-27260-g3b8438caad)
[00005555f987dc60] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00005555f98aff20] main interface error: no suitable interface module
[00005555f98acf70] dummy interface: using the dummy interface module...
[00007ffec8099c10] kms window: Updating list of connectors:
[00007ffec8099c10] kms window: Looping over 1 resources
[00007ffec8099c10] kms window: connector 0: SPI-1
[00007ffef0ed53b8] xcb generic error: window not available
[00007ffef0ed5368] xcb generic error: window not available
[00007ffec80f0f60] drm_display vout display error: DRM plane format error: Operation not supported
[00007ffec8046580] main video output error: video output display creation failed
[h264 @ 0x7ffedc218910] get_buffer() failed
[h264 @ 0x7ffedc218910] thread_get_buffer() failed
[h264 @ 0x7ffedc218910] decode_slice_header error
[h264 @ 0x7ffedc218910] no frame!
[00007ffec8099c10] kms window: Looping over 1 resources
[00007ffec8099c10] kms window: connector 0: SPI-1
[00007ffed60953b8] xcb generic error: window not available
[00007ffed6095368] xcb generic error: window not available
[00007ffec4048950] drm_display vout display error: DRM plane format error: Operation not supported
[00007ffec8046580] main video output error: video output display creation failed
[h264 @ 0x7ffedc3115e0] get_buffer() failed
[h264 @ 0x7ffedc3115e0] thread_get_buffer() failed
[h264 @ 0x7ffedc3115e0] decode_slice_header error
[h264 @ 0x7ffedc3115e0] no frame!
jc-kynesim commented 10 months ago

Thanks for that - I'm surprised that v3 failed to open SPI-1, I'll see if I can work out why - I'd have expected that much to work.

mcpat-it commented 10 months ago

@jc-kynesim with v4 see here they say it's a driver bug?! I wonder, because mpv is working. So maybe a patch at mipi-dbi-spi necessary?

jc-kynesim commented 10 months ago

Maybe, but I suspect it is simply that the limited formats that your display supports don't match what VLC wants. Note this is just a guess - I haven't looked into it and they might be right. I've now picked up an SPI display so I can debug the v3 code which is indeed broken when trying to select a device on anything not attached to the Pis HVS.

mcpat-it commented 10 months ago

@jc-kynesim "Fun" fact. Everything above is when I try in a ssh session, I attached a keyboard and started clvc and the video is shown on the display: IMG_7425 I used all for me known parameters, but cvlc doesn't respect the aspect ratio..

When I start mpv without any paramter with the attached keyboard, the aspect ratio is ok (mpv also works via ssh session!): IMG_7423

jc-kynesim commented 10 months ago

Was the "working" cvlc v4 or v3 (or both)? I'm not as surprised as I might be as I've now got a SPI display and they are a LOT stupider than the HVS-driven HDMI outputs. In particular they have different behaviour to HVS if you try to set stuff without a plane attached to the output. Having a command line is probably sufficient to init the display state such that VLC can get at it. Likewise the scaling - the only option is to put the entire plane on the display with no borders (HVS is happy to put black everywhere you have no video) so if you want borders they need to be constructed manually.

mcpat-it commented 10 months ago

@jc-kynesim It was VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b) from apt source. Didn't test v4 for now because v3 was working.

What I don't unterstand, why the simple mpv has no problems... It works from cli and ssh and has no problems with aspect ratio.

jc-kynesim commented 10 months ago

The key word there is "simple". My code (at least) was written to take advantage of what the HVS could do for me (i.e. enable 4k video output) and so uses features that (a) make life simpler / faster / without frame copy or conversion and (b) don't exist on your device. I'll fix that.

mcpat-it commented 9 months ago

The key word there is "simple". My code (at least) was written to take advantage of what the HVS could do for me (i.e. enable 4k video output) and so uses features that (a) make life simpler / faster / without frame copy or conversion and (b) don't exist on your device. I'll fix that.

Don't want to push you, but did you find something in the source for fixing?

jc-kynesim commented 9 months ago

Yeah - next release (shortly) should be better. I don't guarantee it'll work for you but I've got a couple of dumb displays that work for me now

mcpat-it commented 9 months ago

@jc-kynesim could it be you did it? I just updated vlc and it's running now :heart: Means, I started from ssh session, video is playing on small display and correct ratio!! :heart: