You are not logged in.
My thanks to Head_on_a_Stick for this, it is really his HowTo that we worked out together trying to get nvidia drivers on my system. Let's hope you do not have the same problems I had.
NOTE: Any moderator sees a mistake or has an addition please feel free to edit the post directly.
So here you are. A new install of BunsenLabs and for whatever reason you find the 'nouveau driver' not quite what you want. You want the nvidia drivers for your system.
I use to use the SMXI scripts, or just the sgfxi (graphics) script - did you know that's 9000+ lines? WOW! It also did not work the last time I tried it.
Anyway this is the Debian way of getting nvidia drivers with a touch of HoaS in the mix.
Step 1. Do this even if you think you know what driver you need to get, maybe a new kernel is in the mix and a slight change for you as well - whatever - it's harmless and informative:
sudo apt-get install nvidia-detect
Step 2. Run nvidia-detect
21 Jun 17 @ 15:21:53 ~
$ nvidia-detect
Detected NVIDIA GPUs:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2)
Your card is supported by the default drivers and legacy driver series 304.
It is recommended to install the
nvidia-driver <<-- this is the driver you need to install, yours may be different
package.21 Jun 17 @ 15:21:55 ~
$
italics mine and not part of the terminal output
Step 3. paving the way for the install: get the module assistant
sudo apt-get install module-assistant
Step 3a. prepare things for building the kernel; the m-a is the module-assistant you just got.
sudo m-a prepare
This will install a bunch of programs needed and at one point start installing a second group of programs - let it get/install them too.
Step 4. Now get the nvidia driver itself
sudo apt-get install nvidia-driver
Step 5. Slow down now ... a couple of options but ONE must be done - not both: 5a OR 5b:
Step 5a. Create /ext/X11/xorg.conf - you need to open your editor as root. ie:
- gksu geany /ext/X11/xorg.conf
- or in a terminal
- sudo nano /ext/X11/xorg.conf
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
Step 5b. Create /ext/X11/xorg.conf.d/20-nvidia.conf - in which case you'll need to make the directory: /ext/X11/xorg.conf.d first. then the file: /20-nvisia.conf
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
- "My GPU" can probably be whatever - like: "Thanks to HoaS" although "My GPU" makes sense
- being as I'm the "Tpyo Knig" I chose 5a. - less typing c/w "My GPU"
Now comes the fun part
Step 6. Reboot and see if it works.
- If you have better luck than I had you are running your freshly installed nvidia driver.
- IF NOT - do not despair we continue.
Step 7. Something went wrong, and you have a blank screen, or your stuck with a flashing cursor or in a TTY
$ cp /ext/X11/xorg.conf /home/<your_username>/post-me-xorg.conf.txt
- whatever name you want really then:
Step 8. - Reboot again - and at the GRUB menu Press " e " and at the end of the line that starts with "linux", add a space and then this:
nomodeset modeset.nouveau=0
and continue the booting process.
If that works continue to Step 9
Step 9. Reboot again and edit (as root) /etc/grub.d/40_custom ... READ the commented out lines in that file and make sure you are careful with the warning. At the end of that files add this:
menuentry 'BL - NVIDIA' {
set root=(hdX,Y)
linux /vmlinuz root=/dev/sdY ro quiet nomodset nouveau.modeset=0
initrd /initrd.img
}
save it, and run
sudo update-grub
and then reboot again ....
= = = = = =
If nothing works and you NEED to get back to get back to nouveau
Re-edit /etc/grub.d/40_custom and comment out the lines you just added.
and issue:
sudo apt-get purge nvidia.
do NOT forget the dot after nvidia. <<--- it will make sure everything goes.
A simulation to show you what I mean:
21 Jun 17 @ 16:39:33 ~
$ sudo apt-get purge nvidia. --simulate
[sudo] password for sector11:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'nvidia-driver-bin-375.66' for regex 'nvidia.'
Note, selecting 'nvidia-340-updates' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-proxy' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-alternative--kmod-alias' for regex 'nvidia.'
Note, selecting 'nvidia-compute-profiler' for regex 'nvidia.'
Note, selecting 'libnvidia-cfg1-any' for regex 'nvidia.'
Note, selecting 'nvidia-cg-dev' for regex 'nvidia.'
Note, selecting 'libnvidia-eglcore-375.66' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-doc' for regex 'nvidia.'
Note, selecting 'nvidia-libopencl1' for regex 'nvidia.'
Note, selecting 'nvidia-alternative' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-check' for regex 'nvidia.'
Note, selecting 'nvidia-349-updates' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-glcore' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-alternative' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-smi' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-driver-bin' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-legacy-71xx-glx' for regex 'nvidia.'
Note, selecting 'nvidia-visual-profiler' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-driver-libs-i386' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-ia32' for regex 'nvidia.'
Note, selecting 'nvidia-358-updates' for regex 'nvidia.'
Note, selecting 'nvidia-vulkan-common' for regex 'nvidia.'
Note, selecting 'libnvidia-cfg1' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-alternatives-ia32' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glvnd-glx' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-cfg1' for regex 'nvidia.'
Note, selecting 'nvidia-vulkan-icd' for regex 'nvidia.'
Note, selecting 'nvidia-glx-dev' for regex 'nvidia.'
Note, selecting 'nvidia-persistenced' for regex 'nvidia.'
Note, selecting 'nvidia-driver' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-eglcore' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-source' for regex 'nvidia.'
Note, selecting 'nvidia-alternative-legacy-96xx' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-legacy-173xx-glx' for regex 'nvidia.'
Note, selecting 'nvidia-settings-legacy-340xx' for regex 'nvidia.'
Note, selecting 'libnvidia-egl-wayland-375.66' for regex 'nvidia.'
Note, selecting 'nvidia-installer-cleanup' for regex 'nvidia.'
Note, selecting 'nvidia-cg-doc' for regex 'nvidia.'
Note, selecting 'nvidia-settings' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-gdb' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-486' for regex 'nvidia.'
Note, selecting 'nvidia-opencl-common' for regex 'nvidia.'
Note, selecting 'nvidia-driver-libs-i386' for regex 'nvidia.'
Note, selecting 'libnvidia-encode1' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-support--v1' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-nvcuvid1' for regex 'nvidia.'
Note, selecting 'libxvmcnvidia1' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-dummy' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-mps' for regex 'nvidia.'
Note, selecting 'nvidia-glx' for regex 'nvidia.'
Note, selecting 'nvidia-libopencl1-ia32' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-kernel-support' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-driver' for regex 'nvidia.'
Note, selecting 'nvidia-325-updates' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-compiler' for regex 'nvidia.'
Note, selecting 'nvidia-glx-legacy-96xx-dev' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-686-pae' for regex 'nvidia.'
Note, selecting 'libnvidia-fatbinaryloader' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-i386' for regex 'nvidia.'
Note, selecting 'nvidia-libvdpau1-ia32' for regex 'nvidia.'
Note, selecting 'nvidia-xconfig' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-vdpau-driver' for regex 'nvidia.'
Note, selecting 'nvidia-glx-legacy-173xx-dev' for regex 'nvidia.'
Note, selecting 'nvidia-334-updates' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-cfg1' for regex 'nvidia.'
Note, selecting 'nvidia-egl-icd' for regex 'nvidia.'
Note, selecting 'nvidia-glx-ia32' for regex 'nvidia.'
Note, selecting 'libnvidia-glcore' for regex 'nvidia.'
Note, selecting 'nvidia-343-updates' for regex 'nvidia.'
Note, selecting 'nvidia-modprobe' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-ml1' for regex 'nvidia.'
Note, selecting 'nvidia-304' for regex 'nvidia.'
Note, selecting 'nvidia-current-updates' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-legacy-304xx-glx' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-amd64' for regex 'nvidia.'
Note, selecting 'nvidia-310' for regex 'nvidia.'
Note, selecting 'nvidia-313' for regex 'nvidia.'
Note, selecting 'nvidia-319' for regex 'nvidia.'
Note, selecting 'nvidia-352-updates' for regex 'nvidia.'
Note, selecting 'nvidia-nsight' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-opencl-icd' for regex 'nvidia.'
Note, selecting 'nvidia-support' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-driver-libs' for regex 'nvidia.'
Note, selecting 'nvidia-325' for regex 'nvidia.'
Note, selecting 'libnvidia-compiler-340.102' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-legacy-96xx-glx' for regex 'nvidia.'
Note, selecting 'libegl1-nvidia-legacy-340xx' for regex 'nvidia.'
Note, selecting 'nvidia-331' for regex 'nvidia.'
Note, selecting 'nvidia-334' for regex 'nvidia.'
Note, selecting 'nvidia-337' for regex 'nvidia.'
Note, selecting 'nvidia-361-updates' for regex 'nvidia.'
Note, selecting 'nvidia-cg-toolkit' for regex 'nvidia.'
Note, selecting 'nvidia-340' for regex 'nvidia.'
Note, selecting 'nvidia-343' for regex 'nvidia.'
Note, selecting 'nvidia-346' for regex 'nvidia.'
Note, selecting 'nvidia-349' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-encode1' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-debugger' for regex 'nvidia.'
Note, selecting 'nvidia-driver-binary' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-kernel-support' for regex 'nvidia.'
Note, selecting 'nvidia-352' for regex 'nvidia.'
Note, selecting 'nvidia-355' for regex 'nvidia.'
Note, selecting 'nvidia-358' for regex 'nvidia.'
Note, selecting 'libnvidia-fbc1' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-support' for regex 'nvidia.'
Note, selecting 'nvidia-opencl-icd' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-340.102' for regex 'nvidia.'
Note, selecting 'nvidia-361' for regex 'nvidia.'
Note, selecting 'nvidia-364' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-any' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-toolkit' for regex 'nvidia.'
Note, selecting 'nvidia-opencl-dev' for regex 'nvidia.'
Note, selecting 'libglx-nvidia0' for regex 'nvidia.'
Note, selecting 'nvidia-driver-libs' for regex 'nvidia.'
Note, selecting 'libnvidia-compiler-304.135' for regex 'nvidia.'
Note, selecting 'libnvidia-glcore-340.102' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-kernel-dkms' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-legacy-304xx-glx-i386' for regex 'nvidia.'
Note, selecting 'nvidia-opencl-profiler' for regex 'nvidia.'
Note, selecting 'libgles2-nvidia-legacy-340xx' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-kernel-340.102' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-ml1' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-alternative--kmod-alias' for regex 'nvidia.'
Note, selecting 'nvidia-310-updates' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-driver-libs' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-legacy-340xx-glx' for regex 'nvidia.'
Note, selecting 'boinc-client-nvidia-cuda' for regex 'nvidia.'
Note, selecting 'nvidia-glx-legacy-96xx' for regex 'nvidia.'
Note, selecting 'libgles-nvidia1' for regex 'nvidia.'
Note, selecting 'libgles-nvidia2' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-2.6-amd64' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-nvcuvid1' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-304.135' for regex 'nvidia.'
Note, selecting 'libnvidia-egl-wayland' for regex 'nvidia.'
Note, selecting 'libnvidia-compiler' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-compiler' for regex 'nvidia.'
Note, selecting 'nvidia-319-updates' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-kernel-support--v1' for regex 'nvidia.'
Note, selecting 'libnvidia-ifr1' for regex 'nvidia.'
Note, selecting 'nvidia-alternative--kmod-alias' for regex 'nvidia.'
Note, selecting 'nvidia-texture-tools' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-cuda1-i386' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-dkms' for regex 'nvidia.'
Note, selecting 'libnvidia-glcore-304.135' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-driver' for regex 'nvidia.'
Note, selecting 'nvidia-va-driver' for regex 'nvidia.'
Note, selecting 'xserver-xorg-video-nvidia-legacy-304xx' for regex 'nvidia.'
Note, selecting 'nvidia-337-updates' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-kernel-dkms' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-profiler' for regex 'nvidia.'
Note, selecting 'libnvidia-glcore-375.66' for regex 'nvidia.'
Note, selecting 'nvidia-current' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-fbc1' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-glcore' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-kernel-source' for regex 'nvidia.'
Note, selecting 'libnvidia-compiler-375.66' for regex 'nvidia.'
Note, selecting 'xserver-xorg-video-nvidia-any' for regex 'nvidia.'
Note, selecting 'nvidia-346-updates' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-opencl-icd' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-340.102' for regex 'nvidia.'
Note, selecting 'nvidia-opencl-icd-ia32' for regex 'nvidia.'
Note, selecting 'nvidia-glx-legacy-173xx' for regex 'nvidia.'
Note, selecting 'nvidia-355-updates' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-driver-bin' for regex 'nvidia.'
Note, selecting 'libgles1-nvidia-legacy-340xx' for regex 'nvidia.'
Note, selecting 'nvidia-libopencl1-dev' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-vdpau-driver' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-ia32-any' for regex 'nvidia.'
Note, selecting 'libnvidia-ml1' for regex 'nvidia.'
Note, selecting 'glvnd-nvidia-abi-375.20' for regex 'nvidia.'
Note, selecting 'nvidia-364-updates' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-kernel-support--v1' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-304' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-driver-libs-i386' for regex 'nvidia.'
Note, selecting 'nvidia-vdpau-driver-ia32' for regex 'nvidia.'
Note, selecting 'nvidia-glx-legacy-71xx' for regex 'nvidia.'
Note, selecting 'libnvidia-ptxjitcompiler' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-310' for regex 'nvidia.'
Note, selecting 'nvidia-alternative-legacy-173xx' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-313' for regex 'nvidia.'
Note, selecting 'nvidia-egl-common' for regex 'nvidia.'
Note, selecting 'nvidia-driver-bin-340.102' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-319' for regex 'nvidia.'
Note, selecting 'boinc-nvidia-cuda' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-325' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-304xx-cuda1' for regex 'nvidia.'
Note, selecting 'nvidia-vdpau-driver' for regex 'nvidia.'
Note, selecting 'nvidia-driver-bin' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-kernel-304.135' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-common' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-support-any' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-331' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-334' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-ifr1' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-337' for regex 'nvidia.'
Note, selecting 'nvidia-cuda-dev' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-3.16.0-4-amd64' for regex 'nvidia.'
Note, selecting 'nvidia-settings-legacy-304xx' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-340' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-343' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-346' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-349' for regex 'nvidia.'
Note, selecting 'nvidia-304-updates' for regex 'nvidia.'
Note, selecting 'nvidia-profiler' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-352' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-355' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-358' for regex 'nvidia.'
Note, selecting 'libegl-nvidia0' for regex 'nvidia.'
Note, selecting 'libgl1-glvnd-nvidia-glx' for regex 'nvidia.'
Note, selecting 'nvidia-settings-legacy-173xx' for regex 'nvidia.'
Note, selecting 'libnvidia-eglcore-340.102' for regex 'nvidia.'
Note, selecting 'nvidia-kernel-375.66' for regex 'nvidia.'
Note, selecting 'nvidia-173' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-361' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-smi' for regex 'nvidia.'
Note, selecting 'nvidia-experimental-364' for regex 'nvidia.'
Note, selecting 'nvidia-313-updates' for regex 'nvidia.'
Note, selecting 'nvidia-glx-any' for regex 'nvidia.'
Note, selecting 'nvidia-smi' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-glx-375.66' for regex 'nvidia.'
Note, selecting 'nvidia-driver-bin-304.135' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-304xx-alternative' for regex 'nvidia.'
Note, selecting 'libnvidia-compiler-ia32' for regex 'nvidia.'
Note, selecting 'libgl1-nvidia-alternatives' for regex 'nvidia.'
Note, selecting 'nvidia-legacy-340xx-kernel-source' for regex 'nvidia.'
Note, selecting 'libglx-nvidia-alternatives' for regex 'nvidia.'
Note, selecting 'libnvidia-eglcore' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-cuda1-i386' for regex 'nvidia.'
Note, selecting 'nvidia-glx-legacy-71xx-dev' for regex 'nvidia.'
Note, selecting 'libnvidia-legacy-340xx-cuda1' for regex 'nvidia.'
Note, selecting 'nvidia-331-updates' for regex 'nvidia.'
Note, selecting 'nvidia-detect' for regex 'nvidia.'
Note, selecting 'xserver-xorg-video-nvidia-legacy-340xx' for regex 'nvidia.'
Package 'nvidia-glx-ia32' is not installed, so not removed
Package 'nvidia-libvdpau1-ia32' is not installed, so not removed
Package 'libgl1-nvidia-alternatives' is not installed, so not removed
Package 'nvidia-glx-dev' is not installed, so not removed
Note, selecting 'libnvtt-bin' instead of 'nvidia-texture-tools'
Package 'nvidia-libopencl1-dev' is not installed, so not removed
Package 'nvidia-current' is not installed, so not removed
Package 'nvidia-current-updates' is not installed, so not removed
Note, selecting 'vdpau-va-driver' instead of 'nvidia-va-driver'
Package 'nvidia-cuda-debugger' is not installed, so not removed
Package 'nvidia-compute-profiler' is not installed, so not removed
Package 'nvidia-cuda-profiler' is not installed, so not removed
Package 'nvidia-opencl-profiler' is not installed, so not removed
Package 'nvidia-cuda-proxy' is not installed, so not removed
Note, selecting 'libgl1-nvidia-glx' instead of 'libgl1-nvidia-glx-340.102'
Package 'libgl1-nvidia-glx-ia32' is not installed, so not removed
Package 'libgl1-nvidia-glx-ia32-any' is not installed, so not removed
Package 'libnvidia-compiler-ia32' is not installed, so not removed
Package 'libgl1-nvidia-alternatives-ia32' is not installed, so not removed
Package 'libglx-nvidia-alternatives' is not installed, so not removed
Package 'nvidia-settings-legacy-173xx' is not installed, so not removed
Note, selecting 'nvidia-alternative' instead of 'nvidia-alternative--kmod-alias'
Package 'libgl1-nvidia-glx-i386' is not installed, so not removed
Package 'nvidia-libopencl1-ia32' is not installed, so not removed
Package 'nvidia-opencl-icd-ia32' is not installed, so not removed
Package 'nvidia-vdpau-driver-ia32' is not installed, so not removed
Note, selecting 'nvidia-legacy-304xx-kernel-dkms' instead of 'nvidia-legacy-304xx-kernel-304.135'
Note, selecting 'libgl1-nvidia-legacy-304xx-glx' instead of 'libgl1-nvidia-glx-304.135'
Package 'libxvmcnvidia1' is not installed, so not removed
Note, selecting 'nvidia-legacy-304xx-alternative' instead of 'nvidia-legacy-304xx-alternative--kmod-alias'
Package 'libgl1-nvidia-legacy-304xx-glx-i386' is not installed, so not removed
Package 'nvidia-kernel-2.6-amd64' is not installed, so not removed
Package 'nvidia-173' is not installed, so not removed
Package 'nvidia-304' is not installed, so not removed
Package 'nvidia-304-updates' is not installed, so not removed
Package 'nvidia-310' is not installed, so not removed
Package 'nvidia-310-updates' is not installed, so not removed
Package 'nvidia-313-updates' is not installed, so not removed
Package 'nvidia-319' is not installed, so not removed
Package 'nvidia-319-updates' is not installed, so not removed
Package 'nvidia-331' is not installed, so not removed
Package 'nvidia-331-updates' is not installed, so not removed
Package 'nvidia-kernel-686-pae' is not installed, so not removed
Package 'nvidia-kernel-486' is not installed, so not removed
Package 'nvidia-driver-binary' is not installed, so not removed
Package 'nvidia-experimental-304' is not installed, so not removed
Package 'nvidia-experimental-310' is not installed, so not removed
Package 'nvidia-313' is not installed, so not removed
Package 'nvidia-experimental-313' is not installed, so not removed
Package 'nvidia-experimental-319' is not installed, so not removed
Package 'nvidia-325' is not installed, so not removed
Package 'nvidia-325-updates' is not installed, so not removed
Package 'nvidia-experimental-325' is not installed, so not removed
Package 'nvidia-experimental-331' is not installed, so not removed
Package 'nvidia-334' is not installed, so not removed
Package 'nvidia-334-updates' is not installed, so not removed
Package 'nvidia-experimental-334' is not installed, so not removed
Package 'nvidia-337' is not installed, so not removed
Package 'nvidia-337-updates' is not installed, so not removed
Package 'nvidia-experimental-337' is not installed, so not removed
Package 'nvidia-340' is not installed, so not removed
Package 'nvidia-340-updates' is not installed, so not removed
Package 'nvidia-experimental-340' is not installed, so not removed
Package 'nvidia-343' is not installed, so not removed
Package 'nvidia-343-updates' is not installed, so not removed
Package 'nvidia-experimental-343' is not installed, so not removed
Package 'libgl1-nvidia-legacy-173xx-glx' is not installed, so not removed
Package 'libgl1-nvidia-legacy-71xx-glx' is not installed, so not removed
Package 'libgl1-nvidia-legacy-96xx-glx' is not installed, so not removed
Package 'nvidia-glx-legacy-173xx' is not installed, so not removed
Package 'nvidia-glx-legacy-71xx' is not installed, so not removed
Package 'nvidia-glx-legacy-96xx' is not installed, so not removed
Package 'nvidia-glx-legacy-173xx-dev' is not installed, so not removed
Package 'nvidia-glx-legacy-71xx-dev' is not installed, so not removed
Package 'nvidia-glx-legacy-96xx-dev' is not installed, so not removed
Package 'nvidia-alternative-legacy-173xx' is not installed, so not removed
Package 'nvidia-alternative-legacy-96xx' is not installed, so not removed
Package 'nvidia-346' is not installed, so not removed
Package 'nvidia-346-updates' is not installed, so not removed
Package 'nvidia-experimental-346' is not installed, so not removed
Package 'nvidia-349' is not installed, so not removed
Package 'nvidia-349-updates' is not installed, so not removed
Package 'nvidia-experimental-349' is not installed, so not removed
Package 'nvidia-352' is not installed, so not removed
Package 'nvidia-352-updates' is not installed, so not removed
Package 'nvidia-experimental-352' is not installed, so not removed
Package 'nvidia-355' is not installed, so not removed
Package 'nvidia-355-updates' is not installed, so not removed
Package 'nvidia-experimental-355' is not installed, so not removed
Package 'nvidia-358' is not installed, so not removed
Package 'nvidia-358-updates' is not installed, so not removed
Package 'nvidia-experimental-358' is not installed, so not removed
Package 'nvidia-361' is not installed, so not removed
Package 'nvidia-361-updates' is not installed, so not removed
Package 'nvidia-experimental-361' is not installed, so not removed
Package 'nvidia-364' is not installed, so not removed
Package 'nvidia-364-updates' is not installed, so not removed
Package 'nvidia-experimental-364' is not installed, so not removed
Note, selecting 'libgldispatch0-nvidia' instead of 'glvnd-nvidia-abi-375.20'
Note, selecting 'libnvidia-egl-wayland' instead of 'libnvidia-egl-wayland-375.66'
Package 'libgl1-nvidia-glx-375.66' is not installed, so not removed
Note, selecting 'libnvidia-glcore' instead of 'libnvidia-glcore-375.66'
Package 'nvidia-driver-libs-i386' is not installed, so not removed
Note, selecting 'nvidia-kernel-support' instead of 'nvidia-kernel-support--v1'
Note, selecting 'libnvidia-legacy-304xx-compiler' instead of 'libnvidia-compiler-304.135'
Package 'libnvidia-legacy-304xx-cuda1-i386' is not installed, so not removed
Note, selecting 'libnvidia-legacy-304xx-glcore' instead of 'libnvidia-glcore-304.135'
Note, selecting 'nvidia-legacy-304xx-driver-bin' instead of 'nvidia-driver-bin-304.135'
Package 'nvidia-legacy-304xx-driver-libs-i386' is not installed, so not removed
Note, selecting 'nvidia-legacy-304xx-kernel-support' instead of 'nvidia-legacy-304xx-kernel-support--v1'
Note, selecting 'nvidia-legacy-340xx-kernel-dkms' instead of 'nvidia-legacy-340xx-kernel-340.102'
Package 'libnvidia-legacy-340xx-cuda1-i386' is not installed, so not removed
Note, selecting 'libnvidia-legacy-340xx-glcore' instead of 'libnvidia-glcore-340.102'
Note, selecting 'nvidia-legacy-340xx-alternative' instead of 'nvidia-legacy-340xx-alternative--kmod-alias'
Package 'nvidia-legacy-340xx-driver-libs-i386' is not installed, so not removed
Note, selecting 'nvidia-legacy-340xx-kernel-support' instead of 'nvidia-legacy-340xx-kernel-support--v1'
Package 'nvidia-cg-dev' is not installed, so not removed
Package 'nvidia-cg-doc' is not installed, so not removed
Package 'nvidia-cg-toolkit' is not installed, so not removed
Package 'nvidia-glx' is not installed, so not removed
Package 'nvidia-kernel-3.16.0-4-amd64' is not installed, so not removed
Package 'nvidia-kernel-amd64' is not installed, so not removed
Package 'nvidia-kernel-dummy' is not installed, so not removed
Package 'boinc-nvidia-cuda' is not installed, so not removed
Package 'nvidia-xconfig' is not installed, so not removed
Package 'boinc-client-nvidia-cuda' is not installed, so not removed
Package 'nvidia-persistenced' is not installed, so not removed
Package 'nvidia-settings-legacy-304xx' is not installed, so not removed
Package 'nvidia-settings-legacy-340xx' is not installed, so not removed
Package 'nvidia-cuda-dev' is not installed, so not removed
Package 'nvidia-cuda-doc' is not installed, so not removed
Package 'nvidia-cuda-gdb' is not installed, so not removed
Package 'nvidia-cuda-toolkit' is not installed, so not removed
Package 'nvidia-nsight' is not installed, so not removed
Package 'nvidia-opencl-dev' is not installed, so not removed
Package 'nvidia-profiler' is not installed, so not removed
Package 'nvidia-visual-profiler' is not installed, so not removed
Package 'libegl-nvidia0' is not installed, so not removed
Package 'libgl1-glvnd-nvidia-glx' is not installed, so not removed
Package 'libgl1-nvidia-glvnd-glx' is not installed, so not removed
Package 'libgles-nvidia1' is not installed, so not removed
Package 'libgles-nvidia2' is not installed, so not removed
Package 'libglx-nvidia0' is not installed, so not removed
Package 'libnvidia-cfg1' is not installed, so not removed
Package 'libnvidia-compiler' is not installed, so not removed
Package 'libnvidia-egl-wayland' is not installed, so not removed
Package 'libnvidia-encode1' is not installed, so not removed
Package 'libnvidia-fatbinaryloader' is not installed, so not removed
Package 'libnvidia-fbc1' is not installed, so not removed
Package 'libnvidia-glcore' is not installed, so not removed
Package 'libnvidia-ifr1' is not installed, so not removed
Package 'libnvidia-ptxjitcompiler' is not installed, so not removed
Package 'nvidia-cuda-mps' is not installed, so not removed
Package 'nvidia-driver-libs' is not installed, so not removed
Package 'nvidia-egl-common' is not installed, so not removed
Package 'nvidia-egl-icd' is not installed, so not removed
Package 'nvidia-kernel-source' is not installed, so not removed
Package 'nvidia-kernel-support' is not installed, so not removed
Package 'nvidia-legacy-check' is not installed, so not removed
Package 'nvidia-libopencl1' is not installed, so not removed
Package 'nvidia-opencl-common' is not installed, so not removed
Package 'nvidia-opencl-icd' is not installed, so not removed
Package 'nvidia-smi' is not installed, so not removed
Package 'nvidia-vulkan-common' is not installed, so not removed
Package 'nvidia-vulkan-icd' is not installed, so not removed
Package 'libgl1-nvidia-legacy-304xx-glx' is not installed, so not removed
Package 'libnvidia-legacy-304xx-cfg1' is not installed, so not removed
Package 'libnvidia-legacy-304xx-compiler' is not installed, so not removed
Package 'libnvidia-legacy-304xx-cuda1' is not installed, so not removed
Package 'libnvidia-legacy-304xx-glcore' is not installed, so not removed
Package 'libnvidia-legacy-304xx-ml1' is not installed, so not removed
Package 'libnvidia-legacy-304xx-nvcuvid1' is not installed, so not removed
Package 'nvidia-legacy-304xx-alternative' is not installed, so not removed
Package 'nvidia-legacy-304xx-driver' is not installed, so not removed
Package 'nvidia-legacy-304xx-driver-bin' is not installed, so not removed
Package 'nvidia-legacy-304xx-driver-libs' is not installed, so not removed
Package 'nvidia-legacy-304xx-kernel-dkms' is not installed, so not removed
Package 'nvidia-legacy-304xx-kernel-source' is not installed, so not removed
Package 'nvidia-legacy-304xx-kernel-support' is not installed, so not removed
Package 'nvidia-legacy-304xx-opencl-icd' is not installed, so not removed
Package 'nvidia-legacy-304xx-smi' is not installed, so not removed
Package 'nvidia-legacy-304xx-vdpau-driver' is not installed, so not removed
Package 'xserver-xorg-video-nvidia-legacy-304xx' is not installed, so not removed
Package 'libegl1-nvidia-legacy-340xx' is not installed, so not removed
Package 'libgl1-nvidia-legacy-340xx-glx' is not installed, so not removed
Package 'libgles1-nvidia-legacy-340xx' is not installed, so not removed
Package 'libgles2-nvidia-legacy-340xx' is not installed, so not removed
Package 'libnvidia-legacy-340xx-cfg1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-compiler' is not installed, so not removed
Package 'libnvidia-legacy-340xx-cuda1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-eglcore' is not installed, so not removed
Package 'libnvidia-legacy-340xx-encode1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-fbc1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-glcore' is not installed, so not removed
Package 'libnvidia-legacy-340xx-ifr1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-ml1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-nvcuvid1' is not installed, so not removed
Package 'nvidia-legacy-340xx-alternative' is not installed, so not removed
Package 'nvidia-legacy-340xx-driver' is not installed, so not removed
Package 'nvidia-legacy-340xx-driver-bin' is not installed, so not removed
Package 'nvidia-legacy-340xx-driver-libs' is not installed, so not removed
Package 'nvidia-legacy-340xx-kernel-dkms' is not installed, so not removed
Package 'nvidia-legacy-340xx-kernel-source' is not installed, so not removed
Package 'nvidia-legacy-340xx-kernel-support' is not installed, so not removed
Package 'nvidia-legacy-340xx-opencl-icd' is not installed, so not removed
Package 'nvidia-legacy-340xx-smi' is not installed, so not removed
Package 'nvidia-legacy-340xx-vdpau-driver' is not installed, so not removed
Package 'xserver-xorg-video-nvidia-legacy-340xx' is not installed, so not removed
The following package was automatically installed and is no longer required:
qastools-common
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
glx-alternative-mesa* glx-alternative-nvidia* glx-diversions* libegl1-nvidia* libgl1-nvidia-glx*
libgles1-nvidia* libgles2-nvidia* libnvidia-eglcore* libnvidia-ml1* nvidia-alternative* nvidia-detect*
nvidia-driver* nvidia-driver-bin* nvidia-installer-cleanup* nvidia-kernel-common* nvidia-kernel-dkms*
nvidia-modprobe* nvidia-settings* nvidia-support* nvidia-vdpau-driver* xserver-xorg-video-nvidia*
0 upgraded, 0 newly installed, 21 to remove and 0 not upgraded.
Purg nvidia-driver [340.102-1]
Purg xserver-xorg-video-nvidia [340.102-1]
Purg nvidia-kernel-dkms [340.102-1]
Purg nvidia-vdpau-driver [340.102-1]
Purg nvidia-alternative [340.102-1] [libegl1-nvidia:amd64 libgles2-nvidia:amd64 nvidia-settings:amd64 libgl1-nvidia-glx:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg nvidia-kernel-common [20141201+1] [libegl1-nvidia:amd64 libgles2-nvidia:amd64 nvidia-settings:amd64 libgl1-nvidia-glx:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg glx-alternative-nvidia [0.5.1] [libegl1-nvidia:amd64 libgles2-nvidia:amd64 nvidia-settings:amd64 libgl1-nvidia-glx:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg glx-alternative-mesa [0.5.1] [libegl1-nvidia:amd64 libgles2-nvidia:amd64 nvidia-settings:amd64 libgl1-nvidia-glx:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg glx-diversions [0.5.1] [libegl1-nvidia:amd64 libgles2-nvidia:amd64 nvidia-settings:amd64 libgl1-nvidia-glx:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg libegl1-nvidia [340.102-1] [libgles2-nvidia:amd64 nvidia-settings:amd64 libgl1-nvidia-glx:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg libgl1-nvidia-glx [340.102-1] [libgles2-nvidia:amd64 nvidia-settings:amd64 libgles1-nvidia:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg libgles1-nvidia [340.102-1] [libgles2-nvidia:amd64 nvidia-settings:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg libgles2-nvidia [340.102-1] [nvidia-settings:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg libnvidia-eglcore [340.102-1] [nvidia-settings:amd64 libnvidia-ml1:amd64 nvidia-driver-bin:amd64 ]
Purg nvidia-driver-bin [340.102-1] [nvidia-settings:amd64 libnvidia-ml1:amd64 ]
Purg libnvidia-ml1 [340.102-1] [nvidia-settings:amd64 ]
Purg nvidia-detect [340.102-1] [nvidia-settings:amd64 ]
Purg nvidia-settings [340.46-2]
Purg nvidia-installer-cleanup [20141201+1]
Purg nvidia-modprobe [340.46-1]
Purg nvidia-support [20141201+1]
21 Jun 17 @ 16:40:09 ~
$
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
@Sector11, I hope you don't mind, but you mentioned you couldn't find a HowTo I've posted before...
Here is my cheatsheet for the Debian stable nvidia installation:
(This method will create an xorg.conf and blacklist nouveau automatically)
NvidiaGraphicsDrivers
---------------------
https://wiki.debian.org/NvidiaGraphicsDrivers1) Go to TTY1 (ctrl-alt-F1), then login as root:
$ sudo su -
2) Stop the X server with
# systemctl stop lightdm.service
3)
# apt-get install nvidia-settings nvidia-xconfig nvidia-driver
This will also build the kernel nvidia module
4) Create xorg server config file - important to do this before restarting X!!
# nvidia-xconfig
[ error messages can usually be ignored ]
5) Reboot, to blacklist nouveau
5) Set up monitor(s) with nvidia-settings (although arandr should work)
Optimus + Bumblebee + NVidia is a whole different ballgame though
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I do not mind at all ... The more the merrier. Where did you post it?
I don't know anything about Optimus but I've read some pretty horrible stuff about getting 'Bumblebee' in properly.
Question since you are here, what do you use Nvidia Settings for? I've only ever used the default
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
I do not mind at all ... The more the merrier. Where did you post it?
I don't know anything about Optimus but I've read some pretty horrible stuff about getting 'Bumblebee' in properly.
Question since you are here, what do you use Nvidia Settings for? I've only ever used the default
I've posted the cheatsheet in answers to several nvidia help requests over the last couple of years.
nvidia-settings is a gui for managing monitors, screen resolutions, glx etc., and getting graphics info. It's a nice bit of bloat
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Ah that's why I couldn't find it. At least I'm not going crazy, I know I saw it ... but not ever when I needed it. I would have had to search all your posts.
I did check your a bunch of you 'threads' though.
Oh I know what it is - just wondering if you really use it, I didn't bother installing it as my screen is setup the best it can go as "default".
EDIT: Changed the subject.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
nvidia-settings is far more useful in Mint, which handles nvidia/optimus much better (the only distro I tried which works OOTB). It makes it very easy to switch between cpu and gpu rendering. the different graphics cards.
Last edited by damo (2017-06-22 01:14:57)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I ussualy did method 2 and then
add a line in the "Screen" section of /etc/X11/xorg.conf that fixes screen tearing
Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
Што ни оштровиди ум сагледати не може - љубав превазилази.
Offline
^ OH That little tip is a keeper.
@ damo - Oh OK, I don't do the heavy graphics stuff you do so I don't need it.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
nvidia-settings is far more useful in Mint, which handles nvidia/optimus much better (the only distro I tried which works OOTB). It makes it very easy to switch between cpu and gpu rendering.
@damo feel like writing a little guide to nvidia-settings? I couldn't spot the obvious place to switch the gpu on/off among all the checkboxes and sliders, nor do I have a clue what all the other settings do. At the moment they're all in the default state.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
It is part of a Mint nvidia setup, using PRIME instead of bumblebee. As I said, it was OOTB, with no configuration needed.
It took me a week to get my BL installation working on an optimus laptop, finding out how to configure bumblebeed, kernel parameters, cuda rendering etc (Gpu selection is using optirun).
I should have kept better notes, but I'll see if I can reverse engineer what I did
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^Hmm, you must be using a newer driver than me: that "PRIME profiles" tab is missing in my nvidia-settings. Or maybe it only appears when the system has more than one alternative available?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
^ I don't have it in my BL installation - it is in the bunsenified Mint I was using before I got it all to work in BL. As I said, it was OOTB with Mint.
But we are drifting....
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Any moderator sees a mistake or has an addition please feel free to edit the post directly.
You have a typo in step 5b ('s/nvisia/nvidia') but I can't edit posts by an Administator
Great guide S11, thanks for posting.
The Debian Wiki NVIDIA page is also an excellent reference (if less detailed) and has instructions for building newer upstream drivers from SVN:
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
Sector11 wrote:Great guide S11, thanks for posting.
The Debian Wiki NVIDIA page is also an excellent reference (if less detailed) and has instructions for building newer upstream drivers from SVN:
Your welcome - 99.5% your work, typos are mine though. Fixed.
Nice link Thanks.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
Thanks for the guide!
Unfortunately, I've run into a wall early in the process, could you tell me what to do if I run nvidia-detect and it gives me this?
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1402] (rev a1)
Your card is only supported by a newer driver that is available in jessie-backports.
See http://backports.debian.org for instructions how to use backports.
You may also find newer driver packages in experimental.
It is recommended to install the
nvidia-driver/jessie-backports
package.
Davy
Offline
Hi Davy!
what to do if I run nvidia-detect and it gives me this?
First of all, are you absolutely sure that you need the proprietary NVIDIA driver?
The performance of the free (as in speech) nouveau driver is perfectly acceptable for normal desktop usage and system maintenance is significantly simpler.
If you really want to go blobby, you will need the nvidia-driver package and also the newer kernel version & headers that are available from the jessie-backports repository.
I have a guide here for the kernel:
https://forums.bunsenlabs.org/viewtopic.php?id=1257
Once that is installed, this invocation will install the headers you need to build the custom kernel module:
sudo apt install module-assistant && sudo m-a update
Now install the driver from the jessie-backports repository (added during the kernel upgrade stage):
sudo apt install -t jessie-backports nvidia-driver
Then generate the Xorg configuration file (as outlined in the OP) and reboot into the new driver.
If you encounter a black screen after the installation, disable kernel mode setting, again as per the OP.
Good luck!
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
First of all, are you absolutely sure that you need the proprietary NVIDIA driver?
Well, perhaps I don't. When I did this last time I had issues with screen tearing and resolution. Everything was massive and it was as if I had set the resolution to 480p or something. I installed the propriety driver and the resolution corrected itself, but the screen tearing was still present. I think it may be a problem with my monitor.
Regardless, if the only thing the nice free nouveau driver has a problem with is resolution, perhaps there's just a setting somewhere where I can correct it?
Davy
----------------------------------------------------------------------------
Since posting this I've checked arandr and the max resolution is 1024x768. My screen is 1920x1080.
xrandr returns this:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 61.00*
800x600 61.00
640x480 60.00
Perhaps I should start a new thread for this.
Last edited by Davy (2017-06-27 23:05:47)
Offline
Ok! So after a bit of thinking I've decided to just bite the bullet and go for the nvidia driver. I've done everything you said up to generating the xorg configuration file. I don't have /ext/x11/ Should I make it? Or should I be using /etc/x11/? I'm using deuterium if that makes any difference.
Offline
I guess it should be /etc/X11, not /ext, and with capital X.
Last edited by nore (2017-06-28 05:40:18)
Offline
should I be using /etc/x11/? I'm using deuterium if that makes any difference.
Yes and you should create the directory yourself but note that it needs a capital X.
The /ext/X11 bit in the OP is a typographical error, sorry about that, it should be /etc/X11
The recommended approach is to use /etc/X11/xorg.conf.d to hold separate configuration files (ending with .conf) arranged in lexicographical order to allow the parsing to be done sequentially.
So I would use /etc/X11/xorg.conf.d/20-nvidia.conf, like this:
sudo mkdir -p /etc/X11/xorg.conf.d
sudo tee /etc/X11/xorg.conf.d/20-nvidia.conf << !
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
!
The separate files allow the configuration to be changed more easily — just move the files rather than edit a massive monolithic xorg.conf (not a consideration in this case though).
It is actually possible to use /etc/xorg.conf (and several other locations, see `man xorg.conf` for the full list) but that's just messy
Last edited by Head_on_a_Stick (2017-06-28 07:03:04)
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
if the only thing the nice free nouveau driver has a problem with is resolution, perhaps there's just a setting somewhere where I can correct it?
Sounds like the EDID information sent by your monitor isn't recognised by the driver, it would be interesting if you could perhaps try Debian 9.0 (stretch) and see if this is fixed.
For BunsenLabs Deuterium, you can create a custom modeline for the desired resolution with `cvt` and then add an `xrandr` line to ~/.config/openbox/autostart (or an xorg configuration file to set it in LightDM as well) to force the correct res.
Guide here:
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
I went ahead with the proprietary driver, because I was already halfway through.
I'm delighted! Resolution is fixed, no screen tearing! (I must have made a hames of things last time. That's partly why I chose to re-install: I had made such a mess with broken packages and third party ppa's and such. I've chalked it up to learning by mistakes. Things should go a bit smoother this time, and I'll try be less of an eejit)
Thank you very much Sector11, nore and especially Head_on_a_Stick. You're a star.
Davy
Offline