Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-11-22 21:52:27 +0100
committerGitHub <noreply@github.com>2023-11-22 21:52:27 +0100
commitbb67c5a3a9ee95b3819ad4154f3cdbbbe1cf5bc5 (patch)
tree1cb6fbe481730061cdb6685ca68402e484c4800d /archinstall/lib
parent2b3142527a504cbfacca40cdb7c398ad9c7e111a (diff)
Added nvidia-dkms when installing propri driver to (#2241)
* Added nvidia-dkms when installing propri driver to fix #2233, #2214 and #2002 * Forgot class-name infront of NvidiaDKMS
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/hardware.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py
index 56d3bc7b..d9342a98 100644
--- a/archinstall/lib/hardware.py
+++ b/archinstall/lib/hardware.py
@@ -42,6 +42,7 @@ class GfxPackage(Enum):
LibvaMesaDriver = 'libva-mesa-driver'
Mesa = "mesa"
Nvidia = 'nvidia'
+ NvidiaDKMS = 'nvidia-dkms'
NvidiaOpen = 'nvidia-open'
VulkanIntel = 'vulkan-intel'
VulkanRadeon = 'vulkan-radeon'
@@ -108,7 +109,10 @@ class GfxDriver(Enum):
GfxPackage.LibvaMesaDriver
]
case GfxDriver.NvidiaProprietary:
- return [GfxPackage.Nvidia]
+ return [
+ GfxPackage.Nvidia,
+ GfxPackage.NvidiaDKMS
+ ]
case GfxDriver.VMOpenSource:
return [
GfxPackage.Mesa,