Skip to content
Snippets Groups Projects

meson: Add a "prefer_iris" build option

Merged Kenneth Graunke requested to merge kwg/mesa:iris-default-option into master

Enabling this option makes Intel Gen8-11 hardware load the 'iris' driver by default instead of the older 'i965' driver.

Regardless of how this option is set, users can still override which driver the loader selects via two methods. The first is to create a ~/.drirc or /etc/drirc file with the following snippet:

   <driconf>
     <device driver="loader" kernel_driver="i915">
       <option name="dri_driver" value="i965" />
     </device>
   </driconf>

The other option is to set an environment variable:

   export MESA_LOADER_DRIVER_OVERRIDE=i965

For now, "prefer_iris" defaults to i965 (the historical choice). A separate future patch will change the default driver to iris.

Closes: #1893 (closed)

+@ajax +@anholt +@airlied

Edited by Kenneth Graunke

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading