-
fjklp
I guess it's normal but gajim gets pretty bogged down when downloading chat from MAM
-
fjklp
Is it possible to make gajim multi-threaded?✎ -
fjklp
Is it possible to make gajim multi-threaded? Just out of curiosity. ✏
-
fjklp
I also wonder about the possibility of rate limiting the mam sync to reduce cpu load.
-
fjklp
Or maybe something else altogether would make it more efficient. I'm not sure what the actual source of the cpu load it. Maybe it's the fact that it's rendering the newly downloaded messages as they are downloaded. Maybe instead we could show a static message like "Syncing messages..." and not render until sync is complete.✎ -
fjklp
Or maybe something else altogether would make it more efficient. I'm not sure what the actual source of the cpu load is. Maybe it's the fact that it's rendering the newly downloaded messages as they are downloaded. Maybe instead we could show a static message like "Syncing messages..." and not render until sync is complete. ✏
-
chud
Python threads are useless because of the GIL.
-
lovetox
First we would need to find out what's causing the CPU load
-
fjklp
maybe I'll try to figure that out another time
-
cal0pteryx
fjklp: here are the instructions on how to profile cpu usage https://dev.gajim.org/gajim/gajim/-/wikis/development/Debugging#performance-profile
-
fjklp
thanks
-
fjklp
I'm not sure how I'll go about getting gajim to download a bunch of messages
-
fjklp
maybe running a local server and somehow generating a bunch of messages on it somehow✎ -
fjklp
maybe running a local server and somehow generating a bunch of messages on it ✏
-
cal0pteryx
Just join some random group chat
-
fjklp
as far as I know, chat only gets downloaded for previously joined chats, not newly joined
-
fjklp
I might have an opportunity to do this, but it would be nice to have a way to produce this activity on demand
-
lovetox
Also new joined but only one day
-
lovetox
But you can simply create a new chat Spam it with 200 messages
-
lovetox
Delete your database
-
lovetox
And rejoin
-
lovetox
You can also simply change the date we request on first join inside the code
-
lovetox
Change it to one month and join gajim
-
fjklp
yeah
-
lovetox
Should yield many messages
-
fjklp
I was thinking it would be nice if there's a way to insert a bunch of fake chat directly in the prosody mam
-
fjklp
might be easiest to do it your way
-
Geld
If I remember well, Conversations group has enabled history since it's very existence. I joined the MUC and it ate my roaming data like crazy 🤣
-
kalkin
Reading the gajim changelog I stumbled over: > Hint that a contact is a bot in the chat banner How does this work?
-
kalkin
Also why does fedora ship gajim 1.7.*?
-
hannibal
Ask fedora :)
-
hannibal
You could create an issue an ask fedora people to update
-
kalkin
hannibal: ic. I thought there might be a CI pipeline maintained by the project which is connected via their fedpkg tool
-
kalkin
> You could create an issue an ask fedora people to update Or first figure out if I could upgrade the rpm build instructions myself and if it works do a pr to fedora✎ -
kalkin
> You could create an issue an ask fedora people to update Or first figure out if I could upgrading the rpm build instructions myself and if it works do a pr to fedora ✏
-
kalkin
Will have a look at it in the next days.
-
lovetox
kalkin: devices have a identity which we can read
-
lovetox
Disco Info is the keyword xep0030
-
kalkin
lovetox: thanks
-
wreck
👋 howdy. have gajim 1.8.4 installed in arch linux, with gstreamer 1.24.0, clutter-gst 3.0.27, and gst-plugins-{good,bad,ugly} 1.24.0. when i attempt to make a voice call, i'm getting gajim.c.jingle_rtp throwing an error: "could not initialize SRTP encoder" and the call fails. am i missing something? i haven't been able to find anything related to this online anywhere, not sure what i'm doing wrong here.
-
wreck
with another contact, i'm getting `gst_base_auto_convert_register_filter: assertion 'g_strcmp0 (name, ((GstAutoConvertFilterInfo *) tmp->data)->name)' failed`✎ -
wreck
with another contact, i'm getting `gst_base_auto_convert_register_filter: assertion 'g_strcmp0 (name, ((GstAutoConvertFilterInfo *) tmp->data)->name)' failed` and the call just never connects ✏
-
cal0pteryx
wreck, calls don't work at the moment
-
wreck
well that explains that, lol. thank you!
-
wreck
is there an open issue i can follow or anything?
-
cal0pteryx
somebody is working on it, you can track progress here: https://dev.gajim.org/gajim/gajim/-/merge_requests/995
-
wreck
thank you!
-
speedygonzales99
cal0pteryx: beat me to it : )
-
cal0pteryx
speediercal0pteryx ;)
-
speedygonzales99
😅️
-
fjklp
lovetox: can you give me a hint on what to search to change the amount of log downloaded on first join?
-
lovetox
mam moudle✎ -
lovetox
mam module ✏
-
lovetox
_get_muc_query_params
-
fjklp
thanks
-
fjklp
I thnk I just change days in ``` # First join start_date = now - timedelta(days=1) ```
-
lovetox
yes