Bug Report Ubuntu 16.04.1 OBS 0.16.2 Unidentified Error

runasas

New Member
Hello.
I have installed OBS 0.16.2 on my Ubuntu 16.04.1 Computer.
When I enter "obs" in my command line, I get following 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/locale/de-DE.ini
Attempted path: /usr/share/obs/obs-studio/locale/de-DE.ini
info: Using preferred locale 'de-DE'
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: 2 logical cores
info: Processor: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz
info: Physical Memory: 1991MB Total
info: Kernel Version: Linux 4.4.0-43-generic
info: Distribution: "Ubuntu" "16.04"
QObject::connect: invalid null parameter
info: OBS 0.16.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
error: X Error: GLXBadFBConfig
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video: Unspecified error


It also opens a window that contains: Failed to initialize video: Unspecified error.
 

dragondude

New Member
Hello.
I have installed OBS 0.16.2 on my Ubuntu 16.04.1 Computer.
When I enter "obs" in my command line, I get following 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/locale/de-DE.ini
Attempted path: /usr/share/obs/obs-studio/locale/de-DE.ini
info: Using preferred locale 'de-DE'
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: 2 logical cores
info: Processor: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz
info: Physical Memory: 1991MB Total
info: Kernel Version: Linux 4.4.0-43-generic
info: Distribution: "Ubuntu" "16.04"
QObject::connect: invalid null parameter
info: OBS 0.16.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
error: X Error: GLXBadFBConfig
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video: Unspecified error


It also opens a window that contains: Failed to initialize video: Unspecified error.
looks like a graphics driver issue i could be wrong though which graphics driver are you using?
 

runasas

New Member
Run the following in a terminal:

Code:
glxinfo | grep OpenGL

OpenGL 3.2 or higher is required.
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string: 2.1 Mesa 11.2.0
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
Looks like I've got an old version. Can I update it?
 
I have the same error, but I do have OpenGL 3.2+. Here's my output:

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/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: 6 logical cores
info: Processor: AMD Phenom(tm) II X6 1065T Processor
info: Physical Memory: 7988MB Total
info: Kernel Version: Linux 4.4.27-2-MANJARO
info: Distribution: "Manjaro Linux" Unknown
info: OBS 0.16.2-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
  samples per sec: 44100
  speakers:  2
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 1501.17 ms
info:  ┣OBSApp::AppInit: 2.7 ms
info:  ┃ ┗OBSApp::InitLocale: 2.351 ms
info:  ┗OBSApp::OBSInit: 97.242 ms
info:  ┣obs_startup: 1.406 ms
info:  ┗OBSBasic::OBSInit: 43.143 ms
info:  ┣OBSBasic::InitBasicConfig: 0.555 ms
info:  ┣OBSBasic::ResetAudio: 0.105 ms
info:  ┗OBSBasic::ResetVideo: 42.409 ms
info: obs_hotkey_thread(25 ms): min=0.165 ms, median=0.316 ms, max=2.12 ms, 99th percentile=2.12 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.009 ms, median=0.017 ms, max=0.03 ms, 99th percentile=0.03 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.239 ms, median=25.404 ms, max=26.261 ms, 84.3137% within ±2% of 25 ms (0% lower, 15.6863% higher)
info: =================================================
info: Number of memory leaks: 184
Code:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 750/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 370.28
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 370.28
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 370.28
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Code:
local/cuda 8.0.44-2
  NVIDIA's GPU programming toolkit
local/lib32-nvidia-cg-toolkit 3.1-5
  NVIDIA Cg libraries
local/lib32-nvidia-utils 1:370.28-1
  NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 1:370.28-1
  OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.1.1-2
  Nvidia VDPAU library
local/libxnvctrl 370.28-1
  NVIDIA NV-CONTROL X extension
local/linux44-nvidia 1:370.28-7 (linux44-extramodules)
  NVIDIA drivers for linux.
local/mhwd-nvidia 1:370.28-1
  MHWD module-ids for nvidia 370.28
local/mhwd-nvidia-304xx 1:304.131-1
  MHWD module-ids for nvidia 304.131
local/mhwd-nvidia-340xx 340.98-1
  MHWD module-ids for nvidia 340.98
local/nvidia-cg-toolkit 3.1-4
  NVIDIA Cg libraries
local/nvidia-utils 1:370.28-1
  NVIDIA drivers utilities
local/opencl-nvidia 1:370.28-1
  OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.13-1 (xorg-drivers xorg)
  Open Source 2D acceleration driver for nVidia cards

As you can see, I'm using Manjaro 64-bit with a GeForce GTX 750. I recently reinstalled my graphics drivers with mhwd, (I was having trouble with my monitor) and It worked before doing so. I guess I must be missing something, but what? I'm using the proprietary Nvidia drivers version 370.28, but I might have been using 340xx before. They both support my card though, so I assume that's not the problem?

EDIT: Nevermind, I fixed it. I tried running some other OpenGL programs and when I changed Zandronum's display mode to OpenGL it complained that the color depth was only 16. After setting it to 24, they both worked. I was wondering why my desktop background looked off...
 
Last edited:

runasas

New Member
I solved the problem. I just bought a new computer with a better graphic card. I know what was the problem. My old computer had one of these crappy graphic chip things. Now I've got a real graphic card.
 
Top