Latest Linux nvidia driver (495.46) breaks OBS

RealNC

New Member
Hello.

OBS (installed via flatpak) worked perfectly, until I upgraded the nvidia driver from 495.44 to 495.46. That driver results in OBS aborting at startup with an error message:

1639683746192.png


This is on Gentoo Linux AMD64. GPU is a 980 Ti. As a workaround, downgrading the nvidia driver back to 495.44 works.

When starting from a terminal, the logs say:

Code:
$ flatpak run com.obsproject.Studio
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /app/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /app/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /app/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: AMD Ryzen 7 3700X 8-Core Processor
info: CPU Speed: 2082.538MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 15996MB Total, 13050MB Free
info: Kernel Version: Linux 5.10.86-gentoo
info: Distribution: "KDE Flatpak runtime" "5.15-21.08"
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /app/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.1.3 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
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.
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 85892.5 ms
info:  ┣OBSApp::AppInit: 4.271 ms
info:  ┃ ┗OBSApp::InitLocale: 0.692 ms
info:  ┗OBSApp::OBSInit: 67.982 ms
info:    ┣obs_startup: 14.188 ms
info:    ┗OBSBasic::OBSInit: 5.187 ms
info:      ┣OBSBasic::InitBasicConfig: 0.056 ms
info:      ┣OBSBasic::ResetAudio: 0.092 ms
info:      ┗OBSBasic::ResetVideo: 5.005 ms
info: obs_hotkey_thread(25 ms): min=0.08 ms, median=0.146 ms, max=24.318 ms, 99th percentile=0.787 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.008 ms, max=0.079 ms, 99th percentile=0.017 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.128 ms, median=25.219 ms, max=49.388 ms, 96.0484% within ±2% of 25 ms (0% lower, 3.95164% higher)
info: =================================================
info: Number of memory leaks: 248
 

RealNC

New Member
OK, never mind. I uninstalled the flatpak version and installed OBS through the package manager. That works fine.

So this is a flatpak related issue. Sorry for the noise.
 

TiZ

New Member
Flatpak will be the official distribution method for OBS Studio soon, so probably better this gets sorted out.

This sort of thing happens when you update the NVidia driver in the system without also updating it in Flatpak. After you restart Xorg after updating the NVidia driver, the next time you do a `flatpak update`, it will fetch the corresponding NVidia driver.
 
Top