-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
davinci-resolve: 17.4.3 -> 18.1.4 #240549
Conversation
c053605
to
095bca1
Compare
@ofborg eval |
of course ofborg won't eval/build nonfree derivations... i will left it at this. if anyone's interested, please, pick it up. https://github.com/NixOS/nixpkgs/pull/240549/checks?check_run_id=14664185468 OfBorg / davinci-resolve, davinci-resolve.passthru.tests on x86_64-linux
|
after successful build, there are still missing dependencies/libs like
i just added dbus as dependency, but I'm afraid other dependencies for run-time will be missing as well We appreciate help to find if any dependency still is missing. That is, help building from scratch to find out (as building davinci-resolve takes some time and uses full computing resources on my current machine, and ofborg won't eval/build nonfree derivations like davinci-resolve)
if davinci-resolve still errors with something like
and redo the
#238026 (comment) could give hints on what libraries/dependencies davinci resolve 18.1.4 needs |
Alright, after adding dbus and dependencies from @BKSalman gist https://gist.github.com/BKSalman/53dc4a4bd3eb3989f88ce25b66d82853 it runs
Full |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/2377 |
@BKSalman @icodeforyou-dot-net @jshcmpbll @davidak please review |
Thank you for taking the time and working on this!! However unfortunately I'm in a vacation right now, and don't have my machine, so I can't review it now, but I think it should be all good as long as you used deps from the gist (since i got it to work on my machine with the gist), and you verified it yourself, maybe the other dear commenters can review it! |
Added dependencies according with given Salman Abuhaimed's gist. Resorted dependencies alphabetically. References: - NixOS#238026 (comment) - https://gist.github.com/BKSalman/53dc4a4bd3eb3989f88ce25b66d82853 Co-authored-by: Salman Abuhaimed <85521119+BKSalman@users.noreply.github.com>
(this last force push was just to add correct Salman Abuhaimed email in Co-authored last commit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know the program, but the PR looks great - alphabetically ordered args, long flags, Python 3. 👍
Just a notice for anyone who might want to try testing: MP4s do not work on DR Linux free version https://wiki.archlinux.org/title/DaVinci_Resolve#Mp4_clips_are_not_working needs to convert to MOV as usual for working with video files
and if using pipewire, needs to enable alsa for audio to work e.g. {
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
wireplumber.enable = true;
};
} then
restart davinci-resolve, and audio should work |
@yuuyins thanks for your work, 🚀 I just came back to my computer to see you've been working relentlessly on this the past couple of hours! 😄 |
Result of 1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good
Builds, runs
AMD GPU with OpenCL detected
Can someone test a Nvidia GPU with CUDA?
No issue found with function
Tested:
- Create a new project
- Load existing projects
- Playback project timeline
- Cut video
- Apply color correction
- Apply effects
- Apply transition
- Render projects
Thanks for your efforts! ✨
@davidak with nvidia offload, tested with nvidia cuda tested:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1008 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildInputs = [ | ||
libGLU | ||
xorg.libXxf86vm | ||
]; | ||
|
||
src = runCommandLocal "${pname}-src.zip" | ||
rec { | ||
outputHashMode = "recursive"; | ||
outputHashAlgo = "sha256"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
outputHashAlgo = "sha256"; |
Considering davinci refuses to evaluate on 23.05 due to the python2 dep, i believe a backport can be considered a non-breaking change. |
Thanks for your work @yuuyins and everyone! |
Could someone please add the |
I'm much in favor, but won't be the one to call the shot. |
Description of changes
See #238026 (comment), #238026 (comment)
Things done
sandbox = true
set 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/
)