Start Recording Fails after changing settings on Linux QuickSync
Operating System Info
Other
Other OS
Ubuntu 24.04 (Flathub build)
OBS Studio Version
30.2.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/Da6YinR1tXzyWDbJ
OBS Studio Crash Log URL
No response
Expected Behavior
I expect that "Start Recording" works every time.
Current Behavior
"Start Recording" only works if the recording settings are not changed beforehand. If they are changed, OBS Studio must be closed and opened again before start recording will work.
Steps to Reproduce
- Set video encoder to "QuickSync HEVC" or "QuickSync H.264" (the issue does not occur on other encoders)
- Start and stop recording
- Change a setting in the recording tab (eg: the bitrate value)
- Start recording and observe the "Starting the output failed. Please check the log for details" error
Anything else we should know?
No response
duplicate of #9324
Hmm maybe not since it doesnt have the same error, yours reports unsupported config.
Does this happen if you change the setting after the first attempt? Or does this only happen after repeated attempts to start an encoder session? Can you reproduce this error without changing encoder settings, but just making repeated attempts to start an encoder session with the same settings?
@RytoEX
Does this happen if you change the setting after the first attempt?
Not sure what you are asking. The issue occurs when you follow the steps I have written.
does this only happen after repeated attempts to start an encoder session?
No. It has nothing to do with the number of encoder start attempts. I will adjust the steps to remove unnecessary steps at the bottom of this comment.
Can you reproduce this error without changing encoder settings, but just making repeated attempts to start an encoder session with the same settings?
No. Starting and stopping the encoder multiple times works fine if no settings are changed inbetween.
Revised more detailed minimal reproduction steps:
- Run OBS-Studio.
- Set video encoder to "QuickSync HEVC" or "QuickSync H.264" (this can be done after starting OBS-Studio or saved from the previous session, it does not matter which one is done).
- Change a setting in the recording tab (eg: the bitrate value)
- Start recording and observe the "Starting the output failed. Please check the log for details" error
If step 3 is not done, recording works fine. Additionally, if OBS-Studio is closed and opened again between step 3 and 4, the recording will succeed with the new settings.
@RytoEX
Does this happen if you change the setting after the first attempt?
Not sure what you are asking. The issue occurs when you follow the steps I have written.
Does it occur if you:
- Start and stop a recording session.
- Change one setting.
- Start a new recording session.
The core of the question is, "Does this happen without 3-5 encoder session start attempts?" There used to be an issue where multiple started and stopped encoder sessions would cause a subsequent session start to fail, even if no settings were changed. I wanted to determine that this is not the same issue resurfacing in a new way.
The rest of the reply indicates that it does not require multiple encoder sessions, but someone who is familiar with QSV on Linux will have to continue investigating.
Does it occur if you:
- Start and stop a recording session.
- Change one setting.
- Start a new recording session.
@RytoEX The question you are asking are already clearly answered in the steps. I will answer it again now but its frustrating to have to answer a question that is already clearly answered in the reproduction steps and my previous message https://github.com/obsproject/obs-studio/issues/11140#issuecomment-2495673272 ("It has nothing to do with the number of encoder start attempts")
Does it occur if you:
- Start and stop a recording session.
- Change one setting.
- Start a new recording session.
The answer is "Yes"
"Does this happen without 3-5 encoder session start attempts?"
The answer is "Yes"
Does it occur if you:
- Start and stop a recording session.
- Change one setting.
- Start a new recording session.
@RytoEX The question you are asking are already clearly answered in the steps. I will answer it again now but its frustrating to have to answer a question that is already clearly answered in the reproduction steps #11140 (comment)
The point was to answer your prior message and ascertain more specific information:
Not sure what you are asking. The issue occurs when you follow the steps I have written.
The point was to answer your prior message and ascertain more specific information:
Not sure what you are asking. The issue occurs when you follow the steps I have written.
It this case it would have been sufficient to simply say: "My question was answered with your own explanation." and then rephrase it if you were so inclined. The way you responded indicated to me that you didn't read my full response before responding yourself (the frustrating part).