meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:nvidia [2016/04/20 13:25] niziaklinux:nvidia [2018/06/07 09:00] (current) niziak
Line 12: Line 12:
 see [[https://wiki.debian.org/NvidiaGraphicsDrivers]] see [[https://wiki.debian.org/NvidiaGraphicsDrivers]]
  
 +  * Card:  NVIDIA Corporation GT218 [GeForce 210]
 +  * Debian Stretch package: nvidia-legacy-340xx-driver
 +  
 <code bash> <code bash>
 sudo apt-get install nvidia-detect sudo apt-get install nvidia-detect
Line 19: Line 22:
 Your card is supported by the default drivers and legacy driver series 304. Your card is supported by the default drivers and legacy driver series 304.
 It is recommended to install the It is recommended to install the
-    nvidia-driver+    nvidia-legacy-340xx-driver
 package. package.
 </code> </code>
  
 <code bash> <code bash>
 +sudo apt-get install nvidia-legacy-340xx-driver
 +# OR
 sudo apt-get install nvidia-driver sudo apt-get install nvidia-driver
 +</code>
 +
 +Configure X server:
 +<code bash>
 sudo apt-get install nvidia-xconfig sudo apt-get install nvidia-xconfig
 sudo nvidia-xconfig sudo nvidia-xconfig
 </code> </code>
  
 +or 
 +<code bash> 
 +mkdir /etc/X11/xorg.conf.d 
 +echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf 
 +</code>
  
 ==== Install open source driver (nouveau) ==== ==== Install open source driver (nouveau) ====
Line 53: Line 66:
  
 and restart X system and restart X system
 +
 +=== Extract firmware ===
 +
 +[[https://nouveau.freedesktop.org/wiki/VideoAcceleration/|nouveau/ VideoAcceleration
 +]]
 +<code bash>
 +$ mkdir /tmp/nouveau
 +$ cd /tmp/nouveau
 +$ wget https://raw.github.com/imirkin/re-vp2/master/extract_firmware.py
 +$ wget http://us.download.nvidia.com/XFree86/Linux-x86/325.15/NVIDIA-Linux-x86-325.15.run
 +$ sh NVIDIA-Linux-x86-325.15.run --extract-only
 +$ python2 extract_firmware.py  # this script is for python 2 only
 +# mkdir /lib/firmware/nouveau
 +# cp -d nv* vuc-* /lib/firmware/nouveau/
 +</code>
 +
 +==== Fan control ====
 +
 +<code bash>
 +echo 1 > /sys/bus/pci/drivers/nouveau/0000:01:00.0/hwmon/hwmon1/pwm1_enable
 +echo 50 > /sys/bus/pci/drivers/nouveau/0000:01:00.0/hwmon/hwmon1/pwm1
 +</code>
  
 ==== Issues ==== ==== Issues ====