Forge64

Kubuntu 14.10 prime breakage fix for #nvidia

Mar 13th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. I'm not currently running any Ubuntu-based distros, so this is all from memory and I apologize for errors, but that's all I can offer for guarantees. You undertake these steps at your own risk.
  2.  
  3.  
  4.  
  5. Find all the nvidia packages you have installed.
  6.  
  7. dpkg -l | grep -i nvidia
  8.  
  9. Dump this list to a file, for your reference later:
  10.  
  11. dpkg -l | grep -i nvidia > nvidia.packages.txt
  12.  
  13. except the package nvidia-common all other packages should be purged.
  14.  
  15. sudo apt-get remove --purge <packagename>
  16.  
  17. Once all the Nvidia packages are purged, you should be able to reboot and have Intel-only graphics.
  18.  
  19. You should be able to restore use of the Nvidia binary drivers by installing nvidia-current and nvidia-prime, these pull in the current Nvidia binary driver and the Ubuntu Optimus-handling scripts respectively.
  20.  
  21. Once things are working, you should be able to use the package list you dumped to a text file to restore any missing packages you want back, but most should have been pulled back in as dependencies already.
Advertisement
Add Comment
Please, Sign In to add comment