Комментарии:
For me, I just didn't know. But I've been trying to know how to share audio. My system isn't beefy enough to run windows on virt manager without lag. I would have to switch to windows in order to do that. they said that discord didn't have a big team so they were mostly focusing on the windows app. If they would just update their electron base to the latest one that supports audio sharing and such.
ОтветитьI need to use Microsoft teams in my day to day life and this problem makes Wayland unfeasible
ОтветитьI try out wayland every couple of months but I always instantly switch back because flameshot and discord don't work
ОтветитьSooo...
Is someone going to fix the "capture desktop sounds" as well? or perhaps this solution fix that to?
Really amazing stuff.
ОтветитьI use WebEx, Teams and Slack all the time on i3. I wish I can get share desktop screen and share app to work on sway swaywm...
ОтветитьI still don't daily drive Wayland specifically because of issues like this. I just worry that given the lack of motivation for some proprietary apps like Discord to properly implement Wayland, that they may just make the decision to kill the Linux port when X11 eventually goes away.
Ответитьthat neckbeard is disgraceful
ОтветитьDiscord CAN fix it. They just don't care to do so and others seem to run and do FREE work because of its popularity.
I do wonder when will people on Linux WAKE UP and stop using software that don't properly support Linux. But I guess, that'll never happen...
Discord has problems even on Windows, always when I go to chat with my friends it's like 5 minutes of bugs and audio problems.
ОтветитьGood thing I use KDE. With Wayland on my laptop.
ОтветитьTbh, for long time we waited Kwin to have feature parity and stable Wayland experience, this year it surpassed gnome/mutter in a lot of ways.
ОтветитьThis one of a few reason gaming on linux with friends is not there yet.
I have a PC that allow me to stream the game i'm playing on Twitch so with my friends, thats what we do, but this is veery annoying
Slack works fine on Wayland
Ответить👍This is the way.
ОтветитьOkay, I stick with OBS and X then :)
ОтветитьI hope, in the near future we have only Wayland. 😑
ОтветитьI don't use discord, so I didn't knew that this was an issue. I just don't play competitive online games. Mostly point end click adventures.
But still I'm glad thst this exists. Currently I still run X11 on Gaming PC.
When I finished my internship and move back I will distro hop and use Wayland.
My MacBook is still MacOS until I uploaded everything to my nextcloud and my Work PC (sadly Windows) is working properly.
Virtual Box hates Wayland kills the CPU.
Now I use WSL to compile my code because WTF how difficult is it to install any dev tools on Windows.
This also works on Hyprland btw
Ответить"bbbbbbbasically", "wwwwwhy", "hhhhhhhowever ", "bbbbbbbbbut"
ОтветитьYooo how did you get those cool window effects on sway?
ОтветитьNow the Russian-speaking discord servers is a bastard habitat.discord servers role.only from the occupancy of the bastard himself.
Ответитьwhat about audio? :( does this work finally?
ОтветитьDiscord seem to be more focused on changing the UI countless times and adding more features people rarely use than to even support Android these days
It's still running on older APIs and has not been updated to support the new privacy features and theming options in Android 13 either
Thanks Brody this is great content. I finally have video streaming
Ответитьthey'd better fix hardware cursor because nvidia can't. and blur
ОтветитьI find Wayland good enough for day-day use - the only thing I miss is replacement for x11vnc.
ОтветитьI hope Haiku or Serenity OS catch up. Linux is a total mess. Unfurtunately the most mature mess. But I hope other FOSS operating system will take its place.
Ответитьthe solution I was using: just use xorg
ОтветитьThis problem has been driving be bonkers with Slack for at least a year now! I just realized we have an account manager though, and wrote her a sternly worded email. Hopefully if enough people complain we can raise the profile of this bug with proprietary software organisations!
ОтветитьI've been using Discord-Screenaudio for proper screensharing ever since I discovered it. They use wayland portals and wire the the audio properly too (not through the microphone but a separate stream)
ОтветитьI installed it and checked with Zoom. Flatpack Zoom still doesn't work, but Zoom from AUR works like a charm, and I can choose windows or screens to share.
Installing and setting it to autostart must be done manually, so this isn't the ideal, but it still works. The annoying thing is that with autostart it always shows a notification (with sound) that doesn't disappear at startup, although desktop file has a line about no notification at startup... I already created an issue to devs about it, and hopefully they will fix it at some point.
The reason you can still see the cursor is that most compositors use hardware cursors. I bet if your cursor was rendered by the compositor itself (aka software cursors) it won't show in the capture. Also all these applications share the fact that they are electron based, so perhaps it's electron's fault?
ОтветитьNice !
Now we need a way to pass audio, and that is an issue with chromium actually. It refuses to capture any other sources other than microphones. There exist a way to work around this (see discord-screenaudio), but it's embedding discord inside a Qt web application, so it's not the native client. I was thinking about making a BetterDiscord plugin that could do the same as discord-screenaudio.
Huh. I have many feelings. Mainly excitement, frustration and shame. And confusion. Because I've been having trouble with Sway+OBS (also VLC and others, just trying to do a dumb network screen stream for proof of concept) on Arch with nVidia+Intel. I get the black capture. Hooray, somebody's fixed Wayland capture... but it already works? So I'm missing something, or nVidia or Sway is broken? Le sigh.
ОтветитьNot wayland related, but MATLAB ships with old versions of some libraries on linux, so you have to delete some of them to force the app use the sysetm ones, otherwise many things won't work. It's been like that for years now and I have no idea why they don't just fix it.
Ответить”Discord is the one that matters here”
Maybe it’s me, but either me or Brody (and probably many in the comments) are living in a bubble, as Teams, Zoom and probably Slack are definitely way more important than Discord is and are used by a much broader part of the population. Don’t forget that most people simply do not play games, be it Linux or Windows. (Yes, Discord is bigger than just games, but it’s there where the core audience lies)
The classic "Okay, we tried giving people incentive to fix the issue properly, it didn't, so let's just hack something together that works" approach. Reminds me of Proton vs Native Linux games.
ОтветитьIn my experience such a stop gap is likely to turn into a permanent "solution" because it reduces the pressure on discord (and others) to implement proper Wayland screen casting.
ОтветитьCould each X app get it's own xwayland compositor and then only allow specific apps to be shared from each other xwayland session and wayland via this bridge?
ОтветитьWhat's the issue with audio sharing 🤔?
ОтветитьCan't wait til Manjaro ships this.
I don't use Manjaro (not anymore); I just can't wait to see them royally screw something up yet again. It's truly a proud tradition at this point.
Discord screen sharing on macOS is broken because they don't use Screen Capture Kit and make you install a buggy audio driver called Audio Capture Engine
ОтветитьOh Wayland, someday you'll be worth it.
ОтветитьAs a note, the browser workaround for discord doesn’t actually work on sway. Because of some gdk jank, Firefox will crash if you try to screenshare on sway :(
ОтветитьWhile this is cool, I think in the long run, for Discord specifically, if they aren't willing to treat Linux as a first class platform, then the future is probably running the Windows client in Wine.
ОтветитьI was thinking about this a year before. Glad someone implemented it
Ответить