Rafostar / clapper

Level up your video experience with a modern and user-friendly media player.
https://rafostar.github.io/clapper/
GNU General Public License v3.0
794 stars 37 forks source link

Gstreamer Critical Error #361

Closed Kimiblock closed 1 year ago

Kimiblock commented 1 year ago

Clapper freezes when opening a video (VP9 + Opus)

image

I'm using Arch Linux, installed gst-plugin-va and gstreamer-vaapi. gst-play-1.0 works just fine.

↪ clapper '/home/kimiblockthemoe/Videos/avideo.wbm'
(com.github.rafostar.Clapper:324636): Gtk-WARNING **: 20:35:31.582: Unknown key gtk-modules in /home/kimiblockthemoe/.config/gtk-4.0/settings.ini
(com.github.rafostar.Clapper:324636): Clapper-WARNING **: 20:35:31.786: cannot change rank of unavailable plugin: vaav1dec
(com.github.rafostar.Clapper:324636): Clapper-WARNING **: 20:35:31.786: cannot change rank of unavailable plugin: vah264dec
(com.github.rafostar.Clapper:324636): Clapper-WARNING **: 20:35:31.786: cannot change rank of unavailable plugin: vah265dec
(com.github.rafostar.Clapper:324636): Clapper-WARNING **: 20:35:31.786: cannot change rank of unavailable plugin: vampeg2dec
(com.github.rafostar.Clapper:324636): Clapper-WARNING **: 20:35:31.786: cannot change rank of unavailable plugin: vavp9dec
(com.github.rafostar.Clapper:324636): Clapper-CRITICAL **: 20:35:32.077: Error from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMatroskaDemux:matroskademux0: GStreamer encountered a general stream error.
Internal data stream error.
../gstreamer/subprojects/gst-plugins-good/gst/matroska/matroska-demux.c(6095): gst_matroska_demux_loop (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMatroskaDemux:matroskademux0:
streaming stopped, reason not-negotiated (-4)
^C⏎

Tested clapper from chaotic-aur and clapper-git from the AUR.

vainfo:

↪ vainfo
Trying display: wayland
vainfo: VA-API version: 1.18 (libva 2.18.2)
vainfo: Driver version: Mesa Gallium driver 23.1.2 for AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.34-1-lts)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

gst-inspect-1.0:

↪ gst-inspect-1.0 va
Plugin Details:
  Name                     va
  Description              VA-API codecs plugin
  Filename                 /usr/lib/gstreamer-1.0/libgstva.so
  Version                  1.22.3
  License                  LGPL
  Source module            gst-plugins-bad
  Documentation            https://gstreamer.freedesktop.org/documentation/va/
  Source release date      2023-05-19
  Binary package           Arch Linux gst-plugins-bad 1.22.3-6
  Origin URL               https://www.archlinux.org/

  vacompositor: VA-API Video Compositor
  vadeinterlace: VA-API Deinterlacer
  vapostproc: VA-API Video Postprocessor
  varenderD129compositor: VA-API Video Compositor in renderD129
  varenderD129deinterlace: VA-API Deinterlacer in renderD129
  varenderD129h264dec: VA-API H.264 Decoder in renderD129
  varenderD129h264enc: VA-API H.264 Encoder in renderD129
  varenderD129h265dec: VA-API H.265 Decoder in renderD129
  varenderD129h265enc: VA-API H.265 Encoder in renderD129
  varenderD129jpegdec: VA-API JPEG Decoder in renderD129
  varenderD129mpeg2dec: VA-API Mpeg2 Decoder in renderD129
  varenderD129postproc: VA-API Video Postprocessor in renderD129
  varenderD129vp9dec: VA-API VP9 Decoder in renderD129

  13 features:
  +-- 13 elements
  ↪ gst-inspect-1.0 vaapi
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.22.3
  License                  LGPL
  Source module            gstreamer-vaapi
  Documentation            https://gstreamer.freedesktop.org/documentation/vaapi/
  Source release date      2023-05-19
  Binary package           gstreamer-vaapi
  Origin URL               https://www.archlinux.org/

  vaapidecodebin: VA-API Decode Bin
  vaapih264dec: VA-API H264 decoder
  vaapih264enc: VA-API H264 encoder
  vaapih265dec: VA-API H265 decoder
  vaapih265enc: VA-API H265 encoder
  vaapijpegdec: VA-API JPEG decoder
  vaapimpeg2dec: VA-API MPEG2 decoder
  vaapipostproc: VA-API video postprocessing
  vaapisink: VA-API sink
  vaapivc1dec: VA-API VC1 decoder
  vaapivp9dec: VA-API VP9 decoder

  11 features:
  +-- 11 elements
Rafostar commented 1 year ago

Try removing gstreamer-vaapi and launch with:

GST_DEBUG=3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper "/path/to/video.mkv"

Check if problem persists. Also please share a little more info about your system. As far as I see, presence of renderD129 would indicate that you have more then 1 GPU (either discrete or integrated). Is this correct?

Kimiblock commented 1 year ago

Yes, I have an AMD iGPU  (RenderD129) and a NVIDIA one (RenderD128) which is driven by the nouveau kernel driver.

After I installed the proprietary driver, this issue no longer exists.

I will test clapper with nouveau driver in a few days, when I’m free.

Kimiblock commented 1 year ago
GST_DEBUG=3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper

I ran clapper with gstreamer-vaapi installed: GST_DEBUG=3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper Downloads/2023-06-15\ 23-31-41.mkv

↪ GST_DEBUG=3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper Downloads/2023-06-15\ 23-31-41.mkv 

(com.github.rafostar.Clapper:4452): Gtk-WARNING **: 19:24:09.534: Unknown key gtk-modules in /home/kimiblockthemoe/.config/gtk-4.0/settings.ini
0:00:00.125531768  4452 0x56211483f0f0 FIXME              glcontext gstglcontext.c:2038:gst_gl_wrapped_context_get_config:<glwrappedcontext0> wrapped context could not retrieve config. The application may be missing a call to gst_gl_context_fill_info() or the specific platform implemention is not implemented for retrieving the config from a wrapped OpenGL context.

(com.github.rafostar.Clapper:4452): Clapper-WARNING **: 19:24:09.701: cannot change rank of unavailable plugin: vaav1dec

(com.github.rafostar.Clapper:4452): Clapper-WARNING **: 19:24:09.701: cannot change rank of unavailable plugin: vah264dec

(com.github.rafostar.Clapper:4452): Clapper-WARNING **: 19:24:09.701: cannot change rank of unavailable plugin: vah265dec

(com.github.rafostar.Clapper:4452): Clapper-WARNING **: 19:24:09.701: cannot change rank of unavailable plugin: vampeg2dec

(com.github.rafostar.Clapper:4452): Clapper-WARNING **: 19:24:09.701: cannot change rank of unavailable plugin: vavp9dec
0:00:00.223265107  4452 0x5621148d3830 WARN                 basesrc gstbasesrc.c:3693:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.223560926  4452 0x5621148d3830 WARN                 basesrc gstbasesrc.c:3693:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.241323730  4452 0x7f9f1c0010c0 FIXME          matroskademux matroska-demux.c:683:gst_matroska_demux_parse_colour:<matroskademux0> Unsupported subelement 0x55b7 in Colour
0:00:00.241353269  4452 0x7f9f1c0010c0 FIXME          matroskademux matroska-demux.c:683:gst_matroska_demux_parse_colour:<matroskademux0> Unsupported subelement 0x55b8 in Colour
0:00:00.298083609  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298113638  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298118945  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298124183  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298129420  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298134169  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298140315  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298144156  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298148974  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298154282  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298171321  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298175581  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298179422  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298185288  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298190526  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298197998  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298202328  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298207076  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298210428  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298215806  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298219647  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298224814  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298229493  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298233264  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298238083  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298243879  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298248209  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298252958  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298258125  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298262804  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298270835  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298275095  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298281869  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298287037  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298292205  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.298296395  4452 0x7f9f1c0010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.321403906  4452 0x7f9f1c001180 WARN                 flacdec gstflacdec.c:798:gst_flac_dec_handle_frame:<flacdec0> Lost sync, flushing decoder
0:00:00.351539203  4452 0x7f9f1c001730 WARN         audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps
0:01:10.520903806  4452 0x7f9e3000bf40 WARN                   pulse pulsesink.c:704:gst_pulsering_stream_underflow_cb:<pulsesink0> Got underflow
kimiblockthemoe at moeos in ~
↪ GST_DEBUG=3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper Downloads/2023-06-15\ 23-31-41.mkv | curl -F "c=@-" "https://fars.ee/"

(com.github.rafostar.Clapper:5009): Gtk-WARNING **: 19:27:16.428: Unknown key gtk-modules in /home/kimiblockthemoe/.config/gtk-4.0/settings.ini
0:00:00.129924929  5009 0x56325e0f0fb0 FIXME              glcontext gstglcontext.c:2038:gst_gl_wrapped_context_get_config:<glwrappedcontext0> wrapped context could not retrieve config. The application may be missing a call to gst_gl_context_fill_info() or the specific platform implemention is not implemented for retrieving the config from a wrapped OpenGL context.

(com.github.rafostar.Clapper:5009): Clapper-WARNING **: 19:27:16.597: cannot change rank of unavailable plugin: vaav1dec

(com.github.rafostar.Clapper:5009): Clapper-WARNING **: 19:27:16.598: cannot change rank of unavailable plugin: vah264dec

(com.github.rafostar.Clapper:5009): Clapper-WARNING **: 19:27:16.598: cannot change rank of unavailable plugin: vah265dec

(com.github.rafostar.Clapper:5009): Clapper-WARNING **: 19:27:16.598: cannot change rank of unavailable plugin: vampeg2dec

(com.github.rafostar.Clapper:5009): Clapper-WARNING **: 19:27:16.598: cannot change rank of unavailable plugin: vavp9dec
0:00:00.236662438  5009 0x56325e321e60 WARN                 basesrc gstbasesrc.c:3693:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.236945602  5009 0x56325e321e60 WARN                 basesrc gstbasesrc.c:3693:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.253793524  5009 0x7fd7a80010c0 FIXME          matroskademux matroska-demux.c:683:gst_matroska_demux_parse_colour:<matroskademux0> Unsupported subelement 0x55b7 in Colour
0:00:00.253811352  5009 0x7fd7a80010c0 FIXME          matroskademux matroska-demux.c:683:gst_matroska_demux_parse_colour:<matroskademux0> Unsupported subelement 0x55b8 in Colour
0:00:00.297564170  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297583816  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297588990  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297595632  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297599967  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297605211  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297609546  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297613950  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297620523  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297623809  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297628074  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297632409  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297637163  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297641078  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297645413  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297650167  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297654852  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297659536  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297663382  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297667577  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297671842  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297677645  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297681980  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297686664  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297691768  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297696522  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297700717  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297705052  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297709387  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297715120  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297719944  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297723720  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297727985  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297733648  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297738542  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.297743366  5009 0x7fd7a80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.322757012  5009 0x7fd7a8001180 WARN                 flacdec gstflacdec.c:798:gst_flac_dec_handle_frame:<flacdec0> Lost sync, flushing decoder
0:00:00.345222540  5009 0x7fd7a8001730 WARN         audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps

Without gstreamer-vaapi:

↪ GST_DEBUG=3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper Downloads/2023-06-15\ 23-31-41.mkv 1&2>Downloads/1.log

(com.github.rafostar.Clapper:5883): Gtk-WARNING **: 19:30:40.850: Unknown key gtk-modules in /home/kimiblockthemoe/.config/gtk-4.0/settings.ini
0:00:00.139257353  5883 0x5563fc6ce270 FIXME              glcontext gstglcontext.c:2038:gst_gl_wrapped_context_get_config:<glwrappedcontext0> wrapped context could not retrieve config. The application may be missing a call to gst_gl_context_fill_info() or the specific platform implemention is not implemented for retrieving the config from a wrapped OpenGL context.

(com.github.rafostar.Clapper:5883): Clapper-WARNING **: 19:30:41.013: cannot change rank of unavailable plugin: vaav1dec

(com.github.rafostar.Clapper:5883): Clapper-WARNING **: 19:30:41.013: cannot change rank of unavailable plugin: vah264dec

(com.github.rafostar.Clapper:5883): Clapper-WARNING **: 19:30:41.013: cannot change rank of unavailable plugin: vah265dec

(com.github.rafostar.Clapper:5883): Clapper-WARNING **: 19:30:41.013: cannot change rank of unavailable plugin: vampeg2dec

(com.github.rafostar.Clapper:5883): Clapper-WARNING **: 19:30:41.013: cannot change rank of unavailable plugin: vavp9dec

(com.github.rafostar.Clapper:5883): Clapper-CRITICAL **: 19:30:41.054: Error when getting information for file “/home/kimiblockthemoe/1&2”: No such file or directory

(com.github.rafostar.Clapper:5883): Clapper-CRITICAL **: 19:30:41.054: no file type info
0:00:00.238871803  5883 0x5563fc9004d0 WARN                 basesrc gstbasesrc.c:3693:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.239081002  5883 0x5563fc9004d0 WARN                 basesrc gstbasesrc.c:3693:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.252546275  5883 0x7fa1c80010c0 FIXME          matroskademux matroska-demux.c:683:gst_matroska_demux_parse_colour:<matroskademux0> Unsupported subelement 0x55b7 in Colour
0:00:00.252562201  5883 0x7fa1c80010c0 FIXME          matroskademux matroska-demux.c:683:gst_matroska_demux_parse_colour:<matroskademux0> Unsupported subelement 0x55b8 in Colour
0:00:00.292969336  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.292987846  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.292992247  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293005029  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293010687  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293016415  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293020815  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293027940  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293032690  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293037928  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293043586  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293048895  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293053714  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293062725  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293068942  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293073621  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293079349  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293085217  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293091433  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293096532  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293101841  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293107010  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293111340  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293117627  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293122865  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293128523  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293133203  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293138023  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293143331  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293149129  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293154368  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293159048  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293163728  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293168547  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293174275  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.293178675  5883 0x7fa1c80010c0 WARN      matroskareadcommon matroska-read-common.c:760:gst_matroska_read_common_parse_skip:<matroskademux0:sink> Unknown CueTrackPositions subelement 0xf0 - ignoring
0:00:00.315740473  5883 0x7fa1c8001180 WARN                 flacdec gstflacdec.c:798:gst_flac_dec_handle_frame:<flacdec0> Lost sync, flushing decoder
0:00:00.346359990  5883 0x7fa1c8001730 WARN         audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps
Rafostar commented 1 year ago

Clapper freezes when opening a video (VP9 + Opus)

Are you sure this is VP9+Opus video? According to error log, its FLAC or at least that's whats GStreamer tries to use for audio decoding.

1&2>Downloads/1.log

Error when getting information for file “/home/kimiblockthemoe/1&2”: No such file or directory

This is incorrect. For piping stderr, should be 2>&1 > Downloads/1.log, but even better you can use GST_DEBUG_NO_COLOR=1 GST_DEBUG_FILE=Downloads/1.log envs.

To confirm/check VA log, please try:

GST_DEBUG=va*:7,3 GST_PLUGIN_FEATURE_RANK=varenderD129vp9dec:300 clapper "/path/to/video.mkv"
Kimiblock commented 1 year ago

Weird... After I remove NVIDIA drivers to use the nouveau driver, RenderD129 becomes the NVIDIA GPU, rather than AMD iGPU like before.

I suspect the removal of kms hook in mkinitcpio.conf caused this and Clapper is working fine this time.

VA log:

(com.github.rafostar.Clapper:4848): Clapper-WARNING **: 17:26:10.843: cannot change rank of unavailable plugin: vaav1dec
(com.github.rafostar.Clapper:4848): Clapper-WARNING **: 17:26:10.843: cannot change rank of unavailable plugin: vah264dec
(com.github.rafostar.Clapper:4848): Clapper-WARNING **: 17:26:10.843: cannot change rank of unavailable plugin: vah265dec
(com.github.rafostar.Clapper:4848): Clapper-WARNING **: 17:26:10.843: cannot change rank of unavailable plugin: vampeg2dec
(com.github.rafostar.Clapper:4848): Clapper-WARNING **: 17:26:10.844: cannot change rank of unavailable plugin: vavp9dec
Kimiblock commented 1 year ago

Closing this issue because its not reproducible after NVIDIA proprietary driver installed.

Maybe clapper should let users select which card should decode the video.