Prime run message

This commit is contained in:
dec05eba
2024-03-10 23:39:06 +01:00
parent 406f1092ca
commit 6c594d9166

View File

@@ -1381,7 +1381,7 @@ static void list_supported_video_codecs() {
if(wayland || egl.gpu_info.vendor != GSR_GPU_VENDOR_NVIDIA) {
// TODO: Allow specifying another card, and in other places
if(!gsr_get_valid_card_path(&egl, card_path)) {
fprintf(stderr, "Error: no /dev/dri/cardX device found. If you are using prime-run then run without it\n");
fprintf(stderr, "Error: no /dev/dri/cardX device found. If you are running GPU Screen Recorder with prime-run then try running without it\n");
_exit(2);
}
}
@@ -1878,7 +1878,7 @@ int main(int argc, char **argv) {
if(wayland || egl.gpu_info.vendor != GSR_GPU_VENDOR_NVIDIA) {
// TODO: Allow specifying another card, and in other places
if(!gsr_get_valid_card_path(&egl, egl.card_path)) {
fprintf(stderr, "Error: no /dev/dri/cardX device found. If you are using prime-run then run without it\n");
fprintf(stderr, "Error: no /dev/dri/cardX device found. If you are running GPU Screen Recorder with prime-run then try running without it\n");
_exit(2);
}
}