Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JDisn
Beginner
1,367 Views

How to install Fedora-28 on Hades Canyon NUC

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.

https://docs-old.fedoraproject.org/en-US/Fedora/20/html/Installation_Guide/ch10s02.html 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</code>

https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_ce.bin 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_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_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_pfp.bin

https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_rlc.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_sdma.bin

https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_sdma1.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_smc.bin

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

https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/vegam_vce.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 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!

0 Kudos
2 Replies
JDisn
Beginner
146 Views

Full disclosure.

I am employed by Red Hat, the primary benefactor of Fedora.

However, these remarks are my own, and not of my employer.

idata
Community Manager
146 Views

Hello parasense,

 

 

I understand that you are providing us with instructions on how to install Fedora-28 onto the NUC8i7HVK and NUC8i7HNK.

 

 

I really appreciate the time you have taken to provide us with this feedback and hope that other community members with problems on the installation find this thread, so that the instructions you have provided, help them to complete the installation.

 

 

Again, I thank you for your feedback and information provided.

 

 

 

Regards,

 

David V
Reply