Disable cap_sys_nice which causes amd gpu crash for some people. Do glFlush instead of swapBuffers, which allows it to run at high fps anyways. Downside is that some games on kde plasma can start to stutter. Kde plasma issue?

This commit is contained in:
dec05eba
2025-06-07 00:41:45 +02:00
parent 1ab2c066b4
commit 3b09cb7fd3
5 changed files with 3 additions and 35 deletions

2
TODO
View File

@@ -300,3 +300,5 @@ Either support webcam support with raw yuyv, mapping the buffer directly to open
Allow medium, high, very_high and ultra quality for -bm cbr. If that is used then it will automatically estimate the best bitrate for that quality based on resolution and fps.
Maybe do this in the ui instead (or both?), to show estimated file size.
Maybe remove shader compute code. It doesn't seem necessary anymore now that glSwapBuffer/glFinish isn't used. dbus server isn't needed anymore either, the code can be moved back to the gpu screen recorder process.