Closed Thaodan closed 5 years ago
Why not call it nv_vulkan_wrapper.json
to fit the corresponding source file?
Because I marched the rpm pkg. I renamed the file according to your suggestion.
Discussion on another issue made me thinking: We'd have to adjust the version to the version of the nvidia-json file. So having such a file fit all nvidia drivers is not possible.
Than use is as default an edit the version at build/install time?
Yes, that would be the best we could do, without being explicitly triggered by installations of the nvidia driver. If that's not possible, maybe adding a sanity check to pvkrun could help users who changed the installed nvidia driver after installing primus-vk.
You can depend on the current nvidia driver at build time. A hook would be possible to however this shouldn't go to /usr. I think thats something that needs to be watched for at package level.
credit goes to /leomaxx/ the creator of the [[https://github.com/leonmaxx/primus-vk-rpm][rpm package]].