setcap nice for good performance when opening overlay when game is running below 60 fps. Maybe grab cursor with xi, as that will prevent games from detecting movement with xi2 api. Fullscreen on wayland doesn't render windows behind because it's a compositor optimization, to not draw anything behind (only draw the window directly without compositing). Fix this by drawing the window smaller, or have two windows (left and right half monitor width). Maybe change design to have black triangles appear and get larger until they fill the screen, with even spaces being left with no triangles. Exclude triangles from a diagonal line across the screen. Have buttons appear slanted in 3D. All of these things should be done with vertex buffer, for real 3D. WAYLAND_DISPLAY gamescope-0, DISPLAY=:1 (gamescope xwayland) Optimize list/page when having a few items in it (dont use vector>). Only redraw ui if changed (dirty state, propagate upward. Set dirty when adding widget or changing any visible properly on a widget or when event updates how the widget should be displayed). Use _NET_WM_ALLOWED_ACTIONS. Same for notifications. Handle events in draw function because the render position of elements is available there so why duplicate it in event handler. Add nvidia overclock option. Add support for window selection in capture. Add option to record the focused monitor. This works on wayland too when using kms capture since we can get cursor position without root and see which monitor (crtc) the cursor is on. Make hotkeys configurable. Filechooser should have the option to select list view, search bar and common folders/mounted drives on the left side for quick navigation. Also a button to create a new directory. Support wayland (excluding gnome, or force xwayland on gnome). Restart replay on system start if monitor resolution changes. Show warning when selecting hevc/av1 on amd because of amd driver/ffmpeg bug. Update gsr info and validate saved config when monitors update. The selected monitor/audio may no longer be available. Have different modes. Overlay, window and side menu. Overlay can be used on x11, window and side menu can be used on both x11 and wayland. Window mode should look similar to overlay. Show navigation breadcrumbs for settings and deeper navigation (such as selecting a directory to save videos). Add option to hide stream key like a password input. Add global setting. In that setting there should be an option to enable/disable gsr-ui from system startup (the systemd service). Add profiles and hotkey to switch between profiles (show notification when switching profile). Fix first frame being black. Add support for systray. Add option to take screenshot. Move event callbacks to a global list instead of std::function object in each widget. This reduces the size of widgets, since most widgets wont have the event callback set. This event callback would pass the widget as an argument. This could be done transparently by having a function in the widget to set a callback function and that could add a wrapper that checks if the callback received _this_, and that would call the callback set by the user. Make save-video-in-game-folder.sh and notify-saved-name.sh run ~/.config/gpu-screen-recorder/on-save.sh if it exists. This could for example be used to automatically convert the video to a different format or to upload it to a server. Before this script is called gsr-ui should define an environment variable GSR_PROFILE that specifies the name of the profile. This profile name can be used to decide which action the users script should do, for example to convert the video to a 4chan friendly webm file if the profile is called 4chan. Create a directory of such example scripts, including 4chan webm one. On nvidia check if suspend fix is applied. If not, show a popup asking the user to apply it (and apply it automatically). Show warning when using steam deck or when trying to capture hevc/av1 on amd (the same warnings as gpu screen recorder gtk). Add option to capture application audio. This should show a popup where you can use one of the available applications or a custom one and choose to record that application or all applications except that one. Add profile option. Convert view to profile, add an option at the bottom that says "Edit profiles..." which should show a popup where you can create/remove profiles. New profiles should always be in advanced view. Verify monitor/audio when starting recording. Give an error if the options are no longer valid. Add option to record focused monitor. This is less error prone when plugging in monitors, etc. Get focused window when opening gsr-ui and pass that to the save replay script, to ignore gsr-ui when getting game name. gsr ui window has _NET_WM_STATE _NET_WM_STATE_ABOVE, not _NET_WM_STATE_FULLSCREEN For replay on fullscreen detect focused fullscreen window by checking if the window size is the same as the monitor size instead of _NET_WM_STATE_FULLSCREEN. Add audio devices/app refresh button. Play camera shutter sound when saving recording. When another sound when starting recording. Some games such as "The Finals" crashes/freezes when they lose focus when running them on x11 on a laptop with prime setup and the monitor runs on the iGPU while the game runs on the dGPU. Try to reproduce this and if it happens try grab cursor and keyboard instead of setting gsr ui focus and make gsr ui click through like gsr notify. This might fix the issue. Run `systemctl status --user gpu-screen-recorder` when starting recording and give a notification warning if it returns 0 (running). Or run pidof gpu-screen-recorder. Add option to select which gpu to record with, or list all monitors and automatically use the gpu associated with the monitor. Do the same in gtk application. Remove all dependencies from tools/gsr-global-hotkeys and roll our own keyboard events code. Test global hotkeys with azerty instead of qwerty. Fix cursor grab not working in owlboy, need to use xigrab. Dont allow autostart of replay if capture option is window recording (when window recording is added). Use global shortcuts desktop portal protocol on wayland when available.