Skip to content

appimagelauncherd causes system stutter every 30 seconds on Ubuntu 22.04 LTS with GNOME #618

Open

Description

@fir3-1ce

Pre-submit checks

  • I checked for similar issues beforehand, but could not find any, not even closed ones. I could not add my bug report to any existing issue.
  • I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.

Describe the bug

It took me a long time to figure out what was causing this problem, but appimagelauncherd causes only certain icons to repaint in the dock every 30 seconds on the dot (pics below). This causes a slight lag/display stutter that varies in severity over time. It's worse on Wayland than it is on X. I wrote a full report on AskUbuntu when I was trying to diagnose the problem:

https://askubuntu.com/questions/1495200/icons-disappearing-reappearing-causing-input-lag/1495313#1495313

It happens with all Wine programs while appimagelauncherd is running, but I also saw it happen on some dpkgs, notably OpenSnitch.

I unchecked the setting to let appimagelauncherd run in the background, but still, every time I boot into my PC it would start by default, and I'd have to manually end the process myself with System Monitor. This was enough for me to uninstall the software altogether. Hopefully this gets fixed.

example1

Expected behavior

I expected the system stutter to not happen, but I also would have liked a way to see the daemon disabled completely, or only enabled when needed for certain processes before being disabled again.

Steps to reproduce the issue

Boot into an Ubuntu 22.04 LTS live CD or VM (standard version with GNOME)

Install some program with Wine, such as foobar2000

Install AppImageLauncher via https://launchpad.net/~appimagelauncher-team/+archive/ubuntu/stable

Open foobar while appimagelauncherd is running, and watch the icons repaint every 30 seconds

Screenshots

https://i.stack.imgur.com/9itlX.gif

https://i.stack.imgur.com/VKiLl.gif

https://i.stack.imgur.com/mKYJP.jpg

Distribution and desktop environment

Ubuntu 22.04 LTS release
GNOME 42.9

Installed AppImageLauncher version

Whatever the latest version at this ppa is, https://launchpad.net/~appimagelauncher-team/+archive/ubuntu/stable

I uninstalled a couple of weeks ago but it looks like the ppa hasn't been updated in a while.

appimagelauncher 202211022349-stable-0f91801~ubuntu22.04.1

List of AppImages you tried

not relevant

Additional context

no other info needed

Activity

  1. added
    bug
    needs verification
    on Jan 14, 2024
  2. artenax commented on Mar 12, 2024

    @artenax

    Judging by the log:
    systemctl start --user appimagelauncherd
    journalctl --user > log.txt
    sudo fatrace

    appimagelauncherd service checks for the /Applications folder every 30 seconds and if it is missing, it writes about it to the user log. I fixed it like this:

    sudo mkdir /Applications
    sudo chmod 777 /Applications

    It's a folder in the root of the partition, besides ~/Applications

    I don't recommend installing this application. Console appimages won't start and won't work.

  3. mweidner037 commented on Mar 26, 2024

    @mweidner037

    I am seeing the same behavior (certain icons repainting every 30 seconds). It stopped once I killed appimagelauncherd.

    System: Ubuntu 22.04.3 LTS, Wayland, Gnome 42.9
    appimagelauncher version: 202211022349-stable-0f91801~ubuntu22.04.1 (latest from sudo add-apt-repository ppa:appimagelauncher-team/stable)
    Icons affected: Wine app; Electron.js app in dev mode.

    There is also a second AskUbuntu thread about this behaviour & AppImageLauncher, which is what led me here: https://askubuntu.com/a/1319165

  4. OWL4C commented on Apr 5, 2024

    @OWL4C

    I reinstalled a clean Kubuntu 23.10 today, and had the same problems until restart, at which point it was #612 again. I uninstalled again (this time i was using the lite version) but even after a restart the problems persisted. I found no .config/Appimage* anything, and the .local folders looked clear too. I have a timeshift btrfs snapshot to compare against but the amount of data is huge.
    Since the problems persisted a reboot after uninstalling it must have changed some file within these two folders since deleting them fixed it and no systemd service from appimagelauncher could have been running.

  5. OWL4C commented on Apr 23, 2024

    @OWL4C

    Okay i just retried with another clean install, same issue, after clicking any appimage the entire desktop will freeze, some things sometimes work and after a reboot Plasma doesn't start. Removing .local .config and .cache allowed it to work again. Since installing the .deb and rebooting wasn't causing the issue, but only activating any appimage and going through the setup (choosing a directory) i would think the 'deleting files fix' only removes some appimagelauncher config that basically resets it as if uninstalled. Mentioning #612 since this is the newer and more visible, but both are relevant.
    Since there is no interaction or potential fix in sight i am now trying out alternatives like GearLever and appimaged.

  6. TheAssassin commented on Apr 25, 2024

    @TheAssassin
    Owner

    Have you tried the continuous release? The "stable" release has not seen many fixes and I'm still struggling with providing packages for the upcoming stable release; consider the continuous release a release candidate, the only thing that keeps me from releasing a new version is packaging.

  7. billbeans commented on May 9, 2024

    @billbeans

    Have you tried the continuous release?

    Where/how do I install the continuous release?

  8. billbeans commented on Jun 16, 2024

    @billbeans

    @TheAssassin,
    Did you mean the daily PPA? I have installed it on Ubuntu 22.04, but it hasn't been updated in over a year. Unfortunately the same problem persists - appimagelauncherd starts at login regardless of whether I had the box checked or not. I "fixed" this by adding killall appimagelauncherd to my ~/.profile. The program probably shouldn't do this, but I still get to enjoy the benefits of AppImageLauncher without the system stutters now.

  9. added this to the version-3.0 milestone on Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds verification

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions