Skip to content

Discrete NVIDIA GPU on Linux Memory Leak/Crash #13437

@trafotin

Description

@trafotin

Operating System Info

Other

Other OS

Flatpak/Fedora Atomic/Bluefin 44.20260512

OBS Studio Version

32.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

I couldn't launch OBS to upload one.

OBS Studio Crash Log URL

I couldn't launch OBS to upload one.

Expected Behavior

OBS crashes with no recovery. Crashes are linked to the obs-nvenc-test process and laptop NVIDIA GPUs. No plugins/extensions and on a vanilla configuration.

Current Behavior

Crashes with no recovery. obs-nvenc-test and all OBS processes create a memory leak and halt system shutdown; the system must be forced off.

debug: Found portal inhibitor
debug: Attempted path: /app/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /app/bin/../share/obs/obs-studio/locale.ini
debug: Attempted path: /app/bin/../share/obs/obs-studio/themes
debug: Attempted path: /app/bin/../share/obs/obs-studio/themes/
warning: Crash or unclean shutdown detected
info: [Safe Mode] Safe mode launch selected, loading third-party plugins is disabled
info: Platform: Wayland
info: CPU Name: 13th Gen Intel(R) Core(TM) i9-13900HX
info: CPU Speed: 4553.857MHz
info: Physical Cores: 24, Logical Cores: 32
info: Physical Memory: 31920MB Total, 17146MB Free
info: Kernel Version: Linux 6.19.14-101.fc44.x86_64
info: Flatpak Branch: stable
info: Flatpak Arch: x86_64
info: Flatpak Commit: d5ef5562990004a60e04671e3753c82fc9b8dab41a72b919f7a42650f2c46d12
info: Flatpak Runtime: runtime/org.freedesktop.Platform/x86_64/25.08
info: App Extensions:
info:  - org.freedesktop.LinuxAudio.Plugins.Calf
info:  - org.freedesktop.LinuxAudio.Plugins.LSP
info:  - org.freedesktop.LinuxAudio.Plugins.MDA
info:  - org.freedesktop.LinuxAudio.Plugins.TAP
info:  - org.freedesktop.LinuxAudio.Plugins.ZamPlugins
info:  - org.freedesktop.LinuxAudio.Plugins.swh
info:  - org.freedesktop.LinuxAudio.Plugins.x42Plugins
info: Runtime Extensions:
info:  - org.freedesktop.Platform.GL.default
info:  - org.freedesktop.Platform.GL.nvidia-595-71-05
info:  - org.freedesktop.Platform.VulkanLayer.MangoHud
info:  - org.freedesktop.Platform.VulkanLayer.vkBasalt
info:  - org.freedesktop.Platform.Locale
info:  - org.gtk.Gtk3theme.adw-gtk3
info:  - org.gtk.Gtk3theme.adw-gtk3-dark
info:  - org.freedesktop.Platform.VAAPI.Intel
info:  - org.freedesktop.Platform.VAAPI.nvidia
info:  - org.freedesktop.Platform.codecs-extra
info:  - org.freedesktop.Platform.GL.default
info: Flatpak Framework Version: 1.17.6
info: Desktop Environment: GNOME (gnome)
info: Session Type: wayland
warning: virtual void QtWaylandClient::QWaylandTextInputv3::zwp_text_input_v3_leave(wl_surface*) Got leave event for surface 0x0 focused surface 0x55fb599458d0
info: Current Date/Time: 2026-05-16, 10:09:08 AM
info: Browser Hardware Acceleration: true
info: Qt Version: 6.8.2 (runtime), 6.8.2 (compiled)
info: Portable mode: false
warning: Safe Mode enabled.
info: OBS 32.1.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
	max buffering:   960 milliseconds
	buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter Intel Mesa Intel(R) Graphics (RPL-S)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 26.0.5 (git-e4bd78e80a), shading language 4.60
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1280x720
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          Rec. 709/Partial
info: NV12 texture support enabled
info: P010 texture support not available
info: Audio monitoring device:
	name: Default
	id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
warning: Skipping module 'frontend-tools', not on safe list
warning: Skipping module 'libcef', not on safe list
warning: Skipping module 'libEGL', not on safe list
warning: Skipping module 'libGLESv2', not on safe list
warning: Skipping module 'libvk_swiftshader', not on safe list
info: [pipewire] Available capture sources:
info: [pipewire]     - Monitor source
info: [pipewire]     - Window source
info: [obs-browser]: Version 2.26.8
info: [obs-browser]: CEF Version 127.0.6533.120 (runtime), 127.0.0-6533-fix-stutter-and-osr-extra-info.3042+g176b09c+chromium-127.0.6533.120 (compiled)
info: VAAPI: API version 1.22
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI AV1 encoding not supported
info: FFmpeg VAAPI HEVC encoding supported

Steps to Reproduce

  1. Have discrete NVIDIA GPU (mine is a 4060U)
  2. Use Fedora 44 (either Workstation/GNOME or KDE)
  3. Open OBS.

Anything else we should know?

The Arch Linux build works in a Distrobox, but this is a D20 when it works and hate using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions