Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 13 insertions, 3 deletions
-rw-r--r--machines/vesta/configuration.nix14
-rw-r--r--packages/default.nix2
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