Discord streaming has poor performance

Hello! As the title says I have a problem with discord screen sharing.
I’m using an unofficial client; Vesktop so that I can have audio with my stream.
Everybody tells me that my stream is around 1 to 5 fps. Changing the stream fps or the resolution does not have any effect in the video performance.
My computer is running just fine and there is no difference in the performance or resource usage of the computer with screen share being active or not.
I tried to disable hardware acceleration and audio post-processing as I found some old reddit threads for the same issue, but it did not help.

I have no idea how to figure out if this is something that I can improve, or is it just a case of discord on linux being bad.
Thank you!

While I don’t have a solution to offer, it might help to know what kind of setup you’ve got. Can you copy-and-paste the output of the inxi -Fz command after running it inside a terminal window?

Here are my specs:

System:
  Kernel: 6.7.9-200.fc39.x86_64 arch: x86_64 bits: 64
  Console: pty pts/2 Distro: Fedora Linux 39 (Thirty Nine)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: ProArt X670E-CREATOR WIFI v: Rev 1.xx
    serial: <filter> UEFI: American Megatrends v: 1807 date: 12/14/2023
CPU:
  Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP cache:
    L2: 16 MiB
  Speed (MHz): avg: 718 min/max: 400/5881 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 3576 7: 3797 8: 400 9: 400 10: 4011 11: 400 12: 400 13: 400
    14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400 21: 400 22: 400
    23: 400 24: 400 25: 400 26: 400 27: 400 28: 400 29: 400 30: 400 31: 400
    32: 400
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6900 XT] driver: amdgpu v: kernel
  Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4 driver:
    dri: radeonsi gpu: amdgpu resolution: 2560x1440~144Hz
  API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.6 renderer: AMD
    Radeon RX 6900 XT (radeonsi navi21 LLVM 17.0.6 DRM 3.57
    6.7.9-200.fc39.x86_64)
  API: Vulkan v: 1.3.268 drivers: radv,llvmpipe surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.7.9-200.fc39.x86_64 status: kernel-api
Network:
  Device-1: Intel Ethernet I225-V driver: igc
  IF: eno1 state: down mac: <filter>
  Device-2: Aquantia AQtion AQC113CS NBase-T/IEEE 802.3an Ethernet [Antigua
    10G] driver: atlantic
  IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.05 TiB used: 840.81 GiB (40.1%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SFYRD2000G size: 1.82 TiB
  ID-2: /dev/sda vendor: Hitachi model: HTS543225L9A300 size: 232.89 GiB
Partition:
  ID-1: / size: 1.82 TiB used: 840.46 GiB (45.2%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 347.1 MiB (35.7%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 7.4 MiB (1.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 1.82 TiB used: 840.46 GiB (45.2%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 41.4 C mobo: N/A gpu: amdgpu temp: 32.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB note: est. available: 31.04 GiB used: 4.47 GiB (14.4%)

I actually just found my way into Vesktop github and looks like video streaming problems are a known bug on their side. It has something to do with electron/chromium implementation.

Think I’ll try how the official discord app behaves, but not today.