Lines Matching +full:iris +full:- +full:traces

5 set -ex
8 export PYTHONPATH=/usr/local/lib/python3.7/site-packages
18 while [ -n "$1" ] ; do
21 --trace|-t)
26 --benchmark|-b)
32 --perfetto|-p)
38 --wait-after-frame|-w)
39 command="$command wait-after-frame=1"
40 wait_after_frame="--wait-after-frame"
43 --snapshot|-s)
44 command="$command record-frame=1"
48 --debug)
52 echo "Unknown option '$1' given, run with option --help to see supported options"
65 mkdir -p build
67 if [ ! -f build/build.ninja ]; then
69 -Dprefix=/usr/local \
70 -Ddri-drivers=i965 \
71 -Dgallium-drivers=swrast,virgl,radeonsi,iris \
72 -Dbuildtype=debugoptimized \
73 -Dllvm=enabled \
74 -Dglx=dri \
75 -Degl=enabled \
76 -Dgbm=disabled \
77 -Dgallium-vdpau=disabled \
78 -Dgallium-va=disabled \
79 -Dvulkan-drivers=[] \
80 -Dvalgrind=disabled \
81 -Dtracing=perfetto \
82 -Dlibdir=lib
86 -Dprefix=/usr/local \
87 -Ddri-drivers=i965 \
88 -Dgallium-drivers=swrast,virgl,radeonsi,iris \
89 -Dbuildtype=debugoptimized \
90 -Dllvm=enabled \
91 -Dglx=dri \
92 -Degl=enabled \
93 -Dgbm=disabled \
94 -Dgallium-vdpau=disabled \
95 -Dgallium-va=disabled \
96 -Dvulkan-drivers=[] \
97 -Dvalgrind=disabled \
98 -Dtracing=perfetto \
99 -Dlibdir=lib
102 ninja -C build/ install
106 mkdir -p build
108 if [ ! -f build/build.ninja ]; then
110 -Dprefix=/usr/local \
111 -Dlibdir=lib \
112 -Dplatforms=egl \
113 -Dminigbm_allocation=true \
114 -Dtracing=perfetto \
115 -Dbuildtype=debugoptimized
119 -Dprefix=/usr/local \
120 -Dlibdir=lib \
121 -Dplatforms=egl \
122 -Dminigbm_allocation=true \
123 -Dtracing=perfetto \
124 -Dbuildtype=debugoptimized
127 ninja -C build/ install
137 export LD_LIBRARY_PATH="/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
140 datadir="/traces-db/${trace_no_ext}-out"
143 wflinfo --platform surfaceless_egl --api gles2
151 eglretrace --benchmark --loop=$benchmark_loops --headless "/traces-db/${trace}"
166 /gfx-pps/build/src/gpu/producer-gpu &
168 …/perfetto/out/dist/perfetto --txt -c /usr/local/perfetto-host.cfg -o /tmp/perfetto-host.trace --de…
172 …eglretrace --benchmark --singlethread --loop=$perfetto_loops $wait_after_frame --headless "/traces…
176 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
181 echo $trace_no_ext > /traces-db/current_trace
182 echo $command > /traces-db/command
185 guest_perf="$datadir/${trace_base}-guest.perfetto"
186 host_perf="$datadir/${trace_base}-host.perfetto"
187 summary_perf="$datadir/${trace_base}-summary.perfetto"
189 mkdir -p $datadir
193 export MESA_EXTENSION_OVERRIDE="-GL_ARB_buffer_storage -GL_EXT_buffer_storage"
200 if [ -e /wd/crosvm-debug.cmd ]; then
201 gdb -x /wd/crosvm-debug.cmd
204 --gpu gles=false\
205 -m 4096 \
206 -c 4 \
207 -i /rootfs.cpio.gz \
208 --shared-dir "/usr/local:local:type=fs" \
209 --shared-dir "/waffle:waffle-tag:type=fs" \
210 --shared-dir "/apitrace:apitrace-tag:type=fs" \
211 --shared-dir "/traces-db:traces-db-tag:type=fs" \
212 --shared-dir "/perfetto:perfetto-tag:type=fs" \
213 --host_ip 192.168.200.1 --netmask 255.255.255.0 --mac AA:BB:CC:00:00:12 \
214-p "root=/dev/ram0 rdinit=/init.sh ip=192.168.200.2::192.168.200.1:255.255.255.0:crosvm:eth0 nohz=…
218 rm -f /traces-db/current_trace
219 rm -f /traces-db/command
222 /perfetto/out/dist/perfetto --attach=mykey --stop
224 mv /tmp/perfetto-host.trace "$host_perf"
229 kill `pidof producer-gpu` || echo "producer-gpu was not running (anymore)"