Skip to main content

Hi all,

I’m a docker noob, so please bear with me if this is a stupid question.

To get the SDK operational on my Ubuntu-24.04 system I followed the Install Voyager SDK in a Docker Container and can make it up to test-running some inferences. Alas, while I expected the videos to be displayed in a dedicated window at full resolution, for me they are shown in the active text-console (ncurses-based I assume), obviously coarse and slow.

I tried to learn how to activate graphics output from within docker, but all I got was that docker essentially is meant to be text-only and graphics usually is provided via web-browser of pages served from within docker.

So to put it bluntly: those videos showing Voyager SDK performing object detection at exhibitions at full-resolution and full-framerate, are those from within docker or are they run from a native ubuntu-22 system?

If it is possible to tune docker to have that video output, a mini-howto would help a lot.

 

Hi ​@zefir!

As far as I know, by default, Docker containers don’t have access to your host’s graphical display, so if you run the Voyager SDK inside Docker without that bit of extra configuration, I don't think it can open proper video output windows. 

Let me ask some of team to find out if that's definitely the case, and what we can try if so 👍


Hey ​@zefir! So, it sounds like it may depend on whether you’re using X11 or Wayland display protocols. The former is more popular on Ubuntu 22.04, while the latter is more common on 24.04 - so it’s likely to be that one, by the looks of it.

This should tell you which you have:

echo $XDG_SESSION_TYPE

Running the following lets you use the display inside the container if you have X11:

xhost +local:root

If it’s Wayland, let’s explore further!


Reply