diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-26 17:45:05 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-26 17:48:11 +0200 |
commit | 5e2a233d235414ec0e8c12f62e59ba9e51b144e7 (patch) | |
tree | 5e312c89b5c155fe049a30075a015df969a15827 /TODO | |
parent | 6be0324528d240d135fde47aed41a26979f4f0a6 (diff) |
Disable prime-run for now until the option to select a gpu device is added
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |