Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gpu-screen-recorder-gtk for openSUSE:Factory checked in at 2024-09-24 17:32:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gpu-screen-recorder-gtk (Old) and /work/SRC/openSUSE:Factory/.gpu-screen-recorder-gtk.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gpu-screen-recorder-gtk" Tue Sep 24 17:32:06 2024 rev:5 rq:1202610 version:20240921 Changes: -------- --- /work/SRC/openSUSE:Factory/gpu-screen-recorder-gtk/gpu-screen-recorder-gtk.changes 2024-09-18 15:28:01.387691351 +0200 +++ /work/SRC/openSUSE:Factory/.gpu-screen-recorder-gtk.new.29891/gpu-screen-recorder-gtk.changes 2024-09-24 17:32:26.206970639 +0200 @@ -1,0 +2,7 @@ +Mon Sep 23 10:44:33 UTC 2024 - mantari...@pm.me + +- Update to version 20240921: + * Show warning when selecting hevc/av1 on amd because of amd + driver/ffmpeg bug + +------------------------------------------------------------------- Old: ---- gpu-screen-recorder-gtk-20240917.tar.zst New: ---- gpu-screen-recorder-gtk-20240921.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gpu-screen-recorder-gtk.spec ++++++ --- /var/tmp/diff_new_pack.Es6PS0/_old 2024-09-24 17:32:26.947001619 +0200 +++ /var/tmp/diff_new_pack.Es6PS0/_new 2024-09-24 17:32:26.947001619 +0200 @@ -19,7 +19,7 @@ %bcond_with test %define appid com.dec05eba.gpu_screen_recorder Name: gpu-screen-recorder-gtk -Version: 20240917 +Version: 20240921 Release: 0 Summary: GTK frontend for GPU Screen Recorder License: GPL-3.0-only ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Es6PS0/_old 2024-09-24 17:32:26.995003629 +0200 +++ /var/tmp/diff_new_pack.Es6PS0/_new 2024-09-24 17:32:26.999003796 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://repo.dec05eba.com/gpu-screen-recorder-gtk.git</param> - <param name="changesrevision">db71e7cad335fe5b339130f7eefc44e396ceb452</param></service></servicedata> + <param name="changesrevision">7ee360b0d44956691200791746880bf704c0c0b1</param></service></servicedata> (No newline at EOF) ++++++ gpu-screen-recorder-gtk-20240917.tar.zst -> gpu-screen-recorder-gtk-20240921.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gpu-screen-recorder-gtk-20240917/com.dec05eba.gpu_screen_recorder.appdata.xml new/gpu-screen-recorder-gtk-20240921/com.dec05eba.gpu_screen_recorder.appdata.xml --- old/gpu-screen-recorder-gtk-20240917/com.dec05eba.gpu_screen_recorder.appdata.xml 2024-09-17 00:16:38.000000000 +0200 +++ new/gpu-screen-recorder-gtk-20240921/com.dec05eba.gpu_screen_recorder.appdata.xml 2024-09-21 22:33:43.000000000 +0200 @@ -80,6 +80,29 @@ </screenshots> <releases> + <release version="4.1.11" date="2024-09-21"> + <description> + <ul> + <li>Fix recording not working on some amd systems</li> + </ul> + </description> + </release> + <release version="4.1.10" date="2024-09-21"> + <description> + <ul> + <li>Revert frame timing change as it badly affected slower devices</li> + </ul> + </description> + </release> + <release version="4.1.9" date="2024-09-20"> + <description> + <ul> + <li>Improve frame timing for smoother video</li> + <li>Improve screen recording performance on AMD when the system usage is very high</li> + <li>Fix recording not working on old nvidia gpus (that are stuck on nvidia driver version 470)</li> + </ul> + </description> + </release> <release version="4.1.8" date="2024-09-17"> <description> <ul> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gpu-screen-recorder-gtk-20240917/meson.build new/gpu-screen-recorder-gtk-20240921/meson.build --- old/gpu-screen-recorder-gtk-20240917/meson.build 2024-09-17 00:16:38.000000000 +0200 +++ new/gpu-screen-recorder-gtk-20240921/meson.build 2024-09-21 22:33:43.000000000 +0200 @@ -1,4 +1,4 @@ -project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '4.1.8', default_options : ['warning_level=2']) +project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '4.1.11', default_options : ['warning_level=2']) add_project_arguments('-Wshadow', language : ['c', 'cpp']) if get_option('buildtype') == 'debug' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gpu-screen-recorder-gtk-20240917/project.conf new/gpu-screen-recorder-gtk-20240921/project.conf --- old/gpu-screen-recorder-gtk-20240917/project.conf 2024-09-17 00:16:38.000000000 +0200 +++ new/gpu-screen-recorder-gtk-20240921/project.conf 2024-09-21 22:33:43.000000000 +0200 @@ -1,7 +1,7 @@ [package] name = "gpu-screen-recorder-gtk" type = "executable" -version = "4.1.8" +version = "4.1.11" platforms = ["posix"] [config] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gpu-screen-recorder-gtk-20240917/src/config.hpp new/gpu-screen-recorder-gtk-20240921/src/config.hpp --- old/gpu-screen-recorder-gtk-20240917/src/config.hpp 2024-09-17 00:16:38.000000000 +0200 +++ new/gpu-screen-recorder-gtk-20240921/src/config.hpp 2024-09-21 22:33:43.000000000 +0200 @@ -40,6 +40,8 @@ bool hide_window_when_recording = false; bool software_encoding_warning_shown = false; bool steam_deck_warning_shown = false; + bool hevc_amd_bug_warning_shown = false; + bool av1_amd_bug_warning_shown = false; bool restore_portal_session = true; }; @@ -319,6 +321,8 @@ {"main.hide_window_when_recording", {CONFIG_TYPE_BOOL, &config.main_config.hide_window_when_recording}}, {"main.software_encoding_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.software_encoding_warning_shown}}, {"main.steam_deck_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.steam_deck_warning_shown}}, + {"main.hevc_amd_bug_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.hevc_amd_bug_warning_shown}}, + {"main.av1_amd_bug_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.av1_amd_bug_warning_shown}}, {"main.restore_portal_session", {CONFIG_TYPE_BOOL, &config.main_config.restore_portal_session}}, {"streaming.service", {CONFIG_TYPE_STRING, &config.streaming_config.streaming_service}}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gpu-screen-recorder-gtk-20240917/src/main.cpp new/gpu-screen-recorder-gtk-20240921/src/main.cpp --- old/gpu-screen-recorder-gtk-20240917/src/main.cpp 2024-09-17 00:16:38.000000000 +0200 +++ new/gpu-screen-recorder-gtk-20240921/src/main.cpp 2024-09-21 22:33:43.000000000 +0200 @@ -1362,10 +1362,36 @@ return false; } +static void show_bugged_driver_warning() { + if(gsr_info.gpu_info.vendor != GpuVendor::AMD) + return; + + const std::string video_codec = video_codec_selection_menu_get_active_id(); + if((video_codec == "hevc" || video_codec == "hevc_10bit" || video_codec == "hevc_hdr") && !config.main_config.hevc_amd_bug_warning_shown) { + GtkWidget *dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, + "There is an AMD driver bug and FFmpeg bug that causes black bars to appear on the sides of the video at certain resolutions when using HEVC codec.\n" + "Select H264 video codec instead if this is an issue for you."); + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); + config.main_config.hevc_amd_bug_warning_shown = true; + } + + if((video_codec == "av1" || video_codec == "av1_10bit" || video_codec == "av1_hdr") && !config.main_config.av1_amd_bug_warning_shown) { + GtkWidget *dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, + "There is an AMD hardware bug that causes black bars to appear on the sides of the video at certain resolutions when using AV1 codec.\n" + "Select H264 video codec instead if this is an issue for you."); + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); + config.main_config.av1_amd_bug_warning_shown = true; + } +} + static gboolean on_start_replay_click(GtkButton*, gpointer userdata) { if(show_pkexec_flatpak_error_if_needed()) return true; + show_bugged_driver_warning(); + PageNavigationUserdata *_page_navigation_userdata = (PageNavigationUserdata*)userdata; gtk_stack_set_visible_child(_page_navigation_userdata->stack, _page_navigation_userdata->replay_page); app_indicator_set_menu(app_indicator, GTK_MENU(create_systray_menu(_page_navigation_userdata->app, SystrayPage::REPLAY))); @@ -1380,6 +1406,8 @@ if(show_pkexec_flatpak_error_if_needed()) return true; + show_bugged_driver_warning(); + PageNavigationUserdata *_page_navigation_userdata = (PageNavigationUserdata*)userdata; gtk_stack_set_visible_child(_page_navigation_userdata->stack, _page_navigation_userdata->recording_page); app_indicator_set_menu(app_indicator, GTK_MENU(create_systray_menu(_page_navigation_userdata->app, SystrayPage::RECORDING))); @@ -1400,6 +1428,8 @@ if(show_pkexec_flatpak_error_if_needed()) return true; + show_bugged_driver_warning(); + int num_audio_tracks = 0; for_each_used_audio_input(GTK_LIST_BOX(audio_input_used_list), [&num_audio_tracks](const AudioRow*) { ++num_audio_tracks; @@ -2629,7 +2659,7 @@ if(gsr_info.system_info.display_server == DisplayServer::WAYLAND) { gtk_list_store_append(store, &iter); - gtk_list_store_set(store, &iter, 0, gsr_info.supported_capture_options.portal ? "Desktop portal (Experimental, HDR not supported)" : "Desktop portal (Not available on your system)", -1); + gtk_list_store_set(store, &iter, 0, gsr_info.supported_capture_options.portal ? "Desktop portal (HDR not supported)" : "Desktop portal (Not available on your system)", -1); gtk_list_store_set(store, &iter, 1, "portal", -1); } else { gtk_list_store_append(store, &iter);