Add -low-power option to allow prevent the gpu to go into a high power mode on amd, useful for replay running 24/7

This commit is contained in:
dec05eba
2026-01-15 20:20:01 +01:00
parent 8af761f9bd
commit f4d061eee7
5 changed files with 32 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
typedef struct gsr_egl gsr_egl;
#define NUM_ARGS 35
#define NUM_ARGS 36
typedef enum {
GSR_CAPTURE_SOURCE_TYPE_WINDOW,
@@ -91,6 +91,7 @@ typedef struct {
bool verbose;
bool gl_debug;
bool fallback_cpu_encoding;
bool low_power;
bool record_cursor;
bool date_folders;
bool restore_portal_session;