Skip to content

snap telegram-desktop=5.14.3 doesn't run in KUbuntu 25.04 #29332

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

Open
ashl1 opened this issue May 19, 2025 · 30 comments
Open

snap telegram-desktop=5.14.3 doesn't run in KUbuntu 25.04 #29332

ashl1 opened this issue May 19, 2025 · 30 comments

Comments

@ashl1
Copy link

ashl1 commented May 19, 2025

Steps to reproduce

I've upgraded from previous stable snap version. Old version was worked but new one doesn't run.

This is not working:

  1. Open telegram-desktop either from desktop or console

This is working:

  1. snap run --shell telegram-desktop
  2. export QT_QPA_PLATFORM=xcb
  3. telegram-desktop

Expected behaviour

The app should open. Logs in console:

libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ashl1/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
Gtk-Message: 12:59:18.652: Failed to load module "colorreload-gtk-module"
Gtk-Message: 12:59:18.652: Failed to load module "window-decorations-gtk-module"
Qt: Session management error: Could not open network socket
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ashl1/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ashl1/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
[libvpx-vp9 @ 0x7a11f6f5d800] v1.14.0
[libvpx-vp9 @ 0x7a11eab5f000] v1.14.0
[libvpx-vp9 @ 0x7a11eab5f000] v1.14.0

Actual behaviour

The app is not running. Logs in console

libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ashl1/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ashl1/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ashl1/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

The Wayland connection experienced a fatal error: Invalid argument

Operating system

KUbuntu 25.04

Version of Telegram Desktop

5.14.3

Installation source

Snap

Crash ID

No response

Logs

@ashl1 ashl1 added the bug label May 19, 2025
@ilya-fedin
Copy link
Contributor

I don't have the possibility to test on each existing distro version out there but I can't reproduce on Ubuntu 24.04. I assume that's either a problem with your setup or a regression on Ubuntu side.

@ashl1
Copy link
Author

ashl1 commented May 19, 2025

Yeap. I've updated to latest 25.04 Plucky recently. And updated telegram version after that.
As I understand Ubuntu 24.04 uses Gnome while I use KUbuntu (uses KDE) that might affect that.
Of course you don't have resources to test in all distros and setups. And the problem has a workaround so the priority might be lowered. I was teached that all errors should be reported, so I opened the ticket.
Anyway thanks for the reaction!

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 19, 2025

I'm not sure you've reported it to the right place, this looks like a Qt bug

@Master811129
Copy link

I have the exact same issue kubuntu 25.04 and nvidia

~$ telegram-desktop 
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ubuntu/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ubuntu/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ubuntu/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)

The Wayland connection experienced a fatal error: Invalid argument

@ashl1
Copy link
Author

ashl1 commented May 19, 2025

While I have integrated AMD GPU (Ryzen 4700U). I think this might be KUbuntu specific. The strange behavior that previous snap stable version works perfectly in KUbuntu 25.04. The problem appears only after upgrading Telegram Desktop to the latest snap version

@gonzalofarias
Copy link

I have the same problem here. I'm using Kubuntu 25.04 and updated Telegram yesterday. It worked fine before that.

@Meyhem
Copy link

Meyhem commented May 19, 2025

While I have integrated AMD GPU (Ryzen 4700U). I think this might be KUbuntu specific. The strange behavior that previous snap stable version works perfectly in KUbuntu 25.04. The problem appears only after upgrading Telegram Desktop to the latest snap version

I have exact same issue at exact same circumstances. I downloaded latest github release linux binary v5.14.3 (not snap) and it work for me fine. Seems like this is snap specific.

@benoitg
Copy link

benoitg commented May 19, 2025

I have the exact same issue kubuntu 25.04 and intel GPU, wayland session. So it's not gpu specific either (nvidia and amd gpu were also reported above). Like others, it worked fine before the upgrade to 5.14.3 yesterday, and I have the same output as @Master811129. No upgrade to system packages at the same time, so it's not a recent upstream regression in kubuntu.

@ofry
Copy link

ofry commented May 19, 2025

Have same bug on Kubuntu 25.04 launched as guest OS via VMWare Workstation 17.6.3

ofry@ofry-virtual-machine:~$ sudo snap install telegram-desktop
telegram-desktop 5.14.3 from Telegram FZ-LLC (telegram-desktop✓) installed
ofry@ofry-virtual-machine:~$ telegram-desktop
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ofry/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ofry/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ofry/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/ofry/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

The Wayland connection experienced a fatal error: Invalid argument

@adeptg
Copy link

adeptg commented May 19, 2025

Same issue here after update snap to 5.14.3. 5.14.2 worked fine. KDE Neon, Wayland, Intel.
No KDE/distro packages were updated. So it's something KDE(Qt?)/snap/wayland specific

@ilya-fedin
Copy link
Contributor

Are you sure you had 5.14.2? Snap version before 5.14.3 was 5.13.1.

@adeptg
Copy link

adeptg commented May 19, 2025

Are you sure you had 5.14.2? Snap version before 5.14.3 was 5.13.1.

Ah, yes, I'm sorry, my bad. The old version was 5.13.1

$ snap list --all telegram-desktop
Name Version Rev Tracking Publisher Notes
telegram-desktop 5.13.1 6597 latest/stable telegram-desktop✓ disabled
telegram-desktop 5.14.3 6639 latest/stable telegram-desktop✓ -

Also, the workaround @ashl1 provided works for me:

snap run --shell telegram-desktop
export QT_QPA_PLATFORM=xcb
telegram-desktop

@soumyaDghosh
Copy link

Same problem for me. I reverted to the last working revision,

If the snapshot is still in your pc then you can run

sudo snap revert telegram-desktop

else

sudo snap refresh telegram-desktop --revision  6597

@ashl1 ashl1 changed the title snap telegram-desktop=5.14.3 doesn't run in Wayland snap telegram-desktop=5.14.3 doesn't run in KUbuntu 25.04 May 20, 2025
@giox069
Copy link

giox069 commented May 20, 2025

Same issue here on three different installation of Kubuntu 25.04, KDE, Wayland, Intel CPU/GPU (i5 5th, 7th an 10th gen)

@raf092
Copy link

raf092 commented May 20, 2025

Same here, Kubuntu 25.04 after snap update Telegram stopped working. AMD GPU and CPU. After downgrading the app it started working again, just type: sudo snap refresh telegram-desktop --revision 6597

@fenris
Copy link

fenris commented May 21, 2025

The downgrading method is just temporary ... when the snap refresh, it upgrades to the latest stable, and it breaks again. Any update on this issue is much appreciated.

Currently, running using the upstream Linux binary.

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 21, 2025

Nothing new sadly, I have only VMs with LTS flavours of Ubuntu and none of them reproduced this issue (the only one supporting Wayland of them is the GNOME flavour, though). The only things I can suggest is to either stick to LTS versions or use the non-snap versions.

People liking to experiment could try to reinstall the snap with --devmode that disables sandbox, as the error says "Qt is unable to allocate memory for graphics buffer" and sandbox could be the cause.

@soumyaDghosh
Copy link

I just ran it in KDE Neon, the issue is same in Wayland.

The downgrading method is just temporary ... when the snap refresh, it upgrades to the latest stable, and it breaks again. Any update on this issue is much appreciated.

You can hold the update using

sudo snap refresh --hold=forever telegram-desktop

To remove the hold,

sudo snap refresh --unhold telegram-desktop

@compulov
Copy link

compulov commented May 21, 2025

Running into the same issue with the current snap on Kubuntu 25.04, Framework Ryzen AI. For what it's worth, the binary release works fine.
Has anyone tried X11 vs Wayland? Just wondering given the number of Wayland errors, but I assume they might have been caused by the preceding Qt errors.
One more edit... The Flatpak works fine, too. 5.4.13.

@benoitg
Copy link

benoitg commented May 21, 2025

People liking to experiment could try to reinstall the snap with --devmode that disables sandbox, as the error says "Qt is unable to allocate memory for graphics buffer" and sandbox could be the cause.

Indeed, installing with --devmode telegram works fine.

@volodchenkov
Copy link

People liking to experiment could try to reinstall the snap with --devmode that disables sandbox, as the error says "Qt is unable to allocate memory for graphics buffer" and sandbox could be the cause.

Indeed, installing with --devmode telegram works fine.

I have the same error on Kubuntu 25.04 after last update.
It works for me. Thank you!

@marcusboden
Copy link

marcusboden commented May 21, 2025

This is the output of snappy-debug when running the newest snap on 24.04:

$ sudo snappy-debug --only-snap=telegram-desktop
INFO: Following '/var/log/syslog'. If have dropped messages, use:
INFO: $ sudo journalctl --output=short --follow --all | sudo snappy-debug
kernel.printk_ratelimit = 0
= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/etc/openal/alsoft.conf" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /etc/openal/alsoft.conf (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'system-files (see https://forum.snapcraft.io/t/the-system-files-interface for acceptance criteria)' to 'plugs'

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x7657704ed6f1 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x76577056762b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x7657704ed6f1 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x76577056762b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 434(pidfd_open) compat=0 ip=0x76577057125d code=0x50000
Syscall: pidfd_open

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/gtk/Settings" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.23" pid=114340 label="snap.telegram-desktop.telegram-desktop" peer_pid=8010 peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.DBus" pid=114340 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/io/snapcraft/Settings" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.87" pid=114340 label="snap.telegram-desktop.telegram-desktop" peer_pid=9538 peer_label="unconfined"
DBus access

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x76577056762b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-d:gl0" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x7657704ed6f1 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 434(pidfd_open) compat=0 ip=0x76577057125d code=0x50000
Syscall: pidfd_open

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.NetworkManager" pid=114340 label="snap.telegram-desktop.telegram-desktop" peer_pid=3206 peer_label="unconfined"
DBus access
Suggestion:
* try adding one of 'network-manager, network-manager-observe' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/64x64/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/64x64/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/48x48/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/48x48/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/32x32/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/32x32/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/32x32/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/32x32/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/48x48/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/48x48/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/512x512/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/64x64/apps/snap.telegram-desktop..png" pid=114340 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/64x64/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-deskto" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x76577056762b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= Seccomp =
Time: 2025-05-21T20:4
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=114340 comm="telegram-d:gl0" exe="/snap/telegram-desktop/6639/usr/bin/telegram-desktop" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x7657704ed6f1 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.DBus" pid=114340 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:4
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=114340 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

For comparison, this is from the snappy-debug output from working revision 6597:

0 $ sudo snappy-debug --only-snap=telegram-desktop
INFO: Following '/var/log/syslog'. If have dropped messages, use:
INFO: $ sudo journalctl --output=short --follow --all | sudo snappy-debug
kernel.printk_ratelimit = 0
= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/etc/openal/alsoft.conf" pid=116288 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /etc/openal/alsoft.conf (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'system-files (see https://forum.snapcraft.io/t/the-system-files-interface for acceptance criteria)' to 'plugs'

= Seccomp =
Time: 2025-05-21T20:5
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=116288 comm="telegram-deskto" exe="/snap/telegram-desktop/6597/usr/bin/telegram-desktop" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x75f73c6e06f1 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)

= Seccomp =
Time: 2025-05-21T20:5
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=116288 comm="telegram-deskto" exe="/snap/telegram-desktop/6597/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x75f73c75a62b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= Seccomp =
Time: 2025-05-21T20:5
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=116288 comm="telegram-deskto" exe="/snap/telegram-desktop/6597/usr/bin/telegram-desktop" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x75f73c6e06f1 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)

= Seccomp =
Time: 2025-05-21T20:5
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=116288 comm="telegram-deskto" exe="/snap/telegram-desktop/6597/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x75f73c75a62b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= Seccomp =
Time: 2025-05-21T20:5
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=116288 comm="telegram-deskto" exe="/snap/telegram-desktop/6597/usr/bin/telegram-desktop" sig=0 arch=c000003e 434(pidfd_open) compat=0 ip=0x75f73c76425d code=0x50000
Syscall: pidfd_open

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/gtk/Settings" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.23" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_pid=8010 peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.DBus" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/io/snapcraft/Settings" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.87" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_pid=9538 peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png" pid=116288 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.NetworkManager" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_pid=3206 peer_label="unconfined"
DBus access
Suggestion:
* try adding one of 'network-manager, network-manager-observe' to 'plugs'

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png" pid=116288 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/desktop/icons/hicolor/16x16/apps/snap.telegram-desktop..png (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* adjust snap to use snap layouts (https://forum.snapcraft.io/t/snap-layouts/7207)
* add 'desktop-launch' to 'plugs'

= Seccomp =
Time: 2025-05-21T20:5
Log: auid=1000 uid=1000 gid=1000 ses=4 subj=snap.telegram-desktop.telegram-desktop pid=116288 comm="telegram-deskto" exe="/snap/telegram-desktop/6597/usr/bin/telegram-desktop" sig=0 arch=c000003e 141(setpriority) compat=0 ip=0x75f73c75a62b code=0x50000
Syscall: setpriority
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional setpriority is often just noise)

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.DBus" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

= AppArmor =
Time: 2025-05-21T20:5
Log: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.DBus" pid=116288 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
DBus access

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 21, 2025

@marcusboden both outputs look identical to me, only that the first one is longer due to apparently the app being run for a longer time. I don't see anything related, it seem to mention only dbus calls and real time priority, nothing related to mmap.

@AtFreezingPoint
Copy link

Same problem 👍🏽

@kenvandine
Copy link
Contributor

Does it work by forcing it to fallback to Xwayland?

DISABLE_WAYLAND=1 telegram-desktop

@AtFreezingPoint
Copy link

Does it work by forcing it to fallback to Xwayland?

DISABLE_WAYLAND=1 telegram-desktop

Checked, yes.

Also works with these steps

1. snap run --shell telegram-desktop

2. export QT_QPA_PLATFORM=xcb

3. telegram-desktop

@AtFreezingPoint
Copy link

DISABLE_WAYLAND=1 telegram-desktop

Believe it or not that exact same command started not working on my system... Wow

@AtFreezingPoint
Copy link

Edge build also suffering from issue.

@adeptg
Copy link

adeptg commented May 24, 2025

"DISABLE_WAYLAND=1 telegram-desktop" worked for me 2 times. Successful run:

$ DISABLE_WAYLAND=1 telegram-desktop
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/adept/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
Gtk-Message: 12:58:44.745: Failed to load module "colorreload-gtk-module"
Gtk-Message: 12:58:44.745: Failed to load module "window-decorations-gtk-module"
Qt: Session management error: Could not open network socket
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/adept/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/adept/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter

then I tried to run telegram-desktop without this option, and it failed (as was expected).

But now DISABLE_WAYLAND=1 doesn't help anymore:

$ DISABLE_WAYLAND=1 telegram-desktop
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/adept/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/adept/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/adept/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
QWaylandShmBuffer: mmap failed (Invalid argument)
QPainter::begin: Paint device returned engine == 0, type: 3
qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)

The Wayland connection experienced a fatal error: Invalid argument

@ilya-fedin
Copy link
Contributor

DISABLE_WAYLAND likely works only since system startup and up to the first launch without DISABLE_WAYLAND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests