Move dbus code to a separate process to allow gpu-screen-recorder to use cap_sys_nice for better recording performance on amd

This commit is contained in:
dec05eba
2025-05-10 17:10:59 +02:00
parent 811a14481d
commit e3225bc628
15 changed files with 632 additions and 53 deletions

View File

@@ -8,6 +8,7 @@
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <limits.h>
@@ -434,6 +435,8 @@ static double clock_get_monotonic_seconds(void) {
}
int main(int argc, char **argv) {
setlocale(LC_ALL, "C"); // Sigh... stupid C
int res = 0;
int socket_fd = 0;
gsr_drm drm;