telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.22k stars 5.2k forks source link

Wallet: EGLDisplay Initialization failed: EGL_NOT_INITIALIZED #27218

Closed powerman closed 10 months ago

powerman commented 10 months ago

Steps to reproduce

  1. Activate @wallet bot.
  2. Open Wallet window using any way (from bot, from main menu).

Expected behaviour

Web page from @wallet bot should be shown.

Actual behaviour

Empty web page is shown, and this error is on console output:

(telegram-desktop:22581): GLib-GIO-WARNING **: 23:58:41.006: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal.  It should do one of these.
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)

изображение

Operating system

Gentoo Linux, Fluxbox

Version of Telegram Desktop

4.11.7

Installation source

Static binary from official website

Crash ID

No response

Logs

[2023.12.13 00:12:41] Launched version: 4011007, install beta: [FALSE], alpha: 0, debug mode: [FALSE]
[2023.12.13 00:12:41] Executable dir: /usr/bin/, name: telegram-desktop
[2023.12.13 00:12:41] Initial working dir: /home/powerman/
[2023.12.13 00:12:41] Working dir: /home/powerman/.local/share/TelegramDesktop/
[2023.12.13 00:12:41] Command line: telegram-desktop
[2023.12.13 00:12:41] Executable path before check: /usr/bin/telegram-desktop
[2023.12.13 00:12:41] Logs started
[2023.12.13 00:12:41] App ID: org.telegram.desktop
[2023.12.13 00:12:41] Connecting local socket to 6599c0795939ecd9b5226169c3b8a797-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2023.12.13 00:12:41] Socket connect error 0, starting server and app...
[2023.12.13 00:12:41] Moved logging from '/home/powerman/.local/share/TelegramDesktop/log_start0.txt' to '/home/powerman/.local/share/TelegramDesktop/log.txt'!
[2023.12.13 00:12:41] Global devicePixelRatio: 1
[2023.12.13 00:12:41] Primary screen DPI: 90, Base: 96.
[2023.12.13 00:12:41] Computed screen scale: 95
[2023.12.13 00:12:41] DevicePixelRatio: 1
[2023.12.13 00:12:41] ScreenScale: 95
[2023.12.13 00:12:41] Icon theme: elementary-xfce
[2023.12.13 00:12:41] Fallback icon theme: hicolor
[2023.12.13 00:12:41] System tray available: [TRUE]
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAOpenSansRegular.ttf' loaded 'DAOpenSansRegular'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAOpenSansRegularItalic.ttf' loaded 'DAOpenSansRegularItalic'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2023.12.13 00:12:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.12.13 00:12:41] App Info: reading settings...
[2023.12.13 00:12:41] App Info: reading encrypted settings...
[2023.12.13 00:12:41] Lang Info: Loaded cached, keys: 5952
[2023.12.13 00:12:41] Audio Info: Failed to load pipewire 0.3 stubs.
[2023.12.13 00:12:41] OpenAL Logging Level: (not set)
[2023.12.13 00:12:41] Audio Playback Devices: default and only sink
[2023.12.13 00:12:41] Audio Playback Default Device: default and only sink
[2023.12.13 00:12:41] Audio Capture Devices: default_source_name
[2023.12.13 00:12:41] Audio Capture Default Device: default_source_name
[2023.12.13 00:12:41] App Info: reading accounts info...
[2023.12.13 00:12:41] App Info: reading encrypted info...
[2023.12.13 00:12:41] App Info: reading map...
[2023.12.13 00:12:41] App Info: reading encrypted map...
[2023.12.13 00:12:41] App Info: reading encrypted user settings...
[2023.12.13 00:12:41] App Info: encrypted user settings read.
[2023.12.13 00:12:41] App Info: reading encrypted mtp data...
[2023.12.13 00:12:41] MTP Info: read keys, current: 5, to destroy: 0
[2023.12.13 00:12:41] Map read time: 2
[2023.12.13 00:12:41] App Info: reading encrypted mtp config...
[2023.12.13 00:12:41] Export Info: Destroy top bar by controller removal.
[2023.12.13 00:12:41] OpenGL: Force-disabled.
[2023.12.13 00:12:41] OpenGL: [FALSE] (Window)
[2023.12.13 00:12:41] Notification daemon product name: Xfce Notify Daemon
[2023.12.13 00:12:41] Notification daemon vendor name: Xfce
[2023.12.13 00:12:41] Notification daemon version: 0.9.2
[2023.12.13 00:12:41] Notification daemon specification version: 1.2
[2023.12.13 00:12:41] Notification daemon capabilities: action-icons, actions, body, body-hyperlinks, body-markup, icon-static, sound, x-canonical-private-icon-only
[2023.12.13 00:12:46] BotWebView Error: Could not parse """".
[2023.12.13 00:12:46] BotWebView Error: Could not parse """".
[2023.12.13 00:12:46] BotWebView Error: Could not parse """".
ilya-fedin commented 10 months ago

Can you reproduce on the DurgerKingBot?

ilya-fedin commented 10 months ago

If you have NVIDIA, I suggest to switch to nouveau. The proprietary driver may bug as always.

powerman commented 10 months ago

Can you reproduce on the DurgerKingBot?

Yes.

If you have NVIDIA, I suggest to switch to nouveau. The proprietary driver may bug as always.

I'm sorry, but this isn't an option. Yes, I use nvidia-drivers, but there is a good reason for it: I also use Steam. :)

Still, as a Gentoo user I know how to build things from source and debug, so if you'll give me some hints I can help debugging this issue. Googling this error result in few Mesa related issues, if that helps.

ilya-fedin commented 10 months ago

I'm sorry, but this isn't an option.

I'm sorry but it looks like a bug in the NVIDIA driver that is affecting third party libraries used by tdesktop. If you don't want to replace the driver then there's nothing could be done as tdesktop can't fix your driver.