Linux Mint 21.1 - Livestream cannot be started

Hoerli

New Member
Hello Forum,

I am currently unable to start the livestream via OBS Studio.
When connecting, I immediately get the message:
An unexpected error occurred while trying to connect to the server. More Information can be found in the log file.

I am streaming to the locally set up Docker container "Restreamer".
There is a source set up to receive the signal.
I have no problems with Windows with the 1:1 same settings.
Recordings with the stream encoder settings are no problem.

Here is the log from the normal package sources:
Code:
13:30:47.576: Using EGL/X11
13:30:47.576: CPU Name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
13:30:47.576: CPU Speed: 3781.547MHz
13:30:47.576: Physical Cores: 4, Logical Cores: 8
13:30:47.576: Physical Memory: 15953MB Total, 9158MB Free
13:30:47.576: Kernel Version: Linux 5.19.0-41-generic
13:30:47.576: Distribution: "Linux Mint" "21.1"
13:30:47.576: Session Type: x11
13:30:47.576: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
13:30:47.577: Qt Version: 6.2.4 (runtime), 6.2.4 (compiled)
13:30:47.577: Portable mode: false
13:30:47.609: OBS 29.0.2 (linux)
13:30:47.609: ---------------------------------
13:30:47.644: ---------------------------------
13:30:47.644: audio settings reset:
13:30:47.644:     samples per sec: 48000
13:30:47.644:     speakers:        2
13:30:47.644:     max buffering:   960 milliseconds
13:30:47.644:     buffering type:  dynamically increasing
13:30:47.652: ---------------------------------
13:30:47.652: Initializing OpenGL...
13:30:47.686: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1070/PCIe/SSE2
13:30:47.686: OpenGL loaded successfully, version 3.3.0 NVIDIA 525.105.17, shading language 3.30 NVIDIA via Cg compiler
13:30:47.712: ---------------------------------
13:30:47.712: video settings reset:
13:30:47.712:     base resolution:   2560x1440
13:30:47.712:     output resolution: 2560x1440
13:30:47.712:     downscale filter:  Bicubic
13:30:47.712:     fps:               60/1
13:30:47.712:     format:            NV12
13:30:47.712:     YUV mode:          Rec. 709/Partial
13:30:47.712: NV12 texture support not available
13:30:47.712: P010 texture support not available
13:30:47.712: Audio monitoring device:
13:30:47.712:     name: Standard
13:30:47.712:     id: default
13:30:47.712: ---------------------------------
13:30:47.725: No AJA devices found, skipping loading AJA UI plugin
13:30:47.725: Failed to initialize module 'aja-output-ui.so'
13:30:47.735: No AJA devices found, skipping loading AJA plugin
13:30:47.736: Failed to initialize module 'aja.so'
13:30:47.743: Failed to load 'en-US' text for module: 'decklink-captions.so'
13:30:47.750: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
13:30:47.757: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
13:30:47.757: Failed to initialize module 'decklink.so'
13:30:47.951: [pipewire] No captures available
13:30:47.983: [obs-browser]: Version 2.19.0
13:30:47.983: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
13:30:48.039: NVENC supported
13:30:48.039: VAAPI: Failed to initialize display in vaapi_device_h264_supported
13:30:48.039: FFmpeg VAAPI H264 encoding not supported
13:30:48.097: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.1.0 | RPC Version: 1)
13:30:48.097: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.2.4 | Qt version (run-time): 6.2.4
13:30:48.097: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
13:30:48.103: [obs-websocket] [obs_module_load] Module loaded.
13:30:48.143: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled
13:30:48.153: [obs-teleport] version: 0.6.5
13:30:48.153: ---------------------------------
13:30:48.153:   Loaded Modules:
13:30:48.153:     obs-teleport.so
13:30:48.153:     vlc-video.so
13:30:48.153:     text-freetype2.so
13:30:48.153:     rtmp-services.so
13:30:48.153:     obs-x264.so
13:30:48.153:     obs-websocket.so
13:30:48.153:     obs-vst.so
13:30:48.153:     obs-transitions.so
13:30:48.153:     obs-outputs.so
13:30:48.153:     obs-libfdk.so
13:30:48.153:     obs-filters.so
13:30:48.153:     obs-ffmpeg.so
13:30:48.153:     obs-browser.so
13:30:48.153:     linux-v4l2.so
13:30:48.153:     linux-pulseaudio.so
13:30:48.153:     linux-pipewire.so
13:30:48.153:     linux-jack.so
13:30:48.153:     linux-capture.so
13:30:48.153:     linux-alsa.so
13:30:48.153:     image-source.so
13:30:48.153:     frontend-tools.so
13:30:48.153:     decklink-output-ui.so
13:30:48.153:     decklink-captions.so
13:30:48.153: ---------------------------------
13:30:48.154: ==== Startup complete ===============================================
13:30:53.873: ---------------------------------
13:30:53.873: [FFmpeg NVENC encoder: 'advanced_video_stream'] settings:
13:30:53.873:     encoder:      NVIDIA NVENC H.264 (FFmpeg)
13:30:53.873:     rate_control: CBR
13:30:53.873:     bitrate:      17000
13:30:53.873:     cqp:          0
13:30:53.873:     keyint:       120
13:30:53.873:     preset:       p6
13:30:53.873:     tuning:       hq
13:30:53.873:     multipass:    fullres
13:30:53.873:     profile:      high
13:30:53.873:     width:        2560
13:30:53.873:     height:       1440
13:30:53.873:     b-frames:     2
13:30:53.873:     psycho-aq:    1
13:30:53.873:     GPU:          0
13:30:53.873: 
13:30:54.124: libfdk_aac encoder created
13:30:54.124: libfdk_aac bitrate: 256, channels: 2
13:30:54.124: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://192.168.178.121/restreamer1/...
13:30:54.143: HandShake: client signature does not match!
13:30:54.186: [rtmp stream: 'adv_stream'] Connection to rtmp://192.168.178.121/restreamer1/ successful
13:30:54.186: [rtmp stream: 'adv_stream'] New socket loop enabled by user
13:30:54.186: [rtmp stream: 'adv_stream'] New socket loop not supported on this platform
13:30:54.186: [rtmp stream: 'adv_stream'] Connection to rtmp://192.168.178.121/restreamer1/ failed: -4
13:30:54.186: ==== Streaming Stop ================================================

Here from the Flathub version:
Code:
13:31:21.055: Using EGL/X11
13:31:21.055: CPU Name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
13:31:21.055: CPU Speed: 3551.252MHz
13:31:21.055: Physical Cores: 4, Logical Cores: 8
13:31:21.055: Physical Memory: 15953MB Total, 9163MB Free
13:31:21.055: Kernel Version: Linux 5.19.0-41-generic
13:31:21.056: Distribution: "KDE Flatpak runtime" "5.15-21.08"
13:31:21.056: Session Type: x11
13:31:21.056: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
13:31:21.056: Qt Version: 6.4.3 (runtime), 6.4.2 (compiled)
13:31:21.056: Portable mode: false
13:31:21.091: OBS 29.0.2 (linux)
13:31:21.091: ---------------------------------
13:31:21.100: ---------------------------------
13:31:21.101: audio settings reset:
13:31:21.101:     samples per sec: 48000
13:31:21.101:     speakers:        2
13:31:21.101:     max buffering:   960 milliseconds
13:31:21.101:     buffering type:  dynamically increasing
13:31:21.104: ---------------------------------
13:31:21.104: Initializing OpenGL...
13:31:21.152: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1070/PCIe/SSE2
13:31:21.152: OpenGL loaded successfully, version 3.3.0 NVIDIA 525.105.17, shading language 3.30 NVIDIA via Cg compiler
13:31:21.175: ---------------------------------
13:31:21.175: video settings reset:
13:31:21.175:     base resolution:   2560x1440
13:31:21.175:     output resolution: 2560x1440
13:31:21.175:     downscale filter:  Bicubic
13:31:21.175:     fps:               60/1
13:31:21.175:     format:            NV12
13:31:21.175:     YUV mode:          Rec. 601/Partial
13:31:21.175: NV12 texture support not available
13:31:21.175: P010 texture support not available
13:31:21.175: Audio monitoring device:
13:31:21.175:     name: Standard
13:31:21.175:     id: default
13:31:21.175: ---------------------------------
13:31:21.192: No AJA devices found, skipping loading AJA UI plugin
13:31:21.192: Failed to initialize module 'aja-output-ui.so'
13:31:21.206: No AJA devices found, skipping loading AJA plugin
13:31:21.206: Failed to initialize module 'aja.so'
13:31:21.211: Failed to load 'en-US' text for module: 'decklink-captions.so'
13:31:21.217: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
13:31:21.222: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
13:31:21.222: Failed to initialize module 'decklink.so'
13:31:21.393: [pipewire] No captures available
13:31:21.426: [obs-browser]: Version 2.19.0
13:31:21.426: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
13:31:21.434: NVENC supported
13:31:21.434: VAAPI: Failed to initialize display in vaapi_device_h264_supported
13:31:21.434: FFmpeg VAAPI H264 encoding not supported
13:31:21.470: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.1.0 | RPC Version: 1)
13:31:21.470: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.4.2 | Qt version (run-time): 6.4.3
13:31:21.470: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
13:31:21.475: [obs-websocket] [obs_module_load] Module loaded.
13:31:21.494: ---------------------------------
13:31:21.494:   Loaded Modules:
13:31:21.494:     text-freetype2.so
13:31:21.494:     rtmp-services.so
13:31:21.494:     obs-x264.so
13:31:21.494:     obs-websocket.so
13:31:21.494:     obs-vst.so
13:31:21.494:     obs-transitions.so
13:31:21.494:     obs-outputs.so
13:31:21.494:     obs-filters.so
13:31:21.494:     obs-ffmpeg.so
13:31:21.494:     obs-browser.so
13:31:21.494:     linux-v4l2.so
13:31:21.494:     linux-pulseaudio.so
13:31:21.494:     linux-pipewire.so
13:31:21.494:     linux-jack.so
13:31:21.494:     linux-capture.so
13:31:21.494:     image-source.so
13:31:21.494:     frontend-tools.so
13:31:21.494:     decklink-output-ui.so
13:31:21.494:     decklink-captions.so
13:31:21.494: ---------------------------------
13:31:21.494: ==== Startup complete ===============================================
13:31:21.528: All scene data cleared
13:31:25.974: ---------------------------------
13:31:25.974: [FFmpeg NVENC encoder: 'advanced_video_stream'] settings:
13:31:25.974:     encoder:      NVIDIA NVENC H.264 (FFmpeg)
13:31:25.974:     rate_control: CBR
13:31:25.974:     bitrate:      17000
13:31:25.974:     cqp:          0
13:31:25.974:     keyint:       120
13:31:25.974:     preset:       p6
13:31:25.974:     tuning:       hq
13:31:25.974:     multipass:    fullres
13:31:25.974:     profile:      high
13:31:25.974:     width:        2560
13:31:25.974:     height:       1440
13:31:25.974:     b-frames:     2
13:31:25.974:     psycho-aq:    1
13:31:25.974:     GPU:          0
13:31:25.974:
13:31:26.215: ---------------------------------
13:31:26.215: [FFmpeg aac encoder: 'adv_stream_aac'] bitrate: 256, channels: 2, channel_layout: stereo
13:31:26.215:
13:31:26.216: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://192.168.178.121/restreamer1/...
13:31:26.248: HandShake: client signature does not match!
13:31:26.298: [rtmp stream: 'adv_stream'] Connection to rtmp://192.168.178.121/restreamer1/ successful
13:31:26.298: [rtmp stream: 'adv_stream'] New socket loop enabled by user
13:31:26.298: [rtmp stream: 'adv_stream'] New socket loop not supported on this platform
13:31:26.298: [rtmp stream: 'adv_stream'] Connection to rtmp://192.168.178.121/restreamer1/ failed: -4
13:31:26.298: ==== Streaming Stop ================================================

If I stream to e.g. YouTube via RTMPS, it works without problems.
Only locally OBS just doesn't like it anymore.
A reinstallation didn't help.

Does anyone have any ideas?

CPU: Intel Core i7 7700HQ
RAM: 16GB
GPU: nVidia GeForce GTX 1070 (Mobile)
SYS: Linux Mint 21.1 64-bit
NET: 1Gbits RJ45 LAN

_____

Resolution: 2560x1440p
FPS: 60
Data rate: 17000kbps
Audio: Stereo / 48kHz / 256kbps
Encoder: NVENC (h264)
 

Tuna

Member
You imported a config from Windows where you have enabled an option that is not supported on Linux.

Remove the socket loop option from the config manually, or create a new config from scratch.
 

Hoerli

New Member
Aaaah thanks for the quick help.
Removed the socket loop entry in line 6 in the basic.ini file and re-imported everything.
Now it works again :)

The exchange of profiles and scenes has always worked well across platforms.
I never had to do anything.
 

Tuna

Member
It is not supported though. Because it is not guaranteed that it will work - as you have found out ;-)
 
Top