diff -Nru telegram-desktop-2.9.2+ds/debian/changelog telegram-desktop-2.9.2+ds/debian/changelog --- telegram-desktop-2.9.2+ds/debian/changelog 2021-09-02 19:44:17.000000000 +0300 +++ telegram-desktop-2.9.2+ds/debian/changelog 2021-09-05 13:08:39.000000000 +0300 @@ -1,3 +1,10 @@ +telegram-desktop (2.9.2+ds-1ubuntu3~21.04) hirsute; urgency=medium + + * Backport from impish to hirsute (LP: #1942699). + * Disable OpenGL acceleration by default. + + -- Nicholas Guriev Sun, 05 Sep 2021 13:08:39 +0300 + telegram-desktop (2.9.2+ds-1ubuntu3) impish; urgency=medium * Decrease debugging level to 1 for every architecture. diff -Nru telegram-desktop-2.9.2+ds/debian/gbp.conf telegram-desktop-2.9.2+ds/debian/gbp.conf --- telegram-desktop-2.9.2+ds/debian/gbp.conf 2021-04-17 22:32:08.000000000 +0300 +++ telegram-desktop-2.9.2+ds/debian/gbp.conf 2021-09-05 13:07:19.000000000 +0300 @@ -1,5 +1,6 @@ [DEFAULT] -debian-branch = debian/master +debian-tag = ubuntu/%(version)s +debian-branch = ubuntu/hirsute upstream-branch = upstream/latest ignore-branch = True diff -Nru telegram-desktop-2.9.2+ds/debian/patches/Keep-old-settings.patch telegram-desktop-2.9.2+ds/debian/patches/Keep-old-settings.patch --- telegram-desktop-2.9.2+ds/debian/patches/Keep-old-settings.patch 1970-01-01 03:00:00.000000000 +0300 +++ telegram-desktop-2.9.2+ds/debian/patches/Keep-old-settings.patch 2021-09-05 13:07:46.000000000 +0300 @@ -0,0 +1,17 @@ +Description: Disable poorly tested acceleration with OpenGL + A user can still re-enable this in Advanced Settings. +Author: Nicholas Guriev +Forwarded: not-needed +Last-Modified: Wed, 25 Aug 2021 22:03:14 +0300 + +--- a/Telegram/SourceFiles/core/core_settings.h ++++ b/Telegram/SourceFiles/core/core_settings.h +@@ -697,7 +697,7 @@ private: + rpl::variable> _systemDarkMode = std::nullopt; + rpl::variable _systemDarkModeEnabled = false; + WindowPosition _windowPosition; // per-window +- bool _disableOpenGL = false; ++ bool _disableOpenGL = true; + rpl::variable _workMode = WorkMode::WindowAndTray; + base::flags _hiddenGroupCallTooltips; + diff -Nru telegram-desktop-2.9.2+ds/debian/patches/series telegram-desktop-2.9.2+ds/debian/patches/series --- telegram-desktop-2.9.2+ds/debian/patches/series 2021-09-02 19:44:17.000000000 +0300 +++ telegram-desktop-2.9.2+ds/debian/patches/series 2021-09-05 13:07:46.000000000 +0300 @@ -13,3 +13,4 @@ Backport-to-ancient-GCC.patch Backport-to-legacy-GSL.patch Backport-to-stable-Qt.patch +Keep-old-settings.patch