GPUOpen-Drivers / AMDVLK

AMD Open Source Driver For Vulkan
MIT License
1.73k stars 163 forks source link

Issue installing AMDVLK's RPM package on Fedora 35 #263

Closed samuelig closed 1 year ago

samuelig commented 2 years ago

I'm trying to install the RPM package of the latest driver release ( v-2021.Q4.1 at the time of writing this) on Fedora 35.

I get the following error:

$ sudo rpm -i amdvlk-2021.Q4.1.x86_64.rpm 
        file /etc/vulkan from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.x86_64
        file /etc/vulkan/icd.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.x86_64
        file /etc/vulkan/implicit_layer.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.x86_64
        file /etc/vulkan from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.i686
        file /etc/vulkan/icd.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.i686
        file /etc/vulkan/implicit_layer.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.i686

It looks like that the RPM is trying to create /etc/vulkan, /etc/vulkan/icd.d and /etc/vulkan/implicit_layer.d directories that were previously created by vulkan-loader package, hence the conflict.

Maybe it is missing mkdir -p when creating those directories?

JaxLinAMD commented 2 years ago

fixed via https://github.com/GPUOpen-Drivers/xgl/commit/38aa59bcf134d1cb340ddd2459b34b6eda798abe