Merge pull request #418 from dylanmtaylor/graphics-driver-list
Change graphics driver selection based on #414
This commit is contained in:
commit
08121c88a4
|
|
@ -3,24 +3,53 @@ from .general import sys_command
|
||||||
from .networking import list_interfaces, enrichIfaceTypes
|
from .networking import list_interfaces, enrichIfaceTypes
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
__packages__ = ['xf86-video-amdgpu', 'xf86-video-ati', 'xf86-video-intel', 'xf86-video-nouveau', 'xf86-video-fbdev', 'xf86-video-vesa', 'xf86-video-vmware', 'nvidia', 'mesa']
|
__packages__ = [
|
||||||
|
"mesa",
|
||||||
|
"xf86-video-amdgpu",
|
||||||
|
"xf86-video-ati",
|
||||||
|
"xf86-video-nouveau",
|
||||||
|
"xf86-video-vmware",
|
||||||
|
"libva-mesa-driver",
|
||||||
|
"libva-intel-driver",
|
||||||
|
"intel-media-driver",
|
||||||
|
"vulkan-radeon",
|
||||||
|
"vulkan-intel",
|
||||||
|
"nvidia",
|
||||||
|
]
|
||||||
|
|
||||||
AVAILABLE_GFX_DRIVERS = {
|
AVAILABLE_GFX_DRIVERS = {
|
||||||
# Sub-dicts are layer-2 options to be selected
|
# Sub-dicts are layer-2 options to be selected
|
||||||
# and lists are a list of packages to be installed
|
# and lists are a list of packages to be installed
|
||||||
'AMD / ATI' : {
|
"All open-source (default)": [
|
||||||
'amd' : ['xf86-video-amdgpu'],
|
"mesa",
|
||||||
'ati' : ['xf86-video-ati']
|
"xf86-video-amdgpu",
|
||||||
|
"xf86-video-ati",
|
||||||
|
"xf86-video-nouveau",
|
||||||
|
"xf86-video-vmware",
|
||||||
|
"libva-mesa-driver",
|
||||||
|
"libva-intel-driver",
|
||||||
|
"intel-media-driver",
|
||||||
|
"vulkan-radeon",
|
||||||
|
"vulkan-intel",
|
||||||
|
],
|
||||||
|
"AMD / ATI (open-source)": [
|
||||||
|
"mesa",
|
||||||
|
"xf86-video-amdgpu",
|
||||||
|
"xf86-video-ati",
|
||||||
|
"libva-mesa-driver",
|
||||||
|
"vulkan-radeon",
|
||||||
|
],
|
||||||
|
"Intel (open-source)": [
|
||||||
|
"mesa",
|
||||||
|
"libva-intel-driver",
|
||||||
|
"intel-media-driver",
|
||||||
|
"vulkan-intel",
|
||||||
|
],
|
||||||
|
"Nvidia": {
|
||||||
|
"open-source": ["mesa", "xf86-video-nouveau", "libva-mesa-driver"],
|
||||||
|
"proprietary": ["nvidia"],
|
||||||
},
|
},
|
||||||
'intel' : ['xf86-video-intel'],
|
"VMware / VirtualBox (open-source)": ["mesa", "xf86-video-vmware"],
|
||||||
'nvidia' : {
|
|
||||||
'open-source' : ['xf86-video-nouveau'],
|
|
||||||
'proprietary' : ['nvidia']
|
|
||||||
},
|
|
||||||
'mesa' : ['mesa'],
|
|
||||||
'fbdev' : ['xf86-video-fbdev'],
|
|
||||||
'vesa' : ['xf86-video-vesa'],
|
|
||||||
'vmware / virtualbox' : ['xf86-video-vmware']
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def hasWifi()->bool:
|
def hasWifi()->bool:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue