Driver update broke OBS.
cxf@PC:~$ nvidia-smi
Wed Apr 24 23:47:31 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.09 Driver Version: 430.09 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960 Off | 00000000:01:00.0 On | N/A |
| 49% 51C P0 30W / 208W | 601MiB / 4042MiB | 3% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1427 G /usr/lib/xorg/Xorg 15MiB |
| 0 1471 G /usr/bin/gnome-shell 126MiB |
| 0 1731 G /usr/lib/xorg/Xorg 153MiB |
| 0 1899 G /usr/bin/gnome-shell 148MiB |
| 0 2816 G ...equest-channel-token=581587810092532715 58MiB |
| 0 19005 G /usr/lib/firefox/firefox 93MiB |
+-----------------------------------------------------------------------------+
cxf@PC:~$ snap run obs
error: cannot find current revision for snap obs: readlink /snap/obs/current: no such file or directory
cxf@PC:~$ snap run obs-studio
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error: GLXBadContext
Request Major code 151 (GLX)
Request Minor code 6 ()
Error Serial #54
Current Serial #53
/snap/obs-studio/391/usr/sbin:/snap/obs-studio/391/usr/bin:/snap/obs-studio/391/sbin:/snap/obs-studio/391/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Qt: Session management error: None of the authentication protocols specified are supported
Attempted path: ../../data/obs-studio/locale/en-US.ini
Attempted path: ../../data/obs-studio/locale.ini
Attempted path: ../../data/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
info: CPU Speed: 2793.508MHz
info: Physical Cores: 4, Logical Cores: 4
info: Physical Memory: 7869MB Total, 330MB Free
info: Kernel Version: Linux 5.0.0-13-generic
info: Distribution: "Ubuntu Core" "18"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.4
info: Portable mode: false
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 23.1.0 (linux)
info: ---------------------------------
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
error: X Error: BadMatch, Major opcode: 151, Minor opcode: 34, Serial: 34
error: Failed to create OpenGL context.
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: 2965.99 ms
info: ┣OBSApp::AppInit: 1.917 ms
info: ┃ ┗OBSApp::InitLocale: 0.796 ms
info: ┗OBSApp::OBSInit: 168.041 ms
info: ┣obs_startup: 0.985 ms
info: ┗OBSBasic::OBSInit: 18.702 ms
info: ┣OBSBasic::InitBasicConfig: 0.148 ms
info: ┣OBSBasic::ResetAudio: 0.139 ms
info: ┗OBSBasic::ResetVideo: 18.358 ms
info: obs_hotkey_thread(25 ms): min=0.057 ms, median=0.13 ms, max=24.239 ms, 99th percentile=4.289 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.014 ms, median=0.015 ms, max=0.02 ms, 99th percentile=0.019 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.126 ms, median=25.204 ms, max=49.312 ms, 91% within ±2% of 25 ms (0% lower, 9% higher)
info: =================================================
info: Number of memory leaks: 244