LCD doesn't display properly with 5v Power supply

The barrel socket needs 6.5- 7V to give a clean 5V for the Arduino and other components to work with.

If you have a 5V power supply it should be connected to the 5V pin NOT to the barrel connector.

Steve