Bug 6472

Summary: [Nvidia-Driver] [Vulkan ICD Loader] Default nvidia package driver not create a nvidia_icd.json
Product: Fedora Reporter: ratatouilledummie <ratatouillemorde>
Component: xorg-x11-drv-nvidiaAssignee: leigh scott <leigh123linux>
Status: RESOLVED WORKSFORME    
Severity: major CC: kwizart, leigh123linux, negativo17
Priority: P1    
Version: unspecified   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description ratatouilledummie 2022-11-07 19:21:31 CET
In Fedora 36,37 and probably others newer version, the Nvidia driver rpm packages not create a default /usr/share/vulkan/icd.d/nvidia_icd.json, this problem make all vulkan applications and including Zink Driver to give a Segment Fault.
Solution: Create a new package called nvidia-icd to create a default /usr/share/vulkan/icd.d/nvidia_icd.json file with 
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.3.204"
    }
}
Comment 1 leigh scott 2022-11-07 19:29:56 CET
$ rpm -qf /usr/share/vulkan/icd.d/nvidia_icd.json
xorg-x11-drv-nvidia-libs-520.56.06-1.fc37.x86_64
Comment 2 Nicolas Chauvet 2022-11-07 19:33:42 CET
Can you verify which is the provider of the nvidia package ?
Comment 3 ratatouilledummie 2022-11-07 21:36:19 CET
(In reply to Nicolas Chauvet from comment #2)
> Can you verify which is the provider of the nvidia package ?

this say is xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.x86_64 but this just exist after manual creation
Comment 4 ratatouilledummie 2022-11-07 21:37:15 CET
(In reply to leigh scott from comment #1)
> $ rpm -qf /usr/share/vulkan/icd.d/nvidia_icd.json
> xorg-x11-drv-nvidia-libs-520.56.06-1.fc37.x86_64

this say is from xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.x86_64 
but this is not exist for default in my case needed manual creation
https://forums.developer.nvidia.com/t/vulkan-not-working-solved/220255
it's same problem
Comment 5 leigh scott 2022-11-07 22:04:16 CET
(In reply to ratatouilledummie from comment #4)
> (In reply to leigh scott from comment #1)
> > $ rpm -qf /usr/share/vulkan/icd.d/nvidia_icd.json
> > xorg-x11-drv-nvidia-libs-520.56.06-1.fc37.x86_64
> 
> this say is from xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.x86_64 
> but this is not exist for default in my case needed manual creation
> https://forums.developer.nvidia.com/t/vulkan-not-working-solved/220255
> it's same problem

The file exists!

https://koji.rpmfusion.org/koji/fileinfo?rpmID=874036&filename=/usr/share/vulkan/icd.d/nvidia_icd.json


Maybe your fedora installation is faulty.
Comment 6 ratatouilledummie 2022-11-07 22:10:18 CET
(In reply to leigh scott from comment #1)
> $ rpm -qf /usr/share/vulkan/icd.d/nvidia_icd.json
> xorg-x11-drv-nvidia-libs-520.56.06-1.fc37.x86_64

this say is from xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.x86_64 
but this is not exist for default in my case needed manual creation
https://forums.developer.nvidia.com/t/vulkan-not-working-solved/220255
it's same problem(In reply to leigh scott from comment #5)
> (In reply to ratatouilledummie from comment #4)
> > (In reply to leigh scott from comment #1)
> > > $ rpm -qf /usr/share/vulkan/icd.d/nvidia_icd.json
> > > xorg-x11-drv-nvidia-libs-520.56.06-1.fc37.x86_64
> > 
> > this say is from xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.x86_64 
> > but this is not exist for default in my case needed manual creation
> > https://forums.developer.nvidia.com/t/vulkan-not-working-solved/220255
> > it's same problem
> 
> The file exists!
> 
> https://koji.rpmfusion.org/koji/fileinfo?rpmID=874036&filename=/usr/share/
> vulkan/icd.d/nvidia_icd.json
> 
> 
> Maybe your fedora installation is faulty.

oh thanks probably i made some mistake i will reinstall fedora but now 37 i apologize for this "bug"