AmdGpu : Add AMD_VULKAN_ICD env.
This commit is contained in:
parent
a52ab9e6ad
commit
de87c65071
|
@ -1,8 +1,10 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, environment, ... }: {
|
||||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
hardware.opengl.driSupport = true;
|
hardware.opengl.driSupport = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
environment.variables.AMD_VULKAN_ICD = "RADV";
|
||||||
|
# AMDVLK was broken for me (huge stuttering). So keep it disabled, at least for now.
|
||||||
# hardware.opengl.extraPackages = with pkgs; [
|
# hardware.opengl.extraPackages = with pkgs; [
|
||||||
# amdvlk
|
# amdvlk
|
||||||
# ];
|
# ];
|
||||||
|
|
Reference in a new issue