Performance Tips — The Mesa 3D Graphics Library latest documentation

# Performance Tips

## Intel GPUs

1. Keep the system updated with the latest kernel and Mesa versions.

2. Ensure SoC firmware is up-to-date. These firmware updates currently require installing the Windows graphics driver; firmware updates via fwupd are in progress.

3. Use Wayland where possible, as it supports additional modifiers for better performance.

4. For MTL and newer integrated GPUs, disable VT-d if virtualization is not needed.

5. For discrete GPUs:

   1. Enable ReBAR

   2. For workloads that keep the GPU busy (e.g. 3D videogames), minimize idle power consumption by enabling ASPM powersave mode.

   3. For “bursty”, latency-sensitive workloads (e.g. AI inference), enable ASPM performance mode.

   4. Enable the ‘performance’ cpufreq governor.