Bug#998298: mesa-vulkan-drivers overrides nvidia driver
On 2021-11-02 00:25, Andrzej Zięba wrote:
> Package: mesa-vulkan-drivers
> Version: 21.2.4-1
> Severity: important
> X-Debbugs-Cc: a-zieba@go2.pl
>
> Dear Maintainer,
> Upgrade of mesa-vulkan-drivers overrides the Nvidia Vulcan driver.
>
> * What led up to the situation?
> I have upgraded the package and noticed that Warthuner stopped working due to
> reported freeze.
>
> * What exactly did you do (or not do) that was effective (or ineffective)?
> WT uses Vulkan so I figured out that this package is probably to blame and
> indeed downgrading it was fixing the problem.
Can you provide the output of vulkaninfo (without setting VK_ICD_FILENAMES) for both cases?
> To circumvent the problem with the mesa-vulkan-drivers upgraded I had to set
> VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
> in my Xession init scripts to force Nvidia Vulkan driver.
It's rather doubtful that there's a bug here.
Without setting VK_ICD_FILENAMES, there's no well-defined order in which Vulkan devices are enumerated. Most Vulkan applications just use the first enumerated device, so if the enumeration order changes, they'll end up using a different one.
--
Earthling Michel Dänzer | https://redhat.com
Libre software enthusiast | Mesa and Xwayland developer
Reply to: