aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com.dec05eba.gpu_screen_recorder.appdata.xml17
-rw-r--r--src/egl.c4
-rw-r--r--src/main.cpp1
3 files changed, 14 insertions, 8 deletions
diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml
index 0de98eb..7d05e52 100644
--- a/com.dec05eba.gpu_screen_recorder.appdata.xml
+++ b/com.dec05eba.gpu_screen_recorder.appdata.xml
@@ -25,8 +25,8 @@
</p>
<p>Supported video codecs:</p>
<ul>
- <li>H264 (default on Intel)</li>
- <li>HEVC (default on AMD and NVIDIA)</li>
+ <li>H264 (default)</li>
+ <li>HEVC</li>
<li>AV1 (not currently supported on NVIDIA in the flatpak)</li>
</ul>
<p>Supported audio codecs:</p>
@@ -49,12 +49,10 @@
If the video doesn't play or you get green/yellow overlay then your video player is missing H264/HEVC video codec. Either install the video codecs or use mpv.
</p>
<p>
- By default on AMD/NVIDIA HEVC video codec is used. This may not play in your video player or browser of choice or discord. The video will still work if you upload it to a site such as youtube. Alternatively you can switch to H264 video codec in advanced view for compatibility with outdated video players/websites.
- </p>
- <p>
If the video is glitched with checkerboard pattern and you are using and Intel integrated GPU on wayland then this is a known issue and right now the only solution is to record on X11 instead.
</p>
- <p>AMD has a driver/hardware fault that causes black bars/distorted colors on the right side/bottom of the video for certain video resolutions. This happens for both av1 and hevc, so if you have this issue then switch to h264 video codec option in advanced settings.</p>
+ <p>AMD has a driver/hardware fault that causes black bars/distorted colors on the right side/bottom of the video for certain video resolutions. This happens for both av1 and hevc, so if you have this issue then switch to h264 video codec option in advanced settings.
+ </p>
<p>
If H264/HEVC video encoding option is not available on your AMD/Intel system but you know that your supports those codecs then you may need to install mesa-extra freedesktop runtime by running this command: "flatpak install --system org.freedesktop.Platform.GL.default//23.08-extra".
</p>
@@ -84,6 +82,13 @@
</screenshots>
<releases>
+ <release version="3.8.2" date="2024-06-22">
+ <description>
+ <ul>
+ <li>Default to h264 video codec because of amd driver issues (black bar) and for better compatibility with software</li>
+ </ul>
+ </description>
+ </release>
<release version="3.8.1" date="2024-06-16">
<description>
<ul>
diff --git a/src/egl.c b/src/egl.c
index b574f90..79aab1f 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -210,7 +210,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) {
}
static bool gsr_egl_load_egl(gsr_egl *self, void *library) {
- dlsym_assign required_dlsym[] = {
+ const dlsym_assign required_dlsym[] = {
{ (void**)&self->eglGetDisplay, "eglGetDisplay" },
{ (void**)&self->eglInitialize, "eglInitialize" },
{ (void**)&self->eglTerminate, "eglTerminate" },
@@ -235,7 +235,7 @@ static bool gsr_egl_load_egl(gsr_egl *self, void *library) {
}
static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
- dlsym_assign required_dlsym[] = {
+ const dlsym_assign required_dlsym[] = {
{ (void**)&self->glGetString, "glGetString" },
{ NULL, NULL }
diff --git a/src/main.cpp b/src/main.cpp
index 5e52f0f..22ad190 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -394,6 +394,7 @@ static void setup_systray(GtkApplication *app) {
app_indicator_set_icon_full(app_indicator, tray_idle_icon_name, "Idle");
// This triggers Gdk assert: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed,
// dont know why but it works anyways
+ app_indicator_set_title(app_indicator, "GPU Screen Recorder");
app_indicator_set_status(app_indicator, APP_INDICATOR_STATUS_ACTIVE);
app_indicator_set_menu(app_indicator, GTK_MENU(create_systray_menu(app, SystrayPage::FRONT)));
}