Bug 291889 - multimedia/obs-studio: bring back NVENC
Summary: multimedia/obs-studio: bring back NVENC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on: 291888
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-23 06:51 UTC by Alex S
Modified: 2026-03-03 00:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
obs-nvenc (9.19 KB, patch)
2025-12-23 06:51 UTC, Alex S
no flags Details | Diff
obs-nvenc v2 (8.99 KB, patch)
2025-12-23 06:58 UTC, Alex S
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex S 2025-12-23 06:51:53 UTC
Created attachment 266472 [details]
obs-nvenc

We lost NVENC support in OBS somewhere around https://github.com/obsproject/obs-studio/pull/10536,
so the attached patch rectifies that.

As a reminder, on FreeBSD NVENC is not available directly, but rather
through linux-nvidia-libs and libc6-shim, which provides `nv-sglrun`
script for this very occasion. Use `nv-sglrun obs-nvenc-test`, etc.
Comment 1 Alex S 2025-12-23 06:58:16 UTC
Created attachment 266473 [details]
obs-nvenc v2

Eh, got rid of the stray line.
Comment 2 Alex S 2026-03-02 21:36:04 UTC
Can we get this merged? It's been a while and don't see any blockers.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-02 22:40:36 UTC
Maintainer timeout more than 2 months.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2026-03-02 23:40:57 UTC
Sorry, I missed this.

I am on it.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2026-03-03 00:08:04 UTC
Committed.

Thanks for your patch and sorry for the delay!
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-03-03 00:09:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9fb3cdfc599bbd632a72f679171562a786006cf9

commit 9fb3cdfc599bbd632a72f679171562a786006cf9
Author:     Alex S <iwtcex@gmail.com>
AuthorDate: 2026-03-03 00:06:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-03 00:08:20 +0000

    multimedia/obs-studio: bring back NVENC

    PR:             291889

 multimedia/obs-studio/Makefile                     | 12 +++---
 .../obs-studio/files/patch-plugins_CMakeLists.txt  | 11 ++++-
 .../patch-plugins_obs-nvenc_CMakeLists.txt (new)   | 29 +++++++++++++
 ...s_obs-nvenc_obs-nvenc-test_CMakeLists.txt (new) | 10 +++++
 multimedia/obs-studio/pkg-plist                    | 50 ++++++++++++++++++++++
 5 files changed, 106 insertions(+), 6 deletions(-)