looking-glass/host/platform/Windows
Quantum c12c6ea3c7 [host] service: retry a few times when host fails to restart
Certain users of Radeon cards have observed that the host fails to start
at boot, with D3D11CreateDevice failing with HSTATUS 0x887a0004, which
translates to "The specified device interface or feature level is not
supported on this system."

This failure results in a LG_HOST_EXIT_FAILED exit code, which the service
does not attempt to restart. The user has to manually restart the service
for the host application to work.

These users reported that the host application started fine on
B2. This strongly suggests that the fix to enable capturing the login
screen made the host application start too early during the boot process,
and the graphics driver did not have time to initialize fully.

This PR allows the service to retry a few times on LG_HOST_EXIT_FAILED,
with exponential backoff, before giving up. This should cover this bug
and other similar bugs related to the early initialization which I do not
have logs for.
2021-03-22 08:54:58 +11:00
..
capture [host] allow user to select capture backend 2021-02-27 17:41:44 +11:00
include/windows [host] nvfbc: force composition to capture some full screen apps 2021-01-21 12:14:03 +11:00
src [host] service: retry a few times when host fails to restart 2021-03-22 08:54:58 +11:00
app.manifest [host] set the program name/description in the app.manifest 2020-10-19 01:56:03 +11:00
CMakeLists.txt [host] windows: detect whether screensaver is disabled in the guest 2021-02-21 10:31:48 +11:00
installer.nsi [host] installer: create start menu shortcut to log directory 2021-01-29 15:56:01 +11:00
resource.rc [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00