If your Laptop doesn’t connect to a TV via HDMI then read our troubleshooting guides. We have talked about HDMI no signal issue or generally not working.
No new TV comes with a pamphlet explaining ... console or media streamer -- should be connected via HDMI 2.1 as well. You'll still get audio if a peripheral is connected through HDMI 2.0, but ...
All this said, if you do have HDMI ARC or eARC on your TV and your audio device, our advice is to use that over optical. It’s superior, no doubt about it.
The audio-visual world loves an acronym, so if you've heard about HDMI ARC ... No need for multiple volume controllers for the two different products – simply use your TV remote.