Bug 24832

Summary: "iris" needs to be added to Dgallium-drivers line in mesa.spec.
Product: Mageia Reporter: Alan Richter <arichter>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mesa-19.1.0-0.rc2.2.mga7.src.rpm CVE:
Status comment:

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.