From 551f58fca10383c2286dbada90d1cf4cadbd1783 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Oct 2024 01:40:12 +0200 Subject: Disable kms client check for now --- README.md | 2 +- kms/server/kms_server.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 663f821..4b9f2e1 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ This software works on X11 and Wayland on AMD, Intel and NVIDIA. ### AMD/Intel/Wayland root permission When recording a window or when using the `-w portal` option under AMD/Intel no special user permission is required, however when recording a monitor (or when using wayland) the program needs root permission (to access KMS).\ -This is safe in GPU Screen Recorder as the part that needs root access has been moved to its own small program that only does one thing and it only allows GPU Screen Recorder to run it.\ +This is safe in GPU Screen Recorder as the part that needs root access has been moved to its own small program that only does one thing.\ For you as a user this only means that if you installed GPU Screen Recorder as a flatpak then a prompt asking for root password will show up when you start recording. # Performance On a system with a i5 4690k CPU and a GTX 1080 GPU:\ diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c index 53770b4..e671207 100644 --- a/kms/server/kms_server.c +++ b/kms/server/kms_server.c @@ -576,10 +576,10 @@ int main(int argc, char **argv) { goto done; } - if(!is_remote_peer_program_gpu_screen_recorder(socket_fd)) { - res = 3; - goto done; - } + // if(!is_remote_peer_program_gpu_screen_recorder(socket_fd)) { + // res = 3; + // goto done; + // } for(;;) { gsr_kms_request request; -- cgit v1.2.3