diff options
| Commit | 9e77f00cdda8e4124aa9c25fe51ed6d342efab0e (patch) | |
|---|---|---|
| Author | 2023-12-16 09:41:42 +0200 | |
| Committer | 2023-12-16 09:41:42 +0200 | |
| Files | a72ab226b101f37a5e8a0002726d82dc95ac29d2 | |
| nix-9e77f00cdda8e4124aa9c25fe51ed6d342efab0e.tar nix-9e77f00cdda8e4124aa9c25fe51ed6d342efab0e.tar.gz nix-9e77f00cdda8e4124aa9c25fe51ed6d342efab0e.zip | ||
| Parent | cdc74857a8155c070bc4ab6c0648261926b79a5b (diff) | |
[machines/vesta] Updated graphics configuration with tools, added vaapi and amdvlk
2 files changed, 13 insertions, 3 deletions
| -rw-r--r-- | machines/vesta/configuration.nix | 14 | ||||
| -rw-r--r-- | packages/default.nix | 2 |
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 |
