LookingGlass/host/platform
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
..
Linux [host] cmake: link correctly against libxcb-xfixes.so 2021-03-15 12:12:48 +11:00
Windows [host] service: retry a few times when host fails to restart 2021-03-22 08:54:58 +11:00
CMakeLists.txt [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00