Score:1

Vulkan tries to use Intel GPU by default

in flag

Whenever I try to play a Vulkan game, I get a black screen because the game's trying to render to my Intel GPU (which isn't connected to any monitor). Using the launch option "VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json %command%" in Steam works, but I'd like to know if there's a way to use my Nvidia GPU by default. I'd disable my Intel GPU but I likely will be connecting a monitor to it soon.

Score:1
jp flag

Add this line at the end of the file named .profile located in your home directory:

export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json"
jp flag
Hi there, can you please explain what this does and why it is needed. This will help users understand if they should follow your advice.
Sifat Tahsin Azad avatar
jp flag
@Jeremy It will run "export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json"" at the begining of session.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.