diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-16 01:07:41 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-16 01:07:58 +0200 |
commit | eb602b9b531d58908e91a3e44a5004c935cc9a46 (patch) | |
tree | 225f3d2e739727c824e95a51cd7bc337fdfa6d51 | |
parent | 19d77b8a9660c31792afbeab229f66dc73e74df0 (diff) |
4.2.2: AMD IS SHIT4.2.2
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | project.conf | 2 | ||||
-rw-r--r-- | src/main.cpp | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 4d332ca..51b493d 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gpu-screen-recorder', ['c', 'cpp'], version : '4.2.1', default_options : ['warning_level=2']) +project('gpu-screen-recorder', ['c', 'cpp'], version : '4.2.2', default_options : ['warning_level=2']) add_project_arguments('-Wshadow', language : ['c', 'cpp']) if get_option('buildtype') == 'debug' diff --git a/project.conf b/project.conf index 7dfa6d9..7db795a 100644 --- a/project.conf +++ b/project.conf @@ -1,7 +1,7 @@ [package] name = "gpu-screen-recorder" type = "executable" -version = "4.2.1" +version = "4.2.2" platforms = ["posix"] [config] diff --git a/src/main.cpp b/src/main.cpp index 4706c9b..2073682 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2611,6 +2611,8 @@ int main(int argc, char **argv) { // The downside of this is that it always uses maximum power, which is not ideal for replay mode that runs on system startup. // This option was added in mesa 24.1.4, released on july 17, 2024. // TODO: Add an option to enable/disable this? + // Seems like the performance issue is not in encoding, but rendering the frame. + // Some frames end up taking 10 times longer. Seems to be an issue with amd gpu power management when letting the application sleep on the cpu side? setenv("AMD_DEBUG", "lowlatencyenc", true); // Some people set this to nvidia (for nvdec) or vdpau (for nvidia vdpau), which breaks gpu screen recorder since // nvidia doesn't support vaapi and nvidia-vaapi-driver doesn't support encoding yet. |