DaVinci Resolve: Difference between revisions
Added a section describing how to use OpenFX Plugins with DaVinci Resolve. It is worth noting that I am not aware of how many OpenFX Plugins are packaged in nixpkgs, as I am using this feature with plugins installed via a flake. |
m Reformat example code with nixfmt |
||
Line 52: | Line 52: | ||
'''Here is a confirmed minimal system configuration for amdgpu, radeonsi and OpenCL via Mesa (Rusticl):'''<syntaxhighlight lang="nix"> | '''Here is a confirmed minimal system configuration for amdgpu, radeonsi and OpenCL via Mesa (Rusticl):'''<syntaxhighlight lang="nix">{ | ||
config, | |||
lib, | |||
pkgs, | |||
... | |||
}: | |||
{ | { | ||
imports = [ ./hardware-configuration.nix]; | imports = [ ./hardware-configuration.nix ]; | ||
boot.loader.systemd-boot.enable = true; | boot.loader.systemd-boot.enable = true; | ||
boot.loader.efi.canTouchEfiVariables = true; | boot.loader.efi.canTouchEfiVariables = true; | ||
boot.kernelPackages=pkgs.linuxPackages_latest; | boot.kernelPackages = pkgs.linuxPackages_latest; | ||
boot.initrd.kernelModules=["amdgpu"]; | boot.initrd.kernelModules = [ "amdgpu" ]; | ||
nixpkgs.config.allowUnfree = true; | nixpkgs.config.allowUnfree = true; | ||
networking.hostName = "davinci-test"; | networking.hostName = "davinci-test"; | ||
networking.networkmanager.enable = true; | networking.networkmanager.enable = true; | ||
time.timeZone = "Europe/Amsterdam"; | time.timeZone = "Europe/Amsterdam"; | ||
services.pipewire = { | services.pipewire = { | ||
enable = true; | |||
pulse.enable = true; | |||
}; | |||
environment.systemPackages = with pkgs; [ | |||
kitty | |||
mesa-demos | |||
vulkan-tools | |||
clinfo | |||
davinci-resolve | |||
]; | |||
programs.hyprland.enable = true; | |||
services.dbus.enable = true; | |||
services.xserver.videoDrivers = [ "amdgpu" ]; | |||
environment.variables = { | |||
RUSTICL_ENABLE = "radeonsi"; | |||
ROC_ENABLE_PRE_VEGA = "1"; | |||
}; | |||
hardware.graphics = { | |||
enable = true; | |||
extraPackages = with pkgs; [ | |||
mesa | |||
libva | |||
libvdpau-va-gl | |||
vulkan-loader | |||
vulkan-validation-layers | |||
amdvlk # Optional: AMD's proprietary Vulkan driver | |||
mesa.opencl # Enables Rusticl (OpenCL) support | |||
]; | |||
}; | }; | ||
system.stateVersion = "24.11"; | system.stateVersion = "24.11"; | ||
} | }</syntaxhighlight> | ||
</syntaxhighlight> | |||
=== Intel === | === Intel === |