An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
Go to file
Marius Barbu e09ff31c09 [client] update viewport size after window is created
Make sure glViewport gets called as soon as we know the window
dimensions, otherwise nothing gets rendered until KVMFR communication is
established (mostly the splash).

Without the fix, './looking-glass-client -s' behaves differently than
'./looking-glass-client -s -F' in that the latter triggers a
SDL_WINDOWEVENT_SIZE_CHANGED and updates the viewport immediately after
window creation while the former doesn't and all rendering is delayed
until the frameThread successfully decodes the first frame.

As all the possible ways of updating the viewport (window creation,
window size change, frame size change) are covered with
updatePositionInfo(), the 'started' state becomes redundant and is
removed.

Note: this might be the wrong way to fix it (possible driver bug?),
glViewport's specification mentions that the default viewport size
matches the window size when the GL context is first attached.

Tested on:

Debian Buster with GNOME 3.30.2 on X.Org 1.20.3
Looking Glass (a12-21-g07e4c1c20f)
Locking Method: Atomic
Using: EGL
Vendor  : Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Haswell Desktop
Version : OpenGL ES 3.1 Mesa 18.3.2

Signed-off-by: Marius Barbu <msb@avengis.com>
2019-02-21 07:56:25 +11:00
.github Add issue template 2017-12-15 13:00:10 +11:00
client [client] update viewport size after window is created 2019-02-21 07:56:25 +11:00
common [host] removed incomplete h264 2018-12-07 20:54:30 +11:00
contrib/redhat [meta] Add SELinux policy 2017-12-14 22:22:44 +11:00
host [host] dxgi: fixed reversed logic for fallback 2019-02-07 15:13:07 +11:00
module [doc] make the module README a Markdown file 2018-05-28 17:51:03 +10:00
vendor [common] fix getopt license to be compatible 2018-05-22 03:21:35 +10:00
.gitattributes [git] added vcxproj files to crlf exceptions 2017-10-31 20:19:52 +11:00
.gitignore [module] added kvmfr kernel module for VM->VM shared memory 2018-05-15 20:50:52 +10:00
.gitmodules [host] removed gitmodule from testing 2017-12-12 03:59:57 +11:00
CONTRIBUTORS Fixed typo in word wish 2018-05-31 13:28:36 +10:00
LICENSE added licensing to sources 2017-10-31 19:07:16 +11:00
README.md updated links to latest accurate urls. 2019-01-08 10:33:16 +11:00

LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.

Obtaining and using Looking Glass

Please see https://looking-glass.hostfission.com/quickstart

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://ci.appveyor.com/project/gnif/lookingglass/build/artifacts

Help and support

Web

https://forum.level1techs.com/t/looking-glass-triage/130952

IRC

Join us in the #LookingGlass channel on the FreeNode network

Trello