What is the expected outcome:
Davinci Resolve launching normally as a normal user.
What output did you get
Davinci Resolve will not launch if run as a normal user with this as the output:
~ ❱ davinci-resolve
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
19.0.1.0006 Linux/Clang x86_64
Main thread starts: 8BD49000
log4cxx: setFile(./logs/rollinglog.txt,true) call failed.
log4cxx: IO Exception : status code = 30
0x77498bd49000 | Undefined | INFO | 2024-10-12 20:40:58,334 | --------------------------------------------------------------------------------
log4cxx: No output stream or file set for the appender named [RollLogAppender].
0x77498bd49000 | Undefined | INFO | 2024-10-12 20:40:58,335 | Loaded log config from /home/nadeko/.local/share/DaVinciResolve/configs/log-conf.xml
0x77498bd49000 | Undefined | INFO | 2024-10-12 20:40:58,335 | --------------------------------------------------------------------------------
Here is the log file located at ~/.local/share/DaVinciResolve/logs/ResolveDebug.txt
:
0x77498bd49000 | Main | INFO | 2024-10-12 20:40:58,335 | Running DaVinci Resolve v19.0.1.0006 (Linux/Clang x86_64)
0x77498bd49000 | Main | INFO | 2024-10-12 20:40:58,335 | BMD_BUILD_UUID 956a4c7a-aaad-44df-833e-bfc4c1b44788
0x77498bd49000 | Main | INFO | 2024-10-12 20:40:58,335 | BMD_GIT_COMMIT 4d411512f6e86a6ec85f1b804dfd553884f2e761
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,335 | Starting GPUDetect 1.2_6-a2
0x77498bd49000 | GPUDetect | ERROR | 2024-10-12 20:40:58,417 | X11 logs not found.
0x77498bd49000 | GPUDetect | ERROR | 2024-10-12 20:40:58,444 | No Main Display GPU found and no monitors found to match, defaulting to gpu:121b8359.45aa0c33.
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Done in 108 ms.
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Detected System:
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - OS: Linux NixOS 24.11 (Vicuna)
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - Model: Micro-Star X470 GAMING PRO CARBON (MS-7B78)
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - System ID: dc65bda2269045b7923d6984b17bfb3e
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - CPU: AMD Ryzen 7 3700X, 16 threads, x86-64
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - RAM: 10.5 GiB used of 31.3 GiB
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Detected 2 GPUs:
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - "NVIDIA GeForce RTX 4070 Ti" (gpu:121b8359.45aa0c33) <- Main Display GPU
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Discrete, 11.6 GiB VRAM, PCI:38:0
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Matches: CUDA, NVML, OpenCL
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | - "NVIDIA GeForce GTX 1070" (gpu:dded5c0e.f0547b30)
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Discrete, 7.9 GiB VRAM, PCI:39:0
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Matches: CUDA, NVML, OpenCL
0x77498bd49000 | GPUDetect | INFO | 2024-10-12 20:40:58,444 | Detected 1 monitors:
0x77498bd49000 | Main.GPUConfig | INFO | 2024-10-12 20:40:58,444 | Compute API set to automatic, defaulting to CUDA.
0x77498bd49000 | Main.GPUConfig | INFO | 2024-10-12 20:40:58,444 | Selected compute API: CUDA
0x77498bd49000 | Main.GPUConfig | INFO | 2024-10-12 20:40:58,444 | Automatic GPU Selection:
0x77498bd49000 | Main.GPUConfig | INFO | 2024-10-12 20:40:58,444 | - "NVIDIA GeForce GTX 1070" (gpu:dded5c0e.f0547b30)
0x77498bd49000 | IO | INFO | 2024-10-12 20:40:58,444 | RED InitializeSdk with library path at /nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs
0x77498bd49000 | IO | INFO | 2024-10-12 20:40:58,596 | R3DAPI 8.5.1-53601 (20240308 Lx64S) R3DSDK 8.5.1-53601 (20240308 Lx64D C3B1) RED CUDA 8.5.1-53598 (20240308) [/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/] init is successful
0x77498bd49000 | Main | INFO | 2024-10-12 20:40:58,596 | 0 RED rocket cards available
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
0x77498bd49000 | Main | INFO | 2024-10-12 20:40:58,596 | Decklink model name: '', version: ''
0x77498bd49000 | DVIP | INFO | 2024-10-12 20:40:58,596 | DVIP release/19.0.1 build 5 (1d8041c3d88639ce76db20f9ba9a17c7dde60371). Release, version 19.0.1.
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,683 | Using DNxHR library v2.7.5.873r
0x77490d800000 | SyManager | ERROR | 2024-10-12 20:40:58,684 | GetProjectLibraries() - Access token is empty
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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.
0x774915200000 | Fusion | INFO | 2024-10-12 20:40:58,780 | Fusion Build: a1219064_0005 (Sep 3 2024 19:28:20)
==========[CRASH DUMP]==========
#TIME Sat Oct 12 20:40:58 2024 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v19.0.1.0006 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID 956a4c7a-aaad-44df-833e-bfc4c1b44788
#BMD_GIT_COMMIT 4d411512f6e86a6ec85f1b804dfd553884f2e761
#BMD_UTIL_VERSION 19.0.1.0006
#OS Linux
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/bin/resolve() [0x4e10309]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/bin/resolve() [0x4e0f6d3]
/usr/lib/libc.so.6(+0x405c0) [0x77498d4495c0]
/usr/lib/libc.so.6(+0x927dc) [0x77498d49b7dc]
/usr/lib/libc.so.6(gsignal+0x16) [0x77498d449516]
/usr/lib/libc.so.6(abort+0xd7) [0x77498d431935]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Core.so.5(+0x1821c6) [0x7749757821c6]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Core.so.5(_ZNK14QMessageLogger5fatalEPKcz+0xbd) [0x77497576ea5d]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x1d4c) [0x774977d1e22c]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x1b) [0x774977d1ed3b]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x5d4) [0x77497595c984]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x19) [0x774977d18319]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9) [0x7749a4f64f09]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/libQt5Widgets.so.5(_ZN12QApplicationC2ERiPPci+0xa9) [0x7749a4f64ec9]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/bin/resolve() [0x286f6c8]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/bin/resolve() [0x2818c7b]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/bin/resolve() [0x281339e]
/usr/lib/libc.so.6(+0x2a14e) [0x77498d43314e]
/usr/lib/libc.so.6(__libc_start_main+0x89) [0x77498d433209]
/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/bin/resolve() [0x2811a8b]
Signal Number = 6
================================
0x7748f4800000 | Fusion | INFO | 2024-10-12 20:40:58,782 | fusionsystem: = "/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/Fusion/libfusionsystem.so"
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,782 | NVDEC is using upto (1487) MB
0x7748f4800000 | Fusion | INFO | 2024-10-12 20:40:58,785 | FusionLibs: = "/nix/store/iyl243jydz99n83vz8l87rh3d3l4lxrj-davinci-resolve-19.0.1/libs/Fusion/"
0x7748f4800000 | Fusion | INFO | 2024-10-12 20:40:58,785 | UserData: = "/home/nadeko/.local/share/DaVinciResolve/Fusion"
0x7748f4800000 | Fusion | INFO | 2024-10-12 20:40:58,785 | Profiles: = "UserData:Profiles/"
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,788 | NVDEC decodes VP9, chroma 4:2:0, bitdepth 8, upto 8192 x 8192
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,793 | NVDEC decodes VP9, chroma 4:2:0, bitdepth 10, upto 8192 x 8192
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,798 | NVDEC decodes AV1, chroma 4:2:0, bitdepth 8, upto 8192 x 8192
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,803 | NVDEC decodes AV1, chroma 4:2:0, bitdepth 10, upto 8192 x 8192
0x774914800000 | IO | INFO | 2024-10-12 20:40:58,804 | Nvidia : driverVer(194), SDK(12:2), isLegacy(0)
0x774914800000 | IO | INFO | 2024-10-12 20:40:59,061 | Nvidia GPU (0) is initialised as decoding and encoding device.
0x774914800000 | IO | INFO | 2024-10-12 20:40:59,064 | IO codec library load completed in 381 ms.
0x77498bd49000 | CrashReport | ERROR | 2024-10-12 20:40:59,147 | Compress() : Failed to add file:/home/nadeko/.local/share/DaVinciResolve/configs/UI.preset to archive.
0x77498bd49000 | CrashReport | ERROR | 2024-10-12 20:40:59,147 | Compress() : Failed to add file:/home/nadeko/.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
However, as suggested on the NixOS Wiki, running Davinci Resolve as root will allow it to launch. But this is not good since I do not want to run a video editor as root. Also this makes the .desktop
file redundant which is also annoying.
Meta information
OS: NixOS 24.11.20240916.99dc878 (Vicuna) x86_64
DE: GNOME 46.4
WM: Mutter (Wayland)
Kernel: Linux 6.11.0-cachyos
Nvidia driver version: 560.35.03
Please let me know if any other information is needed. Thank you.