Add high performance encoding option (for amd) in settings page. Requires gsr version >= 5.3.4

This commit is contained in:
dec05eba
2025-03-30 17:16:21 +02:00
parent 2b63fa048c
commit 3060e3ee00
9 changed files with 41 additions and 11 deletions

5
TODO
View File

@@ -139,4 +139,7 @@ Add a hotkey to record/stream/replay region.
Do xi grab for keys as well. Otherwise the ui cant be used for keyboard input if a program has grabbed the keyboard, and there could possibly be a game that grabs the keyboard as well.
Make inactive buttons gray (in dropdown boxes and in the front page with save, etc when replay is not running).
Make inactive buttons gray (in dropdown boxes and in the front page with save, etc when replay is not running).
Implement focused monitor capture. On nvidia x11 just use the x11 monitor name. On wayland get monitor name from drm cursor. We can get x11 monitor by combining all drm monitors together (with either x11 or wayland monitor position info) and then calculating the x11 monitor at that position.
To get the drm monitor from x11 cursor we can get the x11 monitor then get the CONNECTOR_ID property and get the monitor that matches that. Then copy the drm monitor name code from gsr and use that in gsr-ui to get the same name to use as monitor.