Installing Intel graphics driver in Ubuntu 16.04

97,689

Solution 1

Update 30 Aug, 2016: Latest drivers from Intel are now available

Default installation Ubuntu 16.04 should work somehow fine. Intel drivers are included in the default installation of Ubuntu 16.04 with Linux 4.2 kernel, and you the hardware acceleration works in VLC if you choose "XCB" output. But this is not the latest drivers from Intel. Here we read:

  • u16.04 already contains the latest intel driver that has passed full QA
  • There is no point in installing the u15.10 updates on u16.04 - even if you succeeded it would be a downgrade

Recent update:

Recently, Intel released Intel Graphics Update Tool 2.0.2 which supports Ubuntu 16.04. Download it from here:

https://01.org/linuxgraphics/downloads/intel-graphics-update-tool-linux-os-v2.0.2

Intel Graphics Update Tool

Solution 2

I had the same problem. I have solved it by install intel driver like below (i think it's a part of the solution ;-) ) AND chose the GLX video output in VLC setting.

Solution 3

I temporarily replaced the contents of /etc/lsb-release with:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"

In this way "Graphics Installer 1.4.0 for Ubuntu* 15.10, 32-bit" was installed.

Before reboot I restored the original contents of /etc/lsb-release. Drivers work fine.

Share:
97,689

Related videos on Youtube

Ho1
Author by

Ho1

Updated on September 18, 2022

Comments

  • Ho1
    Ho1 over 1 year

    I have a dual Intel 6th gen./AMD Radeon HD graphics, and I have recently upgraded to Ubuntu 16.04 LTS. I was prviously on Ubuntu 14.04, using Intel graphics driver in Ubuntu 16.04, installed from here:

    https://download.01.org/gfx/ubuntu/14.04/

    Video acceleration worked just fine in VLC in 14.04. But, now I have several issues with video acceleration, including the inability to scale the video. So, I want to use graphics drivers provided by Intel, but unfortuanately there is no prebuilt packages for 16.04 in 01.org repositories. What should I do?

    Another issue is that I no longer see propertiary drivers in "additional drivers" section of the "software and updates" utility. Is it because I am using newer kernels? Previously I could be able to see AMD propertiary drivers, and install it if I wanted, which I once did for testing, and then returned to Intel graphics.

    PS: In the list provided here, I have a Gen6 Intel GPU. I have installed the 15.04 binaries, and this is the output from vainfo:

    $ vainfo 
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 0.39 (libva 1.7.0)
    vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 1.7.0
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
          VAProfileH264Main               : VAEntrypointVLD
          VAProfileH264Main               : VAEntrypointEncSlice
          VAProfileH264High               : VAEntrypointVLD
          VAProfileH264High               : VAEntrypointEncSlice
          VAProfileH264StereoHigh         : VAEntrypointVLD
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          VAProfileNone                   : VAEntrypointVideoProc
    

    PS2: The problems with VAAPI support on Intel drivers seem to be widespread. For example, see these:

    https://github.com/mpv-player/mpv/issues/941

    https://steamcommunity.com/groups/homestream/discussions/1/616199736997712785/

    • dobey
      dobey about 8 years
      There is no such thing as a proprietary driver for the Intel graphics. 16.04 already comes with the Intel drivers installed by default. To install the intel-microcode package, you need to have the Partner (aka restricted) archive enabled. If your chip doesn't support VAAPI, then it never did.
    • dobey
      dobey about 8 years
    • Sergey Sergeyev
      Sergey Sergeyev about 8 years
      As for AMD GPU: no support of proprietary driver in 16.04 (at least at the moment)
    • Ho1
      Ho1 about 8 years
      @dobey I didn't say that I was using propertiary drivers for Intel graphics, I just said that I was using the drivers provided by Intel. And it is not a duplicate, because the mentioned question is old, and is not concerned with 16.04. If you know how can I find the code for the latest drivers to compile and install, please help.
    • Ho1
      Ho1 about 8 years
      @dobey No, chip doesn't support VAAPI, but the driver/libraries do or do not. Chip provides the acceleration for certain codecs. Intel® HD Graphics is VAAPI compatibe, and provides the acceleration for the codes I use including H.264: 01.org/linuxgraphics/community/vaapi I've added the output from vainfo command.
    • sturlabragason
      sturlabragason about 8 years
      Somewhat related to this matter: omgubuntu.co.uk/2016/03/… Meaning you can currently only use the drivers provided by 16.04.
    • Ho1
      Ho1 about 8 years
      @DrA7 Thanks for the link. I don't know why this 16.04 specific problem is marked as a duplicate of a 3 years old topic.
    • dobey
      dobey about 8 years
      @Ho1 The duplicate is appropriate because you're asking where to get Intel drivers, and as the answer on the other question states, they are already included. You seem to be confused about which Intel graphics you actually have, as well. You say Gen2, but then you paste vainfo output which claims you have Sandy Bridge, which would not be Gen2. Perhaps you could specify what exact CPU you have, and include the output of lspci | grep -i vga in your question. And if you're not asking how to install the Intel drivers, then perhaps edit your question to be a different question.
  • Ho1
    Ho1 about 8 years
    Thanks for the answer. Could you be able to play a video with VLC with hardware acceleration enabled?
  • ComBin
    ComBin about 8 years
    Yep. I tried run 2K video in VLN with hardware acceleration, works fine.
  • Ho1
    Ho1 about 8 years
    I'm currently using the same output, but does XCB output use hardware acceleration?
  • Roshana Pitigala
    Roshana Pitigala almost 6 years
    the link is broken
  • Ho1
    Ho1 over 4 years