diff options
author | Philip Langdale <philipl@overt.org> | 2022-11-26 10:02:17 -0800 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2023-09-04 15:22:20 -0700 |
commit | 02b49458a37313efa1b6bbaf99a73f406cd3eece (patch) | |
tree | 8e7b9773f9c6f4a806cb635fc4610e0c91fa014f /DOCS/man/options.rst | |
parent | fb5273985cf2f5ae2c84eb95e1f79c49a549e2e5 (diff) | |
download | mpv-02b49458a37313efa1b6bbaf99a73f406cd3eece.tar.bz2 mpv-02b49458a37313efa1b6bbaf99a73f406cd3eece.tar.xz |
vo: vulkan: allow picking devices by UUID
We currently only allow specifying the Vulkan device to use by name. We
did this to avoid confusion around devices being enumerated in an
unpredictable order. However, there is a valid edge case where a system
may contain multiple devices of the same type - which means they will
have the same name, and so you can't control which one is used.
This change implements picking devices by UUID so that if names don't
work, you have some option available. As Vulkan 1.1 is a hard
requirement for libplacebo, we can just use UUIDs without conditional
checks.
Fixes #10898
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 21afd00c4d..e7a746d587 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -5586,11 +5586,11 @@ them. results, as can missing or incorrect display FPS information (see ``--override-display-fps``). -``--vulkan-device=<device name>`` - The name of the Vulkan device to use for rendering and presentation. Use +``--vulkan-device=<device name|UUID>`` + The name or UUID of the Vulkan device to use for rendering and presentation. Use ``--vulkan-device=help`` to see the list of available devices and their - names. If left unspecified, the first enumerated hardware Vulkan device will - be used. + names and UUIDs. If left unspecified, the first enumerated hardware Vulkan + device will be used. ``--vulkan-swap-mode=<mode>`` Controls the presentation mode of the vulkan swapchain. This is similar |