diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-26 11:32:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-26 11:32:59 +0200 |
commit | 6be0324528d240d135fde47aed41a26979f4f0a6 (patch) | |
tree | 188ce1a40c5f1e6302dbc9fd20b35311ef2bbb09 /src/main.cpp | |
parent | b1d8346ed95f356842455fedb415f97d6c4cacb9 (diff) |
Info: error if invalid drm card
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 48d94f2..8c80164 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1754,7 +1754,7 @@ static void info_command() { egl.card_path[0] = '\0'; if(monitor_capture_use_drm(&egl, wayland)) { // TODO: Allow specifying another card, and in other places - if(!gsr_get_valid_card_path(&egl, egl.card_path, false)) { + if(!gsr_get_valid_card_path(&egl, egl.card_path, true)) { fprintf(stderr, "Error: no /dev/dri/cardX device found. If you are running GPU Screen Recorder with prime-run then try running without it. Also make sure that you have at least one connected monitor or record a single window instead on X11\n"); _exit(23); } |