microsoft / Azure-Kinect-Sensor-SDK

A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
https://Azure.com/Kinect
MIT License
1.47k stars 613 forks source link

Installing k4aviewer on Ubuntu 18.04 #1953

Open simahsa opened 8 months ago

simahsa commented 8 months ago

Hi, I am trying to install the Azure Kinect viewer on Ubuntu 18.04 VM to then be able to use it with ROS. I followed all the necessary steps but at the end when I run it, I get this: Capture2 Capture3

Do you have any idea what should I do to fix this error?

winnerlyy commented 8 months ago

check your Open GL with glxinfo | grep "OpenGL version" Azure Kinect needs OpenGL over 4.4, and almost VM does not support as I know. If you are running docker by passing the gpu, you can accelerate by using vglrun Here has a docker ubuntu-desktop image
https://github.com/gezp/docker-ubuntu-desktop