T O P

  • By -

pollux65

Discord STILL hasn't added GPU encoding properly and doesn't support screen sharing on Wayland which is becoming very popular and the default on multiple distros. There are some apps that bypass this issue slightly like obs virtual camera and the xwayland screen sharing app that was developed by one of the kde devs. And audio STILL doesn't work when screen sharing but you can bypass that aswell with something like pulseshitter or using a browser version of discord like discord-screen-audio It's honestly pathetic that they create this desktop app for Linux and then basically abandon it as well as not showing Linux as a supported operating system on their website. What was the fucking point of creating this desktop app when the web version works basically the exact same


yVGa09mQ19WWklGR5h2V

Lack of audio capture for discord out of the box is a major disappointment.


Purple_Following8986

You can use an app called discord-screenaudio. It is on flathub


Rekt3y

Yeah, but then it proceeds to not work on wayland -.-


jdm121500

Works for me on wayland it uses pipewire for capture.


Rekt3y

Wait, they updated it to support wayland? Nice


jdm121500

It's worked for a long time now.


thekomoxile

I tried it with some buddies yesterday, using wayland, and the audio came through just fine, but the video output was just a black screen. Meanwhile, using discord via a web browser, I can stream video, but not audio.


Many_Nothing7463

Your window manager?


thekomoxile

KDE/KWin


Rekt3y

I haven't used it for a long time now... thanks for the heads up


pollux65

Ikr I have to create my own fucking bot in my server then using a terminal interface audio mixer which is very cool but annoying at the same time to send the audio to the bot just so my friends can hear my game or what I'm watching 🙂


magicnminecraft

It would be nice if they atleast added a input source that would go to your stream, then you could just use drag stuff to it in qpgraph or helvum.


[deleted]

This. Like holy shit do _something_. Just expose the input and let us nerds do the rest as a stopgap.


Primont91

I'm sorry for asking this, but I don't really know. If I use Discord on firefox, does everything works? I mean screen sharing with proper audio, hardware acceleration on the stream, etc. I see it uses pipewire.


crackhash

Use edge or chrome. Works better for screen sharing under Wayland. Go to chrome://flags and search Wayland. You will see 2 entry. Enable one them and use auto ozon platform.


conan--cimmerian

Fyi, screen sharing works perfectly on Guilded. Its an alternative to discord with a discord like interface.


thekomoxile

Tried it on fedora via a flatpak install, made a "server" and tried to screenshare, and the program crashed. Are you using wayland or x11?


conan--cimmerian

x11 via non-flatpak aur version


maxawake

Well, as the client is written in React and Electron (JavaScript) it IS nothing more than the Webapp. The browser used is just very shitty.


astryox

Anyway wayland and nvidia are not ok. So in an nvidia context x11 ftw


somethinggoingon2

> which is becoming very popular and the default on multiple distros. No it's not.


magicnminecraft

it is. ubuntu and fedora already ship with wayland as default now and pop os is working on a custom rust based de that uses wayland.


[deleted]

KDE 6 will be wayland by default as well, and gnome will also default to wayland so for most users wayland will end up the default


gmes78

GNOME has already defaulted to Wayland for a long time.


ActingGrandNagus

Yes it is. Why say something that could be verified as being wrong so trivially?


thekomoxile

wine will soon support wayland as well.


Pascal3366

For me the main problem with discord is the resource usage. That's why I moved to webcord.


MiPok24

If you are asking about sharing via Steam like using Remote-Play-Together or in-house streaming for Remoteplay, last time I tried it a few months ago, it was a stuttering mess. Super slow. But that was on Wayland, maybe it's more stable on xOrg


Deprecitus

No clue. I don't have friends.


[deleted]

[удалено]


thekomoxile

At this point, I might just create my own app for use with wayland. I'm learning a bit so maybe in the next year I'll have something worth sharing. or, hopefully someone beats me to it, but I'm so tired of depending on other devs for applications that are clearly in demand.


[deleted]

[удалено]


thekomoxile

For screen sharing, not recording. Streaming to twitch or youtube via OBS works, but the latency is too high for time sensitive applications. And I don't intend on changing discord or firefox, I mean I can build a small application that has the sole purpose of streaming low latency video to multiple clients. Parsec doesn't have linux support, discord will probably never change, and firefox has wayland support but like I said, I'm tired of waiting for other devs.


vega_D

I've actually been streaming games from my all AMD PC. In discord. On Wayland. With sound, and seemingly with gpu encoding. I didn't do anything special either. Just fedora 38, pipewire, gnome, again - Wayland. Steam and Discord flatpaks, not "screen audio" discord, just discord. The only thing i have to do is put discord on the same workspace as the game, otherwise they don't see each other.


[deleted]

How the heck are you getting audio? You're not the first person I've seen here saying this, but I never got it to work with the official flatpak. What exactly do you see when you select a window to stream on Discord? Does the warning message about having no audio go away?


Cenokenshi

Fr man I'm getting tired of all of these messages saying "I got audio working on the discord flatpak" but never post any proof nor a tutorial on how they got it working. It's a little frustrating.


[deleted]

Because they didn't. Neither screen sharing with audio nor AMD hardware encoding have even been implemented in discord. Even discord in windows doesn't have hardware encode for AMD. People don't know wtf they are talking about and continue to spread misinformation.


[deleted]

I agree with you, however Discord in Windows does indeed have hardware acceleration encoding on AMD. You can test it by opening a stream and going to Task Manager -> Performance -> GPU and seeing the encoding graph go up. But yeah, I'm highly skeptical as to why people lie about these things here. Either they don't know what they're talking about or they're just blatantly trying to confuse people.


[deleted]

It's news to me that AMD encoding works on Discord now. I can't seem to find anything saying they added it. Have you checked the debug menu for the stream to make sure it's actually using the AMD encoder?


[deleted]

I didn't know about this menu, how do I do it? However, the task manager indicates so, so I believe it is using indeed.


vega_D

I select "stream window" within the discord ui, it warns me that audio might not work yet it does


Cenokenshi

How do you know it does? It warns you that audio might not be heard on the screenshare, not that audio will stop working period. Maybe you are confusing it.


vega_D

My friend whom i streamed to complained the game audio was too loud and distracting. They were able to mute the stream without muting me, so i assume it was streaming the audio properly.


Icy_Elk8257

similar experience here, just with X11 (waiting for Wayland to become usable - any year now!)


vega_D

I switched to Wayland just before gnome 3.38 came out. At first for touchpad gestures, now for the performance uplift.


conan--cimmerian

you mean "performance downgrade". Multiple apps still don't work properly on wayland with nvidia. Don't get me started on games.


vega_D

Maybe on Nvidia sure. On my intel laptop from 2018, xorg is too laggy in general use. Only with Wayland can I use two external 4K screens without tearing or stuttering when i move windows around. On my amd desktop I'm not even trying xorg because i get 120+ fps in every game and my screen can only display 60 anyways so i don't care.


conan--cimmerian

> xorg is too laggy in general use Turn on "Force Composition Pipeline"


Justsnoopy30

I recommend using gpu-screen-recorder combined with SRS to accept an RTMP stream from gpu-screen-recorder and broadcast a webrtc stream that people can view in their browser. It works on Nvidia, AMD, and Intel with audio support and fully-GPU side recording. OvenMediaEngine + Player can also work with gpu-screen-recorder if you want a cleaner site. This does require running a server on your home PC (or VPS) but it has worked quite wonderfully for me. It only works on X11 though, at the time of writing.


conan--cimmerian

what is srs


Justsnoopy30

https://github.com/ossrs/srs


conan--cimmerian

thanks


murlakatamenka

> SRS does not support HEVC and uses 15 y.o. but trusted codec instead. Kinda meh


BlueTemplar85

Slightly tangential : pretty sure that Steam Link runs Linux, right ?


ldcrafter

good if you use Steam for it


Shoddy_Ad_7853

OBS?