Code Monkey home page Code Monkey logo

Comments (6)

clementperon avatar clementperon commented on June 13, 2024 1

Easier is rebuild with snapcraft and Jemalloc disabled

Screenshot from 2023-10-08 23-53-27

from ubuntu-asahi.

tobhe avatar tobhe commented on June 13, 2024

Thx for the report, we currently don't ship a patched jemalloc but it looks like we should. Ideally we can even upstream the patch into the proper Ubuntu package.

from ubuntu-asahi.

tobhe avatar tobhe commented on June 13, 2024

So looking at the Ubuntu package build files it looks like they should be 64K aligned on 22.04 and 23.10. Are you using a deb package or a snap? Can you show the output of readelf -l /path/to/libjemalloc on your system?

from ubuntu-asahi.

dmatora avatar dmatora commented on June 13, 2024

I've searched for jemalloc via find / -name "*jemalloc*" 2>/dev/null
and it only revealed entries inside /home/ubuntu/tdesktop/ which holds telegram sources I was trying to build, so It looks like it's not system wide issue

I found this discussion and it seems like telegram is not planning to support asahi systems

However when I install telegram on asahi using Discover UI - it doesn't crash, here are some explanations for that

I wonder if there is a a way to take telegram from original asahi and get it running asahi ubuntu or make instruction for patching build files (here are some suggestions)

The main reason I tried switching from asahi to ubuntu is to be able to install deb files which are more popular for software distribution, particularly AnyDesk is available for arm platforms (Raspberry Pi) as a deb package, but it looks like my assumption was wrong and software selection on ubuntu asahi is not wider, but the opposite. (Failed to install AnyDesk from .deb package as well)

I can now see other benefits (graphics works out of the box, screen sharing is not crippled, etc) but unless I can make software like telegram working, ubuntu wouldn't be really usable

from ubuntu-asahi.

clementperon avatar clementperon commented on June 13, 2024

Installing with snap show that most libraries are statically linked:

ldd /snap/bin/telegram-desktop 
	linux-vdso.so.1 (0x0000ffff23f14000)
	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff23d00000)
	/lib/ld-linux-aarch64.so.1 (0x0000ffff23edc000)

You could try to build from the source, or fork the repo and bump the jemalloc.

from ubuntu-asahi.

clementperon avatar clementperon commented on June 13, 2024

@dmatora it has been published here https://snapcraft.io/telegram-asahi

from ubuntu-asahi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.