[LINUX][0.22.2] Framerate drops to 40 while game is running at 60fps in 4K stream #2348
-
Setup
ProblemWhen streaming to my client, the stream framerate regularly drops to 40/30 fps on the very same scene. If I fiddle with some settings, stay idle on static and visually "poor" scene, the fps has a chance of bumping up again. But then can also drop again. IllustrationAt around 10s: hzfw.webm Logs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I have tried patching like mentioned here: However, the VAAPI encoder doesn't support AVBR rc_mode and the software / CPU cannot sustain 4k60 fps encoding. |
Beta Was this translation helpful? Give feedback.
-
I just noticed that I cannot reproduce this issue when the performance level is set to high:
For some reason, the dynamic power management even when during heavy workloads is apparently still finding ways to lower clocks/power usage in ways that destroys encoding performance, while the main workload itself remains fairly stable. Observing if this is a definitive fix for this problem. AMD or rather RADEON being the usual enemies with DPM since 10 years I guess. |
Beta Was this translation helpful? Give feedback.
Ok, I'll try to put something together when I get time. Another thing I noticed is that when the computer comes from sleep, even though the perf level is "high", I had to switch it back to
auto
and then back again tohigh
for the lower encoding performance to stop.Now I experience the stuttering mentioned in the other discussion though. I'll try the fix there.