Can't launch OBS via SSH

uakena

New Member
I am running OBS on Raspbian. I can launch OBS locally with MESA_GL_VERSION_OVERRIDE=3.3 obs but I encountered some OpenGL errors when launching via SSH. Here is the full log:

Code:
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/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: Physical Cores: 4, Logical Cores: 4
info: Physical Memory: 1866MB Total, 1396MB Free
info: Kernel Version: Linux 5.10.17-v7l+
info: Distribution: "Raspbian GNU/Linux" "10"
info: Session Type: tty
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.11
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
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 27.0.1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 48000
    speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
error: ARB_GLX_create_context not supported!
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video.  Your GPU may not be supported, or your graphics drivers may need to be updated.
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 3696.37 ms
info:  ┣OBSApp::AppInit: 21.565 ms
info:  ┃ ┗OBSApp::InitLocale: 8.633 ms
info:  ┗OBSApp::OBSInit: 588.37 ms
info:    ┣obs_startup: 15.653 ms
info:    ┗OBSBasic::OBSInit: 300.299 ms
info:      ┣OBSBasic::InitBasicConfig: 3.613 ms
info:      ┣OBSBasic::ResetAudio: 0.873 ms
info:      ┗OBSBasic::ResetVideo: 291.316 ms
info: obs_hotkey_thread(25 ms): min=12.579 ms, median=15.025 ms, max=157.019 ms, 99th percentile=157.019 ms, 91.1111% below 25 ms
info: audio_thread(Audio): min=0.065 ms, median=0.08 ms, max=0.182 ms, 99th percentile=0.182 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=37.656 ms, median=40.617 ms, max=182.146 ms, 0% within ±2% of 25 ms (0% lower, 100% higher)
info: =================================================
info: Number of memory leaks: 182

Running glxinfo gives the following:
Code:
name of display: localhost:10.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  31
  Current serial number in output stream:  30
 
Top