I am having a similar dependency conflict as in this post. Though I don’t have Nvidia drivers, but it is causing issues with a conflict with AMD Rocm.
I think a similar fix is required for the rocm package.
$ rpm-ostree upgrade
note: automatic updates (stage) are enabled
2 metadata, 0 content objects fetched; 788 B transferred in 2 seconds; 0 bytes content written
Checking out tree 5ec44d0... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora updates-archive
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'updates'... done
Updating metadata for 'fedora'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264'; generated: 2024-03-11T19:22:31Z solvables: 3
rpm-md repo 'updates'; generated: 2024-12-16T02:12:16Z solvables: 13766
rpm-md repo 'fedora'; generated: 2024-10-24T13:55:59Z solvables: 76624
rpm-md repo 'updates-archive'; generated: 2024-12-16T02:54:59Z solvables: 16407
Resolving dependencies... done
error: Could not depsolve transaction; 1 problem detected:
Problem: conflicting requests
- package rocm-opencl-6.2.1-2.fc41.x86_64 from updates requires ocl-icd(x86-64), but none of the providers can be installed
- package rocm-opencl-6.2.0-1.fc41.x86_64 from fedora requires ocl-icd(x86-64), but none of the providers can be installed
- package rocm-opencl-6.2.1-2.fc41.x86_64 from updates-archive requires ocl-icd(x86-64), but none of the providers can be installed
- package rocm-opencl-6.2.1-4.fc41.x86_64 from updates-archive requires ocl-icd(x86-64), but none of the providers can be installed
- package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 from @System conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.x86_64 from fedora
I’m hitting this with an AMD GPU as well; it seems that both rocm-opencl and mesa-libOpenCLare affected. Perhaps the NVidia fix from RPMFusion for xorg-x11-drv-nvidia might mean the other xorg-x11-drv packages for AMD and Intel might need similar fixes in their Requires: in their spec files too, and/or perhaps other packages as well?
This should work for silverblue, kinoite, and any of the other atomic-desktops, which would let us use OpenCL again (quite important for hardware acceleration for some apps, especially for darktable).
This issue is not resolved. The one-liner does not work. Am I supposed to delete all the mesa-drivers for opencl, then run that command? Because otherwise it still doesn’t work and this issue needs to be reopened.
error: Could not depsolve transaction; 1 problem detected:
Problem: conflicting requests
- package rocm-opencl-6.2.1-2.fc41.x86_64 from updates requires ocl-icd(x86-64), but none of the providers can be installed
- package rocm-opencl-6.2.0-1.fc41.x86_64 from fedora requires ocl-icd(x86-64), but none of the providers can be installed
- package rocm-opencl-6.2.1-2.fc41.x86_64 from updates-archive requires ocl-icd(x86-64), but none of the providers can be installed
- package rocm-opencl-6.2.1-4.fc41.x86_64 from updates-archive requires ocl-icd(x86-64), but none of the providers can be installed
- package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 from @System conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.x86_64 from fedora
I came across this issue too. I found removing the offending packages (rocm-*) will at least let you upgrade, however, you won’t be able to install them again, as it shows the same OpenCL-ICD-Loader conflict error.
Even after removing all my overlayed packages (just to make sure to rule anything else out), attempting the override replace still doesn’t work:
$ sudo rpm-ostree status
State: idle
Deployments:
● fedora:fedora/41/x86_64/silverblue
Version: 41.20250125.0 (2025-01-25T01:25:05Z)
Commit: 494265cb440fd047887c50052ce5f513393093372d4e6abe7fbc6aeb0940c007
GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
$ sudo rpm-ostree override replace --from repo='fedora' --experimental --remove=OpenCL-ICD-Loader ocl-icd
Inactive base replacements:
ocl-icd
Checking out tree 494265c... done
Resolving dependencies... done
error: Could not depsolve transaction; 1 problem detected:
Problem: package libavutil-free-7.0.2-7.fc41.x86_64 from @System requires libOpenCL.so.1()(64bit), but none of the providers can be installed
- package libavutil-free-7.0.2-7.fc41.x86_64 from @System requires libOpenCL.so.1(OPENCL_1.0)(64bit), but none of the providers can be installed
- package libavutil-free-7.0.2-7.fc41.x86_64 from @System requires libOpenCL.so.1(OPENCL_1.2)(64bit), but none of the providers can be installed
- conflicting requests
I noticed the last comments from two bugzilla reports seemingly refer to the issue the override replace is having[1][2], and seems to indicate this is still being worked on (albeit they were comments from a month ago).