4bceaf5505
eglSwapBuffers is allowed to block when called with a nonzero interval parameter. On Wayland, Mesa will block until a frame callback arrives. If an application is not visible, a compositor is free to not schedule frame callbacks (in order to save CPU time rendering something that is entirely invisible). Currently, starting Looking Glass from a terminal, hiding it entirely, and sending ^C will cause Looking Glass to hang joining the render thread until the window is made visible again. Calling eglDestroySurface is insufficient to unblock eglSwapBuffers, as it attempts to grab the same underlying mutex. Instead, this commit makes it so that we pass a 0 interval to eglSwapBuffers when running on Wayland, such that we don't block waiting for a frame callback. This is not entirely ideal as it *does* mean Looking Glass submits buffers while hidden, but it seems better than hanging on exit. It also forces opengl:vsync and egl:vsync flags to off when running on Wayland, as they are meaningless there. |
||
---|---|---|
.github | ||
client | ||
common | ||
contrib/redhat | ||
host | ||
module | ||
obs | ||
profile | ||
repos | ||
resources | ||
vendor | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
CONTRIBUTORS | ||
LICENSE | ||
README.md | ||
version.cmake |
Looking Glass
An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
- Project Website: https://looking-glass.io
- Getting Started: https://looking-glass.io/wiki/Installation
Donations
I (Geoffrey McRae) am the primary developer behind this project and I have invested thousands of hours of development time into it.
If you like this project and find it useful and would like to help out you can support me directly using the following platforms.
Documentation
** IMPORTANT ** This project contains submodules that must be checked out if building from the git repository! If you are not a developer and just want to compile Looking Glass please download the source archive from the website instead:
https://looking-glass.io/downloads
Please also be sure to see the following files for more information
Note: The README.md
files are slowly being deprecated from this project in
favor of the wiki at https://looking-glass.io/wiki, and as such the
information in these files may be dated.
Latest Version
If you would like to use the latest bleeding edge version of Looking Glass please be aware there will be no support at this time.
Latest bleeding edge builds of the Windows host application can be obtained from:
https://looking-glass.io/downloads
Help and support
Web
https://forum.level1techs.com/t/looking-glass-triage/130952
Discord
IRC
Join us in the #LookingGlass channel on the FreeNode network