No sound on raspberry pi

I have no sound from my raspberry pi 3. I try speaker-test but just get static when I use my headphones.

I tried force audio to 3.5 mm jack setting in audio configuration.

Everything else with the picade and retropie is working except I can get sound going.

I would recommend trying with a clean vanilla Raspbian first - just to rule out a hardware fault on the Pi front, which seems a plausible option by your account.

That said do note that speaker-test DOES output white noise by default, unless you use flags to overrule the source, like so:

speaker-test -c2 -t wav