shell icon indicating copy to clipboard operation
shell copied to clipboard

[BUG] Discord is very laggy when launched in a special workspace

Open mycelee opened this issue 1 year ago • 3 comments

Step 1. Before you submit

  • [x] I have read the above instructions and am sure that this is supposed to be posted here.
  • [x] I've successfully updated to the latest versions following the updating guide.
  • [x] I've successfully updated the system packages to the latest.
  • [ ] I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info
Packages:
    caelestia-shell-git not installed
    caelestia-cli-git not installed
    caelestia-meta not installed


Caelestia:
    Last commit: a1bd4cf529c22a3597238c2b071969890b94293d
    Commit message: hypr: var $textEditor -> $editor  Same for kebind 

Quickshell:
    quickshell 0.1.0, revision db77c71c216530159c2dcf5b269ebb4706b2e2dd, distributed by: AUR (package: quickshell-git)

Local copy of shell found:
    Unable to determine last merged upstream commit.

    Last commit: fa39593ca497c27ca8631091a75d883e4e3c46f2
    Commit message: notifs: use secondary container  Instead of tertiary container 

Step 3. Describe the issue

Whenever I launch Discord with Super+D, it causes the shell widgets to lag (also, if opened on top of the browser it lags even worse). If I move it to a numeric workspace, it works properly.

Reminder

  • [x] I agree that it's usually impossible for others to help me without my logs.

mycelee avatar Aug 15 '25 13:08 mycelee

I don't think this is an issue with the shell, instead I suspect it is because of hyprland blur x-ray being too CPU consuming for your hardware. Can you check if it's only the shell that lags?

soramanew avatar Aug 15 '25 14:08 soramanew

I don't think this is an issue with the shell, instead I suspect it is because of hyprland blur x-ray being too CPU consuming for your hardware. Can you check if it's only the shell that lags?

Disabling blur in hypr-vars.conf actually did the trick for me, thanks for the tip!

But I still don't particularly understand what exactly was the issue, as my CPU load was sitting below 10% and all of the apps seemed to work at stable FPS except the shell. I run Caelestia on a Nitro 5 laptop with Intel i5 and GTX 1650, if it helps.

upd: found a less radical solution by enabling $blurXray, a little bit less performant than no blur at all, but at least the sweet blur is still there.

mycelee avatar Aug 15 '25 15:08 mycelee

Qt (which the shell uses) is hardware accelerated, meaning it tries to use your GPU for rendering. As Hyprland blur also uses GPU rendering afaik, your GPU was probably the one causing the lag (Hyprland blur, especially without xray, is pretty heavy).

soramanew avatar Aug 16 '25 06:08 soramanew