Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TelegramDesktop from flatpack do not starting after latest update on Ubuntu 22.04.3 LTS #27134

Closed
pestryy opened this issue Nov 23, 2023 · 29 comments
Labels

Comments

@pestryy
Copy link

pestryy commented Nov 23, 2023

Steps to reproduce

update from Discovery

Expected behaviour

started

Actual behaviour

do not started

Operating system

Ubuntu 22.04.3 LTS

Version of Telegram Desktop

4.11.8 stable

Installation source

Flatpak

Crash ID

No response

Logs

$ tail -0f /var/log/syslog
Nov 23 16:12:41 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-background: GetAppState called: no parameters
Nov 23 16:14:51 my-pc systemd[1580]: Started Telegram Desktop.
Nov 23 16:14:51 my-pc systemd[1580]: Started app-flatpak-org.telegram.desktop-8639.scope.
Nov 23 16:14:51 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-settings: Read called with parameters:
Nov 23 16:14:51 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-settings:     group:  "org.freedesktop.appearance"
Nov 23 16:14:51 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-settings:     key:  "color-scheme"
Nov 23 16:14:51 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-settings: Read called with parameters:
Nov 23 16:14:51 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-settings:     group:  "org.freedesktop.appearance"
Nov 23 16:14:51 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-settings:     key:  "color-scheme"
Nov 23 16:14:51 my-pc xdg-desktop-por[2052]: A backend call failed: No such method 'CreateMonitor' in interface 'org.freedesktop.impl.portal.Inhibit' at object path '/org/freedesktop/portal/desktop' (signature 'ooss')
Nov 23 16:14:51 my-pc xdg-desktop-por[2052]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_158/tdesktop1327352607'
Nov 23 16:14:53 my-pc kernel: [ 1309.072206] telegram-deskto[8668]: segfault at 0 ip 00007fb6103a6b84 sp 00007fb5fd9fb930 error 4 in libQt6Svg.so.6.6.0[7fb610388000+3e000] likely on CPU 3 (core 3, socket 0)
Nov 23 16:14:53 my-pc kernel: [ 1309.072236] Code: 35 fe ff 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 f4 53 48 89 fb 48 83 ec 58 64 48 8b 04 25 28 00 00 00 48 89 45 c8 <48> 8b 07 ff 50 18 83 f8 01 0f 86 dd 00 00 00 83 f8 11 0f 85 bc 01
Nov 23 16:14:53 my-pc systemd[1580]: app-flatpak-org.telegram.desktop-8639.scope: Consumed 1.573s CPU time.
Nov 23 16:15:21 my-pc xdg-desktop-portal-kde[2101]: xdp-kde-background: GetAppState called: no parameters
@pestryy pestryy added the bug label Nov 23, 2023
@im-0
Copy link

im-0 commented Nov 23, 2023

Same on Fedora 39:

[249331.159418] telegram-deskto[338273]: segfault at 0 ip 00007fa72bda6b84 sp 00007fa718dfc930 error 4 in libQt6Svg.so.6.6.0[7fa72bd88000+3e000] likely on CPU 4 (core 0, socket 0)
[249331.159429] Code: 35 fe ff 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 f4 53 48 89 fb 48 83 ec 58 64 48 8b 04 25 28 00 00 00 48 89 45 c8 <48> 8b 07 ff 50 18 83 f8 01 0f 86 dd 00 00 00 83 f8 11 0f 85 bc 01
$ flatpak run org.telegram.desktop 
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed

$ echo $?
139

@pestryy
Copy link
Author

pestryy commented Nov 23, 2023

After reinstall from cli:
$ flatpak run org.telegram.desktop
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed

@pestryy
Copy link
Author

pestryy commented Nov 23, 2023

$ echo $?
139

@pestryy
Copy link
Author

pestryy commented Nov 23, 2023

$ snap install telegram-desktop
telegram-desktop 4.11.8 from Telegram FZ-LLC (telegram-desktop✓) installed

successfully started

@Dmitry-Chernikov
Copy link

Dmitry-Chernikov commented Nov 23, 2023

dmitry@dmitry:~$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop --file-forwarding org.telegram.desktop -- @@u %u @@
Gtk-Message: 17:57:28.685: Failed to load module "xapp-gtk3-module"
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed

Message log

The package containing /app/bin/telegram-desktop was not found.
If you want to generate a stack trace for this crash report, reinstall the package.

System:
Kernel: 6.2.0-37-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy

@maximilionus
Copy link

maximilionus commented Nov 23, 2023

Downgrading to the previous flatpak release fixes the issue for now.

How to do it:

$ sudo flatpak update --commit="b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce" org.telegram.desktop

Warning
All app data will be lost after the downgrade and you will have to re-login and setup everything from zero.

Note
There's a good explanation in the comment below #27134 (comment) for this command if someone feels unsecure to copy-paste-execute the random stuff from the internet.

@Tianori
Copy link

Tianori commented Nov 23, 2023

I can confirm this issue. The flatpak app doesn't open anymore after the latest update.

OS: Linux Mint 21.2
DE: Cinnamon 5.8.4
Kernel: 6.2.0-37-generic

Workaround for those having the same issue (downgrade to previous working version):
(Many thanks to maximilionus, for the idea.)

First we gonna check for what commits have been made by Telegram to Flathub with this command:
flatpak remote-info --log flathub org.telegram.desktop

Then we look for the second newest commit (usually at the top) and copy the string behind "Commit:", after which we downgrade to the version we want with:
sudo flatpak update --commit=COMMITYOUCOPIED org.telegram.desktop
(Make sure to replace COMMITYOUCOPIED with the commit string you copied earlier!)
(This might clear your data, meaning you could have to login again!)

In this case we can use:
sudo flatpak update --commit=b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce org.telegram.desktop

(The reason I wrote a whole explanation rather than to just post a command, is because I'm a bit distrustful myself. So everyone who is like me, won't just have to trust my commands blindly that way.)

Good luck everyone!

@ayoahha
Copy link

ayoahha commented Nov 23, 2023

I also confirm the issue, version 4.11.8 on Kubuntu 23.10, telegram flatpak edition.

For dmesg :

[  398.362799] telegram-deskto[9736]: segfault at 0 ip 00007f2689361b84 sp 00007f26631fc930 error 4 in libQt6Svg.so.6.6.0[7f2689343000+3e000] likely on CPU 6 (core 0, socket 0)

From journalctl :

nov. 23 17:02:13 user-kubuntu systemd[1600]: app-flatpak-org.telegram.desktop-2734.scope: Consumed 4.198s CPU time.
nov. 23 17:06:36 user-kubuntu dbus-daemon[1622]: [session uid=1000 pid=1622] Activating service name='org.telegram.desktop' requested by ':1.22' (uid=1000 pid=1967 comm="/usr/bin/plasmashell --no-respawn" label="unconfined")
nov. 23 17:06:36 user-kubuntu systemd[1600]: Started app-flatpak-org.telegram.desktop-9690.scope.
nov. 23 17:06:37 user-kubuntu dbus-daemon[1622]: [session uid=1000 pid=1622] Successfully activated service 'org.telegram.desktop'
nov. 23 17:06:37 user-kubuntu org.telegram.desktop[9701]: QPainter::begin: Paint device returned engine == 0, type: 2
nov. 23 17:06:37 user-kubuntu org.telegram.desktop[9701]: QWidget::render: Cannot render with an inactive painter
nov. 23 17:06:38 user-kubuntu org.telegram.desktop[9701]: qt.svg: Error while inflating gzip file: SVG format check failed
nov. 23 17:06:38 user-kubuntu kernel: telegram-deskto[9736]: segfault at 0 ip 00007f2689361b84 sp 00007f26631fc930 error 4 in libQt6Svg.so.6.6.0[7f2689343000+3e000] likely on CPU 6 (core 0, socket 0)
nov. 23 17:06:38 user-kubuntu systemd[1600]: app-flatpak-org.telegram.desktop-9690.scope: Consumed 2.950s CPU time.

Seems to come from QT library here.


Downgrading is the workaround, and working well, as mentioned in last comments...
But this should be temporary

@emanuc
Copy link

emanuc commented Nov 23, 2023

I have the same problem.
Fedora 39
emanu@fedora ~> flatpak info org.telegram.desktop

Telegram Desktop - Fast. Secure. Powerful.

          ID: org.telegram.desktop
         Ref: app/org.telegram.desktop/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 4.11.8
     License: GPL-3.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 210,2 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: f911bd3768af01295dbebba7ad56ecb754dcd4525b8ceb5e8c777b6c4c21de43
      Parent: b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce
     Subject: Try to pleasure the linter (d7b8020f)
        Date: 2023-11-23 07:57:35 +0000

Log:

nov 23 17:28:48 fedora systemd[2033]: Started dbus-:1.2-org.telegram.desktop@3.service.
nov 23 17:28:49 fedora systemd[2033]: Started app-flatpak-org.telegram.desktop-75597.scope.
nov 23 17:28:49 fedora flatpak[75627]: QPainter::begin: Paint device returned engine == 0, type: 2
nov 23 17:28:49 fedora flatpak[75627]: QWidget::render: Cannot render with an inactive painter
nov 23 17:28:49 fedora audit[75627]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=75627 comm="telegram-deskto" exe="/app/bin/telegram-desktop" sig=11 res=1
nov 23 17:28:49 fedora flatpak[75627]: qt.svg: Error while inflating gzip file: SVG format check failed
nov 23 17:28:49 fedora kernel: telegram-deskto[75649]: segfault at 0 ip 00007f3d543fbb84 sp 00007f3d3f5fc930 error 4 in libQt6Svg.so.6.6.0[7f3d543dd000+3e000] likely on CPU 4 (core 5, socket 0)
nov 23 17:28:49 fedora kernel: Code: 35 fe ff 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 f4 53 48 89 fb 48 83 ec 58 64 48 8b 04 25 28 00 00 00 48 89 45 c8 <48> 8b 07 ff 50 18 83 f8 01 0f 86 dd 00 00 00 83 f8 11 0f 85 bc 01
nov 23 17:28:49 fedora audit: BPF prog-id=102 op=LOAD
nov 23 17:28:49 fedora audit: BPF prog-id=103 op=LOAD
nov 23 17:28:49 fedora audit: BPF prog-id=104 op=LOAD
nov 23 17:28:49 fedora systemd[1]: Started systemd-coredump@2-75767-0.service - Process Core Dump (PID 75767/UID 0).
nov 23 17:28:49 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@2-75767-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
nov 23 17:28:52 fedora systemd-coredump[75768]: [🡕] Process 75627 (telegram-deskto) of user 1000 dumped core.

                                            Stack trace of thread 22:
                                            #0  0x00007f3d543fbb84 n/a (/app/lib/libQt6Svg.so.6.6.0 + 0x35b84)
                                            #1  0x00007f3d54404e24 n/a (/app/lib/libQt6Svg.so.6.6.0 + 0x3ee24)
                                            #2  0x00007f3d54417c97 n/a (/app/lib/libQt6Svg.so.6.6.0 + 0x51c97)
                                            #3  0x00007f3d5440e973 n/a (/app/lib/libQt6Svg.so.6.6.0 + 0x48973)
                                            #4  0x00007f3d46005017 n/a (/app/lib/plugins/imageformats/libqsvg.so + 0x4017)
                                            #5  0x00007f3d46005403 n/a (/app/lib/plugins/imageformats/libqsvg.so + 0x4403)
                                            #6  0x00007f3d52188293 n/a (/app/lib/libQt6Gui.so.6.6.0 + 0x188293)
                                            #7  0x000055f6d2fdfa96 n/a (/app/bin/telegram-desktop + 0x3344a96)
                                            #8  0x000055f6d2fdfd57 n/a (/app/bin/telegram-desktop + 0x3344d57)
                                            #9  0x000055f6d2a4e3c9 n/a (/app/bin/telegram-desktop + 0x2db33c9)
                                            #10 0x000055f6d394f0f1 n/a (/app/bin/telegram-desktop + 0x3cb40f1)
                                            #11 0x00007f3d50aa1e39 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x8ee39)
                                            #12 0x00007f3d50b298c4 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x1168c4)
                                            ELF object binary architecture: AMD x86-64

nov 23 17:28:52 fedora systemd[1]: systemd-coredump@2-75767-0.service: Deactivated successfully.
nov 23 17:28:52 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@2-75767-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
nov 23 17:28:52 fedora systemd[1]: systemd-coredump@2-75767-0.service: Consumed 2.521s CPU time.
nov 23 17:28:52 fedora systemd[2033]: dbus-:1.2-org.telegram.desktop@3.service: Main process exited, code=exited, status=139/n/a
nov 23 17:28:52 fedora systemd[2033]: dbus-:1.2-org.telegram.desktop@3.service: Failed with result 'exit-code'.
nov 23 17:28:52 fedora systemd[2033]: app-flatpak-org.telegram.desktop-75597.scope: Consumed 2.728s CPU time.

@fish-dd
Copy link

fish-dd commented Nov 23, 2023

#27134 (comment)
it worked for me on fedora 39, thanks

@todoleza
Copy link

todoleza commented Nov 23, 2023

flatpak downgrade apparently does not work anymore. F39

flatpak update --commit="b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce" org.telegram.desktop
Vyhledávají se aktualizace…
chyba: Server returned status 404
flatpak info org.telegram.desktop/`arch`/stable | tail -4
Commit: f911bd3768af01295dbebba7ad56ecb754dcd4525b8ceb5e8c777b6c4c21de43
Parent: b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce
Subject: Try to pleasure the linter (d7b8020f)
Date: 2023-11-23 07:57:35 +0000
[ 2655.623292] telegram-deskto[17213]: segfault at 0 ip 00007f12085d2b84 sp 00007f11f0cfc930 error 4 in libQt6Svg.so.6.6.0[7f12085b4000+3e000] likely on CPU 1(core 1, socket 0)
[ 2655.623305] Code: 35 fe ff 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 f4 53 48 89 fb 48 83 ec 58 64 48 8b 04 25 28 00 00 00 48 89 45 c8 <48> 8b 07 ff 50 18 83 f8 01 0f 86 dd 00 00 00 83 f8 11 0f 85 bc 01

@Vagabondcaravan202020
Copy link

Same problem after update, my telegram wouldn't start on desktop, have to revert to mobile phone. what a mess

Using Pop!_OS 22.04 LTS,

Gawd damn it

@safronov-nikolai
Copy link

safronov-nikolai commented Nov 23, 2023

Flatpak update on Linux Mint.
from /.local/share/TelegramDesktop/log.txt :

[2023.11.23 22:09:48] Launched version: 3006001, install beta: [FALSE], alpha: 0, debug mode: [FALSE]
[2023.11.23 22:09:48] Executable dir: /usr/bin/, name: telegram-desktop
[2023.11.23 22:09:48] Initial working dir: /home/-/
[2023.11.23 22:09:48] Working dir: /home/-/.local/share/TelegramDesktop/
[2023.11.23 22:09:48] Command line: telegram-desktop --
[2023.11.23 22:09:48] Executable path before check: /usr/bin/telegram-desktop
[2023.11.23 22:09:48] Logs started
[2023.11.23 22:09:48] Launcher filename: telegramdesktop.desktop
[2023.11.23 22:09:48] We use allocator from /lib/x86_64-linux-gnu/libc.so.6
[2023.11.23 22:09:48] Getting DE, XDG_CURRENT_DESKTOP: 'X-Cinnamon'
[2023.11.23 22:09:48] Getting DE, XDG_SESSION_DESKTOP: 'cinnamon'
[2023.11.23 22:09:48] Getting DE, DESKTOP_SESSION: 'cinnamon'
[2023.11.23 22:09:48] Getting DE via WM: 'Mutter (Muffin)'
[2023.11.23 22:09:48] Getting DE, GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated'
[2023.11.23 22:09:48] Getting DE, KDE_FULL_SESSION: ''
[2023.11.23 22:09:48] DE: Cinnamon, Gnome
[2023.11.23 22:09:48] Connecting local socket to /run/user/-
[2023.11.23 22:09:48] This is the only instance of Telegram, starting server and app...
[2023.11.23 22:09:48] Moved logging from '/home/-/.local/share/TelegramDesktop/log_start1.txt' to '/home/-/.local/share/TelegramDesktop/log.txt'!
[2023.11.23 22:09:48] Old start log 'log_start0.txt' found, deleted: [TRUE]
[2023.11.23 22:09:48] Primary screen DPI: 96
[2023.11.23 22:09:48] Icon theme: Mint-Y
[2023.11.23 22:09:48] Fallback icon theme:
[2023.11.23 22:09:48] App Info: reading settings...
[2023.11.23 22:09:48] App Info: reading encrypted settings...
[2023.11.23 22:09:48] Lang Info: Loaded cached, keys: 5860
[2023.11.23 22:09:48] OpenAL Logging Level: (not set)
[2023.11.23 22:09:48] Audio Playback Devices: Built-in Audio Analog Stereo;HDA NVidia Digital Stereo (HDMI)
[2023.11.23 22:09:48] Audio Playback Default Device: Built-in Audio Analog Stereo
[2023.11.23 22:09:48] Audio Capture Devices: Built-in Audio Analog Stereo;Monitor of HDA NVidia Digital Stereo (HDMI);Monitor of Built-in Audio Analog Stereo
[2023.11.23 22:09:48] Audio Capture Default Device: Built-in Audio Analog Stereo
[2023.11.23 22:09:48] Not using Unity launcher counter.
[2023.11.23 22:09:48] System tray available: [TRUE]
[2023.11.23 22:09:48] App Info: reading accounts info...
[2023.11.23 22:09:48] App Info: reading encrypted info...
[2023.11.23 22:09:48] App Info: reading map...
[2023.11.23 22:09:48] App Info: reading encrypted map...
[2023.11.23 22:09:48] App Info: reading encrypted user settings...
[2023.11.23 22:09:48] App Info: encrypted user settings read.
[2023.11.23 22:09:48] App Info: reading encrypted mtp data...
[2023.11.23 22:09:48] MTP Info: read keys, current: 4, to destroy: 0
[2023.11.23 22:09:48] Map read time: 0
[2023.11.23 22:09:48] App Info: reading encrypted mtp config...
[2023.11.23 22:09:48] Export Info: Destroy top bar by controller removal.
[2023.11.23 22:09:48] OpenGL Profile: Compatibility.
[2023.11.23 22:09:48] OpenGL Renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
[2023.11.23 22:09:48] OpenGL Vendor: NVIDIA Corporation
[2023.11.23 22:09:48] OpenGL Version: 4.6.0 NVIDIA 525.147.05
[2023.11.23 22:09:48] OpenGL Extensions: GL_ARB_texture_mirrored_repeat, GL_OVR_multiview, GL_AMD_seamless_cubemap_per_texture, GL_NV_parameter_buffer_object, GL_ARB_vertex_attrib_64bit, GL_KHR_robustness, GL_NV_packed_depth_stencil, GL_NV_fragment_shader_barycentric, GL_OVR_multiview2, GL_NV_sample_locations, GL_NVX_nvenc_interop, GL_EXT_stencil_wrap, GL_NV_fence, GL_ARB_texture_multisample, GL_EXT_shader_image_load_formatted, GL_EXT_point_parameters, GL_ARB_compute_shader, GL_NV_blend_equation_advanced, GL_EXT_vertex_attrib_64bit, GL_NV_blend_minmax_factor, GL_NV_explicit_multisample, GL_EXT_texture_array, GL_NV_geometry_shader_passthrough, GL_ARB_texture_env_dot3, GL_ARB_ES2_compatibility, GL_ARB_shader_atomic_counter_ops, GL_ARB_multitexture, GL_ARB_sync, GL_EXT_timer_query, GL_ARB_half_float_vertex, GL_EXT_framebuffer_object, GL_NV_alpha_to_coverage_dither_control, GL_EXT_draw_buffers2, GL_EXT_blend_subtract, GL_NV_shader_atomic_float, GL_EXT_texture_cube_map, GL_IBM_rasterpos_clip, GL_NV_gpu_program5, GL_ARB_multi_bind, GL_ATI_texture_mirror_once, GL_EXT_framebuffer_blit, GL_ARB_texture_mirror_clamp_to_edge, GL_NV_viewport_array2, GL_NV_copy_image, GL_NV_fragment_program_option, GL_EXT_blend_minmax, GL_ARB_texture_rg, GL_EXT_raster_multisample, GL_ARB_viewport_array, GL_NV_vertex_array_range, GL_ARB_clip_control, GL_NV_shader_subgroup_partitioned, GL_EXT_gpu_program_parameters, GL_ARB_separate_shader_objects, GL_NV_conservative_raster_dilate, GL_ARB_draw_instanced, GL_EXT_fog_coord, GL_ARB_program_interface_query, GL_NV_command_list, GL_ARB_texture_swizzle, GL_NV_fog_distance, GL_ARB_instanced_arrays, GL_ARB_draw_buffers_blend, GL_NV_primitive_restart, GL_KHR_blend_equation_advanced, GL_ARB_texture_cube_map, GL_ARB_direct_state_access, GL_EXT_stencil_two_side, GL_NV_query_resource, GL_ARB_color_buffer_float, GL_NV_float_buffer, GL_ARB_texture_env_add, GL_ARB_get_program_binary, GL_ARB_seamless_cube_map, GL_EXT_vertex_array_bgra, GL_ARB_shader_texture_lod, GL_ARB_shading_language_packing, GL_ARB_framebuffer_sRGB, GL_EXT_texture_object, GL_EXT_texture_integer, GL_ARB_draw_elements_base_vertex, GL_NV_texture_env_combine4, GL_ARB_texture_filter_minmax, GL_ARB_ES3_compatibility, GL_ARB_invalidate_subdata, GL_ARB_enhanced_layouts, GL_NV_internalformat_sample_query, GL_NV_gpu_program_fp64, GL_ARB_compute_variable_group_size, GL_NV_gpu_multicast, GL_ARB_texture_border_clamp, GL_ARB_conditional_render_inverted, GL_ARB_window_pos, GL_ARB_shader_viewport_layer_array, GL_EXT_blend_func_separate, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_sampler_objects, GL_ARB_robustness, GL_NV_clip_space_w_scaling, GL_NV_shader_atomic_fp16_vector, GL_EXT_gpu_shader4, GL_NV_vertex_program3, GL_ARB_gpu_shader_int64, GL_EXT_texture_filter_minmax, GL_ARB_shader_objects, GL_ARB_fragment_shader_interlock, GL_ARB_fragment_coord_conventions, GL_ARB_sparse_texture_clamp, GL_NV_shader_texture_footprint, GL_EXT_framebuffer_multisample, GL_ARB_shading_language_420pack, GL_EXT_texture_storage, GL_ATI_draw_buffers, GL_SGIS_texture_lod, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_texture_compression, GL_NV_copy_depth_to_color, GL_ARB_occlusion_query2, GL_EXT_multiview_timer_query, GL_ARB_texture_stencil8, GL_NV_draw_vulkan_image, GL_ARB_vertex_attrib_binding, GL_EXT_compiled_vertex_array, GL_NV_sample_mask_override_coverage, GL_NV_vertex_program, GL_EXT_direct_state_access, GL_ARB_transpose_matrix, GL_ARB_base_instance, GL_EXT_shader_integer_mix, GL_ARB_robust_buffer_access_behavior, GL_EXT_texture_edge_clamp, GL_NV_texture_shader3, GL_ARB_compressed_texture_pixel_storage, GL_EXT_texture_compression_rgtc, GL_ARB_shader_image_load_store, GL_ARB_fragment_program, GL_NV_bindless_texture, GL_ARB_depth_clamp, GL_EXT_texture_env_combine, GL_EXT_shadow_funcs, GL_EXT_texture_lod, GL_ARB_shadow, GL_ARB_texture_query_levels, GL_ARB_uniform_buffer_object, GL_KHR_debug, GL_ARB_map_buffer_range, GL_ARB_texture_storage, GL_NV_path_rendering_shared_edge, GL_EXT_transform_feedback2, GL_ARB_stencil_texturing, GL_ARB_texture_barrier, GL_NV_query_resource_tag, GL_ARB_sparse_texture2, GL_NV_vertex_array_range2, GL_ARB_occlusion_query, GL_NV_texture_compression_vtc, GL_ARB_draw_indirect, GL_NV_texture_shader2, GL_ARB_draw_buffers, GL_EXT_blend_equation_separate, GL_NV_scissor_exclusive, GL_ARB_explicit_uniform_location, GL_ARB_texture_rectangle, GL_ARB_point_sprite, GL_NVX_conditional_render, GL_NV_vertex_program2_option, GL_NV_bindless_multi_draw_indirect, GL_EXT_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_tessellation_shader, GL_ARB_texture_buffer_object, GL_ARB_provoking_vertex, GL_ARB_get_texture_sub_image, GL_KHR_no_error, GL_NV_shader_atomic_float64, GL_NV_gpu_program4_1, GL_ARB_multi_draw_indirect, GL_NV_conservative_raster, GL_ARB_shader_clock, GL_NV_timeline_semaphore, GL_ARB_parallel_shader_compile, GL_ARB_texture_compression_bptc, GL_ARB_shader_storage_buffer_object, GL_ARB_transform_feedback2, GL_ARB_compatibility, GL_NV_fragment_program2, GL_ARB_texture_rgb10_a2ui, GL_EXT_packed_float, GL_SUN_slice_accum, GL_ARB_shader_subroutine, GL_EXT_texture_sRGB_R8, GL_NV_robustness_video_memory_purge, GL_IBM_texture_mirrored_repeat, GL_NV_texgen_reflection, GL_EXT_texture_mirror_clamp, GL_NV_register_combiners, GL_ARB_copy_image, GL_ARB_shader_draw_parameters, GL_NV_viewport_swizzle, GL_NV_uniform_buffer_unified_memory, GL_NV_shader_storage_buffer_object, GL_NVX_progress_fence, GL_NV_light_max_exponent, GL_ARB_sparse_buffer, GL_NV_fragment_shader_interlock, GL_ARB_texture_gather, GL_ARB_shading_language_100, GL_NV_gpu_program5_mem_extended, GL_EXT_geometry_shader4, GL_NV_shader_atomic_counters, GL_NV_vertex_program1_1, GL_NV_shader_atomic_int64, GL_NV_texture_rectangle_compressed, GL_ARB_bindless_texture, GL_ARB_ES3_2_compatibility, GL_KHR_parallel_shader_compile, GL_ARB_blend_func_extended, GL_ARB_shader_texture_image_samples, GL_EXT_bindable_uniform, GL_NV_bindless_multi_draw_indirect_count, GL_NVX_blend_equation_advanced_multi_draw_buffers, GL_NV_framebuffer_multisample_coverage, GL_EXT_texture_compression_dxt1, GL_EXT_provoking_vertex, GL_EXT_blend_color, GL_EXT_pixel_buffer_object, GL_ARB_vertex_shader, GL_ARB_texture_query_lod, GL_ARB_texture_float, GL_ARB_seamless_cubemap_per_texture, GL_EXT_draw_range_elements, GL_EXT_texture_env_add, GL_ARB_texture_non_power_of_two, GL_NV_depth_clamp, GL_NV_shading_rate_image, GL_NV_stereo_view_rendering, GL_NV_depth_buffer_float, GL_EXT_separate_shader_objects, GL_EXT_texture3D, GL_KHR_blend_equation_advanced_coherent, GL_ARB_texture_storage_multisample, GL_NV_vertex_buffer_unified_memory, GL_NV_vdpau_interop2, GL_ARB_vertex_array_object, GL_EXT_bgra, GL_ARB_ES3_1_compatibility, GL_NV_mesh_shader, GL_NV_compute_shader_derivatives, GL_NV_shader_thread_shuffle, GL_EXT_sparse_texture2, GL_EXTX_framebuffer_mixed_formats, GL_ARB_transform_feedback3, GL_ARB_shader_group_vote, GL_ARB_derivative_control, GL_ARB_vertex_buffer_object, GL_ARB_clear_buffer_object, GL_ARB_shader_precision, GL_ARB_fragment_program_shadow, GL_NV_conditional_render, GL_ARB_texture_filter_anisotropic, GL_ARB_vertex_program, GL_ARB_explicit_attrib_location, GL_ARB_query_buffer_object, GL_ARB_imaging, GL_NV_path_rendering, GL_ARB_depth_texture, GL_NV_conservative_raster_underestimation, GL_NV_fragment_program, GL_EXT_packed_pixels, GL_SGIX_depth_texture, GL_ARB_transform_feedback_overflow_query, GL_NV_vertex_attrib_integer_64bit, GL_NV_blend_square, GL_ARB_texture_view, GL_NV_fragment_coverage_to_color, GL_NV_texture_rectangle, GL_ARB_timer_query, GL_EXT_texture_compression_latc, GL_EXT_texture_sRGB_decode, GL_ARB_spirv_extensions, GL_EXT_draw_instanced, GL_ARB_internalformat_query2, GL_ARB_shading_language_include, GL_EXT_post_depth_coverage, GL_KTX_buffer_region, GL_ARB_framebuffer_object, GL_ARB_pixel_buffer_object, GL_EXT_multiview_texture_multisample, GL_NV_draw_texture, GL_EXT_separate_specular_color, GL_NV_vdpau_interop, GL_ARB_cull_distance, GL_ARB_sample_shading, GL_ARB_texture_cube_map_array, GL_EXT_texture_compression_s3tc, GL_ARB_vertex_array_bgra, GL_EXT_Cg_shader, GL_EXT_semaphore, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_abgr, GL_KHR_context_flush_control, GL_EXT_x11_sync_object, GL_ARB_texture_env_crossbar, GL_NV_gpu_program4, GL_EXT_texture_shared_exponent, GL_ARB_copy_buffer, GL_NV_texture_multisample, GL_EXT_depth_bounds_test, GL_EXT_texture_buffer_object, GL_EXT_shader_image_load_store, GL_ARB_pipeline_statistics_query, GL_ARB_clear_texture, GL_ARB_multisample, GL_NV_feature_query, GL_NV_transform_feedback2, GL_ARB_texture_buffer_range, GL_EXT_multi_draw_arrays, GL_NV_parameter_buffer_object2, GL_NV_gpu_shader5, GL_KHR_robust_buffer_access_behavior, GL_NV_geometry_shader4, GL_NV_vertex_program2, GL_NV_compute_program5, GL_NV_ES3_1_compatibility, GL_NV_occlusion_query, GL_EXT_polygon_offset_clamp, GL_NV_memory_attachment, GL_NV_uniform_buffer_std430_layout, GL_EXT_import_sync_object, GL_NV_texture_barrier, GL_NV_multisample_filter_hint, GL_NV_texture_shader, GL_EXT_memory_object_fd, GL_SGIS_generate_mipmap, GL_ARB_texture_env_combine, GL_NV_conservative_raster_pre_snap, GL_ARB_transform_feedback_instanced, GL_ARB_sample_locations, GL_EXT_vertex_array, GL_AMD_multi_draw_indirect, GL_AMD_vertex_shader_viewport_index, GL_NV_register_combiners2, GL_ARB_indirect_parameters, GL_NV_pixel_data_range, GL_ARB_internalformat_query, GL_ARB_shader_image_size, GL_ARB_depth_buffer_float, GL_ARB_texture_compression_rgtc, GL_EXT_packed_depth_stencil, GL_EXT_texture_swizzle, GL_NV_conservative_raster_pre_snap_triangles, GL_EXT_texture_shadow_lod, GL_NV_half_float, GL_NV_blend_equation_advanced_coherent, GL_NV_framebuffer_mixed_samples, GL_ARB_fragment_shader, GL_NV_point_sprite, GL_ARB_post_depth_coverage, GL_S3_s3tc, GL_ARB_gpu_shader5, GL_EXT_rescale_normal, GL_ARB_half_float_pixel, GL_EXT_texture_env_dot3, GL_NV_memory_object_sparse, GL_ARB_sparse_texture, GL_ARB_shader_atomic_counters, GL_EXT_memory_object, GL_NV_transform_feedback, GL_NV_multisample_coverage, GL_SGIX_shadow, GL_ARB_shader_ballot, GL_ARB_point_parameters, GL_ARB_debug_output, GL_ARB_framebuffer_no_attachments, GL_NV_representative_fragment_test, GL_ATI_texture_float, GL_ARB_fragment_layer_viewport, GL_EXT_texture_sRGB, GL_NVX_gpu_memory_info, GL_ARB_map_buffer_alignment, GL_AMD_vertex_shader_layer, GL_KHR_shader_subgroup, GL_ARB_shader_bit_encoding, GL_ARB_conservative_depth, GL_ARB_polygon_offset_clamp, GL_ARB_gl_spirv, GL_NV_fill_rectangle, GL_ARB_gpu_shader_fp64, GL_ARB_texture_buffer_object_rgb32, GL_EXT_texture_filter_anisotropic, GL_ARB_arrays_of_arrays, GL_EXT_secondary_color, GL_EXT_window_rectangles, GL_ARB_buffer_storage, GL_NV_shader_buffer_load, GL_EXT_semaphore_fd, GL_NV_ES1_1_compatibility, GL_NV_shader_thread_group, GL_EXT_texture_lod_bias
[2023.11.23 22:09:48] OpenGL: Disable on NVIDIA driver on Linux.
[2023.11.23 22:09:48] OpenGL: [FALSE] (OverlayWidget)
[2023.11.23 22:09:50] API Error: Unknown emoji in reactions: 🫡
[2023.11.23 22:09:51] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.
[2023.11.23 22:09:53] API Warning: not loaded minimal channel applied.

@safronov-nikolai
Copy link

flatpak downgrade works for me:

sudo flatpak update --commit=b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce org.telegram.desktop

@maximilionus
Copy link

maximilionus commented Nov 23, 2023

@todoleza I'm afraid the problem is on the side of your network or ISP. I tried installing the latest version of Telegram flatpak and then downgrading it on a completely fresh Fedora 39 virtual machine, and everything went without issues.

You should definitely check the resolve output for the flathub.org domain. This can be done using the nslookup tool, and the result should look something like:

$ nslookup flathub.org
Server:		X.X.X.XX
Address:	X.X.X.X#X

Non-authoritative answer:
Name:	flathub.org
Address: X.X.X.X
Name:	flathub.org
Address: X:X:X::347

@pchmykh
Copy link

pchmykh commented Nov 23, 2023

Can confirm, doesn't start, Fedora workstation 39, flatpak, please find log in attachment.
2023 11 23 23 00 08 Launched.txt

@ghost
Copy link

ghost commented Nov 23, 2023

Confirming as well, Fedora workstation 39 KDE Spin, flatpak, latest Telegram update

$ flatpak run org.telegram.desktop
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed

@FlameSoulis
Copy link

Downgrading to the previous flatpak release fixes the issue for now.

How to do it:

$ sudo flatpak update --commit="b340f0a01083a73773c1be5edfb9ce6e28cd8002c027ab72f8c6b93a2e5c28ce" org.telegram.desktop

Warning
All app data will be lost after the downgrade and you will have to re-login and setup everything from zero.

Note
There's a good explanation in the comment below #27134 (comment) for this command if someone feels unsecure to copy-paste-execute the random stuff from the internet.

I can confirm this did allow the system to work, but doesn't directly resolve the issue. I'm not seeing anything unusual in the logs, so I will tinker with it after the holidays. Something similar happened to BitWarden's update.

OS: Linux Mint 21.2 Cinnamon
Kernel: 5.15.0-89-generic

@GoldenGlimpse
Copy link

GoldenGlimpse commented Nov 23, 2023

I get this error on
Distro: Linux Mint 21.2 (Victoria)
Kernel: 5.15.0-89-generic

$ flatpak run org.telegram.desktop
Gtk-Message: 21:23:14.375: Failed to load module "xapp-gtk3-module"
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed

Solved with downgrade.

@philmalin
Copy link

philmalin commented Nov 23, 2023

(Note: Not a fix - see comments following this.)

I'm using the flatpak version and the same issue happened to me after upgrading this morning.

However, I just ended up getting it running although accidentally.

I first downgraded telegram to the previous commit. When I started it it looked like a fresh install and wanted me to link to my phone again. This looked odd (I thought maybe because downgrading is done with sudo and so perhaps was treating it like a fresh install), so I ran the flatpak update again to get to the latest.

When I started telegram after updating to the latest (4.11.8 ) it worked this time - no error about gz/svg. It wanted me to link to the phone but it's running without a problem.

@maximilionus
Copy link

@philmalin This issue occurs again when loading media files (images, videos + gifs) into the client cache. Try scrolling through a few channels/chats with different media attachments and see how the app behaves.

@philmalin
Copy link

@maximilionus - Yep, that's what happens. It didn't crash with Telegram running but when I restart it gives the same error and crashes. It actually gets further than before in that it shows a few channels before blowing up.

@todoleza
Copy link

You should definitely check the resolve output for the flathub.org domain. This can be done using the nslookup tool, and the result should look something like:

@maximilionus thanks for the tip, although the source of the absence must've been somewhere else. The command for commit installation started working few hours later.

  • any other interactions, including interactions with flathub via flatpak cli worked
  • error 404 generally means that some server was found, contacted, replied with a valid message saying that what I seek was not found on it. 404 is generally not a client's DNS problem. at least when you don't face some web proxy sorcery; over HTTPS where MITM is out of game.
  • the updates, I strongly believe, are placed on a CDN or mirrors to supply enough bandwidth on multiple geo locations and I am inclined to suspect that I hit an out-of-sync mirror.
$ nslookup flathub.org
Server:		X.X.X.XX
Address:	X.X.X.X#X

Non-authoritative answer:
Name:	flathub.org
Address: X.X.X.X
Name:	flathub.org
Address: X:X:X::347
Non-authoritative answer:
Name:   flathub.org
Address: 199.232.57.91
Name:   flathub.org
Address: 2a04:4e42:4b::347

The addresses can be different per your geo where you query them or they can be anycast and you don't know whom you are talking to anyway :)

HTH and cheers

@todoleza
Copy link

todoleza commented Nov 23, 2023

Re: #27134 (comment)
a new build recently pushed to stable finally works again 👍

Commit: f369560cc14ef848b6b619ea288ac9ac80f72ae75d2c73820cb6f0f688e172ff
Subject: Avoid qtsvg 6.6.0 (ba1830c5)
Date: 2023-11-23 22:43:12 +0000`

@ahydronous
Copy link

Why is this marked completed? No new update has been pushed to Flathub, Telegram still doesn't start.

@alexeyten
Copy link

@ahydronous

Why is this marked completed? No new update has been pushed to Flathub, Telegram still doesn't start.

There were 4 updates since broken one:

$ flatpak remote-info --log flathub org.telegram.desktop
...
    Commit: 197fc082ce1d2d615a68c74f5103ab4a6dbefb08dfc787b8c6b767ba2bc8b331
    Parent: c1bd6f7cf93c0c29b5daf681732be7fb9e13fa85760b28d0abe0eba8b0af49d6
   Subject: Update qtsvg-everywhere-src-6.5.3.tar.xz to 6.6.1 (3f914874)
      Date: 2023-11-27 21:58:35 +0000
   History: 

    Commit: c1bd6f7cf93c0c29b5daf681732be7fb9e13fa85760b28d0abe0eba8b0af49d6
   Subject: Revert "Avoid qtsvg 6.6.0" (adde4817)
      Date: 2023-11-27 19:05:38 +0000

    Commit: 14a53998bfdacb184b13ae4b0b30269c31b7e82dad3bff1e32aa8a916aaec0e3
   Subject: Update Qt patches to desktop-app/patches@92ef11b (de3861a5)
      Date: 2023-11-27 17:03:58 +0000

    Commit: 5929cb28fdead386bbc46f5ab0e1382fce2af7fdd819bbd0b24be7c37fd22500
   Subject: Avoid qtsvg 6.6.0 (ba1830c5)
      Date: 2023-11-23 22:43:12 +0000

### this is broken one
    Commit: f911bd3768af01295dbebba7ad56ecb754dcd4525b8ceb5e8c777b6c4c21de43
   Subject: Try to pleasure the linter (d7b8020f)
      Date: 2023-11-23 07:57:35 +0000

@ahydronous
Copy link

And yet here is the broken version, with a fully resynced updated Flathub

Screenshot from 2023-11-28 21-32-01

@Aokromes
Copy link
Collaborator

Why is this marked completed? No new update has been pushed to Flathub, Telegram still doesn't start.

it's marked as complete when a fix is pushed, not when release is made.

@ayoahha
Copy link

ayoahha commented Nov 28, 2023

Yes confirm that it is now working well
Tanks to the team and their rapidity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests