From 9e77f00cdda8e4124aa9c25fe51ed6d342efab0e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 16 Dec 2023 09:41:42 +0200 Subject: [machines/vesta] Updated graphics configuration with tools, added vaapi and amdvlk --- machines/vesta/configuration.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'machines') diff --git a/machines/vesta/configuration.nix b/machines/vesta/configuration.nix index c08e466..25b6db2 100644 --- a/machines/vesta/configuration.nix +++ b/machines/vesta/configuration.nix @@ -10,7 +10,7 @@ }; environment.systemPackages = with pkgs; [ - alsa-plugins radeontop + alsa-plugins radeontop glxinfo vulkan-tools clinfo gpu-viewer ]; programs.steam = { @@ -25,6 +25,9 @@ }; # GPU + # There is a potential bug with amdgpu driver (https://bugzilla.mozilla.org/show_bug.cgi?id=1437520#c4) + # Remember to disable VAAPI for this machine in Firefox: media.ffmpeg.vaapi.enabled = false (https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration) + boot.initrd.kernelModules = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ]; # for Southern Islands (SI ie. GCN 1) cards @@ -36,9 +39,16 @@ # Mesa enable = true; - # OpenCL extraPackages = with pkgs; [ + # OpenCL rocmPackages.clr + # VA-API + libva + # AMDVLK + amdvlk + ]; + extraPackages32 = with pkgs; [ + driversi686Linux.amdvlk ]; # Vulkan -- cgit v1.3.1-26-gb76a