This is a rewrite of the host application in pure C using the MinGW toolchain.
Several reasons:
- The client is written in C and I would like to unify the project's language
- The host is currently hard to build using MinGW and is very Windows specific
- The host is a jumbled mess of code from all the experimentation going on
- I would eventually like to be able to port this to run on Linux guests
Soon :)
Yes, but only when it is feature complete.
It does now...
Because win-builds doesn't distribute it, so to make it easy for everyone to compile we do not require it.
mkdir build
cd build
cmake -G "MSYS Makefiles" ..
make
mkdir build
cd build
cmake ..
make
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-mingw64.cmake ..
make
It is in your user's temp directory:
%TEMP%\looking-glass-host.txt
For example:
C:\Users\YourUser\AppData\Local\Temp\looking-glass-host.txt
You can also open it by simply right clicking the tray icon and selecting "Open Log File"
This is intentional for several reasons.
- NvFBC requires a system wide hook to correctly obtain the cursor position as NVIDIA decided to not provide this as part of the cursor updates.
- NvFBC requires administrator level access to enable the interface in the first place. (WIP)
- DXGI performance can be improved if we have this. (WIP)
Because NVIDIA have decided to put restrictions on the NvFBC API that simply make it incompatible with the GPL/2 licence. Providing a pre-built binary with NvFBC support would violate the EULA I have agreed to in order to access the NVidia Capture SDK.
Either I miss-read the License Agreement or it has been updated, it is now viable to produce a "derived work" from the capture SDK.
1.1 License Grant. Subject to the terms of this Agreement, NVIDIA hereby grants you a nonexclusive, non-transferable, worldwide, revocable, limited, royalty-free, fully paid-up license during the term of this Agreement to: (i) install, use and reproduce the Licensed Software delivered by NVIDIA plus make modifications and create derivative works of the source code and header files delivered by NVIDIA, provided that the software is executed only in hardware products as specified by NVIDIA in the accompanying documentation (such as release notes) as supported, to develop, test and service your products (each, a “Customer Product”) that are interoperable with supported hardware products. If the NVIDIA documentation is silent, the supported hardware consists of certain NVIDIA GPUs; and
To be safe we are still not including the NVIDIA headers in the repository, but I am now providing pre-built binaries with NvFBC support included.
See: https://looking-glass.hostfission.com/downloads
You must download and install the NVidia Capture SDK. Please note that by doing so you will be agreeing to NVIDIA's SDK License agreement.
-Geoff