Bug 24832 - "iris" needs to be added to Dgallium-drivers line in mesa.spec.
Summary: "iris" needs to be added to Dgallium-drivers line in mesa.spec.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 18:07 CEST by Alan Richter
Modified: 2019-05-16 23:35 CEST (History)
1 user (show)

See Also:
Source RPM: mesa-19.1.0-0.rc2.2.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Alan Richter 2019-05-16 18:07:52 CEST
Description of problem:
Mesa now supports a Gallium driver for Skylake and later GPUs from Intel but the driver is not built with the current mesa.spec file. 

Version-Release number of selected component (if applicable):


How reproducible:
Always until -Dgallium-drivers is changed from:

 -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro} \

to 

 -Dgallium-drivers=swrast,virgl,r300,iris,nouveau%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro} \

I don't know if "iris" requires any conditions but by adding it in, lib[64]dri-drivers now has the iris driver which seems to work correctly, at least with glxgears -info.  

After adding it in and compiling rpm -qil lib64dri-drivers shows this:

/usr/lib64/dri
/usr/lib64/dri/i915_dri.so
/usr/lib64/dri/i965_dri.so
/usr/lib64/dri/iris_dri.so
/usr/lib64/dri/kms_swrast_dri.so

At present iris is not enabled by default and requires MESA_LOADER_DRIVER_OVERRIDE=iris to enable, thus by building this additional driver it should not impact anyone except those who choose to use iris.

More here:

https://www.phoronix.com/scan.php?page=article&item=iris-pro-mesa191&num=1



Steps to Reproduce:
1.
2.
3.
Comment 1 Thomas Backlund 2019-05-16 23:00:57 CEST
Fixed in svn, will be part of next mesa build

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 2 Alan Richter 2019-05-16 23:35:38 CEST
Excellent, thank you.

Mageia 7 is just looking incredible and I was thrilled to see mesa 19.1.

Note You need to log in before you can comment on or make changes to this bug.