2 Replies Latest reply on Jul 3, 2018 12:05 PM by Intel Corporation

    How to install Fedora-28 on Hades Canyon NUC

    parasense

      Hey gang!

       

      Installing Fedora-28 Linux onto the HNK or HVK is relatively trivial.

      Currently the Hades Canyon NUCs are not well supported, but with some minimal effort can be made to work.

      The main issue is the Kaby Lake-G processors are not known to Linux, until future version 4.18 kernel.

       

      The first step is to install Fedora 28, which as of this writing is the latest release.

      The trick is to install Fedora using the "basic graphics" mode of the installer.

      This uses software rendering instead of an accelerated driver.

       

      Next update Fedora to the latest packages.

      sudo dnf update

       

      This should get you the latest version of kernel & mesa, but we still need the Linus Torvalds mainline kernel.

      So go ahead and install the RAWHIDE kernel (as of this writing 4.18-rc2).

      sudo dnf install fedora-repos-rawhide

      sudo dnf --disablerepo=* --enablerepo=rawhide install kernel

       

      At this point you have basic support for the Vega-M gpu, but you still need the firmware binaries.

      So download the binaries from the AMD employee working on Linux support, Alex Deucher:

      (these will eventually land in the kernel-firmware repos)

      wget -P /lib/firmare/amdgpu -i - <<EOF

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_ce.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_me.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_mec.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_mec.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_pfp.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_rlc.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_sdma.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_sdma1.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_smc.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_uvd.bin

      https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_vce.bin

      EOF

       

      At this point your almost there!

      Go ahead and remove any "nomodeset" parameters from your grub kernel boot configs, as they will block the AMDGPU driver from working.

      sed -i -e 's|\(linuxefi .*\) nomodeset \(.*\)|\1 \2|g' /boot/efi/EFI/fedora/grub.cfg

       

      At this point you can reboot and accelerated graphics will "just work".

      However, I recommend one last "optional" step to disabled Wayland.

      There is a fundamental design flaw with Gnome3 with Wayland, described here:

      https://wiki.gnome.org/Initiatives/Wayland/GnomeShell/GnomeShell4

       

      So go ahead and just disabled Wayland, especially if you will be running multiple displays at high resolution.

      Otherwise your experience will be laggy and stutters of the mouse...

      sed -i -e 's|#\(WaylandEnable=false\)|\1|' \

             -e '/WaylandEnable=false/a DefaultSession=gnome-xorg.desktop' \

             /etc/gdm/custom.conf

       

       

      That's it!

      You should have a working Linux setup by now. Congrats!