This is to get Davinci Resaolve working with a Radeon 580 card.
I was running Resolve on this same machine under macOS only 10 days ago and then moved to nixos.
The following ResolveDebug.txt shows No GPUs found which I can’t understand. Is your installation using an AMD card?
0x7fc65b83a100 | Main | INFO | 2024-02-01 09:02:44,240 | Running DaVinci Resolve v18.6.4.0006 (Linux/Clang x86_64)
0x7fc65b83a100 | Main | INFO | 2024-02-01 09:02:44,240 | BMD_BUILD_UUID debe6214-cd41-41ef-a91d-c7a040c9a1bd
0x7fc65b83a100 | Main | INFO | 2024-02-01 09:02:44,240 | BMD_GIT_COMMIT ed460445297a0b11ca4156fec0c5b0d405114883
0x7fc65b83a100 | GPUDetect | INFO | 2024-02-01 09:02:44,240 | Starting GPUDetect 1.2_5-a6
0x7fc65b83a100 | GPUDetect | ERROR | 2024-02-01 09:02:44,244 | X11 logs not found.
0x7fc65b83a100 | GPUDetect | ERROR | 2024-02-01 09:02:44,244 | No matched GPUs found.
0x7fc65b83a100 | Main.GPUConfig | INFO | 2024-02-01 09:02:44,244 | Compute API set to automatic, defaulting to Unknown.
0x7fc65b83a100 | Main.GPUConfig | INFO | 2024-02-01 09:02:44,244 | Unsupported API Unknown, defaulting to Unknown.
0x7fc65b83a100 | Main.GPUConfig | ERROR | 2024-02-01 09:02:44,244 | Failed to select a valid compute API.
0x7fc65b83a100 | Main.GPUConfig | INFO | 2024-02-01 09:02:44,245 | Automatic GPU Selection:
0x7fc65b83a100 | Main.GPUConfig | ERROR | 2024-02-01 09:02:44,245 | No GPUs selected!
0x7fc65b83a100 | IO | INFO | 2024-02-01 09:02:44,245 | RED InitializeSdk with library path at /nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs
0x7fc65b83a100 | IO | INFO | 2024-02-01 09:02:44,277 | R3DAPI 8.4.0-53216 (20230817 Lx64S) R3DSDK 8.4.0-53216 (20230817 Lx64D C3B1) [/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/] init is successful
0x7fc65b83a100 | Main | INFO | 2024-02-01 09:02:44,277 | 0 RED rocket cards available
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
0x7fc65b83a100 | Main | INFO | 2024-02-01 09:02:44,277 | Decklink model name: '', version: ''
0x7fc65b83a100 | DVIP | INFO | 2024-02-01 09:02:44,277 | DVIP release/18.6.4 build 6 (55d868942b4d024522beea0ae820f56e4a18b1a1). Release, version 18.6.4.
0x7fc636e50680 | IO | INFO | 2024-02-01 09:02:44,277 | Using DNxHR library v2.7.3.27r
0x7fc6311ff680 | SyManager | ERROR | 2024-02-01 09:02:44,394 | GetProjectLibraries() - Access token is empty
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, minimal, offscreen, xcb.
0x7fc637651680 | Fusion | INFO | 2024-02-01 09:02:44,505 | Fusion Build: d147aac5_0006 (Nov 30 2023 19:13:34)
==========[CRASH DUMP]==========
#TIME Thu Feb 1 09:02:44 2024 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v18.6.4.0006 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID debe6214-cd41-41ef-a91d-c7a040c9a1bd
#BMD_GIT_COMMIT ed460445297a0b11ca4156fec0c5b0d405114883
#BMD_UTIL_VERSION 18.6.4.0006
#OS Linux
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/bin/resolve() [0x483b099]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/bin/resolve() [0x483a480]
/usr/lib/libc.so.6(+0x3deb0) [0x7fc65ee54eb0]
/usr/lib/libc.so.6(+0x8d02c) [0x7fc65eea402c]
/usr/lib/libc.so.6(raise+0x16) [0x7fc65ee54e06]
/usr/lib/libc.so.6(abort+0xd7) [0x7fc65ee3d8f5]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Core.so.5(+0xa7bd6) [0x7fc64b90fbd6]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Core.so.5(_ZNK14QMessageLogger5fatalEPKcz+0xbd) [0x7fc64b9110e1]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x1fb3) [0x7fc64c08a423]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x1b) [0x7fc64c08b07b]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x78d) [0x7fc64bafc09d]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x19) [0x7fc64c084099]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9) [0x7fc6731d9f09]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/libQt5Widgets.so.5(_ZN12QApplicationC2ERiPPci+0xa9) [0x7fc6731d9ec9]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/bin/resolve() [0x252c868]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/bin/resolve() [0x24d68c4]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/bin/resolve() [0x24d0f9d]
/usr/lib/libc.so.6(+0x280ce) [0x7fc65ee3f0ce]
/usr/lib/libc.so.6(__libc_start_main+0x89) [0x7fc65ee3f189]
/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/bin/resolve() [0x24cfbcb]
Signal Number = 6
================================
0x7fc6275f9680 | Fusion | INFO | 2024-02-01 09:02:44,506 | fusionsystem: = "/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/Fusion/libfusionsystem.so"
0x7fc636e50680 | IO | INFO | 2024-02-01 09:02:44,507 | IO codec library load completed in 230 ms.
0x7fc6275f9680 | Fusion | INFO | 2024-02-01 09:02:44,509 | FusionLibs: = "/nix/store/8nmkvx68cr837svprh5yxa6dn4p43cnf-davinci-resolve-18.6.4/libs/Fusion/"
0x7fc6275f9680 | Fusion | INFO | 2024-02-01 09:02:44,509 | UserData: = "/home/martin/.local/share/DaVinciResolve/Fusion"
0x7fc6275f9680 | Fusion | INFO | 2024-02-01 09:02:44,509 | Profiles: = "UserData:Profiles/"
0x7fc65b83a100 | CrashReport | ERROR | 2024-02-01 09:02:45,297 | Compress() : Failed to add file:/home/martin/.local/share/DaVinciResolve/configs/UI.preset to archive.
0x7fc65b83a100 | CrashReport | ERROR | 2024-02-01 09:02:45,297 | Compress() : Failed to add file:/home/martin/.local/share/DaVinciResolve/configs/config.user.xml to archive.
ActCCMessage Already in Table: Code= c005, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode= 0, Level= 0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode= 0, Level= 0, CmdKey= -1, Option= 0
My relevant GPU config is as follows:
inputs.nixos-hardware.nixosModules.common-gpu-amd
hardware.opengl = {
enable = true;
driSupport32Bit = true;
# below from https://nixos.wiki/wiki/DaVinci_Resolve
extraPackages = with pkgs; [
intel-compute-runtime
];
};
Another guy on discord did a test install with a 6600XT and also showed similar errors to mine so maybe there is some special AMD config I’ve yet to discover for nix.