obsproject / obsproject/obs-studio
NVENC HEVC Fails to adjust recording configuration correctly when primary gpu is integrated graphics.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
30.1.0
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/MXv8OYdbRqrdf6Cl
OBS Studio Crash Log URL
No response
Expected Behavior
In Windows' settings I can choose between "Power Saving" and "High Performance" to force the OBS GUI to run on the integrated or dedicated cards. I prefer the gui on the iGPU as it makes DXGI Desktop capture work correctly.
I would expect either choice to have no effect on video capture.
Current Behavior
The Nvidia 1050 seemingly has some specific requirements about HEVC capture.
- Psycho Visual Tuning is disabled
- Max B-Frames are set to 0
When the gui (obs64.exe) is running on the 1050 NVENC capture works fine by adjusting to these settings automatically if the user's configuration is incorrect. (Log: here)
However, when the gui is on the igpu with NVENC HEVC active, B-Frames are not adjusted to 0 if the user's settings are misconfigured. This throws an "Unsupported Device" error. (Log: here)
Steps to Reproduce
- Use the default Advanced Recording NVENC HEVC settings
- Launch OBS on the iGPU (Windows' "Graphics Performance Preference" for
obs64.exeset to "Power Saving") - Try record. It should fail.
- Relaunch OBS on the dGPU (windows graphics on "High Performance")
- Try record. It will succeed (by silently modifying the settings - see the logs)
...
This might require specific hardware as seen below.
Anything else we should know?
My laptop's configuration is as follows:
- intel i5-8250u w/UHD 620 iGPU which governs the primary display (driver 31.0.101.2127)
- gtx 1050 dedicated gpu (gameready driver 551.76)
- Windows 10.0.19045
- OBS is being run as administrator
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the linked OBS logs for the integrated-GPU and dedicated-GPU launches, then reproduce the NVENC HEVC recording failure using the listed Windows graphics settings and hardware configuration. Done means recording succeeds when OBS runs on the iGPU, without the unsupported-device error, while the required HEVC settings are applied consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100