From 5e2a233d235414ec0e8c12f62e59ba9e51b144e7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 26 Jul 2024 17:45:05 +0200 Subject: Disable prime-run for now until the option to select a gpu device is added --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 00989c0..0c87db9 100644 --- a/TODO +++ b/TODO @@ -129,7 +129,7 @@ Support vfr matching games exact fps all the time. On x11 use damage tracking, o Another method to track damage that works regardless of the display server would be to do a diff between frames with a shader. Support selecting which gpu to use. This can be done in egl with eglQueryDevicesEXT and then eglGetPlatformDisplayEXT. This will automatically work on AMD and Intel as vaapi uses the same device. On nvidia we need to use eglQueryDeviceAttribEXT with EGL_CUDA_DEVICE_NV. - Maybe on glx (nvidia x11 nvfbc) we need to use __NV_PRIME_RENDER_OFFLOAD_PROVIDER and __GLX_VENDOR_LIBRARY_NAME instead. + Maybe on glx (nvidia x11 nvfbc) we need to use __NV_PRIME_RENDER_OFFLOAD, __NV_PRIME_RENDER_OFFLOAD_PROVIDER, __GLX_VENDOR_LIBRARY_NAME, __VK_LAYER_NV_optimus, VK_ICD_FILENAMES instead. Just look at prime-run /usr/bin/prime-run. Remove is_damaged and clear_damage and return a value from capture function instead that states if the image has been updated or not. -- cgit v1.2.3