DaVinci Resolve: Difference between revisions

Opengears (talk | contribs)
Explained differences between packages and installation issues
Opengears (talk | contribs)
confirmed minimal system configuration for amdgpu, radeonsi and OpenCL via Mesa (Rusticl) to start Davinci Resolve
Line 23: Line 23:
| Pre-GCN & Early GCN || Radeon HD 5000/6000/7000 Series || Limited (OpenCL 1.1) || Not supported || Experimental || No || No || ❌ No reports
| Pre-GCN & Early GCN || Radeon HD 5000/6000/7000 Series || Limited (OpenCL 1.1) || Not supported || Experimental || No || No || ❌ No reports
|-
|-
| GCN 4th Gen (Polaris) || Radeon RX 400/500 Series || Moderate (OpenCL 1.2) || Supported up to ROCm 5.6 || Yes || Yes || Vulkan 1.0 ||  
| GCN 4th Gen (Polaris) || Radeon RX 400/500 Series || Moderate (OpenCL 1.2) || Supported up to ROCm 5.6 || Yes || Yes || Vulkan 1.0 || ✅ Confirmed with amdgpu, radeonsi and OpenCL via Mesa (rustiCL). See the configuration
|-
|-
| GCN 5th Gen (Vega) || Radeon RX Vega Series || Moderate (OpenCL 1.2) || Supported up to ROCm 5.6 || Yes || Yes || Vulkan 1.1 ||  
| GCN 5th Gen (Vega) || Radeon RX Vega Series || Moderate (OpenCL 1.2) || Supported up to ROCm 5.6 || Yes || Yes || Vulkan 1.1 ||  
Line 33: Line 33:
| RDNA3 (Navi 3x) || Radeon RX 7000 Series || Good (OpenCL 1.2) || Supported || Yes || Yes || Vulkan 1.3 || ✅ Confirmed
| RDNA3 (Navi 3x) || Radeon RX 7000 Series || Good (OpenCL 1.2) || Supported || Yes || Yes || Vulkan 1.3 || ✅ Confirmed
|}
|}
 
Contrary to the [https://wiki.archlinux.org/title/DaVinci_Resolve#Installation Arch Wiki], DaVinci Resolve seems to work (on an RX 570) without switching to proprietary GPU drivers, as they can work with [https://www.phoronix.com/search/RadeonSI radeonsi]. Cheap and good working cards to look out for are the ''Radeon RX Polaris'' series, which are supported with the amdgpu driver (radeonssi, OpenCL via Mesa and Rusticl).
 
 
A cheap and good card to look out for are the Radeon RX Vega Series which are supported with the amdgpu driver. Better for davinci are cards with RDNA (Radeon RX 5000 or newer).


There is also the proprietary '''amdgpu-pro''' driver which has [https://www.reddit.com/r/NixOS/comments/13vcufk/install_radeon_6650xt_pro_drivers/ mixed results]. The free drivers (amdgpu) are better.  
There is also the proprietary '''amdgpu-pro''' driver which has [https://www.reddit.com/r/NixOS/comments/13vcufk/install_radeon_6650xt_pro_drivers/ mixed results]. The free drivers (amdgpu) are better.  


Contrary to the [https://wiki.archlinux.org/title/DaVinci_Resolve#Installation Arch Wiki], DaVinci Resolve seems to work (on an RX 570) without switching to proprietary GPU drivers.
'''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];
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;
  boot.kernelPackages=pkgs.linuxPackages_latest;
  boot.initrd.kernelModules=["amdgpu"];
  nixpkgs.config.allowUnfree = true;
  networking.hostName = "davinci-test";
  networking.networkmanager.enable = true;
  time.timeZone = "Europe/Amsterdam";
  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";
}
</syntaxhighlight>


=== Intel ===
=== Intel ===