lorn10
00aa8816a1
docs: Update Clover's env variable documentation
...
Fixes: 981bc603b4
("clover: implement CLOVER_DEVICE_TYPE like RUSTICL_DEVICE_TYPE")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21657 >
2023-09-19 18:55:28 +05:30
Pierre-Eric Pelloux-Prayer
af27ecb089
device_select: add shortcut for MESA_VK_DEVICE_SELECT_FORCE_DEFAULT_DEVICE
...
MESA_VK_DEVICE_SELECT_FORCE_DEFAULT_DEVICE=1 is useful but it's tedious
to type. This commit extends slightly DRI_PRIME/MESA_VK_DEVICE_SELECT
syntax support: if "!" is appended at the end then only the selected GPU
will be made visible to the application.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24750 >
2023-09-18 07:45:28 +00:00
Pierre-Eric Pelloux-Prayer
b935ce0131
docs: update DRI_PRIME documentation
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24750 >
2023-09-18 07:45:27 +00:00
Karol Herbst
54b37078eb
rusticl: add debug option to sync every event
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24868 >
2023-08-25 12:03:28 +00:00
Konstantin Seurer
8c98814874
vulkan/wsi/x11: Implement capture hotkey using the keymap
...
This way, we can avoid opening another connection. The capture key is
changes to F1 because F12 has issues on Wayland. (After pressing F12,
all keys become unresponsive, refocussing the window fixes it)
Fixes: 291fa05
("vulkan/wsi/x11: Capture traces using a hotkey")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9578
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24710 >
2023-08-25 08:05:58 +00:00
Rob Clark
4275781896
docs: Followup to !24636
...
Update docs to reflect that EGL_ANDROID_blob_cache is now available even
if on-disk caching is disabled.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24853 >
2023-08-23 21:26:08 +00:00
Lionel Landwerlin
6f694432e4
intel/fs: add variable for output of debug backend optimizer
...
It can be useful to compare 2 runs with different compiler changes.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24552 >
2023-08-10 06:39:57 +00:00
Sagar Ghuge
12be0829ea
docs: Add INTEL_DEBUG_BKP_BEFORE/AFTER_DRAW_COUNT
...
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24308 >
2023-08-08 17:36:20 +00:00
Felix DeGrood
6e7718dcea
anv: debug messaging for sparse texture usage
...
Enable sparse debug messages with INTEL_DEBUG=sparse
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24046 >
2023-08-03 19:57:19 +00:00
Friedrich Vock
d92520e19c
Revert "Revert "radv: Enable ray tracing pipelines by default""
...
This reverts commit 49b400423c
.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23978 >
2023-07-08 10:10:15 +00:00
Konstantin Seurer
107d29765b
docs: Update envvars used for tracing
...
Updates the environment variables reference to document the new common
tracing infrastructure.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20573 >
2023-06-27 06:25:56 +00:00
Karol Herbst
45d86b419b
rusticl/program: add debugging option to disable SPIR-V validation
...
This is useful for running applications known to pass in invalid SPIR-V.
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Nora Allen <blackcatgames@protonmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23818 >
2023-06-24 01:52:07 +00:00
Karol Herbst
2b2a513890
rusticl/program: add debugging for OpenCL C compilation
...
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Nora Allen <blackcatgames@protonmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23818 >
2023-06-24 01:52:07 +00:00
Karol Herbst
2362fd502b
docs: document CLC_DEBUG
...
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Nora Allen <blackcatgames@protonmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23818 >
2023-06-24 01:52:07 +00:00
Karol Herbst
29b4c1a09f
rusticl: experimental support for cl_khr_fp16
...
Hidden behind `RUSTICL_ENABLE=fp16` for now as the OpenCL CTS doesn't have
enough fp16 tests at the moment. There has been a lot of work on it though,
so hopefully we can enable and verify it soon.
Additionally libclc also misses a bunch of fp16 functionality, so most of
the tests would also just crash.
However this flag is useful for development as it already wires up most of
the code needed.
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Nora Allen <blackcatgames@protonmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23788 >
2023-06-22 10:45:48 +00:00
Konstantin Seurer
49b400423c
Revert "radv: Enable ray tracing pipelines by default"
...
This partially reverts commit 374bd4e1be
.
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23677 >
2023-06-16 16:13:34 +00:00
Friedrich Vock
374bd4e1be
radv: Enable ray tracing pipelines by default
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23603 >
2023-06-13 19:38:27 +00:00
Friedrich Vock
fa7c7791ee
radv: Add RADV_DEBUG=nort
...
This makes vkCmdTraceRaysKHR and ray queries no-ops and is useful
for triaging GPU hangs with raytracing.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23603 >
2023-06-13 19:38:27 +00:00
Emma Anholt
ae777b1836
r300: Drop RADEON_DEBUG=use_tgsi.
...
The NIR path is default, and well-trodden at this point. By dropping
support for input as TGSI, we get rely on the NIR trig lowering.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23114 >
2023-06-12 17:37:54 +00:00
Emma Anholt
f71762f54e
softpipe: Drop the use_tgsi debug flag.
...
We lower to TGSI inside the driver just fine, no need to ask the frontend
for it.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23114 >
2023-06-12 17:37:54 +00:00
norablackcat
91e5c4a82f
docs: rusticl envvars list supported drivers
...
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23544 >
2023-06-10 23:37:47 +00:00
Alyssa Rosenzweig
389c0fdc7c
asahi: Add ASAHI_MESA_DEBUG=nowc flag
...
Add a debug flag to disable write-combining as a performance hack. This may help
diagnose slowness with glReadPixels() heavy workloads like screen capture.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23480 >
2023-06-07 03:21:49 +00:00
norablackcat
1df30b01ff
docs/rusticl: add Contributing section
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23051 >
2023-05-17 20:25:01 +00:00
Iván Briano
fbc0e74bda
anv: enable graphics pipeline libraries by default
...
Since we are disabling mesh, which has issues with gpl, enable gpl by
default now, leaving the renamed environment variable as a way to
disable it for debug purposes.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22910 >
2023-05-10 01:23:16 +00:00
Lionel Landwerlin
c60e94d61f
anv: make internal address space allocation more dynamic
...
We're about to manipulate these pools and dealing with the fix address
ranges is painful.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22847 >
2023-05-05 14:48:15 +03:00
Luna Nova
c38bf95a06
device_select_layer: log selectable devices if MESA_VK_DEVICE_SELECT_DEBUG or DRI_PRIME_DEBUG are set
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19101 >
2023-05-03 20:55:51 -04:00
Felix DeGrood
b22e5fab8c
docs: Add INTEL_DEBUG_BATCH_FRAME_START/_STOP
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22564 >
2023-04-28 04:37:05 +00:00
Samuel Pitoiset
5e6c716173
docs: add missing ACO_DEBUG=force-waitdeps
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22688 >
2023-04-26 16:40:27 +00:00
Samuel Pitoiset
b0b55dc602
docs: rename ACO_DEBUG=noscheduling to ACO_DEBUG=nosched
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22688 >
2023-04-26 16:40:27 +00:00
Karol Herbst
cc0de56a0e
rusticl/device: allow enablement of fp64 via RUSTICL_FEATURES
...
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22649 >
2023-04-25 04:27:57 +00:00
Karol Herbst
b90d1cfbfe
rusticl/platform: add RUSTICL_FEATURES boilerplate
...
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22649 >
2023-04-25 04:27:57 +00:00
Emma Anholt
647ca81654
anv: Only enable GPL if ANV_GPL=true, or if zink or DXVK are the engine.
...
Since there are concerns that the VK_EXT_GPL implementation may have
issues with mesh shading, disable it by default but give users a knob to
turn it on to experiment.
This doesn't automatically enable GPL use in zink, because we lack
extendedDynamicState2PatchControlPoints, but it means that you only need
to set ZINK_DEBUG=gpl and not both env vars.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15637 >
2023-04-17 22:43:37 +00:00
Felix DeGrood
33886e5ef2
docs: add INTEL_MEASURE=cpu
...
Update documentation about INTEL_MEASURE=cpu
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:50 +00:00
Lionel Landwerlin
267dcdca8a
docs: add missing MESA_VK_WSI_HEADLESS_SWAPCHAIN variable
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22478 >
2023-04-14 00:45:25 +00:00
Karol Herbst
ca1e9917a9
rusticl/program: allow dumping compilation logs through RUSTICL_DEBUG
...
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22280 >
2023-04-13 02:54:21 +00:00
Samuel Pitoiset
6476abd821
radv: enable VK_EXT_graphics_pipeline_library by default
...
You won't get your money back!
It's been a very long time but everything should be working great now.
This replaces RADV_PERFTEST=gpl by RADV_DEBUG=nogpl to disable the
extension for debugging purposes.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22362 >
2023-04-10 10:02:32 +00:00
Timur Kristóf
faf8375fc3
radv: Don't expose NV_mesh_shader and don't use it in CI.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22139 >
2023-03-29 15:08:55 +00:00
Pierre-Eric Pelloux-Prayer
c1050b5330
radv: add RADV_DEBUG=extra_md
...
This enables the use of UMD metadata v2. This allows tools (eg umr)
import buffers.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21984 >
2023-03-28 15:17:28 +00:00
Pierre-Eric Pelloux-Prayer
46d2655a18
radeonsi: add AMD_DEBUG=extra_md
...
When this debug flag is set, the driver sets the umd metadata for
all color textures and enables the use of extended metadata.
Extended metadata allows umr to import textures and setting these
on all color texture allows to import non-exported textures
(eg: dGPU draw surface when DRI_PRIME=1 is used).
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21984 >
2023-03-28 15:17:28 +00:00
Erik Faye-Lund
46143ecc4c
docs: escape a few more strings
...
This makes it more obvious that these are not just plain english words.
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21896 >
2023-03-21 11:19:41 +00:00
Erik Faye-Lund
331601abda
docs: fixup broken envvar-role syntax
...
This needs a leading colon, otherwise it renders as "envvar:" followed
with environment variable using the c-expression role.
Fixes: 4c19426fd6
("docs/envvars: add missing mesa disk cache envvars")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21896 >
2023-03-21 11:19:41 +00:00
Tatsuyuki Ishi
a8c5fd3b1b
radv: Upload shaders to invisible VRAM on small BAR systems.
...
Following PAL's implementation, this patch avoids allocating shader code
buffers in BAR and use SDMA to upload them to invisible VRAM
directly.
For some games like HZD, shaders can take as much as 400MB, which exceeds
the non-resizable BAR size (256MB) and cause inconsistent spilling
behavior. The kernel will normally move these to invisible VRAM on its own,
but there are a few cases that it does not reliably happen. This patch does
the moving explicitly in the driver to ensure predictable results.
In this patch, we upload the shaders synchronously; so the shader will be
ready as soon as vkCreate*Pipeline returns. A following patch will make
this asynchronous and don't block until we see a use of the pipeline.
As a side effect, when SQTT is used we now store the shaders on a cacheable
buffer which would speed up writing the trace to the disk.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16271 >
2023-03-16 18:02:57 +00:00
Felix DeGrood
341f1011a6
intel/perf: Hide extended metrics by default
...
XE architecture enables many more metrics, perhaps too many for
the average user. Reduce reported metrics to smaller subset,
known as non-extended metrics, by default. Can re-enable extended
metrics with env var INTEL_EXTENDED_METRICS=1
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21841 >
2023-03-11 05:05:06 +00:00
Sagar Ghuge
9a34b2ab0e
intel/compiler: Add swsb_stall debug option
...
When enabled, on gfx12 plus, we will add the sync nop instruction after
each instruction to make sure that current instruction depends on the
previous instruction explicitly.
This option will help us to get a hint if something is missing or broken
in software scoreboard pass.
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21797 >
2023-03-10 06:55:39 +00:00
Lionel Landwerlin
8dd960e056
anv/iris: report counter symbols with debug option
...
v2: rename to INTEL_DEBUG=perf-symbol-names
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17672 >
2023-03-08 12:45:43 +00:00
Italo Nicola
3174cfcaf2
hud: add GALLIUM_HUD_OPACITY envvar
...
GALLIUM_HUD_OPACITY can be used with a % value from 0 to 100, to specify
the opacity of the gallium hud background.
Signed-off-by: Italo Nicola <italonicola@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Tested-by: Chris Healy <healych@amazon.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20339 >
2023-03-06 16:50:27 +00:00
Friedrich Vock
de4e3da4c4
docs: Fix formatting for RMV tracing docs
...
Fixes: e1cbff22
("docs: Add short documentation about RMV tracing variables")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21502 >
2023-02-26 19:15:44 +00:00
Samuel Pitoiset
2a008018c1
docs: stop reporting RADV_PERFTEST=gpl as experimental/suboptimal
...
The graphics pipeline library implementation in RADV has been
improved considerably lately.
There is still a bit of work for caching individual libraries
and optimized (LTO) pipelines but I think overall it seems good
enough to stop reporting it as experimental and suboptimal.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21213 >
2023-02-10 07:59:12 +00:00
Samuel Pitoiset
1fdf6e140d
docs: add missing RADV_PERFTEST=video_decode
...
Fixes: 9477f117f4
("radv/video: add initial frameworking.")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21158 >
2023-02-09 12:05:26 +00:00
Simon Perretta
d187418f63
pvr: Add new Rogue compiler framework
...
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com >
Acked-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20430 >
2023-02-08 15:15:17 +00:00