Revert "update gpu screen recorder"

This reverts commit 6a1151bc0a.
This commit is contained in:
Anders Rytter Hansen 2023-08-01 15:43:03 +02:00
commit 38ffa2024a
6 changed files with 4 additions and 43 deletions

View file

@ -18,15 +18,15 @@
<description>
<p>
This is a screen recorder that has minimal impact on system performance by recording a monitor using the GPU only, similar to shadowplay on windows. This is the fastest screen recording tool for Linux. This screen recorder works with both X11 and Wayland.
This is a screen recorder that has minimal impact on system performance by recording a window using the GPU only, similar to shadowplay on windows. This is the fastest screen recording tool for Linux. This screen recorder works with both X11 and Wayland.
</p>
<p>
This screen recorder can be used for recording your desktop offline, for live streaming and for nvidia-like instant replay, where only the last few seconds are saved.
</p>
<p>
There are some restrictions when recording on AMD/Intel or Wayland. Videos created on AMD/Intel/Wayland are in variable framerate format. Very out of date video players might have an issue playing such videos. I recommend using MPV or a browser to play such videos, otherwise you might experience stuttering in the video.
There are some restrictions when recording on AMD/Intel. Videos created on AMD/Intel are in variable framerate format. Very out of date video players might have an issue playing such videos. I recommend using MPV or a browser to play such videos, otherwise you might experience stuttering in the video.
Recording a monitor requires (restricted) root access which means that you have to install GPU Screen Recorder system-wide: flatpak install flathub --system com.dec05eba.gpu_screen_recorder
and pkexec needs to be installed on the system and a polkit agent needs to be running.
and pkexec needs to be installed on the system. This is also the case when using wayland on Nvidia.
Some distros such as manjaro disable hardware accelerated H264/HEVC which means GPU Screen Recorder wont work on AMD/Intel and you have to either switch to another distro or install mesa from source (or install mesa-git for example).
</p>
</description>
@ -44,41 +44,6 @@
</screenshots>
<releases>
<release version="3.1.5" date="2023-07-25">
<description>
<p>AMD/Intel: Fix too dark video in the flatpak version.</p>
</description>
</release>
<release version="3.1.4" date="2023-07-23">
<description>
<p>AMD/Intel: Better color accuracy.</p>
</description>
</release>
<release version="3.1.3" date="2023-07-22">
<description>
<p>Fix capture on wlroots based wayland compositors. Fix cursor offset in amd/intel capture.</p>
</description>
</release>
<release version="3.1.2" date="2023-07-22">
<description>
<p>Support cursor capture on AMD/Intel on Wayland. Attempt to fix multi monitor offset capture in some cases.</p>
</description>
</release>
<release version="3.1.1" date="2023-07-21">
<description>
<p>Support cursor capture on AMD/Intel on Wayland.</p>
</description>
</release>
<release version="3.1.0" date="2023-07-21">
<description>
<ul>
<li>Support wlroots capture when possible (no kms root access required)</li>
<li>Make window capture a bit more robust</li>
<li>Fix possible lag on recording start on AMD/Intel</li>
<li>Make capture on AMD/Intel possible without Xwayland</li>
</ul>
</description>
</release>
<release version="3.0.0" date="2023-07-18">
<description>
<p>Experimental wayland support on AMD/Intel/NVIDIA. Hotkeys not supported.</p>

View file

@ -12,5 +12,3 @@ install -Dm644 "gpu-screen-recorder-gtk.desktop" "/usr/share/applications/com.de
install -Dm644 com.dec05eba.gpu_screen_recorder.appdata.xml "/usr/share/metainfo/com.dec05eba.gpu_screen_recorder.appdata.xml"
install -Dm644 icons/hicolor/64x64/apps/com.dec05eba.gpu_screen_recorder.png "/usr/share/icons/hicolor/64x64/apps/com.dec05eba.gpu_screen_recorder.png"
install -Dm644 icons/hicolor/128x128/apps/com.dec05eba.gpu_screen_recorder.png "/usr/share/icons/hicolor/128x128/apps/com.dec05eba.gpu_screen_recorder.png"
echo "Successfully installed gpu-screen-recorder-gtk"

Binary file not shown.

View file

@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/sh
script_dir=$(dirname "$0")
cd "$script_dir"
@ -9,8 +9,6 @@ cd "$script_dir"
strip gsr-kms-server
strip gpu-screen-recorder
rm -f "/usr/local/bin/gpu-screen-recorder"
setcap cap_sys_admin+ep gsr-kms-server
setcap cap_sys_nice+ep gpu-screen-recorder
install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"