linux nVidia driver 304 319 . installation by hand
It's so painful to install nVidia driver by hand on linux.
If you remove it or you want to upgrade by all your hand, you ought to need be very patient about this stuff coz it will kill you a lot of time.
first you need to download the latest driver from their site.
it looks like "NVIDIA-{version number}.run"
download it and run it after closing your X service.
# Tips : how to close X service
when booting your PC, you could use this key conbination to get into new TTY "Ctrl + Alt + F{1,2,3,...,7}"
then, log in using 'root' account.
then 'service kdm stop' # if your display manager is from others such as lightdm, mdm, gdm. do the same
'service gdm stop'
then execute the binary you've downloaded by "sh NVIDIA-{version number}.run"
You need to know what those commands mean:
*************
lsmod # to see how many kernel modules have been loaded already
modprobe # to probe a module whichi is registered in /lib/modules/modules.alias by using command 'depmod'
rmmod # to remove a module dynamically
## after using 'rmmod xxxx' , we will not be able to get ' lsmod | grep xxxx'
modinfo # to check out one registered module's infomation
depmod # to set modules , and document them in order to make the docments used by command 'modprobe' next time if necessary
***********
the lib folder
which contains system's libs
/usr/lib32/
a folder which contains kernel modules and other settings before booting the PC up.
/lib/modules/
Remember to use 'depmod -aq' to ensure all neccessary kernel modules will be used when booting up next time
it's good to use ' man depmod ' when you don't what what it is. :)
************
nVidia's var lib folder
Almost everytime when nVidia package is trying to install its new features, they will check out /var/lib/nvidia.
it's easy to find confilictions. then it will dump. if you don't dig it, you will be stuck there.
I solved this sucessfully by 'mv /var/lib/nvidia /var/lib/nvidia_backup' . or you can just delete it.
then,
re-install it using the binary package downloaded from the offical nVidia site.
/var/lib/nvidia
REMEMBER:
you will need to set other lnk files well in folders such as:
/usr/lib, /usr/lib32 (make soft links of those files in from these folders)
something like this: "#ln -sf libnvidia-opencl.so.1 libnvidia-opencl.so.304.88" , you need to make sure the 304.88 is a geninue one.
******
Then my KDE came back to me.
It's because it's a little bit too unstable when using nVidia's 304 series drivers.
That's the reason I put my PC down for serveral hours . :(
Now I sucessfully upgrade the driver to the lasted which is very neat.
Hope no more screen zoggling...
linux nVidia driver 304 319 . installation by hand的更多相关文章
- 【linux基础err】NVIDIA-SMI has failed because it could't communicate with the NVIDIA driver.
问题 安装nvidia driver和cuda关机重启之后出现不能进入系统的问题,进入命令行模式使用nvidia-smi检查驱动的问题. nvidia-smi NVIDIA-SMI has faile ...
- Cleaning up old NVIDIA driver files
原文地址:https://www.gameplayinside.com/optimize/cleaning-up-old-nvidia-driver-files-to-save-disk-space/ ...
- Install Nvidia driver 367.18 or later
Install Nvidia driver 367.18 or later from ppa:graphics-drivers/ppa as follows: sudo add-apt-reposit ...
- linux device driver —— 环形缓冲区的实现
还是没有接触到怎么控制硬件,但是在书里看到了一个挺巧妙的环形缓冲区实现. 此环形缓冲区实际为一个大小为bufsize的一维数组,有一个rp的读指针,一个wp的写指针. 在数据满时写进程会等待读进程读取 ...
- nvidia-smi failed because it couldn't communicate with the nvidia driver
Ubuntu装好CUDA之后过段时间提示NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. NV ...
- hacking a friend's Linux buzzer driver in OK335xS
/**************************************************************************** * hacking a friend's L ...
- Linux Device Driver 学习(1)
Linux Device Driver 学习(1) 一.搭建虚拟机开发环境 1.选择虚拟机VirtualBox,官网下载.deb包安装: VirtualBox Linux 5.1.6 下载fedora ...
- Ubuntu 18.04 nvidia driver 390.48 安装 TensorFlow 1.12.0 和 PyTorch 1.0.0 详细教程
最近要在个人台式机上搭建TensorFlow和PyTorch运行环境,期间遇到了一些问题.这里就把解决的过程记录下来,同时也可以作为安装上述环境的过程记录. 如果没有遇到类似的问题,想直接从零安装上述 ...
- Program for Linux USB-devices driver step by step (ONE)
Program for Linux USB-devices driver 開始啃硬骨头~ 这里我打算一步步给出USB device driver 的demo.希望有心能可以共同交流学习. 希望认识很多 ...
随机推荐
- IE6下jquery ajax报error的原因
用jquery ajax()方法,在其他浏览都通过,IE7以上都通过,唯独在ie6不行. 我这边的解决方案是:必须保证ajax里面的所有数字为小写,ie6对大小写敏感. 错误: $.ajax({ ur ...
- 【POJ3037】Skiing 最短路
题意: 有个n*m的滑雪场,bessie要从(1,1)滑到(n,m),问最小时间. 起始有一个速度v,然后每从一个点A到一个点B(仅仅能上下左右走,每次一格),速度就会乘上2^(权值A-权值B). 然 ...
- 轻量级IOC框架Guice
java轻量级IOC框架Guice Guice是由Google大牛Bob lee开发的一款绝对轻量级的java IoC容器.其优势在于: 速度快,号称比spring快100倍. 无外部配置(如需要使用 ...
- 关于Office 中的墨迹功能(可作word电子签名)
原文 关于Office 中的墨迹功能 通过使用 Microsoft Office 2003 中的墨迹功能,可使用 Tablet PC 和 Tablet 笔将手写笔记插入到 Microsoft Offi ...
- Upload无刷新上传控件
Upload无刷新上传控件 最近在做一个web开发项目 ,用到upload上传控件 ,由于c#提供的控件局限性太大 ,所以就自己从国外大牛 手里借鉴一下. 该控件可以判断上传的文件是否已存在 ,减少了 ...
- GDI+ 摘要: 保存图像文件
要保存图像文件,必须先获得图像的编码格式信息.可是GDI+没有直接提供这个函数:GetEncoderClsid(const WCHAR* format, CLSID* pClsid) 因此须要我们自己 ...
- solr的配置文件及其含义
solr与.net系列课程(二)solr的配置文件及其含义 solr与.net系列课程(二)solr的配置文件及其含义 本节内容还是不会涉及到.net与数据库的内容,但是不要着急,这都是学时s ...
- 18. Scrum敏捷软件开发
1)柯维定律 2)如何组件敏捷团队? 团队5~9个人,Mike带过最多的是14个人.个人建议,别超过10个.否则沟通的成本直线上升.(团队的午餐,两个匹萨就够了). 引入特性团队(针对于传统的组件 ...
- 【工作笔记四】去掉a标签超链接的虚线框的方法
a{ blr:expression(this.onFocus=this.blur()); /* IE Opera */ outline:none; /* FF Opera */ } a:focus{ ...
- Windows Live Writer 完成开源并推出开源分支
原文:Announcing Open Live Writer - An Open Source Fork of Windows Live Writer Windows Live Writer是一款发布 ...