Skip to content

Miniwrap

Alyssa Rosenzweig requested to merge miniwrap into develop

@cwabbott0 Can you make sure this works with Android / your kernel version?

I'm testing with:

BBASE=/dev/shm/
NAME=dump
BASE=$BBASE$NAME
mkdir -p $BASE
rm $BASE/*
LD_PRELOAD=panloader/Build/panwrap/libpanwrap.so PANWRAP_OUTPUT=$BASE ~/blob ~/freedreno/test-triangle-smoothed > /dev/null
rm ~/$NAME.zip
cd $BBASE
tar cfz ~/$NAME.tar.gz $NAME/*

(That is, create the directory /dev/shm/dump to dump to, run a sample dumping there, and then compress that directory so it's easy to transfer. The vast majority of the dump is zeroes, so compression is very effective and decidedly necessary.)

If the net result in /dev/shm/dump is the plain-text control.log and a bunch of memory_XX.bin files, everything's working normally. I'm less worried about mesa-side decoding, since everything there is pretty portable and we're both on similarish systems (there's no kernel interaction there).

Merge request reports