Question / Help OBS crashes on start

Platform
qt5ct: using qt5ct plugin
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: CPU Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
info: CPU Speed: 4337.443MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 32103MB Total, 2225MB Free
info: Kernel Version: Linux 4.19.0-8-amd64
info: Distribution: "LMDE" "4"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.4
info: Portable mode: false
qt5ct: D-Bus global menu: no
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 0.0.1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
obs: Fatal IO error 22 (Invalid argument) on X server :0.


Expected Behavior
Being able to run OBS without fatal errors

Current Behavior
Crash on start

Steps to Reproduce
1.Install on LMDE via apt
2.Try to run

Additional info
logs:
05:38:25 PM.218: CPU Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
05:38:25 PM.218: CPU Speed: 4400.137MHz
05:38:25 PM.219: Physical Cores: 6, Logical Cores: 12
05:38:25 PM.219: Physical Memory: 32103MB Total, 2195MB Free
05:38:25 PM.219: Kernel Version: Linux 4.19.0-8-amd64
05:38:25 PM.219: Distribution: "LMDE" "4"
05:38:25 PM.219: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.4
05:38:25 PM.220: Portable mode: false
05:38:25 PM.234: OBS 0.0.1 (linux)
05:38:25 PM.234: ---------------------------------
05:38:25 PM.234: ---------------------------------
05:38:25 PM.234: audio settings reset:
05:38:25 PM.234: samples per sec: 44100
05:38:25 PM.234: speakers: 2
05:38:25 PM.240: ---------------------------------
05:38:25 PM.240: Initializing OpenGL...

(other log files are the same, no crashes folder exists in ~/.config/obs-studio/)
glxinfo | grep OpenGL returned this:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 96
Current serial number in output stream: 97

lspci | grep NVIDIA returned:

01:00.0 VGA compatible controller: NVIDIA Corporation GP108 (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
 
Tried compiling from sources:
qt5ct: using qt5ct plugin
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: CPU Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
info: CPU Speed: 4473.938MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 32103MB Total, 3676MB Free
info: Kernel Version: Linux 4.19.0-8-amd64
info: Distribution: "LMDE" "4"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.4
info: Portable mode: false
qt5ct: D-Bus global menu: no
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Popout.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Popout.svg', because: No such file or directory
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_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 25.0.7-110-g07ae6b4c (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
obs: Fatal IO error 22 (Invalid argument) on X server :0.

Still the same error
 

Tuna

Member
Code:
glxinfo | grep OpenGL returned this:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 96
Current serial number in output stream: 97

This indicates something is wrong with your GPU driver installation. Nothing OBS can do about it here. This is up to your Linux install.
 
Top