升级内容有很多好处,比如支持最新硬件驱动,使系统更安装等。但是升级内容也会带来一些问题,比如一些软件的兼容性问题,从而出现一些莫名其妙的问题等,所以升级时要慎重考虑。
升级方法:
下载脚本:
https://software.intel.com/en-us/forums/opencl/topic/738108
使用:
mv install_OCL_driver.txt install_OCL_driver.sh chmod 755 install_OCL_driver.sh sudo su ./install_OCL_driver.sh install
完成后的提示信息:
... Installation completed successfully. Next steps: 1. Add OpenCL users to the video group: 'sudo usermod -a -G video USERNAME' e.g. if the user running OpenCL host applications is foo, run: sudo usermod -a -G video foo 2. If you have Intel Pentium J4000 or Intel Celeron J3000, you will need to add: i915.preliminary_hw_support=1 to the 4.7 kernel command line, in order to enable OpenCL functionality for these platforms. 3. Reboot into the patched 4.7 kernel HINT: to boot into the 4.7 kernel do the following: 1) Hold the "shift" button during boot 2) When the GRUB menu appears, select "Advanced options for Ubuntu" 3) Select the Linux 4.7.0.intel.r5.0 kernel from the list
重启后即可。
如果中途出现APT的错误,参考:http://www.cnblogs.com/EasonJim/p/7343892.html
离线文件:
链接: https://pan.baidu.com/s/1qXW2k5A 密码: 2rj2