Lines Matching +full:run +full:- +full:shader +full:- +full:db
2 drm-shim
5 Panfrost implements ``drm-shim``, stubbing out the Panfrost kernel interface.
8 - Future hardware bring up
9 - Running shader-db on non-Mali workstations
10 - Reproducing compiler (and some driver) bugs without Mali hardware
14 compiler on shader-db on an Intel desktop.
16 To build Mesa with Panfrost drm-shim, configure Meson with
17 ``-Dgallium-drivers=panfrost`` and ``-Dtools=drm-shim``. See the above
18 building section for a full invocation. The drm-shim binary will be built to
19 ``build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so``.
21 To use, set the ``LD_PRELOAD`` environment variable to the drm-shim binary.
23 By default, drm-shim mocks a Mali-G52 system. To select a specific Mali GPU,
29 Mali-T720 Midgard (v4) 720
30 Mali-T860 Midgard (v5) 860
31 Mali-G72 Bifrost (v6) 6221
32 Mali-G52 Bifrost (v7) 7212
33 Mali-G57 Valhall (v9) 9093
34 Mali-G610 Valhall (v10) a867
41 build directory is ``~/mesa/build``, a shader can be compiled for Mali-G52 as:
43 .. code-block:: sh
45 ~/shader-db$ BIFROST_MESA_DEBUG=shaders \
46 LD_PRELOAD=~/mesa/build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so \
48 ./run shaders/glmark/1-1.shader_test
50 The same shader can be compiled for Mali-T720 as:
52 .. code-block:: sh
54 ~/shader-db$ MIDGARD_MESA_DEBUG=shaders \
55 LD_PRELOAD=~/mesa/build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so \
57 ./run shaders/glmark/1-1.shader_test
63 As another example, this invocation runs a single dEQP test "on" Mali-G52,
64 pretty-printing GPU data structures and disassembling all shaders
71 .. code-block:: sh
73 ~/VK-GL-CTS/build/external/openglcts/modules$ PAN_MESA_DEBUG=trace,dump \
74 LD_PRELOAD=~/mesa/build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so \
76 ./glcts --deqp-surface-type=pbuffer \
77 --deqp-gl-config-name=rgba8888d24s8ms0 --deqp-surface-width=256 \
78 --deqp-surface-height=256 -n \
79 dEQP-GLES31.functional.shaders.builtin_functions.common.abs.float_highp_compute