Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequently updating visual elements (such as animations and videos) experiencing issues when switching to them from a different workspace using swipe gesture. #9068

Open
4 of 6 tasks
TotalyEnglizLitrate opened this issue Jan 15, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@TotalyEnglizLitrate
Copy link

TotalyEnglizLitrate commented Jan 15, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Probably not a regression / I don't remember it happening before

System Info and Hyprland Version

System/Version info
Hyprland 0.46.2 built from branch  at commit  dirty ().
Date: 
Tag: , commits: 
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.2.6
 hyprcursor 0.1.10
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: lattitude5491
Release: 6.12.9-312.current
Version: #1 SMP PREEMPT_DYNAMIC 2025-01-10


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])


os-release: NAME="Solus"
VERSION="4.6"
ID="solus"
VERSION_CODENAME=convergence
VERSION_ID="4.6"
PRETTY_NAME="Solus 4.6 Convergence"
ANSI_COLOR="1;34"
HOME_URL="https://getsol.us"
SUPPORT_URL="https://help.getsol.us/docs/user/contributing/getting-involved"
BUG_REPORT_URL="https://dev.getsol.us/"
LOGO="distributor-logo-solus"


plugins:

Description

When using (touchpad) swipe to switch workspaces, if a video is playing in the workspace that is being switched to, dropped frames/part of the video switching to new frame before the rest (idk what you would call that, a splice maybe?) is observed up until the switching is completed (which is until the touchpad is let go of.).

Weirdly, different issues come up in different circumstances:

  1. Just plain video and misc. apps open - only dropped frames occurs
  2. OBS (is open with screen capture/open without screen capture/recording):
    • if there are no non-empty workspaces in between obs and video player - frame splicing occurs(? again idk what to call it), the stuck frame sometimes repeats the few frames around the stuck frame as well
    • if there are some non-empty workspaces in between obs and video player - only dropped frames occurs
  3. OBS (is in any state but with desktop audio output and/or mic audio being captured) - no issues observed

I did test it with performance mode (power-profiles-daemon) with AC plugged in to ensure it wasn't just my laptop struggling, and it most certainly is not the case.

Does not seem to be application dependent, Tested on the following

  • zen browser (flatpak)
  • firefox (non flatpak, from package manager .eopkg)
  • vlc (.eopkg & flatpak)

I also tried increasing the animation time for switching workspaces to see if normal switching via keybinds caused the same issue, and it does not seem to be the case.

How to reproduce

  1. Open up a video
  2. Switch to a different workspace
  3. Switch back to workspace in which the video is running using the swipe gesture
  4. issue is observed in different forms in different circumstances up until the swipe gesture is completed

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

hyprland_config_dump.txt

2025-01-15_11-11-20.mp4
@TotalyEnglizLitrate TotalyEnglizLitrate added the bug Something isn't working label Jan 15, 2025
@TotalyEnglizLitrate
Copy link
Author

Update: anything that changes the screen state a lot suffers, not just video playback (tested with https://loading.io/css/). Will change title accordingly

@TotalyEnglizLitrate TotalyEnglizLitrate changed the title Video playback experiencing issues when switching to video from a different workspace using swipe gesture Frequently updating visual elements (such as animations and videos) experiencing issues when switching to them from a different workspace using swipe gesture. Jan 15, 2025
@vaxerski
Copy link
Member

this is quite odd. Can you try building from -git and seeing if it happens still?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants