-
-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Describe the bug
Seems like gstreamer from release is ABI incompatible with ubuntu's own gstreamer if installed.
To Reproduce
Steps to reproduce the behavior:
- Install ubuntu 25.04.
- Install selkies-gstreamer.
- Start it with haardware encoder.
Expected behavior
- It should start fine.
Screenshots
twaik@twaik:~/selkies-gstreamer$ ./selkies-gstreamer-run --addr=0.0.0.0 --port=8080 --enable_https=false --https_cert=/etc/ssl/certs/ssl-cert-snakeoil.pem --https_key=/etc/ssl/private/ssl-cert-snakeoil.key --basic_auth_user=user --basic_auth_password=mypasswd --enable_resize=false --encoder=vavp9enc
Waiting for X Socket
X Server is ready
WARNING:root:Namespace(json_config='/tmp/selkies_config.json', addr='0.0.0.0', port='8080', web_root='/home/twaik/selkies-gstreamer/share/selkies-web', enable_https='false', https_cert='/etc/ssl/certs/ssl-cert-snakeoil.pem', https_key='/etc/ssl/private/ssl-cert-snakeoil.key', enable_basic_auth='true', basic_auth_user='user', basic_auth_password='mypasswd', rtc_config_json='/tmp/rtc.json', turn_rest_uri='', turn_rest_username='selkies-twaik', turn_rest_username_auth_header='x-auth-user', turn_rest_protocol_header='x-turn-protocol', turn_rest_tls_header='x-turn-tls', turn_host='staticauth.openrelay.metered.ca', turn_port='443', turn_protocol='udp', turn_tls='false', turn_shared_secret='openrelayprojectsecret', turn_username='', turn_password='', stun_host='stun.l.google.com', stun_port='19302', app_wait_ready='false', app_ready_file='/tmp/selkies-appready', uinput_mouse_socket='', js_socket_path='/tmp', encoder='vavp9enc', gpu_id='0', framerate='60', video_bitrate='8000', keyframe_distance='-1', congestion_control='false', video_packetloss_percent='0', audio_bitrate='128000', audio_channels='2', audio_packetloss_percent='0', enable_clipboard='true', enable_resize='false', enable_cursors='true', debug_cursors='false', cursor_size='-1', enable_webrtc_statistics='false', webrtc_statistics_dir='/tmp', enable_metrics_http='false', metrics_http_port='8000', debug=False)
INFO:main:Waiting for streaming app ready
INFO:main:using TURN short-term shared secret HMAC credentials
INFO:main:initial server RTC configuration fetched
** (gst-plugin-scanner:70814): CRITICAL **: 00:00:31.662: pygobject initialization failed: could not import gobject (error was: ImportError('/home/twaik/selkies-gstreamer/lib/python3.12/site-packages/gi/_gi.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyUnicode_FromFormat'))
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.665: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvulkan.so': /lib/x86_64-linux-gnu/libgstvulkan-1.0.so.0: undefined symbol: gst_caps_features_new_single_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.666: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdebugutilsbad.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdebugutilsbad.so: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.667: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmatroska.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmatroska.so: undefined symbol: gst_id_str_is_equal_to_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.669: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstttmlsubs.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstttmlsubs.so: undefined symbol: gst_caps_features_new_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.670: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoparsersbad.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoparsersbad.so: undefined symbol: gst_h266_profile_from_string
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.671: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtsp.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtsp.so: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.671: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstisomp4.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstisomp4.so: undefined symbol: gst_id_str_is_equal_to_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.675: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegtsmux.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegtsmux.so: undefined symbol: gst_codec_utils_av1_create_av1c_from_caps
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.680: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiomixer.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiomixer.so: undefined symbol: g_sort_array
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.680: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegtsdemux.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegtsdemux.so: undefined symbol: gst_codec_utils_av1_create_caps_from_av1c
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.681: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstclosedcaption.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstclosedcaption.so: undefined symbol: gst_vec_deque_free
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.681: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstinterlace.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstinterlace.so: undefined symbol: gst_caps_features_new_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.682: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatetracer.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvalidatetracer.so: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.683: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmxf.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_structure_new_static_str_empty
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.684: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcurl.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcurl.so: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.685: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnle.so': /lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.686: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdebug.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdebug.so: undefined symbol: gst_structure_foreach_id_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.687: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmultifile.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmultifile.so: undefined symbol: gst_vec_deque_free
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.688: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgtkwayland.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgtkwayland.so: undefined symbol: gst_wl_display_fill_shm_format_list
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.691: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstonnx.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstonnx.so: undefined symbol: gst_buffer_add_tensor_meta
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.694: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttensordecoders.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttensordecoders.so: undefined symbol: gst_tensor_meta_get_typed_tensor
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.697: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so: undefined symbol: gst_caps_features_new_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.697: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdeinterlace.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdeinterlace.so: undefined symbol: gst_caps_features_new_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.697: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstipcpipeline.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstipcpipeline.so: undefined symbol: gst_structure_id_str_set_value
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.699: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstkms.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstkms.so: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.699: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioresample.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioresample.so: undefined symbol: gst_structure_set_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.700: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstunixfd.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstunixfd.so: undefined symbol: gst_fd_allocator_alloc_full
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.700: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideofilter.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideofilter.so: undefined symbol: gst_meta_api_type_tags_contain_only
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.731: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstinterleave.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstinterleave.so: undefined symbol: g_sort_array
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.733: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstadaptivedemux2.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstadaptivedemux2.so: undefined symbol: gst_vec_deque_free
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.735: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so: undefined symbol: gst_caps_features_new_static_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.735: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstges.so': /lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.736: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so: undefined symbol: gst_vec_deque_free
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.737: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatefaultinjection.so': /lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.737: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidategtk.so': /lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.738: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidatessim.so': /lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.738: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/validate/libgstvalidategapplication.so': /lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0: undefined symbol: gst_id_str_as_str
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.738: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdecklink.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdecklink.so: undefined symbol: gst_vec_deque_push_tail
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.739: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcodectimestamper.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcodectimestamper.so: undefined symbol: gst_vec_deque_free
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.741: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsty4m.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsty4m.so: undefined symbol: gst_video_encoder_drop_frame
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.742: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaja.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaja.so: undefined symbol: gst_vec_deque_new_for_struct
(gst-plugin-scanner:70814): GStreamer-WARNING **: 00:00:31.742: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtspclientsink.so': /lib/x86_64-linux-gnu/libgstrtspserver-1.0.so.0: undefined symbol: gst_vec_deque_free
INFO:signaling:Listening on http://0.0.0.0:8080
INFO:webrtc_input:Resetting keyboard modifiers.
ERROR:webrtc_input:failed to send keypress: [(BadRRModeError(<Xlib.display._BaseDisplay object at 0x7740be19e0f0>, b'\x00\x02"\x00\x00\x00\x00\x00\x02\x00\x84\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'), None)]
INFO:webrtc_input:starting clipboard monitor
INFO:webrtc_input:Found XFIXES version 4.0
INFO:webrtc_input:starting cursor monitor
INFO:webrtc_input:watching for cursor changes
INFO:webrtc_input:sending clipboard content, length: 60
INFO:signaling:Connected to ('127.0.0.1', 36234)
INFO:signaling:Registered peer '0' at ('127.0.0.1', 36234) with meta: None
INFO:signaling:Connected to ('127.0.0.1', 36236)
INFO:signaling:Registered peer '2' at ('127.0.0.1', 36236) with meta: None
I did not add it to the logs but after client connecting the program will crash.
-
Host OS Version: Kbuntu 24.04
-
Host GPU Model and Driver/Encoder Version: irrelevant
-
GStreamer Version: GStreamer 1.27.0 (GIT), 1.26.0-3 (from apt repos).
-
I confirm that this issue is relevant to the scope of this project. If you know that upstream projects are the cause of this problem, please raise the issue there.
-
I confirm that I have read other open and closed issues and that duplicates do not exist.
-
I confirm that the issue is easily reproducible and explained thoroughly.
-
I confirm that relevant log files have been included as explained below. Any relevant additional log files have also been included.
-
I confirm that no portion of this issue contains credentials or other private information, and it is my own responsibility to protect my privacy.
-
I confirm that the authors of this issue does not willfully breach or infringe legal regulations, in any and all global law, regarding trademarks, trade names, logos, patents, or any and all other forms of external intellectual property, as well as adhering to software license terms of open-source and proprietary software projects.