element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

Element should be able to load multimedia much faster

Open gmanskibiditoilet opened this issue 1 year ago • 5 comments

Your use case

I had an old Dell Inspiron running element desktop (linux lite), however my laptop slows down to a crawl because of this app. Hopefully the devs will enhance element desktop itself to boost its performance and reduces its time to load multimedia elements :)))

Have you considered any alternatives?

No response

Additional context

Fix any bugs affecting performance in the next update.

gmanskibiditoilet avatar Jan 04 '25 09:01 gmanskibiditoilet

Without a profile to see what makes media slow for you one would assume it's down to your choice of matrix homeserver. This isn't actionable without a profile. Media is fast for me on a private matrix server.

t3chguy avatar Jan 04 '25 14:01 t3chguy

but can we ask if some public servers like nope.chat offers fast performance or not and why

gmanskibiditoilet avatar Jan 06 '25 14:01 gmanskibiditoilet

i think it is highly related to the client itself? @t3chguy

gmanskibiditoilet avatar Jan 11 '25 02:01 gmanskibiditoilet

I do have my own Matrix/Synapse server and all alternatives are reasonably fast when loading and decrypting (?) multimedia files. It is really only Element (and Element X, especially when loading unencrypted media) that is so slow. I have no profile data either.

However, what kinda baffles me is, the blurry, flashing preview of, for example, an image is shown immediately, several seconds before the actual image is finished loading. I do not know how this blurry preview is stored, but since the corresponding image is encrypted, the preview is either cached/stored unencrypted somehow or the slow load time of the final image is not decryption related.

HWiese1980 avatar May 20 '25 12:05 HWiese1980

The blurhash is sent in the Matrix Event itself, the link to the (further) encrypted media is in the same event, so at the same time as the client is able to start downloading the media (be it encrypted or not) it can render the blurhash.

t3chguy avatar May 20 '25 12:05 t3chguy