If you enable QSV in obs-studio, the ebuild builds just fine but it cannot encode videos unless you also install media-libs/intel-mediasdk. Reproducible: Always Steps to Reproduce: 1. install obs-studio with USE=qsv 2. start obs-studio on a CPU with Intel iGPU 3. switch stream/recording to Intel QSV 4. error occurs Actual Results: error is shown in the log: 01:28:44.956: >>> app not on intel GPU, fall back to old qsv encoder 01:28:44.956: [qsv encoder: 'advanced_video_recording'] settings: 01:28:44.956: codec: H.264 01:28:44.956: rate_control: VBR 01:28:44.956: target_bitrate: 8000 01:28:44.956: max_bitrate: 12000 01:28:44.956: Lookahead Depth:60 01:28:44.956: target_usage: TU4 01:28:44.956: profile: high 01:28:44.956: keyint: 0 01:28:44.956: latency: normal 01:28:44.956: b-frames: 3 01:28:44.956: fps_num: 60 01:28:44.956: fps_den: 1 01:28:44.956: width: 2560 01:28:44.956: height: 1440 01:28:44.956: [qsv encoder: 'advanced_video_recording'] debug info: 01:28:44.960: Failed to initialize MFX 01:28:44.960: [qsv encoder: 'msdk_impl'] Specified object/item/sync point not found. (MFX_ERR_NOT_FOUND) 01:28:44.960: [qsv encoder: 'advanced_video_recording'] qsv failed to load 01:28:44.960: major: 1 01:28:44.960: minor: 0 01:28:44.960: interval: 4 01:28:44.960: GopPictSize: 0 01:28:44.960: g_pts2dtsShift: 0 Expected Results: Streaming and recording should just work. I'm linking a PR which fixes this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361170b3f6aa367a12460e189a682cb6745b4eaa commit 361170b3f6aa367a12460e189a682cb6745b4eaa Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2024-08-22 04:25:01 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2024-08-22 05:57:01 +0000 media-video/obs-studio: add 30.2.3 This restores "legacy ffmpeg" being used via USE="nvenc", which seems to be more in line with the upstream default for the time being, and there seem to be potential performance problems [1] with the new, "native nvenc", so stick to "legacy" for now. The next non-patch release should have CMake options tweaked to handle these better (will be in 9999 soon), and if there is want for experimenting more with it already, can always flip it using 'MYCMAKEARGS="-DENABLE_NATIVE_NVENC=ON"'. 1. https://github.com/obsproject/obs-studio/issues/11009 Closes: https://bugs.gentoo.org/936826 Closes: https://bugs.gentoo.org/938022 Closes: https://github.com/gentoo/gentoo/pull/37755 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> media-video/obs-studio/Manifest | 2 + media-video/obs-studio/obs-studio-30.2.3.ebuild | 274 ++++++++++++++++++++++++ media-video/obs-studio/obs-studio-9999.ebuild | 9 +- 3 files changed, 282 insertions(+), 3 deletions(-)