aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-02-22 18:46:56 +0100
committerdec05eba <dec05eba@protonmail.com>2025-02-22 18:46:56 +0100
commit0d1560c1287081e4501120214a65da43d018f0e5 (patch)
treea5ae9c454c26e4c16f8b66bba3c60f55e9552f4c /src/egl.c
parent5c14babb80948bf67eb10066e8d5af74e1cc716f (diff)
Dont show nvidia-smi output
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl.c b/src/egl.c
index 0608526..e2a0958 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -458,7 +458,7 @@ bool gsr_egl_load(gsr_egl *self, gsr_window *window, bool is_monitor_capture, bo
if(self->gpu_info.vendor == GSR_GPU_VENDOR_NVIDIA) {
/* This fixes nvenc codecs unable to load on openSUSE tumbleweed because of a cuda error. Don't ask me why */
- system("nvidia-smi");
+ system("nvidia-smi > /dev/null");
}
return true;