OSVR / OSVR-HDK-MCU-Firmware

Firmware source for the main Atmel microcontroller in HMDs related to the OSVR HDK
13 stars 6 forks source link

Hdk2 video fixes #3

Closed rpavlik closed 8 years ago

rpavlik commented 8 years ago

HDK2: Replaced usage of IsVideoExistingPolling (which contained event setting on non-connected or unrelated pins, as well as failure to increment the counter in the more common not-polling case) and old implementation of IsVideoExisting (that improperly checked the status flag bits, causing video to blank if if HDCP was enabled on the stream, the video source was originally DVI, or if HDMI audio input wasn't muted, etc...) with properly factored-out interface implementations split between Display and VideoInput. This allows the standard control flow to handle display on/off events, and thus can more finely control the processes that take place in response to those events. This fixes compatibility with AMD graphics cards in direct mode (16.8.x drivers seemingly required), and mostly fixes the "horizontal bar" problem on video signal loss or direct mode app exit (it now only appears for a split second before disappearing on NVIDIA cards).

This also includes the contents of #2 which affect all HDK devices.