Laggy animation in wayfire

When there is any animation, the framerate drops around 30 fps which feels so laggy. Like when opening and closing apps, switching to expo, different workspace etc. Even facing laggy mouse movement most of the times.

System:
  Kernel: 6.2.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=3df46cee-5e83-4678-a122-e1f3de8a998a rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=6b64d265-0f56-4a5f-ac2c-8daf0a2f3c58 loglevel=3
  Desktop: wayfire v: 0.7.5 info: waybar vt: 1 dm: greetd
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M MORTAR MAX (MS-7B89) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 2.80
    date: 06/10/2020
CPU:
  Info: model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
    type: MT MCP arch: Zen/Zen+ note: check gen: 1 level: v3 note: check
    built: 2019 process: GF 12nm family: 0x17 (23) model-id: 0x18 (24)
    stepping: 1 microcode: 0x8108109
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 3875 high: 4150 min/max: N/A cores: 1: 4150 2: 4150
    3: 4150 4: 3690 5: 3616 6: 3334 7: 4150 8: 3763 bogomips: 66401
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: Micro-Star MSI driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,HDMI-A-2 bus-ID: 27:00.0
    chip-ID: 1002:15d8 class-ID: 0300 temp: 53.0 C
  Device-2: ANYKA V380 FHD Camera type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 2-1:2 chip-ID: 0380:2006 class-ID: 0301 serial: <filter>
  Display: wayland server: Xwayland v: 22.1.8 compositor: wayfire v: 0.7.5
    driver: gpu: amdgpu display-ID: 1
  Monitor-1: HDMI-A-1 model: Samsung LF22T35 serial: <filter> built: 2245
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55")
    diag: 547mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Vega 11 Graphics
    (raven LLVM 15.0.7 DRM 3.49 6.2.7-zen1-1-zen) direct-render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
    v: kernel bus-ID: 2-1:2 pcie: gen: 3 chip-ID: 0380:2006 class-ID: 0301
    speed: 8 GT/s lanes: 16 serial: <filter> bus-ID: 27:00.1
    chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 27:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-3: ANYKA V380 FHD Camera type: USB driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k6.2.7-zen1-1-zen running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
Drives:
  Local Storage: total: 1.17 TiB used: 184.55 GiB (15.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 model: PCIe SSD size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
    type: SSD serial: <filter> rev: ECFM22.6 temp: 28.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD110
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: A8R0 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Transcend
    model: JetFlash 32GB size: 29.42 GiB block-size: physical: 512 B
    logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: GPT
Partition:
  ID-1: / raw-size: 221.32 GiB size: 221.32 GiB (100.00%)
    used: 18.97 GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 221.32 GiB size: 221.32 GiB (100.00%)
    used: 18.97 GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 221.32 GiB size: 221.32 GiB (100.00%)
    used: 18.97 GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 221.32 GiB size: 221.32 GiB (100.00%)
    used: 18.97 GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.32 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.86 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 53.4 C mobo: N/A gpu: amdgpu temp: 53.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 313 Uptime: 49m wakeups: 0 Memory: 15.32 GiB
  used: 6.54 GiB (42.7%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1503 libs: 443 tools: pamac,paru Shell: fish v: 3.6.0
  running-in: xfce4-terminal inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2023-03-21
  Last full system update: 2023-03-21 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            anbox-container-manager.service

The framerate of what? Are you playing a game or watching a video or something? If so, you can disable the animations while you are doing your game or whatever–you can configure the animation plugins in ~.config/wayfire.ini.

You can use the plugin itself to configure specific behavior such as disabling animations when a full-screen app is open or similar, as mentioned here:

No not about gaming. I can feel lag when opening or closing any app, and when switching to expo or another desktop. So i turned on Bench plugin in wayfire config manager to see the fps of my screen. That showed when there is any animation of wayfire, like the fire animation for opening and closing apps, at that particular time, the fps drops to 30 fps, then again after animation finished, fps goes to 60. So the main point is animation is laggy

If that is your experience off of a fresh install, I would say there's not much for it--you are probably just pushing the limits of your iGPU. You can likely get better performance by doing away with some of the (many) enabled animations, or invest in a dGPU that can better handle all the rendering required by wobbly windows, transparency, flame animations, etc.

I think it's not because of gpu or i am pushing the limits. I had installed wayfire in another distro 2 days ago, and there it worked fine. I liked the animations and the performance that's why wanted to try out garuda wayfire edtion as it's already customized. Today i installed the garuda wayfire edition and it's fresh install. Even faced lag with animations in live usb of garuda wayfire edition.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.