You are not logged in.

#1 2024-03-25 20:10:01

alllexx88
Member
Registered: 2023-12-22
Posts: 23

telegram-desktop+X11+Nvidia loads slowly, GLX issue

Hi, I have an issue of telegram loading pretty slowly (about 30s), with this printed to terminal:

$ telegram-desktop
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "stateChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMState
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "connectivityChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMConnectivityState
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "deviceTypeChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMDeviceType
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "meteredChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMMetered
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
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment

It looks similar to https://bbs.archlinux.org/viewtopic.php?id=287093 except that it doesn't hang when I open an image and works fine afterwards. I'm on KDE too, and I dont have xdg-desktop-portal-gnome installed

pacman -Qs portal:

local/xdg-desktop-portal 1.18.2-1
    Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-kde 6.0.2-3 (plasma)
    A backend implementation for xdg-desktop-portal using Qt/KF5

loginctl session-status:

2 - alex (1000)
  Since: Mon 2024-03-25 20:44:33 CET; 1min 23s ago
  State: active
 Leader: 1319 (sddm-helper)
   Seat: seat0; vc2
    TTY: tty2
 Remote: no
Service: sddm
   Type: x11
  Class: user
Desktop: KDE
   Idle: no
   Unit: session-2.scope
         ├─1319 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-6f3c58ae-2173-445b-b331-519d75ecece5 --id 1 --start /usr/bin/startplasma-x11 --user alex
         ├─1352 /usr/bin/kwalletd6 --pam-login 12 14
         └─1353 /usr/bin/startplasma-x11

Mar 25 20:44:33 AlexArch systemd[1]: Started Session 2 of User alex.
Mar 25 20:44:33 AlexArch sddm-helper[1351]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket

I'm stuck with X11 right now, since on my Nvidia dGPU + Nvidia eGPU setup Wayland doesn't work.

I also found this issue which looks related (I'm too on nvidia-dkms and X11): https://gitlab.archlinux.org/archlinux/ … -/issues/4
It does look GLX related, the head of telegram debug log:

[20:54:48.004 00-0000001] Executable path before check: /usr/bin/telegram-desktop
[20:54:48.004 00-0000002] Launched version: 4015002, install beta: [TRUE], alpha: 0, debug mode: [TRUE]
[20:54:48.004 00-0000003] Executable dir: /usr/bin/, name: telegram-desktop
[20:54:48.004 00-0000004] Initial working dir: /home/alex/
[20:54:48.004 00-0000005] Working dir: /home/alex/.local/share/TelegramDesktop/
[20:54:48.004 00-0000006] Command line: telegram-desktop -debug
[20:54:48.004 00-0000007] Logs started
[20:54:48.004 00-0000008] App ID: org.telegram.desktop
[20:54:48.112 00-0000009] Choosing xcb gl-integration based on following priority
 QList("xcb_glx", "xcb_egl")
[20:54:48.114 00-0000010] Xcb GLX gl-integration created
[20:54:48.114 00-0000011] Xcb GLX gl-integration successfully initialized
[20:55:11.314 00-0000012] Connecting local socket to 3b4e7fb4572a111b1e06bd66ed269633-TelegramDesktop...
[20:55:11.314 00-0000013] Socket connect error 0, starting server and app...

I disabled "Enable OpenGL rendering for media", but it doesn't help (the error above is with OpenGL disabled).

Thanks in advance!

Offline

Board footer

Powered by FluxBB