-
-
Notifications
You must be signed in to change notification settings - Fork 87
AMF H264 encoder hangs OBS on shutdown #422
Comments
I have confirmed this hang on my system. |
Can confirm as well. |
well, the fix would just be to not use the "quality" preset.
|
https://www.amd.com/en/support/kb/release-notes/rn-rad-win-21-10-2 New driver, and it seems to be working super well for me. No crashes or hangs on shutdown. h264 issue seem resolved. I can run 1440p i444. Quality preset seems to be working, as well as motion boost etc. Give it a try. |
Newest Optional Driver 21.10.2 doesn't work with 6700 XT GPU. OBS fails to start the encoder and has issues with the Pre-Pass Mode. Here are the logs |
with obsproject/obs-studio#6508 being merged, I think it makes sense to just close this issue, as it wont be relevant any more fairly soon. |
Description
Log: https://obsproject.com/logs/ifdwIjjLYlmHCr9S
Current behavior:
If the encoder is set to use the preset "Quality", and you trigger a recording, the encoder seems to deadlock/hang on shutdown, leaving the OBS process hanging (seemingly forever).
Expected Behavior
I expect OBS to shutdown cleanly when using AMF, without having to kill it in task manager
Reproduction Steps
System Information
Win10 20h2
OBS 27.0.1
Checklist:
Additional information
Stack trace during hang:
https://hastebin.com/imuzoyahaq
(check line 612)
Previously I was running older AMD display drivers (20.11.2), and they did not exhibit this issue.
Once I updated to more recent drivers (21.6.1) this issue becomes apparent.
I've attempted to mimic OBS' encoder settings in ffmpeg 4.4, and it does not display similar behavior on the recent drivers.
Changing the quality preset back to "balanced" destroys the encoder on shutdown successfully.
@Pablomx2 brought this issue to my attention, and we've spent some time working it out.
Very similar (I think identical) behavior is observed both on my AMD 4500U APU, and their RX 6700 XT.
The text was updated successfully, but these errors were encountered: