Home › Forums › AR Sandbox Forum › Sarndbox Docker
Tagged: docker
- This topic has 21 replies, 3 voices, and was last updated 1 year, 9 months ago by marcocspc.
-
AuthorPosts
-
February 17, 2023 at 9:33 am #2481hulaboopParticipant
Hi Sean, I’ve tried disabling Wayland and checking that the pc is using x11, however I still get the same error as before:
Creating sarndbox-docker_sarndbox-nvidia_run ... done RawKinectViewer: Connected to 3D camera with serial number AxxxxxxxxxxxxxxA Vrui: Caught X11 protocol error BadValue (integer parameter out of range for operation), seq# 49, request 152.3 Vrui: Caught exception GLContext::initialize: Unable to create OpenGL context on display unix:0 while initializing rendering window 0 Vrui: Caught exception Vrui::startDisplay: Could not create all rendering windows while initializing rendering windows
February 17, 2023 at 1:36 pm #2482Sean RobinsonParticipantDid you run
xhost +local:docker
again? This will need to be run after every login and before any of the docker-compose commands.I tested sarndbox-docker and I get the same error you shared. I see the error in Wayland and Xlib modes until I run the above xhost command. After the command,
RawKinectViewer
will show me both camera feeds from the Kinect.February 18, 2023 at 2:39 am #2483hulaboopParticipantHi, yes, I’m running the xhost command each time I try.
Do you think it would be worth trying to switch to Linux Mint?
February 21, 2023 at 10:12 am #2486marcocspcParticipantHey guys! Sorry for the delay answering. We are at Carnival Holidays in Brazil so I’ve been absent from my dev activities.
Anyway, @hulaboop I think I’ll need more information about your setup to help you. Could you tell what is your hardware configuration?
lspci
will give you an output that you can paste here.Also, are you using which Linux distribution? (that should not matter, but the more info we have the better)
lsb_release -a
is an output you can paste hereAnd finally, are you building your image using
make
ormake nvidia
?February 24, 2023 at 6:53 am #2489Sean RobinsonParticipantDo you think it would be worth trying to switch to Linux Mint?
Yes, but… There are tradeoffs with each option.
Linux Mint 19 is the AR Sandbox supported version, but it may not work on newer hardware.
Linux Mint 21 will work on more computers, but the sandbox software build process is slightly different.
sarndbox-docker seeks a middle way by containing the sandbox software in a virtual space within a more recent Linux verison. But, it is a newer solution with few people testing it.
February 24, 2023 at 7:03 am #2490hulaboopParticipantHi
I ended up switching to Mint and following the original installation instructions again, which this time was successful. I had tried the docker again in Mint, but was still facing errors, and unfortunately as this was a work project, I had to just try and get something sorted.
Thanks so much for all of your help though!
February 27, 2023 at 6:26 am #2491marcocspcParticipantI’m glad things worked out for you. Your testing and @Sean Robinson’s helped me improve the code also. I hope other people can test this project too so I can adjust the repo for the multiverse of setups out there. 😛
-
AuthorPosts
- You must be logged in to reply to this topic.