aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-12 01:40:12 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-12 01:40:12 +0200
commit551f58fca10383c2286dbada90d1cf4cadbd1783 (patch)
treea0cef893b306ecad236841f23149bdbdbc41ab97
parentf260934667030ed922aaec3f31831d1af7c05660 (diff)
Disable kms client check for now
-rw-r--r--README.md2
-rw-r--r--kms/server/kms_server.c8
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;