I've spent literal days trying to get DaVinci to launch on Linux Mint, and I finally figured it out!
First of all, something in the launch sequence prevents DaVinci from accessing user folders. The only way I was able to run DaVinci as a normal user was by using this script:
- Code: Select all
#!/bin/bash
export HOME=/tmp/resolve-temp
mkdir -p "$HOME"
exec /opt/resolve/bin/resolve
The issue with this approach is that this folder gets wiped during reboot, meaning that it won't save any settings and act as a brand-new installation after every restart.
Unfortunately, this is the only solution that allowed me to run DaVinci as a normal user.
On the other hand, although this isn't recommended, running it as sudo solves almost every problem. DaVinci launches, it stores settings between sessions.
However - at least in my case - running it as root, completely breaks the audio out. It's not a codec issue, as a known working file doesn't even show up in the volume meter.
Fortunately, this is also solvable. All it takes, is to launch DaVinci with this command:
- Code: Select all
sudo PULSE_SERVER=unix:/run/user/$USER_ID/pulse/native /opt/resolve/bin/resolve
And just like that, it will both save the config files, and allow the sound to work (without any delay, and without cutting off sound in other apps).
Now, running DaVinci as sudo is less than ideal, but so far, that's the only solution that worked for me.
RafaelCapela wrote:Christoph Schmid wrote:What is the output when starting DR in the terminal without sudo?
go to the folder where DR is installed:
- Code: Select all
cd /opt/resolve/bin/
and start resolve
- Code: Select all
./resolve
I get this as an output
- Code: Select all
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
18.6.6.0007 Linux/Clang x86_64
Main thread starts: 40810180
Segmentation fault (core dumped)