Bug Report - OpenEncodeSessionEx failed: unsupported device (2): (no details)

MyriadAsura

New Member
Greetings, I'm running OBS-Studio from community package in Garuda Linux(Arch based distro). Before this I was using it in Manjaro without problems.

It says my video card does not have NVENC codec support, even though it has.

Here's the log:
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/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
info: CPU Speed: 3324.074MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 7737MB Total, 367MB Free
info: Kernel Version: Linux 5.10.25-1-lts
info: Distribution: "Garuda Linux" Unknown
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.10
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_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
info: OBS 26.1.2-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 48000
    speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Intel Mesa Intel(R) HD Graphics 620 (KBL GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 20.3.4, 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:          709/Partial
info: NV12 texture support not available
info: Audio monitoring device:
    name: Default
    id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
info: No blackmagic support
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported
info: FFMPEG VAAPI supported
error: os_dlopen(libvlc.so.5->libvlc.so.5): libvlc.so.5: cannot open shared object file: No such file or directory

info: Couldn't find VLC installation, VLC video source disabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 14.2'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'pulseaudio 14.2'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
info: [Loaded global audio device]: 'Mic/Aux'
info:     - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x480
info: v4l2-input: Pixelformat: YUYV
info: v4l2-input: Linesize: 1280 Bytes
info: v4l2-input: Framerate: 30,00 fps
info: xshm-input: Geometry 1920x1080 @ 0,0
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (XSHM)' (xshm_input)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)

info: ---------------------------------
info: [NVENC encoder: 'simple_h264_recording'] settings:
    rate_control: CQP
    bitrate:      0
    cqp:          21
    keyint:       250
    preset:       hq
    profile:      high
    width:        1280
    height:       720
    2-pass:       false
    b-frames:     2
    GPU:          0

[h264_nvenc @ 0x5609f5855bc0] OpenEncodeSessionEx failed: unsupported device (2): (no details)
[h264_nvenc @ 0x5609f5855bc0] No capable devices found
warning: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Generic error in an external library
info: ==== Shutting down ==================================================
info: v4l2-input: Stopped capture after 129 frames
info: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: pulse-input: Got 1742 packets with 344401 frames
info: pulse-input: Stopped recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
info: pulse-input: Got 800 packets with 344680 frames
info: All scene data cleared
info: ------------------------------------------------
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 504,237 ms
info:  ┣OBSApp::AppInit: 5,912 ms
info:  ┃ ┗OBSApp::InitLocale: 0,765 ms
info:  ┗OBSApp::OBSInit: 401,797 ms
info:    ┣obs_startup: 23,596 ms
info:    ┗OBSBasic::OBSInit: 337,071 ms
info:      ┣OBSBasic::InitBasicConfig: 0,082 ms
info:      ┣OBSBasic::ResetAudio: 0,161 ms
info:      ┣OBSBasic::ResetVideo: 115,28 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0,003 ms
info:      ┣OBSBasic::InitHotkeys: 0,032 ms
info:      ┣obs_load_all_modules: 92,149 ms
info:      ┃ ┣obs_init_module(decklink-captions.so): 0,019 ms
info:      ┃ ┣obs_init_module(decklink-ouput-ui.so): 0,427 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 63,076 ms
info:      ┃ ┣obs_init_module(image-source.so): 0,004 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0,001 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0,274 ms
info:      ┃ ┣obs_init_module(linux-decklink.so): 0,09 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0,001 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0,001 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 5,786 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0,611 ms
info:      ┃ ┃ ┗nvenc_check: 0,549 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0,017 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0,001 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0,002 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0,008 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0,001 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0,359 ms
info:      ┃ ┣obs_init_module(text-freetype2.so): 0,007 ms
info:      ┃ ┗obs_init_module(vlc-video.so): 0,084 ms
info:      ┣OBSBasic::ResetOutputs: 0,076 ms
info:      ┣OBSBasic::CreateHotkeys: 0,174 ms
info:      ┣OBSBasic::InitService: 1,025 ms
info:      ┣OBSBasic::InitPrimitives: 0,174 ms
info:      ┗OBSBasic::Load: 18,993 ms
info: obs_hotkey_thread(25 ms): min=0,065 ms, median=0,187 ms, max=23,414 ms, 99th percentile=15,294 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0,036 ms, max=0,38 ms, 99th percentile=0,256 ms
info: obs_graphics_thread(33,3333 ms): min=0,047 ms, median=3,036 ms, max=36,017 ms, 99th percentile=30,087 ms, 99,1667% below 33,333 ms
info:  ┣tick_sources: min=0 ms, median=2,379 ms, max=34,744 ms, 99th percentile=15,069 ms
info:  ┣output_frame: min=0,022 ms, median=0,244 ms, max=16,087 ms, 99th percentile=1,459 ms
info:  ┃ ┗gs_context(video->graphics): min=0,022 ms, median=0,243 ms, max=16,086 ms, 99th percentile=1,459 ms
info:  ┃   ┣render_video: min=0,018 ms, median=0,2 ms, max=16,032 ms, 99th percentile=1,354 ms
info:  ┃   ┃ ┗render_main_texture: min=0,015 ms, median=0,197 ms, max=16,028 ms, 99th percentile=1,351 ms
info:  ┃   ┗gs_flush: min=0,001 ms, median=0,031 ms, max=0,273 ms, 99th percentile=0,198 ms
info:  ┗render_displays: min=0,002 ms, median=0,278 ms, max=14,613 ms, 99th percentile=2,849 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25,119 ms, median=25,312 ms, max=48,479 ms, 78,481% within ±2% of 25 ms (0% lower, 21,519% higher)
info: obs_graphics_thread(33,3333 ms): min=30,865 ms, median=33,333 ms, max=36,021 ms, 98,3264% within ±2% of 33,333 ms (0,83682% lower, 0,83682% higher)
info: =================================================
info: Number of memory leaks: 0

EDIT: Forgot to add the log of OBS running with prime-run. Since it exceeded max characters I attached it.
 

Attachments

  • obs_prime-run.log
    9.8 KB · Views: 34
Last edited:

MyriadAsura

New Member
Solved: Apparently there are two versions of the 940MX card, one with GM107 and another with GM108. The latter has not support for NVENC.
 
Top