Repository navigation
davinci-resolve: 18.5.1 -> 18.6.2; add studio variant; various improvements - #255577
Conversation
c318e30 to
c071f5f
Compare
c071f5f to
002da0e
Compare
3e7393d to
6363075
Compare
|
@stelcodes Thanks for the review! Addressed both. |
6363075 to
cf75c01
Compare
|
This PR doesn't launch the app for me when I run it on my machine: |
|
@PAI5REECHO Does the non-studio from this PR work? Also, anything seemingly-relevant in |
|
cf75c01 to
47132bc
Compare
|
@PAI5REECHO The “Cannot mix incompatible Qt library (5.15.10) with this library (5.15.2)” is surprising since I don’t get that at all. Can you try:
|
47132bc to
c56369b
Compare
c56369b to
c89188b
Compare
Without libXt, shows popup on launch: > Unable to load plugin: USD.plugin > > libXt.so.6: cannot open shared object file: No such file or directory ultimately launches okay without it, but some feature would probably be broken.
Otherwise getting it is…non-trivial.
`appimage-run` fails silently if the file does not exist. This made it easy to have mismatches that lead to non-obvious build errors.
Resolve wants to write the license to `./.license` in the drv store
path. This obviously fails as it is read-only. Conveniently this is a
Bubblewrap-based FHS env, so we can bind-mount a reasonable dir from
$HOME to this path instead. Unfortunately, the dir needs to exist before
launching, so it must be manually created presently e.g.
mkdir -p ~/.local/share/DaVinciResolve/license
At least the error is fairly obvious:
> bwrap: Can't find source path /home/user/.local/share/DaVinciResolve/license: No such file or directory
Without making the license writable, license activation will always give
a generic error—the actual problem was found with strace.
The downloads.json also includes metadata for older versions, so this should be durable unless upstream breaks things. Some older downloads appear to not include the “Update” suffix in the name, so match with or without it.
See NixOS#265476 This is a hack that effectively undoes NixOS#263201 for just this derivation. Really we should probably be doing a ton of autoPatchelf or something to patch in our libs. Alas, this is “good enough” to un-break for now, I think.
c89188b to
f1361c5
Compare
|
Result of 2 packages built:
Works for me, did not try the studio version due to lack of license. |
|
I bought a license to try studio version; it builds fine, but upon running it complains that it can't copy the license file into the read-only It seems like a recreation of an older issue: #94032 (comment) where davinci-resolve reverts to its The issue was brought up again in #152113 (comment) where the work around was to use I am installing it via a standalone home-manager installation, and pulling nixpkgs-unstable via a flake.
I'm pretty green to NixOS so I'm trying to understand |
|
Seems related: #239017 Yet, we're clearly using |
|
@xvrqt Most likely |
|
Successfully created backport PR for |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Description of changes
See individual commit messages for details and caveats.
Things done
Tested both free and studio. Tested studio activation. Tested that app starts and can load existing project and various functionality. Using Nvidia GPU.
The Studio download is a bit flaky and sometimes fails with
but works eventually.
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)