Comment 6 for bug 1575726

Revision history for this message
Viktor Ryzhaiev (izod89) wrote :

Nuno wrote:
> I only get the system perfectly working using the 352 drivers and nvidia-
> prime, the install of the 352 nvidia driver is not working through apt-get
> and ppa:graphics-driver/ppa,
> I had to manually download them from the site and install them manually.

There is a workaround for installation of nvidia-352 from graphics-drivers PPA: you need to specify a package version. Here are the steps, that worked for me:

1. Remove all nvidia related packages and their configuration:
sudo apt-get purge --auto-remove $(dpkg -l | awk '$2~/nvidia/ {print $2}')
sudo apt-get purge --auto-remove bbswitch-dkms

2. Install nvidia-352:
sudo apt-get install nvidia-352=352.79-0ubuntu0~gpu16.04.2

3. Prevent nvidia-352 from future upgrading to 361:
sudo apt-mark hold nvidia-352

4. Reboot and verify that Nvidia graphics card is in use:
glxinfo | grep "OpenGL version"