obsproject / obsproject/obs-studio

QSV encoder MFX_ERR_DEVICE_FAILED on Linux

Open
#9,324 13 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform/linux
Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Ubuntu 22.04

Other OS

No response

OBS Studio Version

Git

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/ZkkkKWsRJHD0PTT8

OBS Studio Crash Log URL

No response

Expected Behavior

Recording starts

Current Behavior

Recording fails to initiate after changing QSV encoder setting.

Steps to Reproduce

OBS git master compiled with -DENABLE_QSV11=ON. libmfx-gen1.2 is required to make QSV working.

  1. Start obs. Change some QSV encoder setting(like bitrate, profile or latency) or changing from other encoder to QuickSync H264/H265. Start recording.
  2. Recording fails to initiate.

Restarting OBS fixes the problem.

Anything else we should know?

The log says I'm using a modified build. I only add a plugin by add_subdirectory(obs-shaderfilter) to plugins/CMakeLists.txt but it's irrelevant to this issue. I've tried compiling without this plugin, same result.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked OBS log and reproducing the failure on Ubuntu 22.04 with OBS git master, ENABLE_QSV11, and libmfx-gen1.2. Exercise the QSV settings changes described in the issue, including switching encoders, and compare behavior before and after restarting OBS. Done means recording starts reliably without requiring a restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.