I finally managed to get darktable to work by removing mesa-opencl-icd package.
I kept getting error message ": CommandLine Error: Option 'polly' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options"
Discussion is here -- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965310#15
For a long time I suspected a bug in nvidia drivers was causing this, but it turned out that the bug in LLVM.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!