[Bug 1189829] New: OBS Studio (Open Broadcaster) cannot record with NVidia GPU due to NVENC
http://bugzilla.opensuse.org/show_bug.cgi?id=1189829 Bug ID: 1189829 Summary: OBS Studio (Open Broadcaster) cannot record with NVidia GPU due to NVENC Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: 64bit OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: jebin12raj@gmail.com QA Contact: sndirsch@suse.com Found By: --- Blocker: --- Created attachment 852065 --> http://bugzilla.opensuse.org/attachment.cgi?id=852065&action=edit Error in OBS Studio Issue: OBS-studio installed from Repo fails to record or stream with NVidia GPU enabled. The following error is thrown in the window ``` Failed to start recording Failed to open NVENC codec: Generic error in an external library Check your video drivers are up to date. Try closing other recording software which might be using NVENC such as NVIDIA Shadowplay or Windows 10 Game DVR. ``` In the konsole, the following errors appear. ``` warning: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Generic error in an external library warning: [NVENC encoder] nvenc_create_internal failed, trying again without Psycho Visual Tuning 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 psycho-aq: 0 GPU: 0 [h264_nvenc @ 0x55bdb5db4480] OpenEncodeSessionEx failed: unsupported device (2): (no details) [h264_nvenc @ 0x55bdb5db4480] No capable devices found warning: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Generic error in an external library ``` I have the related codecs installed as the following came up when I ran "ffmpeg -codecs | grep nvenc" ``` DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_qsv h264_cuvid ) (encoders: libx264 libx264rgb h264_nvenc h264_qsv h264_v4l2m2m h264_vaapi nvenc nvenc_h264 ) DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_qsv hevc_v4l2m2m hevc_cuvid ) (encoders: libx265 nvenc_hevc hevc_nvenc hevc_qsv hevc_v4l2m2m hevc_vaapi ) ``` My issue is similar to what can be seen in this thread - https://plus.diolinux.com.br/t/obs-studio-falha-ao-abrir-o-codec-nvenc-unkno... Hence, I believe it is related to NVidia or the OBS studio build in the repo. System Information: Operating System: openSUSE Tumbleweed 20210824 KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.13.12-2-default (64-bit) Graphics Platform: X11 Processors: 4 �� Intel�� Core��� i7-5500U CPU @ 2.40GHz Memory: 7.7 GiB of RAM Graphics Processor: NVIDIA GeForce 840M/PCIe/SSE2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189829 http://bugzilla.opensuse.org/show_bug.cgi?id=1189829#c1 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- I don't know anything about using OBS studio, but I guess for NVENC it needs the nvidia proprietary drivers. I suggest to install these first and get them running. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189829 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X11 3rd Party Driver |Other Assignee|gfx-bugs@suse.de |screening-team-bugs@suse.de QA Contact|sndirsch@suse.com |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189829 http://bugzilla.opensuse.org/show_bug.cgi?id=1189829#c2 --- Comment #2 from Jebin S <jebin12raj@gmail.com> --- I'm already on the latest proprietary driver. Here's the output of nvidia-smi Mon Aug 30 19:44:16 2021 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.57.02 Driver Version: 470.57.02 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 NVIDIA GeForce ... Off | 00000000:08:00.0 Off | N/A | | N/A 58C P0 N/A / N/A | 477MiB / 2004MiB | 6% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 1320 G /usr/bin/Xorg.bin 149MiB | | 0 N/A N/A 6556 G /usr/bin/kwin_x11 31MiB | | 0 N/A N/A 6619 G /usr/bin/plasmashell 34MiB | | 0 N/A N/A 7288 G /usr/lib64/firefox/firefox 124MiB | | 0 N/A N/A 7684 G ...underbird/thunderbird-bin 87MiB | | 0 N/A N/A 18017 G /usr/lib64/firefox/firefox 0MiB | | 0 N/A N/A 18138 G /usr/lib64/firefox/firefox 37MiB | | 0 N/A N/A 26923 G /usr/lib64/firefox/firefox 0MiB | +-----------------------------------------------------------------------------+ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189829 http://bugzilla.opensuse.org/show_bug.cgi?id=1189829#c4 --- Comment #4 from Jebin S <jebin12raj@gmail.com> --- (In reply to Stefan Dirsch from comment #3)
Ok. Looks good. So from which repo did you install it?
https://build.opensuse.org/search?search_text=open+broadcaster
I've installed obs-studio from packman repo https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189829 http://bugzilla.opensuse.org/show_bug.cgi?id=1189829#c5 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- Ok. Then please report there. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com