Running CUDA tests without display

asked 2019-10-11 05:12:30 -0600

tolysz gravatar image

When I run tests on a remote system, Jetson Nano in this case, but could be a server,

m@nano:~/build/4.1.2-RELEASE/build/bin$ ./opencv_test_cudaarithm
(...)
TEST: Skip tests with tags: 'mem_6gb', 'verylong'

So the questions are: how not to skip those tests? i.e. is there a command line arguments which can add remove those cases?

The second is: when the test fail how to see the exact full input to the test.

The third: is currently a way to run tests with a fake display or to skip those requiring to have one?

edit retag flag offensive close merge delete

Comments

a way to run tests with a fake display or to skip those requiring to have one?

can you somehow highlight the offending tests ? (i can't find any display usage)

berak gravatar imageberak ( 2019-10-11 05:33:45 -0600 )edit
1

opencv_test_cudaarithm this test is failing with

[----------] 840 tests from OpenGL/Buffer
qt.qpa.screen: QXcbConnection: Could not connect to display 
Could not connect to any X display.

If I wipe the content of test_opengl.cpp all tests pass. (This is interesting as Nano is compute 5.3). If I repeat the same on Jetson Xavier with compute 7.2

[ RUN      ] CUDA_Arithm/PolarToCart.Accuracy/0, where GetParam() = (Xavier, 128x128, 32FC1, AngleInDegrees(false), whole matrix)

/extra/build/opencv/4.1.2-Release/opencv_contrib/modules/cudaarithm/test/test_element_operations.cpp:2791: Failure The max difference between matrices "x_gold" and "x" is 0.00839996 at (59, 71), which exceeds "tol", where "x_gold" at (59, 71) evaluates to (48.0588), "x" at (59, 71) eva

tolysz gravatar imagetolysz ( 2019-10-11 06:52:37 -0600 )edit