Skip to content

Commit bb10e1c

Browse files
committed
Doc: update help message of --gpu-detection-method
1 parent 264b679 commit bb10e1c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/data/help.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,14 +1199,14 @@
11991199
{
12001200
"long": "gpu-detection-method",
12011201
"desc": "Force using a specified method to detect GPUs",
1202+
"remark": "Methods are used in this order: DRM (Linux only) -> PCI (Linux, FreeBSD and other platform specific methods) -> Vulkan -> OpenGL",
12021203
"arg": {
12031204
"type": "enum",
1204-
"optional": true,
12051205
"enum": {
1206-
"auto": "DRM (Linux only) -> PCI (Linux, FreeBSD and other platform specific methods) -> Vulkan -> OpenGL",
1207-
"pci": "PCI -> Vulkan -> OpenGL",
1208-
"vulkan": "Vulkan -> OpenGL",
1209-
"opengl": "OpenGL"
1206+
"auto": "Use DRM if available, which is most feature-rich. Requires proper DRM driver installed",
1207+
"pci": "Search PCI devices, which do not requires any driver installed",
1208+
"vulkan": "Use Vulkan API. Slow and requires vulkan driver installed",
1209+
"opengl": "Use OpenGL API. Slow and only detects one GPU"
12101210
},
12111211
"default": "auto"
12121212
}

0 commit comments

Comments
 (0)