Use at own risk!! I had to use ChatGTP to get it working after a lot of failures. I believe this is what finally ended up working:
Steps to Install Intel GPU Drivers on Ubuntu 24.04 (Noble)
- Add Intel GPU Repository
Update your system and add the Intel GPU repository using the codename jammy (since drivers for noble may not yet be officially released but are often compatible).
sudo apt update
sudo apt install -y gpg-agent wget
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified" | \
sudo tee /etc/apt/sources.list.d/intel-gpu.list
sudo apt update
- Install Required Kernel Modules
Ensure you have the required kernel headers and modules for your Ubuntu 24.04 system:
sudo apt install -y linux-headers-$(uname -r) linux-modules-extra-$(uname -r)
- Install Intel GPU Drivers
Install the necessary packages for Intel GPUs:
sudo apt install -y intel-fw-gpu intel-i915-dkms xpu-smi
- Install Media and Compute Packages
If you need media and compute runtimes (e.g., OpenCL, Level Zero, Vulkan):
sudo apt install -y \
intel-opencl-icd intel-level-zero-gpu level-zero \
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \
mesa-vulkan-drivers
- Test GPU Functionality
Check that your GPU is functioning properly:
Check hardware details:
lspci | grep -i vga
After the above command it should output the following:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]
Install vainfo
sudo apt install vainfo
Verify output of vainfo:
vainfo
Output of vainfo should look something like this:
~$ vainfo
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSliceLP
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointEncSliceLP
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointEncSliceLP
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointEncSliceLP
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
-
Reboot the machine and check dvr settings page under advanced to see if hardware is now available. If not hit the drop down and select scan hardware under transcoder setting.
-
Troubleshooting
If the driver installation fails or you encounter compatibility issues, consult ChatGTP or start over with Ubuntu Server 22.04 or any desktop version comes with HW enabled.
This approach keeps your system on Ubuntu 24.04 while leveraging the available drivers for 22.04 (Jammy), which are often forward-compatible. If Intel officially releases drivers for noble, you can switch to them later.