r/voidlinux • • 21d ago

Discord screen share not working.

/r/kde/comments/1xq2iny/discord_screen_share_not_working/
1 Upvotes

5 comments sorted by

1

u/Training_Concert_171 21d ago

Flatpak or native glibc package?

1

u/virtualord 19d ago

sudo xbps-install -S xwayland-satellite xorg-server-xwayland xdg-desktop-portal xdg-desktop-portal-gtk

1

u/EasternDeal4823 14d ago

The native Discord client is pretty broken in general, so I’d recommend using Vesktop.

Note: This is against Discord's Terms of Service, so use it with caution. That said, it’s never happened to me, and I’ve never seen anyone get banned for using a third party Discord client.

1

u/MindlessPleasuring 12d ago

I second this. I tried EVERYTHING from different official discord apps to various launch arguments like disabling gpu, sandboxing, etc. I even scoured old githib bug reports for electron that detailed the exact same crashes I was having. Not even vencord over discord fixed it. Vesktop was the only solution that worked.

1

u/MindlessPleasuring 12d ago edited 12d ago

If you have an nvidia gpu, this has been an issue for a long time. Use a debugging tool to check the errors. nvidia gpus often cause a segmentation fault with electron apps in general, not just discord. I've seen posts dating back a few years. Works for a bit, then it breaks again. This time it's been broken almost all year for me. I believe since discord added the auto update feature to the app.

I tried discord-ptb, discord-canary, discord-arch-electron with various versions of electron and also vencord on top of the official discord versions. Tried disabling gpu sandboxing and other fixes. Happened on plasma wayland, plasma x11 and i3 sessions. I even tried flatpak and I hate using flatpak unless the developer recommends it. Browser was also messed up but instead of crashing, I just couldn't screenshare and share audio.

Only thing that fixed it for me was switching to vesktop. Switched a few months ago and have had no issues since.