mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-07 15:19:55 +09:00
Prime run message
This commit is contained in:
@@ -1381,7 +1381,7 @@ static void list_supported_video_codecs() {
|
|||||||
if(wayland || egl.gpu_info.vendor != GSR_GPU_VENDOR_NVIDIA) {
|
if(wayland || egl.gpu_info.vendor != GSR_GPU_VENDOR_NVIDIA) {
|
||||||
// TODO: Allow specifying another card, and in other places
|
// TODO: Allow specifying another card, and in other places
|
||||||
if(!gsr_get_valid_card_path(&egl, card_path)) {
|
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);
|
_exit(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1878,7 +1878,7 @@ int main(int argc, char **argv) {
|
|||||||
if(wayland || egl.gpu_info.vendor != GSR_GPU_VENDOR_NVIDIA) {
|
if(wayland || egl.gpu_info.vendor != GSR_GPU_VENDOR_NVIDIA) {
|
||||||
// TODO: Allow specifying another card, and in other places
|
// TODO: Allow specifying another card, and in other places
|
||||||
if(!gsr_get_valid_card_path(&egl, egl.card_path)) {
|
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);
|
_exit(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user