Intel linux graphics firmware

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

intel-gpu / kernel Public archive

License

intel-gpu/kernel

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.

Building the kernel for the Intel(R) Iris(R) Xe MAX Graphics

The latest kernel driver for the Intel Iris Xe MAX graphics adapter is available in source form in the intel-gpu/kernel project on GitHub.

Читайте также:  Starting linux from windows

This guide provides instructions for downloading, building, and installing the kernel source as well as required firmware files. The instructions are written for Ubuntu 20.04, and should be adaptable to other operating systems to build a Linux* kernel using the sources published.

NOTE: The kernel you build while following the instructions on this page is not recommended for use as the primary kernel in systems configured with both an Intel Iris Xe graphics adapter and an Intel Iris Xe MAX graphics adapter. On those systems, we recommend you follow the instructions provided on this guide, which uses a different kernel for each of the two adapters. If you try and boot the kernel built on this page directly on a system with the Intel Iris Xe graphics adapter, the system may lock up during boot.

Install packages necessary for building the Linux kernel from source:

sudo apt install build-essential git gcc bison flex libssl-dev bc cpio \ openssl lz4

Download the kernel source and build it

The following will download the kernel sources from GitHub, configure it, and compile it in the $/kernel-xe-max directory.

cd $ git clone --branch=main --depth=1 \ https://github.com/intel-gpu/kernel \ kernel-xe-max cd kernel-xe-max cp /boot/config-$(uname -r) .config make olddefconfig make -j $(nproc --all) targz-pkg LOCALVERSION="-xe-max"

At the end of the build, a tarball will be ready in $/kernel-xe-max:

Install the Xe MAX firmware

Prior to installing the custom kernel, you need to install the firmware files required by the Intel Iris Xe MAX graphics adapter. The following will download an archive of the latest firmware files and decompress them into /lib/firmware/i915, where the kernel will look for them while booting:

wget -qO - \ https://repositories.intel.com/graphics/firmware/linux-firmware-dg1_2020.43.tgz | sudo tar -C /lib/firmware/i915 -xvz --warning=no-timestamp

Install the kernel supporting Intel Iris Xe MAX graphics

You can now install the custom kernel. This is done after the firmware files are installed to make sure that the firmware files are available while the initial ramdisk is created during the kernel installation:

mkdir kernel-xe-max-install tar -C kernel-xe-max-install -xzf linux-5.4.48-xe-max-x86.tar.gz sudo cp -r kernel-xe-max-install/lib/modules/5.4.48-xe-max /lib/modules/ sudo /sbin/installkernel \ 5.4.48-xe-max \ kernel-xe-max-install/boot/vmlinuz-5.4.48-xe-max \ kernel-xe-max-install/boot/System.map-5.4.48-xe-max \ /boot

Once the kernel has been installed, you can reboot:

Verify the Intel Iris Xe MAX graphics driver is initialized

Use lspci to verify the Intel Iris Xe MAX graphics driver is initialized by the i915 kernel driver:

lspci -nnk | grep VGA -A 3 | grep -E "VGA|driver"

Output should look similar to the following:

00:03.0 VGA compatible controller [0300]: Intel Corporation Device [8086:4905] (rev 01) Kernel driver in use: i915

Install user space media and compute packages

You now have a kernel with support for the Intel Iris Xe MAX graphics adapter, and can install the latest compute and media packages, as documented in the installation guides.

Configure permissions to access GPU

In order to access GPU capabilities, a user needs to have the correct permissions on the system. The follwing will add the user to the render group owning /dev/dri/render*:

sudo gpasswd -a $ render newgrp render

Verify the kernel is the version you built

This should report ‘Linux 5.4.48-xe-max’:

Verify the graphics platform name

Verify ‘platform: DG1’ is listed in i915_capabilities:

sudo grep "platform:" /sys/kernel/debug/dri/0/i915_capabilities

After you have followed the installation guides to install the user space packages, you can verify that OpenCL driver is working by using clinfo:

sudo apt install clinfo clinfo

After you have followed the installation guides to install the user space packages, you can verify that the media driver is working by using vainfo:

sudo apt install vainfo vainfo

Copyright 2020 by Intel Corporation. All rights reserved.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

intel-gpu/intel-gpu-firmware

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Signed-off-by: S A Muqthyar Ahmed

Git stats

Files

Failed to load latest commit information.

README.md

This repo holds firmware binaries for various GPUs

This firmware is part of a collection of kernel mode drivers that together enable support for Intel graphics. The backports collection within https://github.com/intel-gpu includes:

  • i915 — The main graphics driver (includes a compatible DRM subsystem and dmabuf if necessary).
  • cse — Converged Security Engine
  • pmt — Intel Platform Telemetry
  • firmware — Contains firmware required by i915.

Each project is tagged consistently so when pulling these repos pull the same tag.

Copy all binaries to /lib/firmware/updates/i915/:

sudo mkdir -p /lib/firmware/updates/i915/ sudo cp firmware/*.bin /lib/firmware/updates/i915/ 

Источник

Установка драйвера Intel в Ubuntu

В отличие от драйверов видеокарт от других производителей, таких как Nvidia и AMD, часть драйвера Intel для интегрированных видеокарт встроена в ядро, а другая часть в пакет mesa-utils. Таким образом если вы используете последнюю версию ядра и свежую версию mesa-utils то, скорее всего, вы используете самую свежую версию драйвера Intel.

В этой статье мы рассмотрим как выполняется установка драйвера Intel в Ubuntu если он не установлен по умолчанию, а также как получить самую последнюю версию.

Официальный установщик драйверов Intel

Раньше существовал установщик драйверов от Intel, позволяющий установить последнюю версию драйвера в Ubuntu или Fedora, но потом компания прекратила поддержку этой утилиты. Скачать её можно здесь. Но последняя версия пакета вышла в 2018 году, и с тех пор уже вышло много новых ядер и новых версий дистрибутива Ubuntu. Сейчас в репозиториях Ubuntu версия драйвера более новая чем там.

Установка драйвера Intel в Ubuntu

Вы можете посмотреть какой сейчас драйвер видеокарты используется с помощью команды lspci:

Как видите, в данном примере используется i915, это драйвер видеокарты от Intel. Он работает и ничего больше устанавливать не нужно. Если же в этой строчке находится что-то другое, можно попытаться установить драйвер.

Для установки части драйвера для Xorg и Mesa достаточно установить в систему такие пакеты:

sudo apt install xserver-xorg-video-intel

sudo apt install mesa-utils

Если вы хотите получить самую последнюю версию драйвера можно воспользоваться специальным PPA. Для добавления репозитория в систему выполните:

sudo add-apt-repository ppa:oibaf/graphics-drivers

Затем просто обновите систему и перезагрузите компьютер:

Выводы

Вот и все. Теперь вы знаете как выполняется установка драйвера Intel Ubuntu. В отличие от драйверов для Nvidia, в большинстве случаев здесь всё уже установлено. И вам не надо думать как поддерживать актуальную версию этого драйвера в своей системе. Если у вас остались вопросы, спрашивайте в комментариях!

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Источник

Оцените статью
Adblock
detector