Skip to content

Discord & Chrome/Chromium based applications are extremely slow.

Removed before it was archived.

13 points21 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Score
13 · 100% up
Kind
Text
ID
visdol

22 comments

The application you are talking about like discord, code etc are all called electron-based applications. Even the archwiki says that...

Beware: apps built with Electron use a lot of RAM and battery.

So what can you do now?

  1. Try using hardware acceleration. You can enable HW and try running Discord with some additional options as per the archwiki:
$ discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy
  1. Switch to non-electron based alternatives like ripcord, vim, firefox etc.
8 points

I've tried the hardware acceleration thing you've mentioned, but Discord is still very slow. This still doesn't resolve my issue with Google Chrome and Brave as well.

As for the RAM point you've mentioned, perhaps increasing SWAP can solve the problem a bit.

2 points

Yes using swap would definitely help. Also you didn't mention your display server...X11 or Wayland...because electron doesn't work well on the later.

2 points
unknown author

Deleted before we saved it.

1 points

LOL... Firefox?? Chromium was first to support hardware video decoding on Linux and Firefox is still buggy on Wayland. Chromium definitely is better optimized for Linux at this point in time than Firefox, so using Firefox will likely result in worse performance not better.

-2 points

Auto-scrolling with middle mouse itself is enough for me to be in Firefox and never switch. Also in my experience, scrolling is generally better in Firefox.

2 points

don't lie, chromium is choppy af in linux, it's the same under xorg or wayland.

1 points

Recently I was having some slow loading issues. Turns out Cloudflare's DNS was causing the slowdown. I ended up switching to Google DNS for the time being.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.