A few questions:
Is it passing more than just a stereo PCM signal using the optical cable?
Does your receiver support eARC, or at least ARC? If so, did you plug into the right HDMI ports on both the TV and the receiver? I'm sure your HDMI cable is not the issue. HDMI cables are more important...