Discord streaming not working

Hello all,

i’m experiencing troubles with discord streaming. It simply doesn’t let me choose anything. I installed discord from extra but in the past i tried appimage as well which did actually work but currently it’s not working because of

/tmp/.mount_discor5GHaJY
/tmp/.mount_discor5GHaJY/AppRun: line 46: /tmp/.mount_discor5GHaJY/Discord: No such file or directory

which i can’t seem to fix so far. Appimage was a bit of hassle to keep up to date however at least it worked for a time.

Can someone please lead me to the right path here? Which packages to install (i would expect them to be dependencies tho) or where to look.

Thanks

Discord ships an AppImage? Where?

Try Vesktop. I never had luck with Discord’s own package to actually work with streaming things correctly, even after they said they have worked on it and it should work now. It simply doesn’t work. Under Arch/EOS, there is an AUR package available and it doesn’t seem to be infected with malware. Checking on the app’s Discord server, a moderator said it is safe, so yeah. See how that goes.

Nice, i installed it but in this case after clicking on sharing button, no popup even appears so it seems i’m missing something.

I moved step forward after digging a little and using https://wiki.hypr.land/Useful-Utilities/Systemd-start/#hyprland-sessiontarget

I can pick what to stream, i get those 2 spinning squares but stream fails to start with 2011 error which seems to be related to hardware acceleration of discord itself.

You’re using Hyprland…?

Yes

That explains a lot of things…

Uhh… Not sure brother. Maybe try another WM or DE and see how that works. Last time I checked, Hyprland’s main developer was banned from ever contributing code to Wayland and he said he will do everything on his own from now on, so…

I have it working with Vesktop on Hyprland, i can’t exactly remember how i set it up (nor that i had much trouble with it), but i think i just followed this tutorial :

Might be worth a look

I do have KDE installed as a backup desktop, so in order to test it, i will have to remove xdg-desktop-portal-kde which is dependency of plasma desktop so i’ll have to remove that as well. That wouldn’t be so big deal, i am however using some of the kde stuff (namely nautilus for file browsing) so here i’m running into other things on top of the streaming problem. I will most likely try this anyway.

So i kind of “solved” it. First i just logged into KDE session to see if things work there and they do.

Now back in hyprland in processes i checked for xdg processes (ps -ef | grep xdg) and it was the same list as in KDE with one change and that was /usr/lib/xdg-desktop-portal-kde vs /usr/lib/xdg-desktop-portal-hyprland . When i start streaming, i get selection popup again (this is not new behaviour). I simply selected same screen over and over (3 times in total) and stream starts. I assume there is something what needs to be confirmed again but KDE does it on the background? No clue really. While a little annoying to do this three times, it’s working well enough as far as i am concerned.

I will see if it breaks in the future or what is going to happen.