For better graphics performance, you may want to install NVIDIA proprietary driver instead of the open-source driver in your Ubuntu Desktop.
xorg-edgers PPA provides the latest Nvidia drivers available for Ubuntu 14.04 LTS. You can easily install the latest drivers of Nvidia 340 (latest long lived branch), Nvidia 343 (latest short lived branch), or Nvidia 346 (still in beta) from the PPA repository.
1. To get started, open Software & Updates from the Dash. Under the ‘Other Software’ tab, click the Add button and add below line into the pop-up dialog:
The PPA added to your system after your clicked the ‘Add Source’ button.
2. If you have “Synaptic Package Manger” installed, start it and after clicking Reload, you can search for and install nvidia-340, nvidia-343, or nvidia-346 to install the graphics driver as you want.
Or run below commands in terminal (Ctrl+Alt+T) to reload system package cache and install Nvidia proprietary driver:
sudo apt-get update
sudo apt-get install nvidia-340
Replace nvidia-340 with nvidia-343 or nvidia-346 if need.