Bug 1356229

Summary: RFE enable the Intel Vulkan driver
Product: [Fedora] Fedora Reporter: Michael Cronenworth <mike>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ajax, darkbasic, faith, fschwarz, ignatenko, leho, leigh123linux, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mesa-13.0.0-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-02 12:38:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1308985, 1379814    
Bug Blocks:    
Attachments:
Description Flags
spec patch to enable the intel vulkan driver none

Description Michael Cronenworth 2016-07-13 18:37:20 UTC
Description of problem: The Intel Vulkan driver is not enabled at compile time.

build.log:
Vulkan drivers:  no


Version-Release number of selected component (if applicable):
mesa-12.0.1-1.fc24


Please pass the following arguments to configure:
--with-vulkan-drivers=intel

Comment 1 Faith Ekstrand 2016-07-23 15:58:33 UTC
The 12.0.0 driver should be able to run Talos and Dota2 just fine and, with 12.0.2, things are getting even more stable.  I would very much like to see Fedora packaging it. :-)

Comment 2 Michael Cronenworth 2016-09-28 13:46:04 UTC
The vulkan loader package is now available in Fedora. This RFE can move forward.

http://koji.fedoraproject.org/koji/packageinfo?packageID=23126

Comment 3 Michael Cronenworth 2016-09-30 00:54:41 UTC
Created attachment 1206095 [details]
spec patch to enable the intel vulkan driver

I have made the necessary spec changes and tested the Intel Vulkan driver. It works in a Vulkan game (DOTA 2) and the vulkaninfo utility reports valid values.

Comment 4 leigh scott 2016-09-30 07:44:32 UTC
(In reply to Michael Cronenworth from comment #3)

> It works in a Vulkan game (DOTA 2) and the vulkaninfo utility reports valid
> values.

These demo's are also good for testing.

http://files.unity3d.com/levi/vulkan/CorridorLightingExample.tar.bz2


http://files.unity3d.com/levi/vulkan/VikingVillage.tar.bz2

Comment 6 Peter Robinson 2016-11-02 12:42:37 UTC
lets try this one http://koji.fedoraproject.org/koji/taskinfo?taskID=16278703

(scratches worked weirdly)

Comment 7 Peter Robinson 2016-11-02 14:02:49 UTC
Let's try this again http://koji.fedoraproject.org/koji/taskinfo?taskID=16279098

Comment 8 Michael Cronenworth 2016-11-02 16:02:09 UTC
Thanks, Peter!

One note on your changes to mesa:

The mesa-vulkan-devel needs to be changed. The mesa code ships a duplicate set of Vulkan headers and you're also declaring ownership of /usr/include/vulkan. Both things are already owned/shipped with the vulkan loader vulkan-devel package.

But keep shipping this guy: /usr/include/vulkan/vulkan_intel.h

Comment 9 Peter Robinson 2016-11-02 16:08:46 UTC
(In reply to Michael Cronenworth from comment #8)
> Thanks, Peter!
> 
> One note on your changes to mesa:
> 
> The mesa-vulkan-devel needs to be changed. The mesa code ships a duplicate
> set of Vulkan headers and you're also declaring ownership of
> /usr/include/vulkan. Both things are already owned/shipped with the vulkan

Multiple packages owning a directory isn't an issue. We depend on vulkan-devel on that package so it's likely a moot point anywway

> But keep shipping this guy: /usr/include/vulkan/vulkan_intel.h

OK

Comment 10 Peter Robinson 2016-11-02 17:08:32 UTC
mesa-13.0.0-3.fc26 http://koji.fedoraproject.org/koji/taskinfo?taskID=16279764