mirror of https://gitlab.freedesktop.org/mesa/mesa
docs: replace references to the deprecated VK_ICD_FILENAMES with the new VK_DRIVER_FILES
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28516>
This commit is contained in:
parent
4e746c90a4
commit
5a8ce84c92
|
@ -65,14 +65,14 @@ In another shell,
|
|||
|
||||
.. code-block:: sh
|
||||
|
||||
$ export VK_ICD_FILENAMES=<path-to-virtio_icd.x86_64.json>
|
||||
$ export VK_DRIVER_FILES=<path-to-virtio_icd.x86_64.json>
|
||||
$ export VN_DEBUG=vtest
|
||||
$ vulkaninfo
|
||||
$ vkcube
|
||||
|
||||
If the host driver of the system is not new enough, it is a good idea to build
|
||||
the host driver as well when building the Venus driver. Just remember to set
|
||||
:envvar:`VK_ICD_FILENAMES` when starting the vtest server so that the vtest
|
||||
:envvar:`VK_DRIVER_FILES` when starting the vtest server so that the vtest
|
||||
server finds the locally built host driver.
|
||||
|
||||
Virtio-GPU
|
||||
|
@ -99,7 +99,7 @@ This is how one might want to start crosvm
|
|||
|
||||
.. code-block:: sh
|
||||
|
||||
$ sudo LD_LIBRARY_PATH=<...> VK_ICD_FILENAMES=<...> ./target/debug/crosvm run \
|
||||
$ sudo LD_LIBRARY_PATH=<...> VK_DRIVER_FILES=<...> ./target/debug/crosvm run \
|
||||
--gpu vulkan=true \
|
||||
--gpu-render-server path=<path-to-virglrenderer>/out/server/virgl_render_server \
|
||||
--display-window-keyboard \
|
||||
|
|
|
@ -161,7 +161,7 @@ Vulkan
|
|||
|
||||
.. code-block:: sh
|
||||
|
||||
VK_ICD_FILENAMES="$MESA_INSTALLDIR/share/vulkan/icd/my_icd.json" vulkaninfo
|
||||
VK_DRIVER_FILES="$MESA_INSTALLDIR/share/vulkan/icd/my_icd.json" vulkaninfo
|
||||
|
||||
where ``my_icd.json`` is replaced with the actual ICD json file name. This
|
||||
will depend on your driver. For instance, the 64-bit Lavapipe driver ICD file
|
||||
|
|
|
@ -286,9 +286,9 @@ Here is one solution:
|
|||
unset LIBGL_DEBUG
|
||||
unset LIBGL_ALWAYS_SOFTWARE
|
||||
unset GALLIUM_DRIVER
|
||||
export VK_ICD_FILENAMES=`pwd`/test/usr/local/share/vulkan/icd.d/intel_icd.x86_64.json
|
||||
export VK_DRIVER_FILES=`pwd`/test/usr/local/share/vulkan/icd.d/intel_icd.x86_64.json
|
||||
steam steam://rungameid/570 -vconsole -vulkan
|
||||
unset VK_ICD_FILENAMES
|
||||
unset VK_DRIVER_FILES
|
||||
|
||||
Create release notes for the new release
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue