I have an HP Pavilion with Ubuntu 16.04. When connecting to my Samsung smart TV I see the desktop background perfectly. But nothing else (movies for instance) which I run on the laptop shows up on the TV screen - only the desktop background.
"Mirror Display" is grayed out and I can't choose it - in case that is the solution.