@boredcollie and anyone else who wants to use Darktable with ROCm.
I found a strange issue, where Blender won’t start in Distrobox when I install Darktable. So therefore, here is an assembly file only for Darktable.
[darktable]
image=ubuntu:24.04
init=false
additional_packages="darktable"
init_hooks="apt update -y;"
init_hooks="apt upgrade -y;"
init_hooks="cd /tmp/ && wget https://repo.radeon.com/amdgpu-install/6.2/ubuntu/noble/amdgpu-install_6.2.60200-1_all.deb && apt install -y ./amdgpu-install_6.2.60200-1_all.deb && cd ~/;"
init_hooks="amdgpu-install --usecase=rocm --no-dkms -y;"
nvidia=false
pull=true
root=false
replace=true
start_now=true
Save it somewhere with the name distrobox.ini and then open the console in the same folder and run:
distrobox assemble create
Then, go to ~/local/share/applications and open darktable.desktop with Kate or any other text editor and overwrite everything with:
[Desktop Entry]
Categories=Distrobox;Graphics;Photography;GTK;
Comment=Organize and develop images from digital cameras
Exec=/usr/bin/distrobox enter darktable -- darktable
GenericName=Virtual Lighttable and Darkroom via Distroboxd
Icon=darktable
Keywords=distrobox;
MimeType=application/x-darktable;image/x-dcraw;image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crw;image/x-fuji-raf;image/x-kodak-dcr;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-nikon-nrw;image/x-olympus-orf;image/x-panasonic-rw;image/x-panasonic-rw2;image/x-pentax-pef;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/jpeg;image/png;image/tiff;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-portable-floatmap;image/vnd.radiance;image/avif;image/x-canon-cr3;image/x-exr;image/aces;image/heif;image/heic;image/jp2;image/jxl;image/webp;image/qoi
Name=Darktable ROCm
NoDisplay=false
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
TryExec=/usr/bin/distrobox
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
Or just start the Distrobox manually:
distrobox enter darktable
Once you’re in, you can check if everything is working by running darktable-cltest