Error running egomotion sample on Drive


We have compiled driveworks samples to AGX successfully as explained in your youtube video and try to run egomotion sample.
But the sample_egomotion is not running and we get the following error message:
nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples$ ./sample_egomotion
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 154 ()
Minor opcode of failed request: 1
Serial number of failed request: 100
Current serial number in output stream: 100

Can you please advise?


Dear @gabig,
Did you flash the latest DRIVE SW release and used the same cross compilation toolchain on host?

Dear @SivaRamaKrishnaNV,

Yes i did, i flashed with the latest DRIVE SW, the flashing ended successfully. i used the same cross compilation toolchain on the host according according to the Youtube video in your web site.

I succeed in running the example locally on the drive but not from HOST computer using ssh

Dear @gabig,
Are you able to run samples on board(not via ssh)? Could you check running other cross compiled sample which require GUI and confirm.