diff options
author | Martin Peres <martin.peres@intel.com> | 2017-09-12 15:57:04 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@intel.com> | 2017-09-12 16:11:04 +0300 |
commit | c2c8c4f71694dcc0c561d2a9ecd6196e821bd31f (patch) | |
tree | b3cf5b5b0475f5fb75dd1a9f692a76adf32e779e | |
parent | 8641101f2cfd96e40836a0a9bd85e52a915b8af4 (diff) |
env_dump: LD_PRELOAD lixcb-dri3 as a WA for vkreplay
I will investigate that when I come back from vacation.
-rwxr-xr-x | utils/env_dump/env_dump.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/env_dump/env_dump.sh b/utils/env_dump/env_dump.sh index 3a92bd6..1a27540 100755 --- a/utils/env_dump/env_dump.sh +++ b/utils/env_dump/env_dump.sh @@ -15,7 +15,8 @@ shift # Add the exit code if [[ "$dump_file" != "stderr" ]] then - LD_PRELOAD="$so_path:$LD_PRELOAD" ENV_DUMP_FILE="$dump_file" ENV_DUMP_METRIC_FILE="$metrics_file" "$@" + LD_PRELOAD="$so_path::/usr/lib/libxcb-dri3.so:$LD_PRELOAD" ENV_DUMP_FILE="$dump_file" +ENV_DUMP_METRIC_FILE="$metrics_file" "$@" exit_code=$? # Do not add the EXIT_CODE line if it already exists. It means the file |