Sorry, you need to enable JavaScript to visit this website.

old kernel driver still used after update tool

4 posts / 0 new
Alex Lysikov's picture
Alex Lysikov

Nov 21, 2017 - 01:37am

  • Hi,

    alex@ubuntu:~$ modinfo i915
    filename:       /lib/modules/4.4.0-87-generic/kernel/drivers/gpu/drm/i915/i915.ko
    license:        GPL and additional rights
    description:    Intel Graphics
    author:         Intel Corporation
    author:         Tungsten Graphics, Inc.
    firmware:       i915/bxt_dmc_ver1.bin
    firmware:       i915/skl_dmc_ver1.bin
    firmware:       i915/skl_guc_ver4.bin

    ~$ sudo lshw -c video
           description: VGA compatible controller
           product: 82852/855GM Integrated Graphics Device
           vendor: Intel Corporation
           physical id: 2
           bus info: pci@0000:00:02.0
           version: 02
           width: 32 bits
           clock: 33MHz
           capabilities: pm vga_controller bus_master cap_list rom
           configuration: driver=i915 latency=0
           resources: irq:11 memory:e8000000-efffffff memory:e0000000-e007ffff ioport:1800(size=8)
      *-display:1 UNCLAIMED
           description: Display controller
           product: 82852/855GM Integrated Graphics Device
           vendor: Intel Corporation
           physical id: 2.1
           bus info: pci@0000:00:02.1
           version: 02
           width: 32 bits
           clock: 33MHz
           capabilities: pm cap_list
           configuration: latency=0
           resources: memory:f0000000-f7ffffff memory:e0080000-e00fffff

    Linux ubuntu 4.4.0-87-generic

    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 16.04.3 LTS
    Release:        16.04
    Codename:       xenial


    Update tool 2.0.2 I ran total two times and reboot.

    Thank you

    Nov 21, 2017 - 01:37am
  • Hi, very strange. I have removed all packages as described here:, then intel-graphics-update-tool itself.

    Then install it again with gdebi as recommended:

    sudo gdebi intel-graphics-update-tool_2.0.2_i386.deb

    List of packages got from present in my system after finally launch sudo intel-graphics-update-tool:

    ~$ dpkg-query -f '${binary:Package}\n' -W | while read pkg; do apt-cache madison $pkg | head -n 1; done | grep -F
    i915-4.6.3-4.4.0-dkms |          1 | xenial/main i386 Packages
    i965-va-driver | 1.7.1-0intel1
    intel-gpu-tools | 1.15-1intel1
    intel-graphics-update-tool |      2.0.2
    libcairo-gobject2, libcairo2, libva-drm1, libva-egl1, libva-glx1, libva-tpi1, libva-wayland1, libva-x11-1, libva1, va-driver-all, vainfo

    But still using original ubuntu driver as it seems:

    ~$ modinfo i915 | head -n 1
    ~$ lspci -kvnn | grep -i -E 'vga|i915'
    00:02.0 VGA compatible controller [0300]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02) (prog-if 00 [VGA controller])
        Kernel driver in use: i915
        Kernel modules: i915, intelfb
        Kernel modules: i915

    No fails / warns in var/tmp/intel*.log except this one at the end:

    ~$ cat intel*1095.log | grep -i -e 'error' -e 'fail' -e 'warn'
    diagnostics warning flags: 00
    Error opening log file: Error opening file '/var/tmp/intel-graphics-update-tool-1095.log': File exists

    Last lines of intel-graphics-update-tool-1095.log:

    src/main-window.c/on_transaction_finished: Package transaction finished successfully
    Error opening log file: Error opening file '/var/tmp/intel-graphics-update-tool-1095.log': File exists
    org.freedesktop.login1.Manager::Reboot → ()
    Dec 05, 2017 - 09:23am



    Hello Alex,


    It seems that your system has the latest version since de Update tool is trying to install  1.7.0 and your system has 1.7.1 already on the driver.





    Jan 12, 2018 - 12:17pm
  • Hi Elio,

    It showed 1.7.1 for i965-va-driver, not for i915

    So finally I found this file: /var/lib/dkms/i915-4.6.3-4.4.0/1/4.4.0-87-generic/i686/log/make.log, which have errors:

    /var/lib/dkms/i915-4.6.3-4.4.0/1/build/drivers/gpu/drm/i915/intel_audio.c: In function ‘intel_audio_codec_enable’:
    /var/lib/dkms/i915-4.6.3-4.4.0/1/build/drivers/gpu/drm/i915/intel_audio.c:532:3: error: too few arguments to function ‘acomp->audio_ops->pin_eld_notify’
       acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, (int) port);

    So I simple commented these lines :)

    //if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify)
       //acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, (int) port);

    Then recompiled kernels with dkms I found there.

    Now modinfo i915 shows proper new location:

    filename:       /lib/modules/4.4.0-87-generic/updates/dkms/i915.ko
    license:        GPL and additional rights
    description:    Intel Graphics
    author:         Intel Corporation
    author:         Tungsten Graphics, Inc.
    firmware:       i915/bxt_dmc_ver1.bin
    firmware:       i915/skl_dmc_ver1.bin
    firmware:       i915/skl_guc_ver4.bin
    srcversion:     B82F57259792CAE70F210F3
    alias:          pci:v00008086d0000593Bsv*sd*bc03sc*i*

    Is any tweaks for this driver to specify color depth, or any perfomance related settings?

    I trying to setup simple web-browsing 'terminal' from old notebook. I installed Ubuntu server minimal as possible, then x-windows packages, Awesome as windows manager.


    Jan 15, 2018 - 07:22am
  • Mmm.. good question, honestly the only thing that i have on mind right now should be firmwares as DMC, GuC and HuC in order to increase performance in your GPU execution units, please go to the download section and check if your system is candidate to this firmware. Thanks for your comments!

    Jan 22, 2018 - 06:12am