• 1 Post
  • 5 Comments
Joined 1 year ago
cake
Cake day: October 25th, 2023

help-circle



  • Run “vulkaninfo --summary”. (vulkan-tools package is needed for this command to run)That will print the list of video adapter/devices at the bottom.

    You will see something like GPU0, GPU1 and so on. (It is assumed you have installed all Mesa drivers packages properly).

    Now you have to look at the “driverName” property of that device. Each AMD graphics device installed on your system that uses Mesa drivers should show two drivers. “llvmpipe” and “radv”. llvmpipe is software pipeline. We don’t need that. The radv one is what we need. radv is Vulkan driver that uses hardware of modern AMD GPUs.

    Now come to Steam launch options/command line.There is an environment variable called DRI_PRIME= .

    So, if we want games to use radv driver we put DRI_PRIME=0 %command% inside the Steam launch options text box. The 0 is taken from GPU0. If radv is under GPU1 or GPU2 or whatever it shows on you system, use the number part from the GPU0 string as the value for DRI_PRIME.