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

Disable compositor when in fullscreen (Linux) #161

Open
wantija opened this issue Jul 24, 2020 · 3 comments
Open

Disable compositor when in fullscreen (Linux) #161

wantija opened this issue Jul 24, 2020 · 3 comments

Comments

@wantija
Copy link

wantija commented Jul 24, 2020

For optimal performance/least amount of lag, Slippi should disable the current compositor when in Dolphin is fullscreen although screen tearing will be present.

@ggliv
Copy link

ggliv commented Aug 9, 2020

Is there any reasonable way to do this in a cross-platform way? I'm no video backend expert, but from a bit of poking around the internet, it seems like most DEs have their own individual solutions.

@manofsticks
Copy link

Not exactly my expertise, but looking around, it appears there's "_NET_WM_BYPASS_COMPOSITOR" which requests that the compositor disable itself for that window; from what I can tell it's x-compatible with multiple compositors (I found discussion saying that kwin didn't always have support for it, and now it does; which leads me to believe it works for others).

I think this is definitely important to work on because performance was terrible for me until I disabled the compositor, whether I was in a windowed mode or fullscreen.

@ggliv
Copy link

ggliv commented Nov 6, 2020

That seems like it would be a reasonably portable solution.

If I had to guess, you'd probably have to modify this file to add that hint. I'll try to see if I can figure out how to get this to work but I honestly have no idea what I'm doing (so no promises).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants