Repository navigation
Conversation
|
Still WIP but getting started on it |
d24347d to
5cff8ae
Compare
|
I gave the beta package a try: $ nix log /nix/store/r93w6lwgmdlfss593b55g1341zmwjvs5-davinci-resolve-beta-src.zip.drv
curl: (3) URL using bad/illegal format or missing URL |
There was a problem hiding this comment.
is the derivation so different that it can't be in the same file?
you could use an argument studio ? false and only if true add certain dependencies or extra stuff
like here:
I get that same error. I added some debug to bring out RESOLVEURL and got RESOLVEURL = Error: The download id '12e3370b90704a3eb632574b67f51425' was not found: lang=enI just noticed that the version for the beta is "17.0b10". So I am now thinking that is the beta that was released before 17.1 -- and that it is no longer available for download. So, for anyone who was thinking of giving it a try because they wanted to see if the bleeding edge stuff works better -- don't bother. The 'beta' is older than 17.4.6. |
6984c9f to
0dd133e
Compare
There was a problem hiding this comment.
Im digging the generic pattern 🙂
There was a problem hiding this comment.
Keep it up! Im sure youll figure out whats going on
There was a problem hiding this comment.
As I noted above -- I don't think it is possible to get past that download error. As far as I can tell there is currently no beta version of Davinci Resolve available for download. The 17.0b10 beta was released in Feb 2021 and is no longer available for download now that Resolve 17.1 (and beyond) has been released.
As far as I can tell, there are no betas for Resolve 18 available yet.
There was a problem hiding this comment.
In an attempt to make me look wrong, black magic design released the Davinci Resolve 18 beta today. So there is now a beta version available. I am looking forward to trying it since 17 does nothing but crash on startup for me.
There was a problem hiding this comment.
isnt that always how it works out 😆
|
With this patch i was able to download the new beta, I did not change the Unfortunately, when I start davinci-resolve it runs for a few seconds and then pops up the crash handler. I don't even get the splash screen. I am not really sure what is wrong. Could it be related to this message in the I have not gotten any version of DaVinci Resolve to work under NixOS. 17 crashes with the same error. I was able to get Resolve 17.4.6 to run on my NixOS machine by using this docker container, https://github.com/fat-tire/resolve Which suggests my hardware configuration is fine and that the problem is an issue with libraries. |
Any news with this? |
|
Good job guy. I really appreciate that there are volunteers in the world to do this. I would help if I could. I can't wait for the beta and studio version. |
Been very busy with personal items for the past couple of months. Hoping to continue working on it soon. Anyone is welcome to contribute too if there are willing 😄 |
|
@stepcut Based on this https://bbs.archlinux.org/viewtopic.php?id=274702, it's possible for a single qt5 plugin to break qt5... which seems insane in this case since (at least according to semver) such a minor version increase shouldn't break any API, although I admire their strictness, I guess?... I wonder if Blackmagic's released another beta since this ticket was last updated. I'm impressed by all the work done here so far; it's really a sell on NixOS since it seems (from googling issues on other linux distros with this app... and there are a lot) that if it works at all, it's completely by accident, which explains why something like |
|
Any movement on this? 18 has been released since. FWIW, with the following patch on top of this PR: diff --git a/pkgs/applications/video/davinci-resolve/default.nix b/pkgs/applications/video/davinci-resolve/default.nix
index e4c4c8dbf8a..6863d5f58fe 100644
--- a/pkgs/applications/video/davinci-resolve/default.nix
+++ b/pkgs/applications/video/davinci-resolve/default.nix
@@ -10,11 +10,11 @@ in
rec {
stable = generic {
- version = "17.4.6";
+ version = "18.1.4";
pname = "davinci-resolve";
- downloadid = "0e34f66357634628b918e96b6680c137";
+ downloadid = "6449dc76e0b845bcb7399964b00a3ec4";
referid = "95925530c5fd4572a47debdcdc2e3f23";
- outputHash = "0cxhvn2i6j0ji2wk3qwq3gc70vx3vfvh5hn81l7km9n9kfxbc0nd";
+ outputHash = "02z4zv4y9601y3svkyli6w1i3n5wjcvn8qrn5i33gbsb3vbr6hn9";
};
beta = generic {
diff --git a/pkgs/applications/video/davinci-resolve/generic.nix b/pkgs/applications/video/davinci-resolve/generic.nix
index 1d640839e6c..91e520f0c04 100644
--- a/pkgs/applications/video/davinci-resolve/generic.nix
+++ b/pkgs/applications/video/davinci-resolve/generic.nix
@@ -23,6 +23,8 @@
, xkeyboard_config
, glib
, libarchive
+, dbus
+, libxkbcommon
, python
}:
@@ -159,6 +161,13 @@ buildFHSUserEnv {
glib
libarchive
xdg-utils # xdg-open needed to open URLs
+ dbus.lib
+ libxkbcommon
+ xorg.xcbutil
+ xorg.xcbutilimage
+ xorg.xcbutilkeysyms
+ xorg.xcbutilrenderutil
+ xorg.xcbutilwm
python
# currently they want python 3.6 which is EOL
#python3I can build 18 (I am not sure why these libs are now required, even though Resolve seems to ship them itself). However, running it displays a splash screen for a short while, and then segfaults: see debug logs. This seems to happen on machines with both NVIDIA and AMD GPUs. This caught my eye: |
|
Here someone created a flatpak for 18: https://github.com/pobthebuilder/resolve-flatpak/tree/main Maybe that can help to update and fix our package. |
Description of changes
Adding beta and studio versions.
Things done
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/)nixos/doc/manual/md-to-db.shto update generated release notesresolves #166902