Question / Help Trying to run OBS on Debian Linux

Vomit

New Member
HI

I'm on debian.

I've just installed on my laptop which worked fine. Installed on my desktop and I'm getting an error window Failed to initialize video: Graphics module not found and the below terminal output

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/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 4 logical cores
info: Processor: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
info: Physical Memory: 3899MB Total
info: Kernel Version: Linux 4.4.0-1-amd64
info: Distribution: "Debian GNU/Linux" Unknown
QObject::connect: invalid null parameter
info: OBS 0.13.4-37-g96d848f (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
error: os_dlopen(libobs-opengl.so.0->libobs-opengl.so.0): libobs-opengl.so.0: cannot open shared object file: No such file or directory

error: Failed to initialize video: Graphics module not found
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 6028.18 ms
info: ┣OBSApp::AppInit: 0.575 ms
info: ┃ ┗OBSApp::InitLocale: 0.433 ms
info: ┗OBSApp::OBSInit: 31.833 ms
info: ┣obs_startup: 0.597 ms
info: ┗OBSBasic::OBSInit: 0.693 ms
info: ┣OBSBasic::InitBasicConfig: 0.353 ms
info: ┣OBSBasic::ResetAudio: 0.11 ms
info: ┗OBSBasic::ResetVideo: 0.186 ms
info: obs_hotkey_thread(25 ms): min=0.029 ms, median=0.303 ms, max=17.807 ms, 99th percentile=4.495 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.005 ms, max=0.032 ms, 99th percentile=0.017 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.084 ms, median=25.391 ms, max=42.881 ms, 96.0526% within ±2% of 25 ms (0% lower, 3.94737% higher)
info: =================================================
info: Number of memory leaks: 130
akira@debfleb:~/obs-studio/obs-studio/build$ obs
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/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 4 logical cores
info: Processor: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
info: Physical Memory: 3899MB Total
info: Kernel Version: Linux 4.4.0-1-amd64
info: Distribution: "Debian GNU/Linux" Unknown
QObject::connect: invalid null parameter
info: OBS 0.13.4-37-g96d848f (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
error: os_dlopen(libobs-opengl.so.0->libobs-opengl.so.0): libobs-opengl.so.0: cannot open shared object file: No such file or directory

error: Failed to initialize video: Graphics module not found
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 19763 ms
info: ┣OBSApp::AppInit: 0.543 ms
info: ┃ ┗OBSApp::InitLocale: 0.417 ms
info: ┗OBSApp::OBSInit: 31.226 ms
info: ┣obs_startup: 0.694 ms
info: ┗OBSBasic::OBSInit: 0.444 ms
info: ┣OBSBasic::InitBasicConfig: 0.172 ms
info: ┣OBSBasic::ResetAudio: 0.087 ms
info: ┗OBSBasic::ResetVideo: 0.126 ms
info: obs_hotkey_thread(25 ms): min=0.032 ms, median=0.329 ms, max=43.574 ms, 99th percentile=8.59 ms, 99.4785% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.004 ms, max=0.019 ms, 99th percentile=0.014 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.102 ms, median=25.413 ms, max=68.644 ms, 95.8225% within ±2% of 25 ms (0% lower, 4.17755% higher)
info: =================================================
info: Number of memory leaks: 130
 

goofybud16

New Member
This is an issue I have as well.

The trick is to run

sudo checkinstall --pkgname=obs-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes
again from the OBS Build directory.

The answers should be as follows:

Should I create a default set of package docs? [y]: y
Do you want me to list them? [n]: n
Should I exclude them from the package? (Saying yes is a good idea) [n]: n
Do you want me to list them? [n]: n
Should I exclude them from the package? (Saying yes is a good idea) [y]: n
After this, OBS should launch and work after running the command "obs"
 
Last edited:

goofybud16

New Member
I followed the guide here.

So far it has worked beautifully and I have recorded many hours of footage from Half-Life 2, HL2: Episode 1, HL2: Episode 2, and HL2: Uncertainty Principle [a player made mod].

I have tried Streaming to twitch, and while it works, my internet is too slow.
 
Top