一般Ubuntu都默认包含了Intel显卡的驱动,如果没有,那么先确定是不是显卡太高,比如I7第7代的CPU核显在Ubuntu 16.04中是没有的,导致画面会很卡,原因是Linux 4.4内核不包含Intel HD Graphics 630驱动,解决方法只能是在Ubuntu 16.04中升级Linux内核为4.7的。

以下是两种解决方法:

一、一般Intel显卡驱动安装及升级

下载intel-graphics-update-tool进行安装,中途会出现依赖问题:

  1. wget https://download.01.org/gfx/ubuntu/16.04/main/pool/main/i/intel-graphics-update-tool/intel-graphics-update-tool_2.0.2_amd64.deb
  2. sudo dpkg -i intel-graphics-update-tool_2.0.2_amd64.deb
  3. sudo intel-graphics-update-tool
  4. sudo apt-get install -f
  5. sudo intel-graphics-update-tool
  6. wget $(echo "https://download".01.org/gfx/RPM-GPG-GROUP-KEY-ilg) -O - | sudo apt-key add -
  7. sudo apt-get update

然后运行sudo intel-graphics-update-tool会出现如下错误提示:

  1. W:GPG error: https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56A3DEF863961D39, W:The repository 'https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:There is no public key available for the following key IDs:
  2. 56A3DEF863961D39 , E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi', E:Sub-process returned an error code

解决方法是添加两个签名:

  1. wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg -O - | sudo apt-key add -
  2. wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-4 -O - | sudo apt-key add -

然后运行sudo intel-graphics-update-tool会出现如下错误提示:

  1. W:https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1), E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi', E:Sub-process returned an error code

解决方法:

  1. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 09D6EF97BFB38E916EF060E756A3DEF863961D39
  2. sudo apt-get update
  3. sudo pkill -KILL appstreamcli
  4. wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb
  5. sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb
  6. sudo apt-get update

然后运行sudo intel-graphics-update-tool会出现如下错误提示:

  1. Error running transaction: GDBus.Error:org.debian.apt.TransactionFailed: error-dep-resolution-failed: The following packages have unmet dependencies:
  2.  
  3. libgles1-mesa: Depends: libglapi-mesa (= 12.0.6-0ubuntu0.16.04.1) but 17.0.7-0ubuntu0.16.04.1 is to be installed
  4.  
  5. The following packages have unmet dependencies:
  6.  
  7. libgles1-mesa: Depends: libglapi-mesa (= 12.0.6-0ubuntu0.16.04.1) but 17.0.7-0ubuntu0.16.04.1 is to be installed

解决方法:

  1. sudo add-apt-repository ppa:paulo-miguel-dias/pkppa && sudo apt-get update

然后运行sudo intel-graphics-update-tool后基本正常安装了。

但是以上方式即使全部安装之后都不能解决Intel HD Graphics 630显卡的驱动。

参考:

https://www.vivaolinux.com.br/topico/UbuntuBR/ERRO-NO-APT-GET-UPDATE-11

http://www.cnblogs.com/EasonJim/p/7343892.html

https://askubuntu.com/questions/943647/intel-graphic-installer-2-0-2-fails-on-fresh-ubuntu-16-04

https://01.org/linuxgraphics/forum/graphics-installer-discussions/new-ubuntu-16.04-packages-use-unknown-key-again?page=1

二、解决Intel HD Graphics 630显卡驱动问题

升级4.7的内核,步骤如下:

下载脚本:

  1. https://software.intel.com/en-us/forums/opencl/topic/738108

使用:

  1. mv install_OCL_driver.txt install_OCL_driver.sh
  2. chmod 755 install_OCL_driver.sh
  3. sudo su
  4. ./install_OCL_driver.sh install

完成后的提示信息:

  1. ...
  2. Installation completed successfully.
  3.  
  4. Next steps:
  5. 1. Add OpenCL users to the video group: 'sudo usermod -a -G video USERNAME'
  6. e.g. if the user running OpenCL host applications is foo, run: sudo usermod -a -G video foo
  7.  
  8. 2. If you have Intel Pentium J4000 or Intel Celeron J3000, you will need to add:
  9. i915.preliminary_hw_support=1
  10. to the 4.7 kernel command line, in order to enable OpenCL functionality for these platforms.
  11.  
  12. 3. Reboot into the patched 4.7 kernel
  13.  
  14. HINT: to boot into the 4.7 kernel do the following:
  15. 1) Hold the "shift" button during boot
  16. 2) When the GRUB menu appears, select "Advanced options for Ubuntu"
  17. 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

Ubuntu 16.04安装Intel显卡驱动(解决Intel HD Graphics 630显卡驱动问题)的更多相关文章

  1. Ubuntu 16.04 安装 VMware Tools(解决windows和Ubuntu之间不能互相复制粘贴文件的问题)

    Ubuntu 16.04安装虚拟工具VMware Tools,指的是在虚拟机VMWare安装Ubuntu 16.04后再安装VMware Tools的过程.很多人接触Linux都是从虚拟机开始,而安装 ...

  2. Ubuntu 16.04 安装 CUDA10.1 (解决循环登陆的问题)

    0. 前言 这里直接用 cuda安装文件同时安装 NVIDIA 驱动和 CUDA,没有单独安装更高版本的 NVIDIA 驱动: 此安装是在 Intel 集显下的图形化界面,即用集显做 display, ...

  3. Ubuntu 16.04 安装显卡驱动后循环登录和无法设置分辨率的一种解决方案

    1. 安装环境 电脑:MSI GP63 显卡:GeForce GTX 1070 系统:Ubuntu 16.04 驱动版本:NVIDIA 384.130 2. 循环登录 如果按照这篇文章 Ubuntu ...

  4. 【科研民工笔记2】Ubuntu 16.04 安装nvidia驱动

    我的主机是2060的显卡,用的是安装在U盘中的Ubuntu,开机进入后,因为没有安装驱动,所以界面看以来比较大. 通过手动方式,成功安装驱动,最终成功的方案使用的是run文件安装的方式. 1.手动下载 ...

  5. Ubuntu 16.04安装cuda7.5 GCC

    http://www.linuxidc.com/Linux/2017-01/139320.htm 在介绍Ubuntu 16.04安装 CUDA7.5开始前,先辨析几个概念GPU.NVIDIA.NVID ...

  6. ubuntu 16.04 安装 tensorflow-gpu 包括 CUDA ,CUDNN,CONDA

    ubuntu 16.04 安装 tensorflow-gpu 包括 CUDA ,CUDNN,CONDA 显卡驱动装好了,如图: 英文原文链接: https://github.com/williamFa ...

  7. Ubuntu 16.04安装QQ国际版图文详细教程

            因工作需要,我安装了Ubuntu 16.04,但是工作上的很多事情需要QQ联系,然而在Ubuntu上的WebQQ很是不好用,于是在网上搜索了好多个Linux版本的QQ,然而不是功能不全 ...

  8. Ubuntu 16.04 安装Mysql 5.7 踩坑小记

    title:Ubuntu 16.04 安装Mysql 5.7 踩坑小记 date: 2018.02.03 安装mysql sudo apt-get install mysql-server mysql ...

  9. Ubuntu 16.04安装JDK(转载)

    1.简单的安装方法 安装JDK的最简单方法应该就是使用apt-get来安装了,但是源一般是OpenJDK,如果需要安装Oracle的JDK这种方法就不合适了,直接跳过看下面的章节. 1.使用ctrl+ ...

随机推荐

  1. php防止页面刷新代码

    //代理IP直接退出 empty($_SERVER['HTTP_VIA']) or exit('Access Denied'); //防止快速刷新 session_start(); $seconds ...

  2. Python学习 Day 4 函数 切片 迭代 列表生成式 生成器

    定义函数 def my_abs(x):#求绝对值的my_abs函数 if x >= 0: return x else: return –x def nop():#空函数 pass#占位符 参数检 ...

  3. windows上把git生成的ssh key

    右键鼠标,选中 “Git Bash here”: 输入指令,创建ssh key: cd ~/.ssh/ #bash: cd: /c/Users/Administrator/.ssh/: No such ...

  4. jQuery 点击查看 收起

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  5. CREATE LANGUAGE - 定义一种新的过程语言

    SYNOPSIS CREATE [ TRUSTED ] [ PROCEDURAL ] LANGUAGE name HANDLER call_handler [ VALIDATOR valfunctio ...

  6. CREATE CAST - 定义一个用户定义的转换

    SYNOPSIS CREATE CAST (sourcetype AS targettype) WITH FUNCTION funcname (argtype) [ AS ASSIGNMENT | A ...

  7. charset - 设置 G0/G1 字符集槽中的一个的 ACM

    总览 (SYNOPSIS) charset [-v] G0|G1 [cp437|iso01|vt100|user|<acm_name>] 描述 (DESCRIPTION) linux 终端 ...

  8. 【C语言】控制台窗口图形界面编程(四):文本输出

    目录 00. 目录 01. FillConsoleOutputAttribute函数 02. FillConsoleOutputCharacter函数 03. WriteConsoleOutputCh ...

  9. forEach的使用方法

    [-] 1  js 数组循环遍历 2  forEach 函数 3  让IE兼容forEach方法 4 如何跳出循环   1.  js 数组循环遍历. 数组循环变量,最先想到的就是 for(var i= ...

  10. POJ 1637 Sightseeing tour 建图+网络流

    题意: 给定一个混合图,所谓混合图就是图中既有单向边也有双向边,现在求这样的图是否存在欧拉回路. 分析: 存在欧拉回路的有向图,必须满足[入度==出度],现在,有些边已经被定向,所以我们直接记录度数即 ...