Running Examples Hangs

When I run the examples line by line, everything works fine until it gets to this line

gym.draw_viewer(viewer, sim, True)

line 267 of the example, this hangs with no further information and never does anything.

I am using a laptop with an RTX3060, and I am running a clean install of Ubuntu 20.04 from earlier today. I followed all of the conda setup steps, and my nvidia drivers are all the newest as far as I’m aware.

Is there anything I can do to fix this? Thanks.

You may have an issue where the wrong Vulkan device is being chosen. You can try forcing the use of the NVIDIA device by using:
export VK_ICD_FILENAMES=/etc/vulkan/icd.d/nvidia_icd.json

You probably also want to use vulkaninfo to check what devices are visible to Vulkan apps on your system.

Take care,