Gajim - 2024-03-25


  1. chud

    for creating merge requests gitlab will only let me choose from my own projects. is this a permissions thing

  2. notnite

    chud: I'm trying to build this but it seems that gtkglsink doesn't exist. a quick search seems to imply it'd be in the msys "bad" packages, but I have that installed already... 🤔

  3. chud

    notnite, it said that for me too, I had to use https://fdossena.com/?p=mesa%2Findex.frag but I assumed that was just because I was running it inside qemu

  4. chud

    I'll double check with the guy that suggested this thing to me if it should be needed on the host also

  5. chud

    notnite, can you give the error output

  6. chud

    notnite, can you give the error output please

  7. notnite

    one moment, I'm juggling gajim on my desktop and on my laptop

  8. notnite

    want a pastebin or should I just paste a codeblock in chat?

  9. chud

    pastebin please

  10. notnite

    chud: https://gist.github.com/NotNite/a18ba33f3b090337430b39cb0201e89e

  11. notnite

    nothing in stdout/stderr as far as I can tell

  12. notnite

    I clicked "start video call" on another account logged into conversations

  13. chud

    notnite can you run `GST_DEBUG="*:6" gajim` please? I'm almost sure it will say "no opengl shader" but just to be completely sure

  14. chud

    or actually GST_DEBUG=3 is probably enough

  15. chud

    notnite, but do audio calls work?

  16. notnite

    will test audio in a sec

  17. notnite

    I can hear fine, but my mic isn't picking up and the icons are greyed out with Muted. must be unable to detect my microphone?

  18. notnite

    ``` WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "gtkglsink"! WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "gtksink"! ``` these appear in logs at startup

  19. chud

    The icons don't work yet, but the mic should work nonetheless. Are you sure the mic isn't muted somewhere in windows settings?

  20. notnite

    ah, my mic was set wrong in windows; one second...

  21. notnite

    yep, works fine now that I fixed that (lol)

  22. chud

    Hooray awesome

  23. notnite

    worth noting that on conversations I don't have the call icon on the top banner, but I can start calls from gajim

  24. chud

    I didn't rush to implement the icons because I'm not sure if they are even needed. Dino doesn't have them, I think telegram doesn't either. There are already system settings for audio, do we want to configure them in two places? Not to mention it can be confusing when you're adjusting the application one and wondering why it's not working while the system one is set to 0?

  25. chud

    > worth noting that on conversations I don't have the call icon on the top banner, but I can start calls from gajim Goddamn it. It's probably missing some other feature not being advertised, or just not picking up the update. This might even be Conversations fault. I don't like what conversations does with its fancy discovery. Hiding the call button is just mean. Why take extra steps for it? My code always just sends jmi. There's an option to call a device directly with session-inititate (there's a function exposed for that), but I don't think that will ever be needed - afaik all clients that support modern calls also support jmi.

  26. notnite

    I find and replaced gtkglsink to autovideosink and made play_self_video empty (just `pass`) - obviously no preview, but it is working fine for sending video as I was able to see both cameras on my phone

  27. notnite

    won't send a screenshot for obvious privacy reasons but nice work

  28. notnite

    not sure I have the ability to figure out what's wrong with the gtk sink stuff, though; probably will try to build it another day

  29. chud

    > chud: I'm trying to build this but it seems that gtkglsink doesn't exist. a quick search seems to imply it'd be in the msys "bad" packages, but I have that installed already... 🤔 Are you sure it's strictly mingw-w64-x86_64-gst-plugins-bad And not some other prefix?

  30. chud

    > I find and replaced gtkglsink to autovideosink and made play_self_video empty (just `pass`) - obviously no preview, but it is working fine for sending video as I was able to see both cameras on my phone Can you please try running `gst-launch-1.0.exe videotestsrc ! autovideosink` Does that show up a test video?

  31. notnite

    yes, sure it is that prefix; autovideosink works with testvideo but it uses the d3d11 renderer

  32. chud

    Hmm

  33. notnite

    looking at the pkgbuild it looks like gtk support is disabled?

  34. notnite

    I tried re-enabling it for fun just now and it failed with Wayland dependencies missing, wonder if they just broke windows support for it and moved on

  35. chud

    Lol

  36. chud

    That is possible

  37. notnite

    glimagesink seems to work with gst-launch, though; maybe that could be used with a custom widget?

  38. notnite

    not good enough at python/gst/gtk to try it, but an interesting idea

  39. chud

    judjing by its description, it might. But it will probably get tricky

  40. chud

    notnite, have you by any chance tested dino video calls on windows? Do those work?

  41. notnite

    I wasn't able to build dino myself the time I tried

  42. chud

    there's a build already available

  43. notnite

    would you happen to have a link? I can give it a shot

  44. chud

    https://github.com/LAGonauta/dino/releases

  45. notnite

    thanks, one moment

  46. notnite

    uuuuuh, this build doesn't look to have a/v

  47. notnite

    I don't use dino so I don't know where it'd be but I've poked every menu and found zero mention of it

  48. notnite

    oh, wait, I can start a call from mobile. one sec

  49. chud

    very strange, I was able to make calls with it in the vm

  50. chud

    but only audio

  51. notnite

    yeah, I guess it just wasn't detecting conversations supporting it or something

  52. notnite

    starting a call from my phone worked with both audio and video

  53. notnite

    (and it was able to transition to a video call - how neat!)

  54. chud

    I'll have look into what that dino build does then

  55. notnite

    woah, think they made their own sink https://github.com/LAGonauta/dino/blob/ec6c24c2b41fc9de704323ce895b2dc81549ca5e/plugins/rtp/src/video_widget.vala

  56. chud

    my goodness

  57. chud

    hm, gstreamer guys claim gtkglsink *does* work on windows

  58. notnite

    yeah, I saw a post mentioning it too

  59. notnite

    some forum on google I found when I was troubleshooting, no idea where exactly

  60. chud

    yes, actually given that for me it did work with the mesa thing, and for me it said "opengl problem", the gtkglsink must work on windows too, but your system must be missing it

  61. chud

    yes, actually given that for me it did work with the mesa thing, and for me it said "opengl problem", the gtkglsink must indeed work on windows too, but your system must be missing it

  62. chud

    yes, actually given that for me it did work with the mesa thing in qemu, and for me it said "opengl problem", the gtkglsink must indeed work on windows too, but your system must be missing it

  63. notnite

    my only guess is it's been removed in the latest mingw64 packages and so older installations of gst still have it

  64. chud

    Can't be the case, I set up that vm like yesterday or the day before

  65. notnite

    huh, alright

  66. notnite

    aha! mingw-w64-x86_64-gst-plugin-gtk

  67. chud

    Did it work?

  68. notnite

    ...huh, maybe an early celebration, it didn't show a popup error report this time but no widget

  69. notnite

    give me a sec

  70. chud

    Meanwhile I built a flatpak, if someone wants to try it I think you should be able to ``` wget https://files.catbox.moe/htupal.flatpak flatpak install ./htupal.flatpak ``` or build it from the repo (calls branch, ..Devel.yaml)

  71. chud

    It seems someone packages libdatachannel for debian https://deb-multimedia.org/dists/testing/main/binary-armel/package/libdatachannel0.20

  72. notnite

    interesting observation: gtkglsink doesn't work but gtksink does

  73. notnite

    when I try changing everything to it, though, my video stops going through from gajim to conversations :p

  74. notnite

    I'm headed to sleep now, hopefully my random adventures help in some form

  75. chud

    Oh, I saw the existing code falling back to gtksink, but found that gtksink just errors out on linux, so discarded that believing it's something long deprecated. No biggie, I could just bring that trivial logic back. But I think I had better set up proper windows myself first to test

  76. chud

    Btw there are automated tests for video. Run unittest with env var TEST_SOUNDS=1 and it will try to display videos and make sounds in a bunch of ways (these tests are skipped by default because: they're slow, with them enabled the whole suite takes 1 minute to run, and also depend on there being a network connection)

  77. notnite

    oh, cool!

  78. notnite

    with `queue ! videoconvert ! gtksink`on OutgoingContentPiece I was able to see both cameras on windows & conversations

  79. notnite

    awesome

  80. hugeuisd

    Hello

  81. chud

    for creating merge requests gitlab will only let me choose from my own projects. is this a permissions thing?

  82. lovetox

    No, until now nobody had a problem with it

  83. Simone

    how do I remove/revoke my OMEMO key for Gajim? (and not the others)

  84. chud

    https://draugr.de/upload/00f530bb49b4e1685114d28f8bb6fb44b2fcbc2f/ceU8HjxtE8FfAJa3I6tw9FJt8nVWnYUIXX0OrFcq/Screenshot_2024-03-25_at_05-06-42_New_merge_request___wusspuss___gajim___GitLab.png

  85. chud

    what am I doing wrong

  86. chud

    manually typing gajim/gajim doesn't work either

  87. cal0pteryx

    chud: I guess you need to navigate to gajims repo and start the MR from there

  88. Simone

    > how do I remove/revoke my OMEMO key for Gajim? (and not the others) anyone?

  89. chud

    https://draugr.de/upload/00f530bb49b4e1685114d28f8bb6fb44b2fcbc2f/RFKPvOTz7ZHErrZ5f8e4xmf6dn1l5PQTASoxVF2Q/Screenshot_2024-03-25_at_05-18-14_Merge_requests___gajim___gajim___GitLab.png

  90. chud

    no such button

  91. cal0pteryx

    Strange

  92. sch

    What is the scope of support for PubSub in Gajim?

  93. lovetox

    Scope is we don't use it as social network

  94. lovetox

    It would be easier if you tell us what you want to use it for

  95. chud

    https://draugr.de/upload/00f530bb49b4e1685114d28f8bb6fb44b2fcbc2f/u7Ncr8BPYNxTDnoAMaiwoxpkeFteLbgPTbHlTPRQ/Screenshot_at_2024-03-25_07-32-28.png

  96. chud

    actually it won't even let me fork now either

  97. chud

    what do I do?

  98. chud

    Also, on a different topic: when I open a gajim after a long time, it takes a long time to load the message history, way longer than what my internet speed allows for. I am guessing this is because of round trip: the client requests a page, gets it, only then requests the next one and so on. Can this be remedied by perhaps requesting bigger pages? Huge even, to minimize waiting time.

  99. chud

    Also, on a different topic: when I open a gajim after a long time, it takes a long time to load the message history, way longer than what my internet speed allows for. I am guessing this is because of round trip: the client requests a page, gets it, only then requests the next one and so on. Same goes for Dino. Would you guys say it would be possible to request bigger pages? Maybe even huge pages to ideally get everything in one go? Or is it instead the servers that limit this?

  100. fjklp

    chud: my experience seems to indicate being cpu bound on syncing mam. I still have to do a profile to figure this out.

  101. chud

    cpu bound? How?... I would almost believe it if it were just gajim, because of how slow python is, but same goes for dino too.

  102. chud

    is some fancy processing done on messages?

  103. fjklp

    I haven't tested or had enough experience with other clients, but I recently did a big mam sync with gajim and it had 1 core pinned at 100% for the entire time

  104. fjklp

    my guess: it's the fact that gajim is updating the displayed messages as they are downloaded

  105. chud

    oh yes, that may be the case. But that can probably be remedied by just waiting for many to load

  106. chud

    I made a new account since that one won't let me merge and now the fork button is greyed out altogether. lovetox can you please give me access dev.gajim.org/musipusi

  107. lovetox

    I'm the evening

  108. cal0pteryx

    I'm the night!

  109. chud

    https://www.youtube.com/watch?v=375ENQbru8s

  110. cal0pteryx

    Ah, that was one of my favorites

  111. lovetox

    chud, are you sure you really forked the project?

  112. lovetox

    actually i doubt it, you have 0 tags on your gajim project

  113. chud

    Oh ok. Anyway it won't let me fork

  114. chud

    Neither from the old nor from the new account.

  115. lovetox

    i activated your new account

  116. lovetox

    i think thats what you probably did

  117. lovetox

    you registered saw, i cant fork

  118. lovetox

    then you simply created a new project gajim, and pushed to it

  119. rude

    where do I download chud gajim?

  120. chud

    rude: easiest to run https://files.catbox.moe/htupal.flatpak

  121. rude

    chud, very gud

  122. rude

    lovetox, can we use pubsub to build masssive botnet?

  123. rude

    I'm gonna do it, I'll write you a letter from jail saying if it was successful.

  124. chud

    >then you simply created a new project gajim, and pushed to it what on earth does that mean. how do I transfer the changes into a real fork

  125. lovetox

    i just said what i thought *you* did on your first repositiory

  126. lovetox

    probably add your local repo as remote to the fork

  127. lovetox

    and maybe cherry pick all commits

  128. lovetox

    ah no, much easier

  129. lovetox

    pull the real fork

  130. lovetox

    then copy all files from your first repo over

  131. lovetox

    except of course the .git dir

  132. lovetox

    then git add ..

  133. lovetox

    finished

  134. chud

    but some files are also changed...

  135. cal0pteryx

    + a backup :)

  136. chud

    oh what a headache git is

  137. chud

    my god

  138. lovetox

    ? if you copy over all files except the .git dir

  139. lovetox

    you will end up in a state like you did all changes without commiting

  140. lovetox

    then you can simply do one big commit

  141. lovetox

    or, as said, add your local as remote and cherrypick commits from it

  142. Linux in a Bit

    Why is the Status/Updates page separate from the Contact List/Notifications page? I feel like they should be combined, then have the Menu Bar functionality cleanly merged into the UI where you previously accessed one of those two pages.

  143. Linux in a Bit

    Does that make sense?

  144. lovetox

    i think so yes, its in progress, in the end we want to get rid of the status/update page

  145. Linux in a Bit

    Great!