telegramdesktop / tdesktop

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

Linux mini apps #28531

Closed Goosegit11 closed 2 weeks ago

Goosegit11 commented 2 weeks ago

Steps to reproduce

  1. open mini app
  2. Failed to create GBM buffer of size 499x766: Invalid argument
  3. close mini app

Expected behaviour

mini app showing up

Actual behaviour

mini app doesn't show up, blank page

Operating system

Arch Linux

Version of Telegram Desktop

5.6.1

Installation source

Static binary from official website

Crash ID

No response

Logs

Failed to create GBM buffer of size 499x766: Invalid argument

GDK_GL=disable helps.

ilya-fedin commented 2 weeks ago

This belongs to webkitgtk, not tdesktop

Goosegit11 commented 2 weeks ago

@ilya-fedin but other webkitgtk apps work fine

ilya-fedin commented 2 weeks ago

@Goosegit11 I don't believe that, such errors are usually shared with all webkitgtk applications and come from webkitgtk<->graphics drivers interaction. Thus I don't see how tdesktop could be at fault. I can't even reproduce that.

ilya-fedin commented 2 weeks ago

Also, remember that there are three versions of webkitgtk in widely use currently. You might use applications using other version of webkitgtk.

Goosegit11 commented 2 weeks ago

well how can i test that? I tried Epiphany and it works fine

ilya-fedin commented 2 weeks ago

Check the dependencies. tdesktop prefers webkitgtk 4.1 on X11 and can fallback to webkitgtk 4.0. Epiphany uses webkitgtk 6.0 to my knowledge.