Bug 5029

Summary: require mesa-vulkan-drivers
Product: Fedora Reporter: Kamil Páral <kparal>
Component: steamAssignee: Simone Caronni <negativo17>
Status: RESOLVED FIXED    
Severity: enhancement CC: leigh123linux
Priority: P1    
Version: unspecified   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Kamil Páral 2018-09-21 16:05:04 CEST
Hello,

Steam started using Vulkan on Linux in a big way as part of their Steam Proton tool (built on Wine + DXVK), allowing to run any Windows games on Linux. It's not just about Proton, some Linux-native games already support Vulkan, some of them exclusively. Steam package in rpmfusion doesn't require vulkan drivers to be installed, though, so out of the box most Fedora users won't be able to run Vulkan-based games (and only some may know what to install). This could change for fresh installs of Fedora 29 and later (vulkan drivers should be part of the default installation in there), but it won't affect older releases or upgrades.

Can you please make the steam package require mesa-vulkan-drivers to make sure this functionality works for users easily? It would be great if you could require both x86_64 and i686 vulkan drivers to be installed, because depending on which architecture the game is compiled for, you need to have matching drivers installed, but I'm not sure if it is possible with the current packaging.

Thank you.

steam-1.0.0.54-19.fc29.i686
Comment 1 leigh scott 2018-09-21 16:52:59 CEST
Does steam use system vulkan-loader?
Comment 2 Kamil Páral 2018-09-21 19:40:42 CEST
I don't know. But it's a requirement of mesa-vulkan-drivers, but it will get always installed. Or what's the reason why you're asking?
Comment 3 leigh scott 2018-09-21 20:18:34 CEST
(In reply to Kamil Páral from comment #2)
> I don't know. But it's a requirement of mesa-vulkan-drivers, but it will get
> always installed. Or what's the reason why you're asking?

I thought it would be better to require vulkan-loader


$ rpm -q --requires vulkan-loader |grep mesa
mesa-vulkan-drivers(x86-64)
Comment 4 Kamil Páral 2018-09-24 10:27:54 CEST
There seems to be a cyclic dependency then:

$ rpm -q --requires mesa-vulkan-drivers | grep vulkan
vulkan(x86-64)
vulkan(x86-32)
$ rpm -q --whatprovides vulkan
vulkan-loader-1.1.82.0-1.fc29.x86_64
vulkan-loader-1.1.82.0-1.fc29.i686

But I agree, including vulkan-loader as a dependency is safer than not including it. The above dependency cycle can change in the future.
Comment 5 Kamil Páral 2018-09-27 09:14:31 CEST
Is there something I can do to move this forward?
Comment 6 Kamil Páral 2018-10-10 09:19:16 CEST
A pull request is here:
https://github.com/rpmfusion/steam/pull/6
Comment 7 Simone Caronni 2018-10-11 10:04:18 CEST
Applied & building, also for F27/28. Thanks.