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

Set window hint to block compositor on KDE Plasma (Linux, X11) #18228

Open
Tiagoquix opened this issue Oct 10, 2024 · 1 comment
Open

Set window hint to block compositor on KDE Plasma (Linux, X11) #18228

Tiagoquix opened this issue Oct 10, 2024 · 1 comment
Labels
enhancement New feature or request linux

Comments

@Tiagoquix
Copy link

In a similar fashion to #17895, it would be interesting to set a window hint to block the compositor to bring more performance for Flash games and movies.

This is the tooltip on KDE Plasma's settings:

Image

I don't know if there's a similar thing for GNOME and/or other DEs, but I believe the hint is global (affects everything). That would be _NET_WM_BYPASS_COMPOSITOR (https://wiki.libsdl.org/SDL3/SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR). I'm not sure how this would work on Wayland, but I imagine it's the same thing.

@Tiagoquix Tiagoquix added the enhancement New feature or request label Oct 10, 2024
@torokati44
Copy link
Member

I'm not sure how this would work on Wayland, but I imagine it's the same thing.

Well, not really - it's not needed there:

https://discourse.libsdl.org/t/why-is-compositing-disabled-on-normal-x11-windows/37712/5

Ultimately, Wayland should rid us of this problem completely: it doesn’t support disabling the compositor, and in the future it should be able to use separate planes to get a similar performance boost on some hardware (without the downsides).

@kjarosh kjarosh changed the title Set window hint to block compositor on KDE Plasma (Linux) Set window hint to block compositor on KDE Plasma (Linux, X11) Oct 11, 2024
@kjarosh kjarosh added the linux label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request linux
Projects
None yet
Development

No branches or pull requests

3 participants