Loki Update/Build Kernel & Enable HD530 & HD630 GPU

Discussion in 'Tutorials' started by IO-Node, Feb 12, 2017.

  1. IO-Node

    IO-Node Thread Starter
    Expand Collapse
    Member

    Joined:
    Feb 11, 2017
    Messages:
    7
    Likes Received:
    2
    Updating Kernel

    This should be done on a fresh install.

    If you depend on VirtualBox or other things that install Modules you will need to build your kernel from scratch, this process is described in the second post.

    This Kernel is fine for standard use, but pre-built kernels will render you unable to use VirtualBox/VMWare.


    Headers: http://kernel.ubuntu.com/~kernel-pp...1000rc7_4.10.0-041000rc7.201702051931_all.deb

    Kernel Image: http://kernel.ubuntu.com/~kernel-pp...neric_4.10.0-041000rc7.201702051931_amd64.deb

    Open terminal and issue:

    sudo dpkg -i linux-headers-4.10.0-041000rc7_4.10.0-041000rc7.201702051931_all.deb

    This will allow the headers to be installed

    Next issue:

    sudo dpkg -i linux-image-4.10.0-041000rc7-generic_4.10.0-041000rc7.201702051931_amd64.deb

    Restart your PC.

    HD 530/630 iGPU fix

    To determine if you need to apply this patch, download VLC and try to play any video in it.

    If it does not resize/work correctly, you need this patch.

    Open terminal and issue:

    cd /tmp

    wget https://github.com/linuxenko/ubuntu-skylake-i915-video-fix/releases/download/v1/20-intel.conf

    sudo cp 20-intel.conf /usr/share/X11/xorg.conf.d/20-intel.conf

    After restart your PC.

    Closing notes

    Why does this matter?

    Newer Kernels have better support for newer HW, fixes for older HW and will make the user-experience much better in general.

    Any kernel suggested here has been tested under Kabylake Hardware and functions as expected.
     
    #1 IO-Node, Feb 12, 2017
    Last edited: Feb 23, 2017
  2. IO-Node

    IO-Node Thread Starter
    Expand Collapse
    Member

    Joined:
    Feb 11, 2017
    Messages:
    7
    Likes Received:
    2
    Under construction.

    Building a Kernel manually

    First a few dependencies need to be satisfied:

    Issue to terminal:
    sudo apt-get install libncurses5-dev libncursesw5-dev libssl-dev gcc-5-plugin-dev

    Next we'll download the latest LTS(Longterm) kernel which can be found at:
    www.kernel.org

    Unpacking the kernel

    Issue the following in the directory you've downloaded the .tar file to.

    Make sure the directory this is contained in has no spaces in any folder name; this actually renders eOS unable to compile.

    Tar -xvf tarname
    "Unpacks the TAR into a folder."

    The following commands are issued with the terminal open inside of the folder that was just unpacked.

    make menuconfig
    "This command probably has nothing interesting for the end-user whatsoever and can be ignored; but it should be looked at for the learning experience?"

    make
    "Prepare to wait a very, very long time. (1+ hour) this is not as quick as an install from a .deb package."

    sudo make modules_install
    "Will require elevated privileges..But this will be fast"

    sudo make install
    "More waiting..."

    sudo update-grub
    "Now Reboot."

    Benefits to building your own Kernel?
    Building your own Kernel allows for a very exact and personalized build; additionally if something is broken system-side the build will not allow you to proceed until resolved.

    This is very useful; the pre-built kernels provided by Ubuntu are often not enough in regard to module support, etc.

    Building a Kernel resolves module problems that prevent people from for example, running Virtualbox.

    If possible, always build.
     
    #2 IO-Node, Feb 23, 2017
    Last edited: Mar 16, 2017
    josk likes this.

Share This Page

Loading...