From cc66976d0ac41a91c357f3ff7641088a048ab695 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 31 Oct 2019 16:51:13 +0100 Subject: [PATCH] docs: document all RADV environment variables Requested by https://gitlab.freedesktop.org/mesa/mesa/issues/2022 [skip ci] Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- docs/envvars.html | 105 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/docs/envvars.html b/docs/envvars.html index 8077bf29de4..ccde327b3c4 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -544,6 +544,111 @@ Mesa EGL supports different sets of environment variables. See the +

RADV driver environment variables

+
+
RADV_DEBUG
+
a comma-separated list of named flags, which do various things: +
+
allbos
+
force all allocated buffers to be referenced in submissions
+
allentrypoints
+
enable all device/instance entrypoints
+
checkir
+
validate the LLVM IR before LLVM compiles the shader
+
errors
+
display more info about errors
+
info
+
show GPU-related information
+
metashaders
+
dump internal meta shaders
+
nobinning
+
disable primitive binning
+
nocache
+
disable shaders cache
+
nocompute
+
disable compute queue
+
nodcc
+
disable Delta Color Compression (DCC) on images
+
nodynamicbounds
+
do not check OOB access for dynamic descriptors
+
nofastclears
+
disable fast color/depthstencil clears
+
nohiz
+
disable HIZ for depthstencil images
+
noibs
+
disable directly recording command buffers in GPU-visible memory
+
noloadstoreopt
+
disable LLVM SILoadStoreOptimizer pass
+
nomemorycache
+
disable memory shaders cache
+
nongg
+
disable NGG for GFX10+
+
nooutoforder
+
disable out-of-order rasterization
+
noshaderballot
+
disable shader ballot
+
nosisched
+
disable LLVM sisched experimental scheduler
+
nothreadllvm
+
disable LLVM threaded compilation
+
preoptir
+
dump LLVM IR before any optimizations
+
shaders
+
dump shaders
+
shaderstats
+
dump shader statistics
+
spirv
+
dump SPIR-V
+
startup
+
display info at startup
+
syncshaders
+
synchronize shaders after all draws/dispatches
+
unsafemath
+
enable unsafe math operations
+
vmfaults
+
check for VM memory faults via dmesg
+
zerovram
+
initialize all memory allocated in VRAM as zero
+
+
+
RADV_FORCE_FAMILY
+
force the driver to use a specific family eg. gfx900 (developers only)
+
RADV_PERFTEST
+
a comma-separated list of named flags, which do various things: +
+
aco
+
enable ACO experimental compiler
+
bolist
+
enable the global BO list
+
cswave32
+
enable wave32 for compute shaders (GFX10+)
+
dccmsaa
+
enable DCC for MSAA images
+
dfsm
+
enable dfsm
+
gewave32
+
enable wave32 for vertex/tess/geometry shaders (GFX10+)
+
localbos
+
enable local BOs
+
nobatchchain
+
disable chained submissions
+
pswave32
+
enable wave32 for pixel shaders (GFX10+)
+
shader_ballot
+
enable shader ballot
+
sisched
+
enable LLVM sisched experimental scheduler
+
tccompatcmask
+
enable TC-compat cmask for MSAA images
+
+
+
RADV_SECURE_COMPILE_THREADS
+
maximum number of secure compile threads (up to 32)
+
RADV_TRACE_FILE
+
generate cmdbuffer tracefiles when a GPU hang is detected
+
+ +

Other Gallium drivers have their own environment variables. These may change frequently so the source code should be consulted for details. -- 2.30.2