Bug 20802 - Please enable RADV (the radeon/amdgpu Vulkan driver) in mesa.
Summary: Please enable RADV (the radeon/amdgpu Vulkan driver) in mesa.
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: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 03:00 CEST by Alan Richter
Modified: 2017-05-08 07:49 CEST (History)
1 user (show)

See Also:
Source RPM: mesa-17.0.5-2.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Alan Richter 2017-05-08 03:00:25 CEST
Description of problem:
radv is not present in the current mesa build

Version-Release number of selected component (if applicable):
mesa-17.0.5-2.mga6.src.rpm

How reproducible:
Build build mesa, only vulkan_intel packages are generated. 

I added the necessary portions to the mesa.spec file and below is the diff:

[arichter@gurn SPECS]$ diff mesa.spec*
377a378,381
> 
> %package -n %{libvulkanname}_radeon
> Summary:      Mesa vulkan driver for Radeon GPU
> Group:                System/Libraries
512a517,519
> %description -n %{libvulkanname}_radeon
> This package contains the Vulkan parts for Mesa's Radeon driver.
> 
531c538
<               --with-vulkan-drivers=intel \
---
>               --with-vulkan-drivers=intel,radeon \
708a716
> %{_datadir}/vulkan/icd.d/radeon_icd*.json
710a719,726
> %{_libdir}/libvulkan_radeon.so
> 
> %files -n %{libvulkanname}_radeon
> %dir %{_datadir}/vulkan
> %dir %{_datadir}/vulkan/icd.d
> %{_datadir}/vulkan/icd.d/radeon_icd*.json
> # (akien) No lib major?
> %{_libdir}/libvulkan_radeon.so

With this addition, the libvulkan_radeon.so and radeon_icd.json portions are built with in a new .rpm.

So far I have tested it with the amdgpu driver with the mad max benchmark and the radv driver seems to work as expected; the benchmark appeared darker than the OpenGL benchmark but Ferral says that is to be expected.
Rémi Verschelde 2017-05-08 07:38:38 CEST

CC: (none) => tmb
Assignee: bugsquad => rverschelde

Comment 1 Rémi Verschelde 2017-05-08 07:49:51 CEST
Thanks for the patch, should be done with mesa-17.0.5-3.mga6.

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


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