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

SDL2 support runs at half of the monitor refresh rate under Wayland #719

Open
santiagocezar opened this issue Mar 22, 2023 · 0 comments
Open

Comments

@santiagocezar
Copy link

When running the sdl2_01_basic example with the env variable SDL_VIDEODRIVER set to wayland (after disabling both "bundled" and the "static-link" features, otherwise it wont compile), the applications noticeably runs slower, and according to imgui.io().framerate, exactly at half the refresh rate of the monitor.

I can reproduce this on the latest commit at the time 9009022, on GNOME Wayland.

$ sdl2-config --version
2.26.4
$ mutter --version
mutter 43.3
$ rustc --version
rustc 1.68.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant