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 ++++++++++++-- packages/default.nix | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) 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 diff --git a/packages/default.nix b/packages/default.nix index bf39611..060ac9e 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -2,7 +2,7 @@ cli-apps = { pkgs, ... }: { environment.systemPackages = with pkgs; [ # Hardware managing apps - pipewire libinput lm_sensors lshw usbutils chrony iotop bluez + pipewire libinput lm_sensors lshw usbutils chrony iotop bluez efibootmgr libva-utils parted dosfstools mtpfs ntfs3g squashfsTools # Network wget git rsync inetutils vnstat -- cgit v1.3.1-23-gd82d