Doc: update help message of --gpu-detection-method

This commit is contained in:
李通洲
2024-05-20 19:04:57 +08:00
parent 264b6794f3
commit bb10e1c9a3
+5 -5
View File
@@ -1199,14 +1199,14 @@
{
"long": "gpu-detection-method",
"desc": "Force using a specified method to detect GPUs",
"remark": "Methods are used in this order: DRM (Linux only) -> PCI (Linux, FreeBSD and other platform specific methods) -> Vulkan -> OpenGL",
"arg": {
"type": "enum",
"optional": true,
"enum": {
"auto": "DRM (Linux only) -> PCI (Linux, FreeBSD and other platform specific methods) -> Vulkan -> OpenGL",
"pci": "PCI -> Vulkan -> OpenGL",
"vulkan": "Vulkan -> OpenGL",
"opengl": "OpenGL"
"auto": "Use DRM if available, which is most feature-rich. Requires proper DRM driver installed",
"pci": "Search PCI devices, which do not requires any driver installed",
"vulkan": "Use Vulkan API. Slow and requires vulkan driver installed",
"opengl": "Use OpenGL API. Slow and only detects one GPU"
},
"default": "auto"
}