From 492cb57f8df3afd56c18e38ccafbf7e57360b87a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 2 Aug 2024 00:32:59 +0200 Subject: Query audio devices from gpu screen recorder instead of using pulseaudio in the gui. Makes it simpler and makes sure that the exact same device name is used that gpu screen recorder expects --- TODO | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 13eeae4..3059d8e 100644 --- a/TODO +++ b/TODO @@ -20,7 +20,7 @@ Remove the need to install gpu screen recorder flatpak as system. This can now b Implement profiles to quickly switch between settings. Use https://hosted.weblate.org/ for translation. -Detect game name by using x11 window class or title. Fallback to finding pressure vessel, find the binary is runs and get the directory name directly under the proton game list directory. Fallback to pure wine. +Detect game name by using x11 window class or title. Fallback to finding pressure vessel, find the binary is runs and get the directory name directly under the proton game list directory. Fallback to pure wine. x11 window class works in xwayland too. Have separate options for each record option (stream, record and replay) or have option to use profiles. Remake the gui and have a proper overlay! on wlroots and kde use https://wayland.app/protocols/wlr-layer-shell-unstable-v1. @@ -49,6 +49,16 @@ Notifications are not shown on kde plasma while using desktop portal capture (sy Maybe we should create our own notification system with gtk layer shell (which is supported by every platform except gnome wayland). On gnome wayland maybe we can fallback to x11? we need to add back --socket=x11 and remove --socket=fallback-x11 from flatpak manifest. Maybe use this: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264 when that gets supported. But will gnome support that? + Maybe map the drm framebuffer to opengl with write permission and draw to that opengl texture with a framebuffer. That would allow us to draw on the screen anywhere on any wayland compositor (and x11 amd/intel). We can also do this after the video frame has been captured to not include it in the video. + Maybe use drm overlay plane, if possible. For replay on system startup add functionality to only record if an application is fullscreen (on the focused monitor, or any monitor if not possible). This is easy to do with x11. For hyprland/sway we can maybe use hyprctl/swaymsg. On kde maybe we can do something similar to this: https://github.com/jinliu/kdotool. For gnome maybe do something like this: https://github.com/ActivityWatch/aw-watcher-window/pull/46/files + +When replay on system startup option is added also install gsr-nvidia.conf and tell the user to reboot and explain the issue. + +Start recording after showing start recording notification has disappeared, not at the same time. + +Use modprobe command. modprobe on system startup in modprobe.d directory is only available for udev, other systems need to add it to linux kernel boot parameters (is this also needed for nvidia open kernel module driver?). + +Save gpu screen recorder status in $XDG_RUNTIME_DIR. \ No newline at end of file -- cgit v1.2.3