When I’m trying to screenshare in discord while playing a really heavy game like Doom Eternal, my performance goes really low.
It’s a bit weird, because Doom Eternal performs better than W10, but when I screeshare the game goes really bad. Specifically, my CPU usage skyrockets only when screensharing.
I’m using EndeavourOS with KDE plasma, kernel linux x86_64 5.14.12-arch1-1, an Intel i7-6700K 4.3 GHz, NVIDIA GTX 1070 with 470.74 drivers. The game is running with proton 6.7 inside SteamPlay.
I’m using Discord Canary 101473, but I’ve tried the stable version too and does the same issue. Discord has hardware acceleration ON and doesn’t fix if I turn off.
I’m pretty new on this community, so I don’t know what kind of log I could provide on this message. However, I took some screenshots using OBS and then, spectacle:
It’s strange, because the “enable hardware acceleration” option is still in the linux version and doesn’t turn off. But at least is just discord isn’t well optimised for linux.
I’ve seen an unofficial discord client Ripcord, but in the arch wiki says I’ll probably get banned if I used it.
I’ll try to run discord on firefox or chromium, maybe it’s hardware accelerated on those browsers.
The thing is running discord on firefox still doesn’t enable hardware acceleration and keeps using cpu. Unfortunately, I think there’s no solution until Discord fixes by itself.
However, I’ve seen the discord-arch-electron package, but for some reason I can’t make discord use system electron.