VGA detection