You have problem in software. When show all pixels on display then is contrast ok. Check your data signal