Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Installazione, configurazione e uso di programmi e strumenti.
Scrivi risposta
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da frapox »

Come da oggetto, non si riesce a vedere neanche la finestra, si vede giusto l'animazione di apertura della icona nella taskbar per qualche secondo e basta. I messaggi di debug della consolle sono questi:

Codice: Seleziona tutto

$ telegram-desktop 
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/frapox/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/frapox/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/frapox/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
Le Snap connections sono queste:

Codice: Seleziona tutto

$ snap connections telegram-desktop 
Interface              Plug                               Slot                            Notes
alsa                   telegram-desktop:alsa              -                               -
audio-playback         telegram-desktop:audio-playback    :audio-playback                 -
audio-record           telegram-desktop:audio-record      :audio-record                   -
camera                 telegram-desktop:camera            :camera                         -
content[gtk-3-themes]  telegram-desktop:gtk-3-themes      gtk-common-themes:gtk-3-themes  -
content[gtk-3-themes]  telegram-desktop:gtk-3-themes      gtk-theme-breeze:gtk-3-themes   -
content[icon-themes]   telegram-desktop:icon-themes       gtk-common-themes:icon-themes   -
content[icon-themes]   telegram-desktop:icon-themes       icon-theme-breeze:icon-themes   -
content[sound-themes]  telegram-desktop:sound-themes      gtk-common-themes:sound-themes  -
desktop                telegram-desktop:desktop           :desktop                        -
desktop-legacy         telegram-desktop:desktop-legacy    :desktop-legacy                 -
gsettings              telegram-desktop:gsettings         :gsettings                      -
hardware-observe       telegram-desktop:hardware-observe  :hardware-observe               -
home                   telegram-desktop:home              :home                           -
mpris                  -                                  telegram-desktop:mpris          -
network                telegram-desktop:network           :network                        -
network-bind           telegram-desktop:network-bind      :network-bind                   -
network-status         telegram-desktop:network-status    :network-status                 -
opengl                 telegram-desktop:opengl            :opengl                         -
removable-media        telegram-desktop:removable-media   -                               -
unity7                 telegram-desktop:unity7            :unity7                         -
wayland                telegram-desktop:wayland           :wayland                        -
x11                    telegram-desktop:x11               :x11                            -
Le info sulla macchina sono queste:

Codice: Seleziona tutto

# inxi -Fxz

System:
  Kernel: 6.14.0-23-generic arch: x86_64 bits: 64 compiler: gcc v: 14.2.0
  Desktop: KDE Plasma v: 6.3.4 Distro: Ubuntu 25.04 (Plucky Puffin)
Machine:
  Type: Laptop System: ASUSTeK product: N56VZ v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: N56VZ v: 1.0 serial: <filter>
    UEFI: American Megatrends v: N56VZ.217 date: 05/22/2013
Battery:
  ID-1: BAT0 charge: 27.7 Wh (95.2%) condition: 29.1/57.4 Wh (50.7%)
    volts: 11.2 min: 11.2 model: ASUSTeK N56--51 status: not charging
CPU:
  Info: quad core model: Intel Core i7-3630QM bits: 64 type: MT MCP
    arch: Ivy Bridge rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 1197 min/max: 1200/3400 cores: 1: 1197 2: 1197 3: 1197
    4: 1197 5: 1197 6: 1197 7: 1197 8: 1197 bogomips: 38311
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: ASUSTeK N56VZ
    driver: i915 v: kernel arch: Gen-7 bus-ID: 00:02.0
  Device-2: NVIDIA GK107M [GeForce GT 650M] vendor: ASUSTeK N56VZ
    driver: nouveau v: kernel arch: Kepler-2 bus-ID: 01:00.0 temp: 56.0 C
  Device-3: Sunplus Innovation Asus Webcam driver: uvcvideo type: USB
    bus-ID: 2-1.3:4
  Display: unspecified server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6
    driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915
    resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: crocus,nouveau,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.2 vendor: intel mesa
    v: 25.0.7-0ubuntu0.25.04.1 glx-v: 1.4 direct-render: yes renderer: Mesa
    Intel HD Graphics 4000 (IVB GT2)
  API: Vulkan v: 1.4.304 drivers: N/A surfaces: xcb,xlib devices: 2
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: ASUSTeK N56VZ driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Device-2: NVIDIA GK107 HDMI Audio driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  API: ALSA v: k6.14.0-23-generic status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: n/a (root, process)
Network:
  Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: AzureWave
    driver: ath9k v: kernel bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Qualcomm Atheros AR8161 Gigabit Ethernet vendor: ASUSTeK N56VZ
    driver: alx v: kernel port: d000 bus-ID: 04:00.0
  IF: enp4s0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter driver: btusb
    v: 0.8 type: USB bus-ID: 2-1.1:5
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 4.0
    lmp-v: 6
Drives:
  Local Storage: total: 1.39 TiB used: 12.85 GiB (0.9%)
  ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB
  ID-2: /dev/sdb vendor: Samsung model: ST1000LM024 HN-M101MBB
    size: 931.51 GiB type: USB
  ID-3: /dev/sdc vendor: SanDisk model: Ultra USB 3.0 size: 28.64 GiB
    type: USB
Partition:
  ID-1: / size: 48.91 GiB used: 12.8 GiB (26.2%) fs: ext4 dev: /dev/dm-0
    mapped: luks-2bed680d-21d7-477b-9f18-1d0b06ab1713
  ID-2: /boot/efi size: 96 MiB used: 54 MiB (56.3%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 66.0 C mobo: N/A gpu: nouveau temp: 56.0 C
  Fan Speeds (rpm): cpu: 2800
Info:
  Memory: total: 16 GiB available: 15.5 GiB used: 3.9 GiB (25.1%) igpu: 64 MiB
  Processes: 266 Uptime: 28m Init: systemd
  Packages: 2264 Compilers: N/A Shell: Bash v: 5.2.37 inxi: 3.3.37
La versione dell'app è questa:

Codice: Seleziona tutto

telegram-desktop   5.16.4           6735   latest/stable    telegram-desktop✓  -
Sistema ovviamente aggiornato:

Codice: Seleziona tutto

# apt update
Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
Get:2 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
Get:5 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Components [14,7 kB]
Get:6 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Components [1.684 B]
Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Components [30,5 kB]
Get:8 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Components [212 B]
Get:9 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Components [212 B]
Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Components [9.088 B]
Get:11 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Components [212 B]
Get:12 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Components [212 B]
Get:13 http://archive.ubuntu.com/ubuntu plucky-backports/main amd64 Components [212 B]
Get:14 http://archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Components [216 B]
Get:15 http://archive.ubuntu.com/ubuntu plucky-backports/restricted amd64 Components [216 B]
Get:16 http://archive.ubuntu.com/ubuntu plucky-backports/multiverse amd64 Components [216 B]

# apt dist-upgrade 
Not upgrading yet due to phasing:
  firmware-sof-signed

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 1
Che altro?
- Installazione fatta da Discover (ma non credo sia rilevante)
- Sessione Plasma Wayland
- OS Kubuntu 25.04 fresh install

Ho aperto un issue anche sul bugtracker del progetto:
https://github.com/telegramdesktop/tdes ... sues/29560
Ultima modifica di frapox il giovedì 17 luglio 2025, 3:43, modificato 1 volta in totale.
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
OMBRA_Linux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3691
Iscrizione: mercoledì 18 febbraio 2015, 14:24
Desktop: HP / Lenovo / Samsung
Distribuzione: Android / Ubuntu 22.04 / Windows 11
Sesso: Maschile
Località: Napoli

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da OMBRA_Linux »

A me funziona regolarmente.

Immagine
Se per vivere devi strisciare, alzati e muori.
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da frapox »

OMBRA_Linux ha scritto:
martedì 15 luglio 2025, 18:05
A me funziona regolarmente.
Su quale sistema operativo, versione?

Su quale sessione e DE?
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18457
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da caturen »

Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da frapox »

caturen ha scritto:
martedì 15 luglio 2025, 21:25
https://github.com/telegramdesktop/tdes ... sues/29332
Già visto. Ma non è risolutivo e si riferisce a una versione più vecchia di Telegram.
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da frapox »

Aggiornamento: risposta nel bug che ho aperto sul repo dell'app:
@frapox currently Wayland is broken for the snap package of Telegram. You have to use XWayland instead:

Codice: Seleziona tutto

snap disconnect telegram-desktop:wayland
Hanno frettolosamente chiuso il bug (non segnandolo come duplicato) quindi deduco che non abbiano intenzione di lavorarci o comunque di dargli priorità. Meglio che non commento... Se ci sono aggiornamenti della situazione li riporterò.
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18457
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da caturen »

currently Wayland is broken for the snap package of Telegram. You have to use XWayland instead: snap disconnect telegram-desktop:wayland
:lol: :lol:
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da frapox »

caturen ha scritto:
mercoledì 16 luglio 2025, 12:51
currently Wayland is broken for the snap package of Telegram. You have to use XWayland instead: snap disconnect telegram-desktop:wayland
:lol: :lol:
eh, le grasse risate... L'avevo già riportato io sopra quel quote. Questa non è una soluzione comunque, al massimo un workaround. C'è poco da ridere.
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
OMBRA_Linux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3691
Iscrizione: mercoledì 18 febbraio 2015, 14:24
Desktop: HP / Lenovo / Samsung
Distribuzione: Android / Ubuntu 22.04 / Windows 11
Sesso: Maschile
Località: Napoli

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da OMBRA_Linux »

Telegram sulla Ubuntu 22.04 LTS non ho problemi.
Sulla 25 non ho provato perchè non l'ho installata.
Facendo qualche ricerca in rete sembra che il problema possa essere Wayland e quindi si consiglia di provare a vedere se con x11 funziona.
Ma potrebbe essere anche un problema di Qt. Ubuntu 22.04 usa Qt 5 mentre Ubuntu 25 usa Qt6
Qui una spiegazione. https://github.com/telegramdesktop/tdes ... sues/29425
Se per vivere devi strisciare, alzati e muori.
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da frapox »

OMBRA_Linux ha scritto:
mercoledì 16 luglio 2025, 14:03
Telegram sulla Ubuntu 22.04 LTS non ho problemi.
Sulla 25 non ho provato perchè non l'ho installata.
Ah, ecco... appunto.
quindi si consiglia di provare a vedere se con x11 funziona.
Nella sessione Wayland, disattivando la connection con wayland (come scritto *due* volte sopra) ovviamente funziona. Però non era quello il mio obbiettivo, ma farla funzionare nativamente per wayland. Probabilmente c'è da aspettare un aggiornamento futuro dell'app che supporti Wayland, se mai arriverà...
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
emanuc
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1450
Iscrizione: sabato 1 giugno 2013, 0:32
Desktop: Cosmic
Distribuzione: Fedora Linux
Sesso: Maschile

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da emanuc »

OMBRA_Linux ha scritto:
mercoledì 16 luglio 2025, 14:03
Telegram sulla Ubuntu 22.04 LTS non ho problemi.
Sulla 25 non ho provato perchè non l'ho installata.
Facendo qualche ricerca in rete sembra che il problema possa essere Wayland e quindi si consiglia di provare a vedere se con x11 funziona.
Ma potrebbe essere anche un problema di Qt. Ubuntu 22.04 usa Qt 5 mentre Ubuntu 25 usa Qt6
Qui una spiegazione. https://github.com/telegramdesktop/tdes ... sues/29425
Non è un problema di "Wayland", il problema è del pacchetto snap su wayland.
Lo sviluppatore l'ha scritto sia nella issue che citi, sia nell'issue di frapox.
Al momento la soluzione è: usare la versione precompilata, o provare la versione flatpak o nativa (.deb) se è nei repo.
KDE Wayland is not supported by the snap package. Switch to the static binary.
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da frapox »

emanuc ha scritto:
mercoledì 16 luglio 2025, 14:30
OMBRA_Linux ha scritto:
mercoledì 16 luglio 2025, 14:03
Telegram sulla Ubuntu 22.04 LTS non ho problemi.
Sulla 25 non ho provato perchè non l'ho installata.
Facendo qualche ricerca in rete sembra che il problema possa essere Wayland e quindi si consiglia di provare a vedere se con x11 funziona.
Ma potrebbe essere anche un problema di Qt. Ubuntu 22.04 usa Qt 5 mentre Ubuntu 25 usa Qt6
Qui una spiegazione. https://github.com/telegramdesktop/tdes ... sues/29425
Non è un problema di "Wayland", il problema è del pacchetto snap su wayland.
Esatto.

Al momento la soluzione è: usare la versione precompilata, o provare la versione flatpak o nativa (.deb) se è nei repo.
Telegram formato Flatpak lo uso su un altro PC (sempre con Ubuntu) e funziona, ma sinceramente non so se viaggia in wl nativo o sfrutta XWayland (dato che funziona non mi sono posto il problema).

Verrebbe da chiedersi come mai lo sviluppatore ufficiale distribuisca uno Snap che non è universalmente compatibile (se non parte su Plasma-wayland non lo è), ma forse è meglio non farsi certe domande... :asd:
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
OMBRA_Linux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3691
Iscrizione: mercoledì 18 febbraio 2015, 14:24
Desktop: HP / Lenovo / Samsung
Distribuzione: Android / Ubuntu 22.04 / Windows 11
Sesso: Maschile
Località: Napoli

Re: Telegram Desktop formato Snap crasha all'avvio

Messaggio da OMBRA_Linux »

Beh, il problema non è necessariamente Wayland, ma Telegram Snap va chiaramente in conflitto con esso.
Come ho già scritto nel post precedente, potrebbe trattarsi di un’interazione complessa tra Telegram Snap, Wayland e Qt6 su Ubuntu 25.
Farlo funzionare nativamente su Wayland sembra difficile, soprattutto se gli sviluppatori restano con le mani in mano.

Edit: Ci sono delle novità.
Ho appena installato Ubuntu 25 su un vecchio notebook e, siccome non si apriva l'App Store, ho installato Telegram dal terminale con:

Codice: Seleziona tutto

sudo snap install telegram-desktop 
L'app si apre regolarmente, come si può vedere dall'immagine.

Immagine
Se per vivere devi strisciare, alzati e muori.
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da frapox »

Ho specificato nel titolo della discussione che il problema si riferisce a Kubuntu (evidentemente scriverlo nel primo post non è bastato).
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
OMBRA_Linux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3691
Iscrizione: mercoledì 18 febbraio 2015, 14:24
Desktop: HP / Lenovo / Samsung
Distribuzione: Android / Ubuntu 22.04 / Windows 11
Sesso: Maschile
Località: Napoli

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da OMBRA_Linux »

Ok, ho scaricato e installato KDE 25 e fatto svariate prove, senza successo.
L’unico modo per usare Telegram Desktop su Wayland è scaricare il file binario (tar.xz) da questo sito:
https://desktop.telegram.org/
Dopodiché va scompattato in una cartella e aperto semplicemente cliccando sul file “Telegram” all’interno della cartella.
Immagine
Se per vivere devi strisciare, alzati e muori.
emanuc
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1450
Iscrizione: sabato 1 giugno 2013, 0:32
Desktop: Cosmic
Distribuzione: Fedora Linux
Sesso: Maschile

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da emanuc »

Confermo che è un problema esclusivamente della versione snap. Ho installato Kubuntu 25.04 in una VM, avviato telegram sia in versione snap (non si avvia) che in flatpak (si avvia), per essere sicuro che si avvia in modalità Wayland, ho tolto i permessi per la sessione X.

Immagine
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da frapox »

Bene, grazie per le conferme. Il flatpak allora va in Wayland nativo, come immaginavo, bene.

Per ora su questo PC uso lo snap in xwayland, dopo aver tolto la connextion con wayland, e mi accontento. Vedremo se più avanti fixeranno lo snap.

Ci aggiorniamo.
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
OMBRA_Linux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3691
Iscrizione: mercoledì 18 febbraio 2015, 14:24
Desktop: HP / Lenovo / Samsung
Distribuzione: Android / Ubuntu 22.04 / Windows 11
Sesso: Maschile
Località: Napoli

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da OMBRA_Linux »

Non è solo un problema di snap, visto che su Ubuntu 25 funziona.
Il problema è come Kde gestisce Qt Wayland.
Qui un approfondimento:
https://community.kde.org/index.php?tit ... ant_Issues
https://discuss.kde.org/t/qt-wayland-supercharged/10335
Se per vivere devi strisciare, alzati e muori.
Avatar utente
frapox
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4889
Iscrizione: sabato 31 dicembre 2005, 19:22
Desktop: Gnome, Plasma
Distribuzione: Fedora, Ubuntu

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da frapox »

con l'ultimo aggiornamento di Telegram dev'essere saltato qualcosa, perché:

Codice: Seleziona tutto

$ telegram-desktop &
[1] 14523
frapox@n56vz-linux:~$ Failed to create wl_display (Permission denied)
qt.qpa.wayland: Failed to initialize EGL display 3001
qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-egl, wayland, xcb.


[1]+  Aborted                 (core dumped) telegram-desktop
Quindi provando a forzarlo tramite variabile ambiente:

Codice: Seleziona tutto

$ env QT_QPA_PLATFORM=xcb telegram-desktop 
Failed to create wl_display (Permission denied)
qt.qpa.wayland: Failed to initialize EGL display 3001
qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-egl, wayland, xcb.

Aborted (core dumped)
Non va neanche cosi. Mi sono anche rotto di dover combattere contro un qualcosa che chiaramente ha dei bug che non vengono risolti all'origine, quindi provvedo alla disinstallazione dello Snap e all'installazione del Flatpak.

E CVD il Flatpak funziona al primo colpo in modalità nativa Wayland anche sotto Plasma.
Immagine
«La tecnologia va cavalcata. Se è lei a cavalcarci, ne siamo schiavi.»
Avatar utente
tokijin
Moderatore Globale
Moderatore Globale
Messaggi: 4713
Iscrizione: mercoledì 3 giugno 2009, 23:10
Desktop: plasma 5.27.4
Distribuzione: Kubuntu 23.04
Località: Abruzzo

Re: Telegram Desktop formato Snap crasha all'avvio su Kubuntu 25.04 Wayland

Messaggio da tokijin »

Ho spostato in quarantena messaggi off-topic che nulla c'entrano con la soluzione del problema specifico.

@caturen (e ovviamente chiunque):
scrivere per fornire/ricevere supporto, ok; scrivere per polemizzare, no.
Sei abbruzzese se dopo che ti sei strafogato un chilogrammo di pasta, hai il coraggio di dire alla cuoca "cacc ch'è cott" - Se entra un piccione in casa..chiudi le finestre!
Ubuntu User #28657 - Il mio vecchio hardware - Tag Codice
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 1 ospite