Hacker News new | ask | show | jobs
by alepper 4077 days ago
I have this kicking around from some experiments a month or two ago:

    sudo apt-get update
    sudo apt-get install build-essential linux-image-extra-virtual
    sudo reboot
    echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
    cat > /etc/modprobe.d/blacklist-nouveau.conf
    blacklist nouveau
    blacklist lbm-nouveau
    options nouveau modeset=0
    alias nouveau off
    alias lbm-nouveau off
    <Ctrl+D>
    sudo update-initramfs -u
    sudo reboot
    sudo apt-get install linux-headers-$(uname -r)
    wget http://uk.download.nvidia.com/XFree86/Linux-x86_64/346.35/NVIDIA-Linux-x86_64-346.35.run
    chmod +x NVIDIA-Linux-x86_64-346.35.run
    sudo ./NVIDIA-Linux-x86_64-346.35.run
    nvidia-smi -q | less
This is obviously not production-ready, and is heavily cribbed from online (I couldn't quickly re-find where) but is good enough if you just want to play.

EDIT: I think this was the original: http://ubuntuhandbook.org/index.php/2015/01/install-nvidia-3...