I'm using Ubuntu 18.04 and i'm trying to mirror my screen to a TV using HDMI. When I connect the cable, nothing happens. The screen is not in display settings and there are no mirror screen option no where.

output from xandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.02*+  40.03  
HDMI-1 disconnected (normal left inverted right x axis y axis)
   1920x1080     60.02

tried sudo xrandr --output HDMI-1-1 --auto but no good

The graphics card is /0/100/1/0 display GM206M [GeForce GTX 965M] With the Nvidia 390 driver

  • Graphics card an drivers version (if you installed)? – GabrielaGarcia May 3 at 13:46
  • @GabrielaGarcia /0/100/1/0 display GM206M [GeForce GTX 965M] /0/100/2 display HD Graphics 530 and the Nvidia 390 driver – Abood May 3 at 13:55
  • Nvidia mentions 418 only: nvidia.com/Download/driverResults.aspx/145182/en-us . If not available in the 18.04 repositories, add the graphics drivers PPA. And please edit the question to add new or requested info, do not use comments. – GabrielaGarcia May 3 at 14:00
  • @GabrielaGarcia I've installed it from the Software&Updates desktop application (there are no 418). I've tried to download the driver from nvidia's website and install it but it kept failing with the following error "Unable to determine the version of the kernel sources" – Abood May 4 at 5:26
  • Do not use the Nvidia binary. As I said before, if not available for your release in the official repos, add the graphics drivers PPA (additional software source. – GabrielaGarcia May 4 at 10:39

The required driver version for GeForce GTX 965M at this time is 418, according yo Nvidia: https://www.nvidia.com/Download/driverResults.aspx/145182/en-us

The driver isn't available in the Ubuntu official repositories for your release so an additional software source is needed:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

Then the 418 version should appear at Software & Updates > Additional Drivers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.