hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.58k stars 772 forks source link

FLStudio running under Wine on Bottles makes desktop stutter constantly #6244

Open nonetrix opened 2 months ago

nonetrix commented 2 months ago

System Info and Version

System/Version info ```sh ♥ ❯ hyprctl systeminfo -c Hyprland, built from branch at commit 553232a3e4c112c8511309e6b685cb614895e714 (). Date: 2024-05-25 Tag: , commits: flags: (if any) System Information: System name: Linux Node name: nixos Release: 6.9.1 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri May 17 10:18:09 UTC 2024 GPU information: 09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240524.bfb7a88" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuña)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuña)" VERSION_CODENAME="vicuña" VERSION_ID="24.11" plugins: hyprsplit by shezdy ver 1.0 ======Config-Start====== Config File: /home/noah/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/bnipzdfv788l7yvgn7k7s7gp76sd1zpz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target plugin=/nix/store/35mw5a8w380q08ga51l6y50vj1pmvvgk-hyprsplit-0.1/lib/libhyprsplit.so $mod=SUPER debug { disable_logs=false enable_stdout_logs=true } decoration { blur { enabled=true passes=3 size=5 } blurls=bar-0 blurls=bar-1 blurls=launcher blurls=notifications0 blurls=notifications1 blurls=mpris rounding=8 } device { name=wacom-intuos-s-pen } dwindle { preserve_split=true } general { border_size=2 col.active_border=rgba(74c7ecff) col.inactive_border=rgba(1e1e2eff) gaps_in=5 gaps_out=10 } input { accel_profile=flat follow_mouse=1 mouse_refocus=false } misc { disable_hyprland_logo=true } animation=workspaces, 1, 5, default, slidevert animation=windows, 1, 5, default, slide animation=layers, 1, 5, default, slide bind=, XF86AudioPlay, exec, playerctl play-pause bind=, XF86AudioNext, exec, playerctl next bind=, XF86AudioPrev, exec, playerctl previous bind=CTRL, Print, exec, satty-shot bind=, Print, exec, hyprshot -m output -o ~/Pictures/Screenshots bind=$mod, p, exec, wl-copy $(hyprpicker) bind=$mod, h, movefocus, l bind=$mod, l, movefocus, r bind=$mod, k, movefocus, u bind=$mod, j, movefocus, d bind=$mod SHIFT, h, movewindow, l bind=$mod SHIFT, l, movewindow, r bind=$mod SHIFT, k, movewindow, u bind=$mod SHIFT, j, movewindow, d bind=$mod, slash, togglesplit bind=$mod, mouse_down, split:workspace, e-1 bind=$mod, mouse_up, split:workspace, e+1 bind=$mod, t, togglefloating bind=$mod, c, killactive bind=$mod, q, exec, shutdown-menu bind=$mod, B, exec, firefox bind=$mod, y, exec, kitty -e yazi bind=alt, f4, exec, hyprctl kill bind=$mod, Return, exec, kitty bind=$mod, Space, exec, fuzzel bind=$mod, E, exec, bemoji -n bind=$mod, a, exec, kitty -e ollama run mixtral bind=$mod SHIFT, a, exec, llm-actions bind=$mod, 1, split:workspace, 1 bind=$mod SHIFT, 1, split:movetoworkspace, 1 bind=$mod, 2, split:workspace, 2 bind=$mod SHIFT, 2, split:movetoworkspace, 2 bind=$mod, 3, split:workspace, 3 bind=$mod SHIFT, 3, split:movetoworkspace, 3 bind=$mod, 4, split:workspace, 4 bind=$mod SHIFT, 4, split:movetoworkspace, 4 bind=$mod, 5, split:workspace, 5 bind=$mod SHIFT, 5, split:movetoworkspace, 5 bind=$mod, 6, split:workspace, 6 bind=$mod SHIFT, 6, split:movetoworkspace, 6 bind=$mod, 7, split:workspace, 7 bind=$mod SHIFT, 7, split:movetoworkspace, 7 bind=$mod, 8, split:workspace, 8 bind=$mod SHIFT, 8, split:movetoworkspace, 8 bind=$mod, 9, split:workspace, 9 bind=$mod SHIFT, 9, split:movetoworkspace, 9 bind=$mod, 0, split:workspace, 10 bind=$mod SHIFT, 0, split:movetoworkspace, 10 binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 1%+ binde=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 1%- binde=$mod CTRL, l, resizeactive, 10 0 binde=$mod CTRL, h, resizeactive, -10 0 binde=$mod CTRL, k, resizeactive, 0 -10 binde=$mod CTRL, j, resizeactive, 0 10 bindm=$mod, mouse:272, movewindow bindm=$mod, mouse:273, resizewindow exec-once=ags exec-once=fcitx5 exec-once=wpaperd exec-once=mpv --no-video --volume=150 /nix/store/ag6v7p7x8ksxirkyqjl9xfsmhzr45w31-start.wav layerrule=ignorealpha, bar-0 layerrule=ignorealpha, bar-1 layerrule=ignorealpha, notifications0 layerrule=ignorealpha, notifications1 layerrule=ignorealpha, mpris layerrule=ignorealpha, launcher layerrule=noanim,selection monitor=DP-2, 1920x1200, 1920x0, 1 monitor=DP-1, 1920x1080@165, 0x0, 1, vrr, 1 windowrulev2=noanim, class:^(com.gabm.satty)$ windowrulev2=size 640 360, title:(Picture-in-Picture) windowrulev2=pin, title:^(Picture-in-Picture)$ windowrulev2=move 1906 14, title:(Picture-in-Picture) windowrulev2=float, title:^(Picture-in-Picture)$ ======Config-End======== ```

Bug or Regression?

Bug

Description

Trying to use FLStudio in Wine running on XWayland inside Bottles Flatpak for some reason makes Hyprland lag like crazy, not sure what is going on or how to debug this really. It should be noted that CPU usage or GPU usage doesn't go up much but the desktop lags like mad regardless, also FLStudio itself seems largely uneffected. My L somewhat for using proprietary software for audio stuff, but should be fixed

How to reproduce

  1. Install FLStudio inside Wine Bottles on Flatpak
  2. Open it with a larger project seems that matters (default I'm awake template is enough)
  3. See it lag

Hopefully should be able to reproduce with trial version as I imagine most don't have a license

Crash reports, logs, images, videos

https://github.com/hyprwm/Hyprland/assets/45698918/9e2c6b28-970e-480e-9805-098e26368e3f

nonetrix commented 2 months ago

I haven't tried on commit before XWayland rewrite, will in a moment. But I did this on GNOME a while back with no real issues even on Wayland pretty sure on NVIDIA

nonetrix commented 2 months ago

Issue persists before rewrite + crash

And on a perhaps unrelated side note what in God's holy name has happened to my login screen?

Wtf ![GOfNLV2XAAA2NNk](https://github.com/hyprwm/Hyprland/assets/45698918/c24f0041-ed54-4cef-9bd3-96af024e5ab6) ![GOfNLV4WcAAQ3b0](https://github.com/hyprwm/Hyprland/assets/45698918/69958a05-8bb7-40ab-9618-d0c9a7a5e9d6)
nonetrix commented 2 months ago

Can't reproduce issue in Sway, I suspect something is hogging one of the threads or something