debian install & configure(2)-drivers-nvidia
==========================================手动编译
卸载受限驱动 :
apt-get --purge remove nvidia-*
apt-get --purge remove nvidia-glx nvidia-glx-new 系统安装了光盘自带的受限驱动。安装新驱动前要先删除这些受限驱动
rm –r /lib/linux-restricted-modules/ 其中有一个隐藏文件.nvidia-new-installer也要删掉。
rm /etc/init.d/nvidia-glx /etc/init.d/nvidia-kernel
gedit /etc/default/linux-restricted-modules-common 禁用其他的driver驱动模块
DISABLED_MODULES="" 改为:DISABLED_MODULES="nv nvidia_new"
下载驱动程式 NVIDIA-Linux-x86_64-295.53.run
安装依赖:
sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r` libc6-dev
关闭Nouveau:
vim /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist gdm-session-wor
blacklist gdm-simple-slav
blacklist gdm3
重启系统至文本模式,可以发现字体变大了,也就是说驱动没有被加载,成功禁用了Nouveau,也可以 lsmod | grep nouveau 检测nouveau是否被加载
(
卸载nouveau:
apt-get --purge remove xserver-xorg-video-nouveau
)
开始安装:
sh NVIDIA-Linux-x86_64-295.53.run --no-unified-memory
驱动安装完毕。安装程序会询问你是否自动更新配置,建议选OK好了。
vim /etc/modprobe.d/blacklist.conf
vim /etc/X11/xorg.conf
Driver "nvidia"
#在这一行后面,加上:
#########不显示logo
Option "NoLogo" "True"
(
nvidia-xconfig --no-logo
)
#########启用屏幕旋转功能
Option "RandRRotation" "True"
(
xrandr -o left #左转
xrandr -o right #右转
xrandr -o normal #恢复正常
)
#########外接显示器
Option "TwinView" "on"
Section "Device"
================errors
=====gcc版本不符合编译要求
The cc version failed!
ls -al /usr/bin/gcc*
lrwxrwxrwx 1 root root 16 10月 23 09:24 /usr/bin/gcc -> /usr/bin/gcc-4.4
-rwxr-xr-x 1 root root 239528 9月 21 2010 /usr/bin/gcc-4.3
-rwxr-xr-x 1 root root 255536 11月 15 2010 /usr/bin/gcc-4.4
已经安装了gcc4.3,所以我们只要改一下软连接。
ln -sf /usr/bin/gcc-4.3 /usr/bin/gcc
注意安装完成后把gcc改回来
ln -sf /usr/bin/gcc-4.4 /usr/bin/gcc
======================================ubuntu软件源自带的附加驱动功能 OR ppa安装
等同于受限制驱动列表(源)
apt-get install nvidia-current nvidia-settings
======================================debian 源内编译 m-a
apt-get install build-essential module-assistant
m-a update
m-a prepare
apt-get install linux-headers-`uname -r`
apt-get install nvidia-kernel-common nvidia-kernel-source
m-a auto-install nvidia
(
m-a build nvidia
m-a install nvidia OR dpkg -i /usr/src/nvidia-kernel-xxx-xx.deb
)
apt-get install nvidia-glx
vim /etc/X11/xorg.conf
尝试装入驱动模块
modprobe nvidia
在系统启动时装入驱动模块
echo nvidia >> /etc/modules
(
grep -q ^nvidia /etc/modules
)
apt-get install nvidia-settings nvidia-xconfig
配置 /etc/X11/xorg.conf
================================vidia-kernel-dkms 自动编译
apt-get install -R nvidia-kernel-dkms nvidia-glx
update-alternatives --set glx /usr/lib/mesa-diverted
./configure CONF_LDPATH_NVIDIA=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib32/nvidia CONF_MODPATH_NVIDIA=/usr/lib/nvidia,/usr/lib/xorg/modules
uninstall
nvidia-installer --uninstall
debian install & configure(2)-drivers-nvidia的更多相关文章
- debian install & configure(2)-drivers-ati
依赖apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 ...
- anaconda2下面安装opencv2.4.13.4完成----解决默认安装的问题----Thefunction is not implemented. Rebuild the library with Windows, GTK+ 2.x orCarbon support. If you are on Ubuntu or Debian, install libgtk2.0‑dev and pkg
转载自:http://blog.csdn.net/qingyanyichen/article/details/73550924 本人下载编译安装了opencv2.4.9,oppencv2.4.10,o ...
- debian 9 双显卡安装NVIDIA显卡驱动
最近用debian,给debian装n卡驱动折腾了好几天了,主要还是网络不好,官方wiki的方法下载经常卡死..摸索了几天感觉已经摸到了头绪,决定写下来供大家参考参考 先提供单显卡NVIDIA驱动的安 ...
- Debian install Python3.7
Download the package. Then... tar -xvzf Python-3.7.0.tgz 进入目录: cd Python-3.7.0/ 添加配置: ./configure -- ...
- [Cypress] install, configure, and script Cypress for JavaScript web applications -- part1
Despite the fact that Cypress is an application that runs natively on your machine, you can install ...
- [Cypress] install, configure, and script Cypress for JavaScript web applications -- part3
Use custom Cypress command for reusable assertions We’re duplicating quite a few commands between th ...
- Learning ROS: Ubuntu16.04下kinetic开发环境安装和初体验 Install + Configure + Navigating(look around) + Creating a Package(catkin_create_pkg) + Building a Package(catkin_make) + Understanding Nodes
本文主要部分来源于ROS官网的Tutorials. Ubuntu install of ROS Kinetic # Setup your sources.list sudo sh -c 'echo & ...
- MacOS install configure php-fpm
php-fpm 是预装在mac os上的,你只需要配置就好了.这个服务监听9000端口. 1. 为配置文件准备一些目录 mkdir -p /usr/share/php/var/run mkdir -p ...
- [Cypress] install, configure, and script Cypress for JavaScript web applications -- part2
Use Cypress to test user registration Let’s write a test to fill out our registration form. Because ...
随机推荐
- Linux命令记录。
引用:http://www.cnblogs.com/xiaoluo501395377/archive/2013/03/31/2992500.html 首先,需要确定的是知道的是:对于Linux系统来说 ...
- GDAL的安装和配置(编译proj.4)
1.下载地址 http://trac.osgeo.org/gdal/wiki/DownloadSource 下面是两个版本: http://pan.baidu.com/s/1bntuXER (1.1 ...
- 使用Python脚本获取指定格式文件列表的方法
在Python环境下获取指定后缀文件列表的方式. 来源stackoverflow 这里简单以*.txt的作为例子. 使用glob(推荐) import glob, os os.chdir(" ...
- UICollectionView 集合视图用法,自定义Cell
在View里面 //1.创建UICollectionViewFlowLayout UICollectionViewFlowLayout *flowLayout=[[UICollectionViewFl ...
- 创建一个Hello World模块
这篇文章描述了怎样为Orchard建立一个非常小的模块,它只显示一个"Hello World"页面. 另一个模块[Module]的简单例子,你可以从这找到:Quick Start ...
- android layout的布局
1.android:layout_width.android:layout_heigth 表示控件的大小,长宽 2.andoid:layout_gravity .android:gravity表示控件 ...
- centos vim的安装目录在哪里
[root@test man]# rpm -ql vim-common | grep python/usr/share/vim/vim72/autoload/pythoncomplete.vim/us ...
- 什麼是 N-key 與按鍵衝突?原理說明、改善技術、選購注意完全解析
不管是文書處理或遊戲中,我們都經常會使用到組合鍵,也就是多顆按鍵一起按下,執行某些特定的功能.有時候你可能會發現,明明只按下2顆鍵,再按下第3顆鍵時訊號卻沒有輸出.要是打報告到一半遇到這種狀況還好,如 ...
- D、GO、Rust 谁会在未来取代 C?为什么?——Go语言的定位非常好,Rust语言非常优秀,D语言也不错
不要管我的地位和 D 语言创造者之一的身份.我会坦诚的回答这个问题.我熟悉 Go 和 Rust,并且知道 D 的缺点在哪里.我鼓励人们在 Rust 和 Go 社区相似身份的人,也可以提出他们诚恳的观点 ...
- QWidget 键盘事件 焦点(源代码级别研究)
在Qt中,键盘事件和QWidget的focus密不可分:一般来说,一个拥有焦点(focus)的QWidget或者grabKeyboard()的QWidget才可以接受键盘事件. 键盘事件派发给谁? 如 ...