16x2 LCD display problem only one line visible

hi everyone i m new to arduino and i am trying to connect the arduino uno to a 16x2 lcd display i connected everything according to the schematics but when adjust the contrast potentiometer only the second line turn black or fades the first line stays green. when i try to display text using arduino test codes all i get are random pixels in the second line. please help me and give suggestions on how to troubleshoot the display. XD

You should consider posting a photograph of your connections and a copy of the code that you used. Did you include the lcd.begin() statement? Also - your display is upside down.