fzwoch / obs-vaapi

OBS Studio VAAPI support via GStreamer
GNU General Public License v2.0
118 stars 3 forks source link

OBS recordings do not save [obs-vaapi] Internal data stream error. #5

Closed zany130 closed 1 year ago

zany130 commented 1 year ago

https://obsproject.com/logs/k0D6_g1O9CYA7YeI

inxi -b
System:
  Host: Garuda-Linux Kernel: 6.0.14-272-tkg-bmq arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.26.4 Distro: Garuda Linux
Machine:
  Type: Desktop Mobo: ASRock model: X470 Taichi serial: <superuser required>
    UEFI: American Megatrends v: P4.90 date: 05/18/2022
CPU:
  Info: 6-core AMD Ryzen 5 5600X [MT MCP] speed (MHz): avg: 3222
    min/max: 2200/4650
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M]
    driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu resolution:
    1: 2048x864 2: 1396x785
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: AMD Radeon RX 6700 XT (navi22
    LLVM 14.0.6 DRM 3.48 6.0.14-272-tkg-bmq)
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
  Device-2: Intel I211 Gigabit Network driver: igb
Drives:
  Local Storage: total: 2.96 TiB used: 3.91 TiB (132.4%)
Info:
  Processes: 480 Uptime: 58m Memory: 31.27 GiB used: 16.52 GiB (52.8%)
  Shell: fish inxi: 3.3.24
fzwoch commented 1 year ago

So did you pass the checks as found in the README?

fzwoch commented 1 year ago

Can you try to start from command line with

GST_DEBUG=4 obs

and paste the output?

zany130 commented 1 year ago
 GST_DEBUG=4 obs
debug: Found portal inhibitor
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Yami.qss
Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Platform: Wayland
info: CPU Name: AMD Ryzen 5 5600X 6-Core Processor
info: CPU Speed: 4579.732MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 32021MB Total, 1926MB Free
info: Kernel Version: Linux 6.0.14-272-tkg-bmq
info: Distribution: "Garuda Linux" Unknown
info: Session Type: wayland
info: Qt Version: 6.4.1 (runtime), 6.4.0 (compiled)
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 28.1.2-tytan652-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 48000
    speakers:        2
    max buffering:   960 milliseconds
    buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter AMD AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 22.3.1, shading language 4.60
info: ---------------------------------
info: video settings reset:
    base resolution:   3840x2160
    output resolution: 2560x1440
    downscale filter:  Bicubic
    fps:               60/1
    format:            NV12
    YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
    name: Default
    id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
warning: v4l2loopback not installed, virtual camera disabled
info: [linux-vkcapture] plugin loaded successfully (version 1.2.2)
info: [obs-browser]: Version 2.18.7
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
info: FFMPEG VAAPI supported
info: [obs-vaapi] version: 0.1.0, gst-runtime: 1.20.5
0:00:00.000046847 55880 0x7f3c6c004f60 INFO                GST_INIT gst.c:591:init_pre: Initializing GStreamer Core Library version 1.20.5
0:00:00.000086744 55880 0x7f3c6c004f60 INFO                GST_INIT gst.c:592:init_pre: Using library installed in /usr/lib
0:00:00.000118292 55880 0x7f3c6c004f60 INFO                GST_INIT gst.c:610:init_pre: Linux Garuda-Linux 6.0.14-272-tkg-bmq #1 TKG SMP PREEMPT_DYNAMIC Mon, 19 Dec 2022 15:50:05 +0000 x86_64
0:00:00.000242363 55880 0x7f3c6c004f60 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000505555 55880 0x7f3c6c004f60 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000630516 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000690422 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000704761 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000742938 55880 0x7f3c6c004f60 INFO            GST_REGISTRY gstregistry.c:1826:ensure_current_registry: reading registry cache: /home/zany130/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.007006616 55880 0x7f3c6c004f60 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /home/zany130/.cache/gstreamer-1.0/registry.x86_64.bin in 0.006235 seconds
0:00:00.007066902 55880 0x7f3c6c004f60 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /home/zany130/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.009253481 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:1609:gst_plugin_ext_dep_extract_env_vars_paths:<plugin263> ignoring environment variable content '': either not an absolute path or not a path at all
0:00:00.009292928 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:1609:gst_plugin_ext_dep_extract_env_vars_paths:<plugin263> ignoring environment variable content '1': either not an absolute path or not a path at all
0:00:00.009325076 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:1609:gst_plugin_ext_dep_extract_env_vars_paths:<plugin263> ignoring environment variable content 'wayland-0': either not an absolute path or not a path at all
0:00:00.009378532 55880 0x7f3c6c004f60 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.009403210 55880 0x7f3c6c004f60 INFO            GST_REGISTRY gstregistry.c:1861:ensure_current_registry: registry reading and updating done
0:00:00.009453737 55880 0x7f3c6c004f60 INFO                GST_INIT gst.c:826:init_post: GLib runtime version: 2.74.3
0:00:00.009510453 55880 0x7f3c6c004f60 INFO                GST_INIT gst.c:828:init_post: GLib headers version: 2.74.3
0:00:00.009545571 55880 0x7f3c6c004f60 INFO                GST_INIT gst.c:830:init_post: initialized GStreamer successfully
info: [obs-vaapi] H.264 encoder - found
info: [obs-vaapi] H.265 encoder - found
info: [obs-websocket 4.9.1-compat] you can haz websockets (version 4.9.1-compat)
info: [obs-websocket 4.9.1-compat] qt version (compile-time): 6.3.1 ; qt version (run-time): 6.4.1
info: [obs-websocket 4.9.1-compat] [obs_module_load] Linked ASIO Version: 102000
info: [obs-websocket 4.9.1-compat] module loaded!
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.4.0 | Qt version (run-time): 6.4.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 102000
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.18 Vetinari found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     text-freetype2.so
info:     sndio.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-websocket.so
info:     obs-websocket-compat.so
info:     obs-vst.so
info:     obs-vaapi.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.so
info:     linux-vkcapture.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
0:00:00.070273427 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.16.0
0:00:00.070317814 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /usr/lib/dri/radeonsi_drv_video.so
0:00:00.071355342 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function __vaDriverInit_1_16
0:00:00.075260562 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:00.075353266 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.16
0:00:00.077037150 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.16.0
0:00:00.077078357 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /usr/lib/dri/radeonsi_drv_video.so
0:00:00.077137563 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function __vaDriverInit_1_16
0:00:00.080034603 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:00.080064031 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.16
0:00:00.080091809 55880 0x7f3c6c004f60 INFO            vaapidisplay gstvaapidisplay.c:983:gst_vaapi_display_create:<vaapidisplaydrm0> new display addr=0x55f9c031d0b0
0:00:00.080119487 55880 0x7f3c6c004f60 INFO            vaapidisplay gstvaapidisplay.c:795:ensure_vendor_string:<vaapidisplaydrm0> vendor: Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
0:00:00.080144855 55880 0x7f3c6c004f60 INFO            vaapidisplay gstvaapidisplay.c:834:set_driver_quirks:<vaapidisplaydrm0> Matched driver string "Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)", setting quirks (0x1)
0:00:00.080237439 55880 0x7f3c6c004f60 WARN              vaapiblend gstvaapiblend.c:184:gst_vaapi_blend_initialize:<vaapiblend0> VPP does not support global alpha blending
0:00:00.080986237 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvaapi.so" loaded
0:00:00.081023494 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "vaapih265enc"
0:00:00.081160275 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9bf3dc5b0> adding pad 'sink'
0:00:00.081197662 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9bf3dc5b0> adding pad 'src'
0:00:00.081234730 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):sink
0:00:00.081270087 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):src
0:00:00.081321074 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3382:gst_element_dispose:<vaapiencodeh265-0> 0x55f9bf3dc5b0 dispose
0:00:00.081355362 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:875:gst_element_remove_pad:<vaapiencodeh265-0> removing pad 'sink'
0:00:00.081395299 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:875:gst_element_remove_pad:<vaapiencodeh265-0> removing pad 'src'
0:00:00.081428596 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3428:gst_element_dispose:<vaapiencodeh265-0> 0x55f9bf3dc5b0 parent class dispose
0:00:00.081461834 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3460:gst_element_finalize:<vaapiencodeh265-0> 0x55f9bf3dc5b0 finalize
0:00:00.081497782 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3465:gst_element_finalize:<vaapiencodeh265-0> 0x55f9bf3dc5b0 finalize parent
0:00:00.081540709 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "vaapih264enc"
0:00:00.081638152 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9bf3dc5b0> adding pad 'sink'
0:00:00.081673770 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9bf3dc5b0> adding pad 'src'
0:00:00.081703807 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):sink
0:00:00.081741755 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):src
0:00:00.081799371 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3382:gst_element_dispose:<vaapiencodeh264-0> 0x55f9bf3dc5b0 dispose
0:00:00.081836918 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:875:gst_element_remove_pad:<vaapiencodeh264-0> removing pad 'sink'
0:00:00.081869966 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:875:gst_element_remove_pad:<vaapiencodeh264-0> removing pad 'src'
0:00:00.081903774 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3428:gst_element_dispose:<vaapiencodeh264-0> 0x55f9bf3dc5b0 parent class dispose
0:00:00.081936751 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3460:gst_element_finalize:<vaapiencodeh264-0> 0x55f9bf3dc5b0 finalize
0:00:00.081971539 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3465:gst_element_finalize:<vaapiencodeh264-0> 0x55f9bf3dc5b0 finalize parent
QLayout: Attempting to add QLayout "" to OBSBasic "OBSBasic", which already has a layout
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.63) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-Sony_INZONE_H9___INZONE_H7-00.pro-output-1.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
error: ext_screencopy_manager_v1 not available
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Game Capture' (vkcapture-source)
info: ------------------------------------------------
info: [obs-websocket] [WebSocketServer::onObsLoaded] WebSocket server is enabled, starting...
info: [obs-websocket] [WebSocketServer::Start] Not locked to IPv4 bindings
info: [obs-websocket] [WebSocketServer::ServerRunner] IO thread started.
info: [obs-websocket] [WebSocketServer::Start] Server started successfully on port 4445. Possible connect address: 192.168.2.205
info: [obs-websocket 4.9.1-compat] WSServer::start: Locked to IPv4 bindings
info: [obs-websocket 4.9.1-compat] server started successfully on port 4444
info: [obs-websocket 4.9.1-compat] IO thread started.
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info: [linux-vkcapture] Creating texture from dmabuf 2791x726 modifier:144115188488387331
info: [linux-vkcapture]  [0] fd:53 stride:11264 offset:0
info: [linux-vkcapture]  [1] fd:54 stride:3072 offset:8650752
0:00:33.412538992 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline"
0:00:33.413263102 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstapp.so" loaded
0:00:33.413309149 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "appsrc"
0:00:33.413427280 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseSrc@0x55f9c06b3260> adding pad 'src'
0:00:33.413472677 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "appsink"
0:00:33.413544332 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseSink@0x55f9c06b48f0> adding pad 'sink'
0:00:33.416201399 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay_drm.c:154:gst_va_display_drm_create_va_display:<vadisplaydrm0> DRM render node with kernel driver amdgpu
0:00:33.416255416 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm0> VA info: VA-API version 1.16.0
0:00:33.416291933 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm0> VA info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
0:00:33.416335230 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm0> VA info: Found init function __vaDriverInit_1_16
0:00:33.433696895 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm0> VA info: va_openDriver() returns 0
0:00:33.433726283 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:351:gst_va_display_initialize:<vadisplaydrm0> VA-API version 1.16
0:00:33.433753891 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:99:_gst_va_display_filter_driver: VA-API driver vendor: Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
0:00:33.433780689 55880 0x7f3c6c004f60 INFO                      va gstvadevice.c:92:gst_va_device_find_devices: Found VA-API device: /dev/dri/renderD128
0:00:33.434536517 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstva.so" loaded
0:00:33.434575094 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "vapostproc"
0:00:33.434643810 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay_drm.c:154:gst_va_display_drm_create_va_display:<vadisplaydrm1> DRM render node with kernel driver amdgpu
0:00:33.434692736 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm1> VA info: VA-API version 1.16.0
0:00:33.434723124 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm1> VA info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
0:00:33.434775221 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm1> VA info: Found init function __vaDriverInit_1_16
0:00:33.437500603 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm1> VA info: va_openDriver() returns 0
0:00:33.437526691 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:351:gst_va_display_initialize:<vadisplaydrm1> VA-API version 1.16
0:00:33.437556269 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:99:_gst_va_display_filter_driver: VA-API driver vendor: Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
0:00:33.438370483 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0x55f9c06b1d70> adding pad 'sink'
0:00:33.438407561 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0x55f9c06b1d70> adding pad 'src'
0:00:33.438441658 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "vaapih265enc"
0:00:33.438474756 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9c079dd60> adding pad 'sink'
0:00:33.438506084 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9c079dd60> adding pad 'src'
0:00:33.438540791 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):sink
0:00:33.438574739 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):src
0:00:33.439919206 55880 0x7f3c6c004f60 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideoparsersbad.so" loaded
0:00:33.439953794 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "h265parse"
0:00:33.440003860 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseParse@0x55f9c06c74c0> adding pad 'sink'
0:00:33.440039658 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseParse@0x55f9c06c74c0> adding pad 'src'
0:00:33.440077575 55880 0x7f3c6c004f60 INFO               baseparse gstbaseparse.c:4049:gst_base_parse_set_pts_interpolation:<GstH265Parse@0x55f9c06c74c0> PTS interpolation: no
0:00:33.440100064 55880 0x7f3c6c004f60 INFO               baseparse gstbaseparse.c:4067:gst_base_parse_set_infer_ts:<GstH265Parse@0x55f9c06c74c0> TS inferring: no
0:00:33.440144841 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element appsrc0:(any) to element vapostproc0:(any)
0:00:33.440179608 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link appsrc0:src and vapostproc0:sink
0:00:33.440213286 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<vapostproc0:src> pad has no peer
0:00:33.440264593 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: appsrc0 and vapostproc0 in same bin, no need for ghost pads
0:00:33.440297220 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link appsrc0:src and vapostproc0:sink
0:00:33.440328878 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<vapostproc0:src> pad has no peer
0:00:33.440373705 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked appsrc0:src and vapostproc0:sink, successful
0:00:33.440402843 55880 0x7f3c6c004f60 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:33.440433291 55880 0x7f3c6c004f60 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<appsrc0:src> Received event on flushing pad. Discarding
0:00:33.440466819 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element vapostproc0:(any) to element vaapiencodeh265-1:(any)
0:00:33.440499246 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link vapostproc0:src and vaapiencodeh265-1:sink
0:00:33.440542803 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<vaapiencodeh265-1:src> pad has no peer
0:00:33.440582501 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: vapostproc0 and vaapiencodeh265-1 in same bin, no need for ghost pads
0:00:33.440613498 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link vapostproc0:src and vaapiencodeh265-1:sink
0:00:33.440654326 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<vaapiencodeh265-1:src> pad has no peer
0:00:33.440692123 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked vapostproc0:src and vaapiencodeh265-1:sink, successful
0:00:33.440716731 55880 0x7f3c6c004f60 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:33.440743179 55880 0x7f3c6c004f60 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<vapostproc0:src> Received event on flushing pad. Discarding
0:00:33.440778707 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element vaapiencodeh265-1:(any) to element h265parse0:(any)
0:00:33.440809055 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link vaapiencodeh265-1:src and h265parse0:sink
0:00:33.440855272 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<h265parse0:src> pad has no peer
0:00:33.440894609 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: vaapiencodeh265-1 and h265parse0 in same bin, no need for ghost pads
0:00:33.440923707 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link vaapiencodeh265-1:src and h265parse0:sink
0:00:33.440950935 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<h265parse0:src> pad has no peer
0:00:33.440988773 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked vaapiencodeh265-1:src and h265parse0:sink, successful
0:00:33.441019910 55880 0x7f3c6c004f60 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:33.441057838 55880 0x7f3c6c004f60 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<vaapiencodeh265-1:src> Received event on flushing pad. Discarding
0:00:33.441089796 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element h265parse0:(any) to element appsink0:(any)
0:00:33.441123283 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link h265parse0:src and appsink0:sink
0:00:33.441163441 55880 0x7f3c6c004f60 INFO                GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: h265parse0 and appsink0 in same bin, no need for ghost pads
0:00:33.441194928 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link h265parse0:src and appsink0:sink
0:00:33.441225306 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked h265parse0:src and appsink0:sink, successful
0:00:33.441252124 55880 0x7f3c6c004f60 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:33.441290112 55880 0x7f3c6c004f60 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<h265parse0:src> Received event on flushing pad. Discarding
0:00:33.441357827 55880 0x7f3c6c004f60 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "vaapih265enc"
0:00:33.441398584 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9c07316e0> adding pad 'sink'
0:00:33.441431772 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstVideoEncoder@0x55f9c07316e0> adding pad 'src'
0:00:33.441462500 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):sink
0:00:33.441494128 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad (null):src
0:00:33.448843712 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3382:gst_element_dispose:<vaapiencodeh265-2> 0x55f9c07316e0 dispose
0:00:33.448878580 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:875:gst_element_remove_pad:<vaapiencodeh265-2> removing pad 'sink'
0:00:33.448909257 55880 0x7f3c6c004f60 INFO        GST_ELEMENT_PADS gstelement.c:875:gst_element_remove_pad:<vaapiencodeh265-2> removing pad 'src'
0:00:33.448942055 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3428:gst_element_dispose:<vaapiencodeh265-2> 0x55f9c07316e0 parent class dispose
0:00:33.448973633 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3460:gst_element_finalize:<vaapiencodeh265-2> 0x55f9c07316e0 finalize
0:00:33.449003541 55880 0x7f3c6c004f60 INFO         GST_REFCOUNTING gstelement.c:3465:gst_element_finalize:<vaapiencodeh265-2> 0x55f9c07316e0 finalize parent
0:00:33.449069636 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<appsink0> current NULL pending VOID_PENDING, desired next READY
0:00:33.449097195 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<appsink0> completed state change to READY
0:00:33.449144461 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<appsink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:33.449190568 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'appsink0' changed state to 2(READY) successfully
0:00:33.449227626 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<h265parse0> current NULL pending VOID_PENDING, desired next READY
0:00:33.449256774 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<h265parse0> completed state change to READY
0:00:33.449293321 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<h265parse0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:33.449321499 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'h265parse0' changed state to 2(READY) successfully
0:00:33.449343598 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<vaapiencodeh265-1> current NULL pending VOID_PENDING, desired next READY
0:00:33.449375805 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvaapivideocontext.c:165:context_pad_query:<vaapiencodeh265-1:src> context pad peer query failed
0:00:33.449406163 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvaapivideocontext.c:165:context_pad_query:<vaapiencodeh265-1:sink> context pad peer query failed
0:00:33.449428582 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvaapivideocontext.c:238:_gst_context_query:<vaapiencodeh265-1> posting `need-context' message
0:00:33.456069824 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.16.0
0:00:33.456128390 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /usr/lib/dri/radeonsi_drv_video.so
0:00:33.456185206 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function __vaDriverInit_1_16
0:00:33.459182910 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:33.459221667 55880 0x7f3c6c004f60 INFO                   vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.16
0:00:33.459262634 55880 0x7f3c6c004f60 INFO            vaapidisplay gstvaapidisplay.c:983:gst_vaapi_display_create:<vaapidisplaywayland0> new display addr=0x55f9c06fd100
0:00:33.459304262 55880 0x7f3c6c004f60 INFO            vaapidisplay gstvaapidisplay.c:795:ensure_vendor_string:<vaapidisplaywayland0> vendor: Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
0:00:33.459354888 55880 0x7f3c6c004f60 INFO            vaapidisplay gstvaapidisplay.c:834:set_driver_quirks:<vaapidisplaywayland0> Matched driver string "Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)", setting quirks (0x1)
0:00:33.459404685 55880 0x7f3c6c004f60 INFO             vaapiencode gstvaapipluginbase.c:92:plugin_set_display:<vaapiencodeh265-1> set display <vaapidisplaywayland0>
0:00:33.459445872 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvaapivideocontext.c:326:gst_vaapi_video_context_propagate:<vaapiencodeh265-1> posting `have-context' (0x55f9c069d0c0) message with display <vaapidisplaywayland0>
0:00:33.459488009 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<vaapiencodeh265-1> completed state change to READY
0:00:33.459520897 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<vaapiencodeh265-1> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:33.459562254 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'vaapiencodeh265-1' changed state to 2(READY) successfully
0:00:33.459595912 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<vapostproc0> current NULL pending VOID_PENDING, desired next READY
0:00:33.459631379 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvautils.c:74:pad_query:<vapostproc0:src> pad peer query failed
0:00:33.459675926 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvautils.c:74:pad_query:<vapostproc0:sink> pad peer query failed
0:00:33.459715193 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvautils.c:134:_gst_context_query:<vapostproc0> posting need context message
0:00:33.459784019 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay_drm.c:154:gst_va_display_drm_create_va_display:<vadisplaydrm2> DRM render node with kernel driver amdgpu
0:00:33.459839665 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm2> VA info: VA-API version 1.16.0
0:00:33.459872643 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm2> VA info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
0:00:33.459927149 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm2> VA info: Found init function __vaDriverInit_1_16
0:00:33.462900264 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:299:_va_info:<vadisplaydrm2> VA info: va_openDriver() returns 0
0:00:33.462938361 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:351:gst_va_display_initialize:<vadisplaydrm2> VA-API version 1.16
0:00:33.462971669 55880 0x7f3c6c004f60 INFO               vadisplay gstvadisplay.c:99:_gst_va_display_filter_driver: VA-API driver vendor: Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
0:00:33.462996967 55880 0x7f3c6c004f60 INFO             GST_CONTEXT gstvautils.c:170:gst_va_element_propagate_display_context:<vapostproc0> post have context (0x55f9c069d120) message with display (0x55f9be5b2350)
0:00:33.463043304 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<vapostproc0> completed state change to READY
0:00:33.463095330 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<vapostproc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:33.463141287 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'vapostproc0' changed state to 2(READY) successfully
0:00:33.463208922 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<appsrc0> current NULL pending VOID_PENDING, desired next READY
0:00:33.463248220 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<appsrc0> completed state change to READY
0:00:33.463293927 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<appsrc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:33.463336524 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'appsrc0' changed state to 2(READY) successfully
0:00:33.463352383 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2778:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:33.463378461 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PLAYING pending)
0:00:33.463436317 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2786:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PLAYING
0:00:33.463470334 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<appsink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:33.463533250 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2935:gst_bin_change_state_func:<pipeline0> child 'appsink0' is changing state asynchronously to PAUSED
0:00:33.463596916 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<h265parse0> current READY pending VOID_PENDING, desired next PAUSED
0:00:33.463778943 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<h265parse0> completed state change to PAUSED
0:00:33.463810031 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<h265parse0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:33.463847488 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'h265parse0' changed state to 3(PAUSED) successfully
0:00:33.463875637 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<vaapiencodeh265-1> current READY pending VOID_PENDING, desired next PAUSED
0:00:33.463939072 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<vaapiencodeh265-1> completed state change to PAUSED
0:00:33.463970320 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<vaapiencodeh265-1> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:33.464005618 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'vaapiencodeh265-1' changed state to 3(PAUSED) successfully
0:00:33.464036816 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<vapostproc0> current READY pending VOID_PENDING, desired next PAUSED
0:00:33.464070533 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<vapostproc0> completed state change to PAUSED
0:00:33.464095212 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<vapostproc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:33.464132159 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'vapostproc0' changed state to 3(PAUSED) successfully
0:00:33.464156907 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<appsrc0> current READY pending VOID_PENDING, desired next PAUSED
0:00:33.464190635 55880 0x7f3c6c004f60 INFO                 basesrc gstbasesrc.c:1430:gst_base_src_do_seek:<appsrc0> seeking: time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:33.464228912 55880 0x7f3c6c004f60 INFO                    task gsttask.c:516:gst_task_set_lock: setting stream lock 0x55f9c03227a0 on task 0x55f9c031d3b0
0:00:33.464258620 55880 0x7f3c6c004f60 INFO                GST_PADS gstpad.c:6291:gst_pad_start_task:<appsrc0:src> created task 0x55f9c031d3b0
0:00:33.464468206 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<appsrc0> completed state change to PAUSED
0:00:33.464501574 55880 0x7f3c6c004f60 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<appsrc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:33.464510213 55880 0x55f9c069d300 INFO        GST_ELEMENT_PADS gstelement.c:1013:gst_element_get_static_pad: no such pad 'sink' in element "appsrc0"
0:00:33.464569099 55880 0x7f3c6c004f60 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<pipeline0> child 'appsrc0' changed state to 3(PAUSED) successfully
0:00:33.464569279 55880 0x55f9c069d300 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<appsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:33.464603647 55880 0x7f3c6c004f60 INFO                pipeline gstpipeline.c:533:gst_pipeline_change_state:<pipeline0> pipeline is not live
0:00:33.464680721 55880 0x55f9c069d300 INFO               GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
info: libfdk_aac encoder created
info: libfdk_aac bitrate: 160, channels: 2
0:00:33.464798433 55880 0x55f9c069d300 INFO             vaapiencode gstvaapiencode.c:390:ensure_allowed_sinkpad_caps:<vaapiencodeh265-1> Allowed sink caps video/x-raw(memory:VASurface), format=(string){ NV12, P010_10LE }, width=(int)[ 0, 4096 ], height=(int)[ 0, 2304 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ NV12, P010_10LE }, width=(int)[ 0, 4096 ], height=(int)[ 0, 2304 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ NV12, P010_10LE }, width=(int)[ 0, 4096 ], height=(int)[ 0, 2304 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:33.464904246 55880 0x55f9c069d300 INFO           basetransform gstbasetransform.c:1326:gst_base_transform_setcaps:<vapostproc0> reuse caps
0:00:33.464944603 55880 0x55f9c069d300 INFO              vapostproc gstvavpp.c:192:gst_va_vpp_update_passthrough:<vapostproc0> enabling passthrough
0:00:33.464977081 55880 0x55f9c069d300 INFO               GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
0:00:33.465046736 55880 0x55f9c069d300 WARN                   vaapi gstvaapiencoder_h265.c:2625:reset_properties: Disabling b-frame since the driver doesn't support it
0:00:33.465078624 55880 0x55f9c069d300 INFO                   vaapi gstvaapiencoder.c:621:get_packed_headers: supported packed headers: 0x00000001
0:00:33.465110492 55880 0x55f9c069d300 ERROR           vaapicontext gstvaapicontext.c:355:config_create: unsupported VA_RC_ICQ rate control
0:00:33.465138120 55880 0x55f9c069d300 WARN            vaapicontext gstvaapicontext.c:427:config_create: Failed to create vaConfig
0:00:33.465170848 55880 0x55f9c069d300 ERROR                  vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:33.465203056 55880 0x55f9c069d300 WARN            videoencoder gstvideoencoder.c:783:gst_video_encoder_setcaps:<vaapiencodeh265-1> rejected caps video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
info: ==== Recording Start ===============================================
info: [ffmpeg muxer: 'adv_file_output'] Writing file '/mnt/GAMES/Videos/Recordings/2022-12-21 13-57-48.mkv'...
0:00:33.523743684 55880 0x55f9c069d300 INFO               GST_EVENT gstevent.c:972:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:33.523883784 55880 0x55f9c069d300 ERROR           vaapicontext gstvaapicontext.c:355:config_create: unsupported VA_RC_ICQ rate control
0:00:33.523924552 55880 0x55f9c069d300 WARN            vaapicontext gstvaapicontext.c:427:config_create: Failed to create vaConfig
0:00:33.523962699 55880 0x55f9c069d300 ERROR                  vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:33.524004926 55880 0x55f9c069d300 WARN            videoencoder gstvideoencoder.c:783:gst_video_encoder_setcaps:<vaapiencodeh265-1> rejected caps video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
0:00:33.524043843 55880 0x55f9c069d300 INFO                 basesrc gstbasesrc.c:3018:gst_base_src_loop:<appsrc0> marking pending DISCONT
0:00:33.524140197 55880 0x55f9c069d300 ERROR           vaapicontext gstvaapicontext.c:355:config_create: unsupported VA_RC_ICQ rate control
0:00:33.524178524 55880 0x55f9c069d300 WARN            vaapicontext gstvaapicontext.c:427:config_create: Failed to create vaConfig
0:00:33.524219441 55880 0x55f9c069d300 ERROR                  vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:33.524259619 55880 0x55f9c069d300 WARN            videoencoder gstvideoencoder.c:783:gst_video_encoder_setcaps:<vaapiencodeh265-1> rejected caps video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
0:00:33.524314775 55880 0x55f9c069d300 WARN                 basesrc gstbasesrc.c:3127:gst_base_src_loop:<appsrc0> error: Internal data stream error.
0:00:33.524350152 55880 0x55f9c069d300 WARN                 basesrc gstbasesrc.c:3127:gst_base_src_loop:<appsrc0> error: streaming stopped, reason not-negotiated (-4)
0:00:33.524395389 55880 0x55f9c069d300 INFO        GST_ERROR_SYSTEM gstelement.c:2271:gst_element_message_full_with_details:<appsrc0> posting message: Internal data stream error.
0:00:33.524448926 55880 0x55f9c069d300 INFO        GST_ERROR_SYSTEM gstelement.c:2298:gst_element_message_full_with_details:<appsrc0> posted error message: Internal data stream error.
0:00:33.524532930 55880 0x55f9c069d300 ERROR           vaapicontext gstvaapicontext.c:355:config_create: unsupported VA_RC_ICQ rate control
0:00:33.524572317 55880 0x55f9c069d300 WARN            vaapicontext gstvaapicontext.c:427:config_create: Failed to create vaConfig
0:00:33.524616274 55880 0x55f9c069d300 ERROR                  vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:33.524658221 55880 0x55f9c069d300 WARN            videoencoder gstvideoencoder.c:783:gst_video_encoder_setcaps:<vaapiencodeh265-1> rejected caps video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
0:00:33.524743366 55880 0x55f9c069d300 ERROR           vaapicontext gstvaapicontext.c:355:config_create: unsupported VA_RC_ICQ rate control
0:00:33.524775213 55880 0x55f9c069d300 WARN            vaapicontext gstvaapicontext.c:427:config_create: Failed to create vaConfig
0:00:33.524804311 55880 0x55f9c069d300 ERROR                  vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:33.524841249 55880 0x55f9c069d300 WARN            videoencoder gstvideoencoder.c:783:gst_video_encoder_setcaps:<vaapiencodeh265-1> rejected caps video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
0:00:33.524908014 55880 0x55f9c069d300 ERROR           vaapicontext gstvaapicontext.c:355:config_create: unsupported VA_RC_ICQ rate control
0:00:33.524942062 55880 0x55f9c069d300 WARN            vaapicontext gstvaapicontext.c:427:config_create: Failed to create vaConfig
0:00:33.524978429 55880 0x55f9c069d300 ERROR                  vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:33.525010367 55880 0x55f9c069d300 WARN            videoencoder gstvideoencoder.c:783:gst_video_encoder_setcaps:<vaapiencodeh265-1> rejected caps video/x-raw, framerate=(fraction)60/1, width=(int)2560, height=(int)1440, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
error: [obs-vaapi] Internal data stream error.
vainfo
Trying display: wayland
vainfo: VA-API version: 1.16 (libva 2.16.0)
vainfo: Driver version: Mesa Gallium driver 22.3.1 for AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.14-272-tkg-bmq)
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
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

 ╭─zany130@Garuda in ~ via  v3.10.8 took 23ms
 ╰─λ gst-inspect-1.0 va
Plugin Details:
  Name                     va
  Description              VA-API codecs plugin
  Filename                 /usr/lib/gstreamer-1.0/libgstva.so
  Version                  1.20.5
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2022-12-19
  Binary package           Arch Linux gst-plugins-bad 1.20.5-1
  Origin URL               Unknown package origin

  vaav1dec: VA-API AV1 Decoder
  vadeinterlace: VA-API Deinterlacer
  vah264dec: VA-API H.264 Decoder
  vah265dec: VA-API H.265 Decoder
  vampeg2dec: VA-API Mpeg2 Decoder
  vapostproc: VA-API Video Postprocessor
  vavp9dec: VA-API VP9 Decoder

  7 features:
  +-- 7 elements

 ╭─zany130@Garuda in ~ via  v3.10.8 took 11ms
 ╰─λ gst-inspect-1.0 vaapi
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.20.5
  License                  LGPL
  Source module            gstreamer-vaapi
  Source release date      2022-12-19
  Binary package           gstreamer-vaapi
  Origin URL               Unknown package origin

  vaapiav1dec: VA-API AV1 decoder
  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

  12 features:
  +-- 12 elements
fzwoch commented 1 year ago
config_create: unsupported VA_RC_ICQ rate control

I think you have selected a rate control mode that the hardware does not support.

Hopefully in the future I can make it more specific why it is failing, but at the moment I'm waiting for the new GStreamer set of encoders.

fzwoch commented 1 year ago

So, try to use CQP instead of Intelligent CQP if that was not clear.

zany130 commented 1 year ago

Well it saves now but the video comes out all garbled

https://user-images.githubusercontent.com/25832539/209000957-e31aadef-cd8b-4517-9fdb-f81f98096e1f.mp4

fzwoch commented 1 year ago

Sounds close to what have seen here:

https://github.com/fzwoch/obs-gstreamer/issues/89

in which case might be a bug in the Mesa driver.

zany130 commented 1 year ago

Could be or some wrong encorder settings I set them all to default and the encoder to VAAPI H.265, and it recorded fine

here are my settings but I'm trying them one by one to see. (as you can prob tell total noob and have very basic understanding of the encoder settings)

EDIT forgot Settings OBS-Encoder-Settings3 OBS-Encoder-Settings2 OBS-Encoder-Settings1

Either way its not really an issue with obs-vaapi so I guess it can be closed

fzwoch commented 1 year ago

It could be the 8x8 block something option i vaguely remember.

Edit: thats a valid option for h.264 only. I never tried h.265 that much, may be some other option the driver messes up.

zany130 commented 1 year ago

Found it; apparently, quality level 1 is too much 2 is fine. Leaving everything else exactly like the images expect quality level works

fzwoch commented 1 year ago

Good to know. p.s. keyframe period is 2. not sure out of my head if that is seconds or frames.. eventually milliseconds (hover ovr the option should give some details)