aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO6
-rw-r--r--src/egl.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/TODO b/TODO
index bb17a96..c1697cf 100644
--- a/TODO
+++ b/TODO
@@ -232,4 +232,8 @@ When adding vulkan video support add VK_VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHR
Implement screenshot without invoking opengl (which is slow to start on some systems).
Automatically use desktop portal on wayland when hdr is enabled (or night light) by checking if kms hdr metadata exists, if hdr video codec is not used.
- Or maybe do this in the ui? \ No newline at end of file
+ Or maybe do this in the ui?
+
+Detect if cached portal session token is no longer valid (this can happen if the user switches to another wayland compositor).
+
+Support reconnecting (and setting things up again) if the audio server is restarted (for both device recording and app recording).
diff --git a/src/egl.c b/src/egl.c
index be5a44d..0608526 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -455,6 +455,12 @@ bool gsr_egl_load(gsr_egl *self, gsr_window *window, bool is_monitor_capture, bo
}
gsr_egl_disable_vsync(self);
+
+ 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");
+ }
+
return true;
fail: