我正在运行 macOS Ventura 13.5.1 和 multipass 1.12.2+mac。我正尝试在 multipass 下的 Ubuntu Focal 客户机上运行 glxgears。我已经使用以下方法在 XQuartz (2.8.1) 上激活了间接 GLX
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
但是我仍然收到错误
$ LIBGL_DEBUG=verbose glxgears
libGL: MESA-LOADER: dlopen(/usr/lib/aarch64-linux-gnu/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/ubuntu/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/ubuntu/.drirc: No such file or directory.
libGL: Disabling server's aux buffer support
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Error: glXCreateContext failed
有什么想法是否可以使用 GLX 以及如何使用?