From bb550f9316fc45d82ca2fb2842eadf270913262c Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Thu, 30 Nov 2023 10:47:55 +0000 Subject: [PATCH] Attempting driver debugging --- nix/london/configuration.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/nix/london/configuration.nix b/nix/london/configuration.nix index e7ef14d..093dbc2 100644 --- a/nix/london/configuration.nix +++ b/nix/london/configuration.nix @@ -152,24 +152,27 @@ }; }; }; - + programs.corectrl.enable = true; hardware = { opengl = { enable = true; driSupport = true; driSupport32Bit = true; + extraPackages = with pkgs; [ + rocm-opencl-icd + rocm-opencl-runtime + amdvlk + ]; + extraPackages32 = with pkgs; [ + driversi686Linux.amdvlk + ]; }; - nvidia = { - modesetting.enable = true; - nvidiaSettings = true; - open = true; - package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta; - }; + sane.enable = true; sane.extraBackends = [ pkgs.epkowa ]; pulseaudio.enable = false; }; - + environment.variables.AMD_VULKAN_ICD = "RADV"; xdg.portal.enable = true; programs = {