aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-04 00:19:01 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-04 00:19:01 +0200
commit1423374f81f9f81ac283e7b1a0f52fb253cb457f (patch)
tree3da3fd3bf50a3f7f08ca20ac6846484e9c061ac6 /src/main.cpp
parentdaa749dd0f55286d9663c8cef22a379401d5aa49 (diff)
Allow prime-run
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 193b783..e209348 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3916,11 +3916,6 @@ int main(int argc, char **argv) {
unsetenv("__GL_SYNC_TO_VBLANK");
// Same as above, but for amd/intel
unsetenv("vblank_mode");
- // Disable prime-run and similar options as it doesn't work, the monitor to capture has to be run on the same device
- unsetenv("__NV_PRIME_RENDER_OFFLOAD");
- unsetenv("__NV_PRIME_RENDER_OFFLOAD_PROVIDER");
- unsetenv("__GLX_VENDOR_LIBRARY_NAME");
- unsetenv("__VK_LAYER_NV_optimus");
dpy = XOpenDisplay(NULL);
gsr_info_exit_status = get_gpu_screen_recorder_info(&gsr_info);