diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-08 17:28:17 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-08 17:28:17 +0100 |
commit | f6f8f2068601f7e412643a2a589bedce6e2c5fce (patch) | |
tree | 4bd5a3ab0b610015fe86f3ccac115f58eb879ee0 /TODO | |
parent | 43d353b7b4a544fc06a52fdcf1eb79a2b501cf9e (diff) |
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -69,8 +69,6 @@ Exit if X11/Wayland killed (if drm plane dead or something?) Use SRC_W and SRC_H for screen plane instead of crtc_w and crtc_h. -Make it possible to select which /dev/dri/card* to use, but that requires opengl to also use the same card. Not sure if that is possible for amd, intel and nvidia without using vulkan instead. - Test if p2 state can be worked around by using pure nvenc api and overwriting cuInit/cuCtxCreate* to not do anything. Cuda might be loaded when using nvenc but it might not be used, with certain record options? (such as h264 p5). nvenc uses cuda when using b frames and rgb->yuv conversion, so convert the image ourselves instead.- @@ -210,3 +208,11 @@ Ffmpeg fixed black bars in videos on amd when using hevc and when recording at s Disable gpu screen recorder black bar handling when using hevc on amd when the libavcodec version is the one that comes after those commits. Use opengl compute shader instead of graphics shader. This might allow for better performance when games are using 100% of graphics unit which might fix issue with 100% gpu usage causing gpu screen recorder to run slow when not using vaapi to convert rgb to nv12(?). + +Always disable prime run/dri prime and list all monitors to record from from all cards. + Do this instead of adding an option to choose which gpu to use. + On X11 the primary gpu will always have the framebuffer for all monitors combined. + Use randr to list all monitors and always record and encode with the primary gpu. + On Wayland each gpu will have its own list of monitors with framebuffers. + Iterate through all cards with drm and list all monitors with associated framebuffers and when choosing a monitor to record + automatically use the associated gpu card.
\ No newline at end of file |