aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-20 15:28:37 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-20 15:28:37 +0200
commit45a10baf5f46785383d6885ac602060d7d4caa1f (patch)
tree847eccd871a1dc600ee96141469177a606e2f690 /src/main.cpp
parentfaf6ba69a0f3eeafb54ca761298c602649bf4b62 (diff)
Disable steam deck support at the moment because the driver is broken (ignores qp, capture tearing)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9ac958a..88eb536 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1843,6 +1843,11 @@ static void info_command() {
_exit(22);
}
+ if(egl.gpu_info.is_known_broken_driver) {
+ fprintf(stderr, "gsr error: recording is not supported on your device because your device has broken drivers\n");
+ _exit(14);
+ }
+
egl.card_path[0] = '\0';
if(monitor_capture_use_drm(&egl, wayland)) {
// TODO: Allow specifying another card, and in other places
@@ -2758,6 +2763,11 @@ int main(int argc, char **argv) {
_exit(1);
}
+ if(egl.gpu_info.is_known_broken_driver) {
+ fprintf(stderr, "gsr error: recording is not supported on your device because your device has broken drivers\n");
+ _exit(14);
+ }
+
bool very_old_gpu = false;
if(egl.gpu_info.vendor == GSR_GPU_VENDOR_NVIDIA && egl.gpu_info.gpu_version != 0 && egl.gpu_info.gpu_version < 900) {