meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:nvidia [2015/08/06 05:17] – niziak | linux:nvidia [2017/08/18 10:58] – niziak | ||
---|---|---|---|
Line 2: | Line 2: | ||
With NVidia proprietary driver, apps which grab screen like " | With NVidia proprietary driver, apps which grab screen like " | ||
+ | ==== Switch between drivers ==== | ||
+ | <code bash> | ||
+ | To switch betweenr nvidia' | ||
+ | <code bash> | ||
+ | |||
+ | |||
+ | ==== Install NVidia driver ==== | ||
+ | see [[https:// | ||
+ | |||
+ | * 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 10: | 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. | ||
</ | </ | ||
- | ==== Install nvidia driver ==== | ||
<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 | ||
+ | </ | ||
+ | |||
+ | Configure X server: | ||
+ | <code bash> | ||
sudo apt-get install nvidia-xconfig | sudo apt-get install nvidia-xconfig | ||
sudo nvidia-xconfig | sudo nvidia-xconfig | ||
</ | </ | ||
+ | or | ||
+ | <code bash> | ||
+ | mkdir / | ||
+ | echo -e ' | ||
+ | </ | ||
+ | ==== Install open source driver (nouveau) ==== | ||
+ | <code bash> | ||
+ | sudo apt-get --purge remove ^nvidia-* | ||
+ | sudo mv -vi / | ||
+ | sudo apt-get install nvidia-glx | ||
+ | </ | ||
- | ==== Install opensource driver ==== | + | Following package will clean after nvidia drivers (remove blacklisting of nouveau module) |
<code bash> | <code bash> | ||
- | sudo apt-get | + | sudo apt-get |
- | mv -vi / | + | |
</ | </ | ||
+ | |||
+ | stop X system, generate new xorg.conf file: | ||
+ | <code bash> | ||
+ | sudo Xorg -configure | ||
+ | sudo cp / | ||
+ | </ | ||
+ | |||
+ | set MESA as default GLX provider | ||
+ | <code bash> | ||
+ | |||
+ | and restart X system | ||
+ | |||
+ | ==== Fan control ==== | ||
+ | |||
+ | <code bash> | ||
+ | echo 1 > / | ||
+ | echo 50 > / | ||
+ | </ | ||
+ | |||
+ | ==== Issues ==== | ||
+ | apt-get upgrade hangs | ||
+ | < | ||
+ | root | ||
+ | root | ||
+ | root | ||
+ | </ | ||
+ | Shell script ''/ | ||
+ | <code bash>[ -e / | ||
+ | Workaround: | ||
+ | <code bash> | ||
+ | #if [ -e / | ||
+ | if [ true ]; then | ||
+ | #< | ||
+ | </ | ||
+ | |||