Viavi Solutions' GAAP loss for 6 months of fiscal year 2022 was $20.2 million, compared to a profit of $47 million in the previous year. Revenue increased 9.8% to $641.6 million from $584.6 million a year earlier.