Plain copy from QA maillist: -----------8<------------------ On Thu, 14 Oct 2021 03:18:58 -0400, Morgan Leijström <fri@tribun.eu> wrote: > Spotted this in forum > A user had Warthunder working, but it broke after updates. > User found he need to > export VK_ICD_FILENAMES=/etc/vulkan/icd.d/nvidia_icd.json > https://forums.mageia.org/en/viewtopic.php?f=23&t=14308&p=84110#p84110 > Should we open a bug and implement this? # urpmf nvidia_icd.json|sort -u x11-driver-video-nvidia390:/etc/vulkan/icd.d/nvidia_icd.json x11-driver-video-nvidia-current:/etc/vulkan/icd.d/nvidia_icd.json As those are the only packages that supply the file, an enhancement bug report to have them set the VK_ICD_FILENAMES variable would be appropriate. As the program Warthunder is not a Mageia package, all we can test for is that the variable is set, not whether or not it fixes that program. Regards, Dave Hodgins ----------->8------------- For testing, we can ask that user on forum if he wants to try. I link in that thread to this bug.
Assignee: bugsquad => kernelCC: (none) => davidwhodgins
Severity: normal => enhancementWhiteboard: (none) => MGA8TOOVersion: 8 => Cauldron
setting VK_ICD_FILENAMES by default to the nVidia icd would force it on every user with nVidia packages installed, even if they might want to use the mesa ones...
Something seem to have changed, as when user reverted updates, it worked. So we have a system change of policy/preference? How do users normally choose, and how will they know they have a choice? --- Regardless of solution here, it feels like these things should get noted in our wiki, like here: https://wiki.mageia.org/en/Setup_the_graphical_server Also, I believe that page should get updated and revised by someone who knows these things well. (not me) ...
I added section https://wiki.mageia.org/en/Setup_the_graphical_server#Forcing_Nvidia_icd @tmb, Feel free to close this bug if you agree.
Status comment: (none) => Entered in Wiki
What is strange is all this subject is that according to what reported in the forum, under mesa 21.1 everything was working without setting any env var, so I wonder whether in passing from mesa 21.1 to mesa 21.2 some hardcoded path for ICD files has been changed or get lost. Second, apart the game Warthunder, does this happens on any game using Vulkan?
CC: (none) => ghibomgx
User now tell similar is needed for Intel https://forums.mageia.org/en/viewtopic.php?f=15&t=14946&p=87756#p87756 For now, added to wiki https://wiki.mageia.org/en/Setup_the_graphical_server#Forcing_icd