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

Video buffers on unfocused workspace #8130

Open
analyticmind opened this issue Apr 23, 2024 · 0 comments
Open

Video buffers on unfocused workspace #8130

analyticmind opened this issue Apr 23, 2024 · 0 comments
Labels
bug Not working as intended

Comments

@analyticmind
Copy link

  • Sway Version: 1.9
  • GPU: Intel CoffeeLake-S GT2 (desktop), Intel Alder Lake UP3 GT2 (laptop), Intel Skylake GT2 (laptop)
  • Distro: Arch

Recently installed intel-media-driver to get hardware acceleration, and after installing it I noticed that whenever a video is left playing in an unfocused workspace, it will buffer. In some cases, it will just stop playing. This happens whether the video is in a browser or a standalone application like FreeTube or mpv.

Searching through this repository, I found a workaround for a similar issue (#3716), i.e. set the environment variable vblank_mode=0. However, the initial purpose of getting hardware acceleration was to save some battery, whereas the workaround is said to negate this by maxxing the GPU.

I was able to replicate the issue in 2 laptops and 1 desktop PC.

Any ideas for a better workaround?

@analyticmind analyticmind added the bug Not working as intended label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant