-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Telegram Desktop unable to launch on Raspberry Pi 5 #27801
Comments
request support for your device at https://github.com/jemalloc/jemalloc with default build configuration |
@ilya-fedin they have no intention of changing the default as of now |
@theofficialgman tdesktop doesn't have the intention either, especially since amd64 is the only officially supported architecture. arm64 flatpak exists only because flathub builders build it automatically (the same for snap). |
@ilya-fedin aarch64 is an officially supported architecture. Refer to the official verified flatpak https://flathub.org/apps/org.telegram.desktop Let's get this issue with telegramdesktop fixed. |
@theofficialgman i'm not sure what you wanted to proof by this link, arm64 is not officially supported by tdesktop. You can build it, flathub can build it but it's not guaranteed to work. |
Don't get me wrong, I'm not against if someone would PR a solution that will let tdesktop work on rpi5 while not making tdesktop less optimized for other architectures and ideally other machines (that work right now) on the same architecture. Yet, I have no personal interest in this issue to work on it and arm64 is not an officially supported architecture to deserve an open issue about that. Moreover, I guess having lesser page size is even more important on arms than on amd64, as such hardware usually has limited RAM size. |
@ilya-fedin flathub builds are official and supported (see verified tag at https://flathub.org/apps/org.telegram.desktop). Aarch64 is enabled in flathub builds https://github.com/flathub/org.telegram.desktop Thus aarch64 is supported. Not sure why this concept is so difficult for you. |
@theofficialgman only amd64 build is official. arm64 build is present only because builders build it, as I mentioned earlier. |
And, well, flatpak and snap builds are more like semi-official, as they use API key created by a third party person. |
I see. I'll contact flathub and have the verified badge removal as it's not official. |
The problem is you're using third party projects (flathub) as the source of truth. If you will look this repository, you won't find any sign that ARM is supported. The official build instructions are amd64-only and previous issues about ARM support were closed as there doesn't seem to be any need in Linux ARM support from Telegram PoV and the community doesn't seem to have enough interest to help with code for ARM support (implementing a cross-compilation script to build official binaries for ARM on amd64 hardware). |
flatpak (and thus all flatpak builds) are listed as a supported system in the readme of this repository |
I read that as support for packaging formats rather than all builds. |
No need to argue, that won't change the real state of things - the lack of interest in Linux arm. You either contribute a fix or wait until someone else from community does that. |
We have already given you the fix I don't know where you are pulling this dependency but it needs to be built with that. I leave this up to you as the project maintainer. |
This will raise RAM consumption for all users (not only the affected ones by the issue) which doesn't seem a good solution. |
I'm not the project maintainer. It's @john-preston. |
incorrect k3s-io/k3s#7335 (comment) . I quote:
|
I don't see how that is wrong is jemalloc developers say that changes the size of their structs. They don't want to make it the default due to that, I don't want to take that either - tdesktop already uses lots of RAM. |
Steps to reproduce
An error occurs when trying to lauch the application on fresh installed system
Device
Expected behaviour
Telegram is started after the steps listed above
Actual behaviour
Telegram unable to launch
Operating system
Debian GNU/Linux 12 (bookworm), 64-bit, kernel: aarch64 6.6.20+rpt-rpi-2712
Version of Telegram Desktop
4.16.8
Installation source
Flatpak
Crash ID
No response
Logs
The text was updated successfully, but these errors were encountered: