Thank you for expanded answer, I have only usb-c and vga displays. However, it turned out to me that usb-c is probaby on :0, by default.
When I ssh from client [ any computer device inluding xavier, jetson tx2 or host pc] to Xavier A and execute opencv video [at Xavier A over terminal connection from the client]
it would play at the device from that I executed ssh [ with X parameter].
In my opinion it would use GPU of Xavier A in that case rather than GPU of the client computer
But when I execute [ after logging in via ssh to Xavier A]
and then execute
that would appear at usb-c display of Xavier A.
And that defenitely uses Xavier A GPU.
It seems to me that in both cases above Xavier GPU is used to process the video. Isn’t it? And in neither of them clients GPU is used. But for the fact that it is displayed at associated monitor.
Could you extend the suggestion of running virtual server considering the context above, please?
Perhaps it makes sense to speak of utilization of two GPU per execution of
./sample_opencv at Xavier A. In case it is displayed at client’s display. Or about utilization of only Xavier’s GPU in case it is displayed at Xavier connacted display.
But I can see no way to get only Client’s GPU utilized while executing video at remote Xavier A device, or vice versa, of utilization of only Xavier’s GPU while playing the video at the display of client’s associated monitor.
Moreover, since recent I managed to get experience with x2x that allows to associate displays of remote devices to any computer in the network. I never figured out the numbering idea completely but it works somehow when I execute:
ssh -XC user@laptop x2x -east -to :0.0
. And that allows to extend Xavier A mouse and display to client’s device or vie versa, as if they have all displays conencted in extended mode to same computer.
Upon checking it turned out that I need to specify -X,
or otherwise video will not be passed, but for custom implementation of delivery.