intel-gpu / documentation

8 stars 1 forks source link

Feedback on "devices/iris-xe-max-graphics/index.html" #8

Open tcojean opened 3 years ago

tcojean commented 3 years ago

Thanks for this guide!

There are two small issues with the current state of Ubuntu 20.04.

linux-oem-20.04 has a lower version than the generic kernel

When installing the kernel linux-oem-20.04, rebooting will not boot with the OEM kernel because it has an older version than the current kernel, which is 5.8.0.45:

 linux-oem-20.04/focal-updates,focal-security,now 5.6.0.1050.46 amd64 [installed]
  Complete OEM Linux kernel and headers

linux-oem-20.04-edge/focal-updates,focal-security 5.10.0.1017.18 amd64
  Complete OEM Linux kernel and headers (dummy transitional package)

linux-oem-20.04b/focal-updates,focal-security,now 5.10.0.1017.18 amd64 [installed]
  Complete OEM Linux kernel and headers
$ sudo apt list --installed | grep 5.8.0
linux-generic-hwe-20.04/focal-updates,focal-security,now 5.8.0.45.51~20.04.31 amd64 [installed]
linux-headers-5.8.0-45-generic/focal-updates,focal-security,now 5.8.0-45.51~20.04.1 amd64 [installed,automatic]
linux-headers-generic-hwe-20.04/focal-updates,focal-security,now 5.8.0.45.51~20.04.31 amd64 [installed,automatic]
linux-hwe-5.8-headers-5.8.0-45/focal-updates,focal-updates,focal-security,focal-security,now 5.8.0-45.51~20.04.1 all [installed,automatic]
linux-image-5.8.0-45-generic/focal-updates,focal-security,now 5.8.0-45.51~20.04.1+1 amd64 [installed,automatic]
linux-image-generic-hwe-20.04/focal-updates,focal-security,now 5.8.0.45.51~20.04.31 amd64 [installed,automatic]
linux-modules-5.8.0-45-generic/focal-updates,focal-security,now 5.8.0-45.51~20.04.1 amd64 [installed,automatic]
linux-modules-extra-5.8.0-45-generic/focal-updates,focal-security,now 5.8.0-45.51~20.04.1 amd64 [installed,automatic]

There are two potential ways to fix this issue:

  1. Install the new linux-oem-20.04b instead of linux-oem-20.04, which has a newer version.
  2. set GRUB_DEFAULT in /etc/default/grub?

Small issue in the kernel configuration for newer kernels

The issue is detailed here: https://github.com/intel-gpu/kernel/issues/3

To summarize, the newer kernels configuration file (both generic and OEM) seem to have a hardcoded certificate path which isn't present in the repository https://github.com/intel-gpu/kernel.

ketrintel commented 3 years ago

Thank you for reporting -- both the issue, and the work arounds you found.

The HWE kernel that is part of 20.04.2 might provide the needed support for the host, which would let us remove the step to install the linux-oem-20.04 kernel; the default kernel in 20.04.1 didn't have the needed support.

We'll work to get the guide updated.