libGL.so导致普通用户无法在archlinux上启动android模拟器,但是由root用户工作。
请参阅以下日志:
xx@vm-arch:/opt/android-sdk/tools$ LIBGL_DEBUG=verbose emulator-arm -avd xtest
libGL: screen 0 does not appear to be DRI2 capable
libGL: XF86DRIGetClientDriverName: 1.0.0 vboxvideo (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/vboxvideo_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/vboxvideo_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error: Calling driver entry point failedlibGL error: reverting to software direct rendering
libGL error: failed to load driver:
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
libGL: Can't open configuration file /home/qt/.drirc: No such file or directory.
libGL: Can't open configuration file /home/qt/.drirc: No such file or directory.
libGL: Can't open configuration file /home/qt/.drirc: No such file or directory
答案 0 :(得分:0)
问题是由Virtualbox选项中的“3D加速”检查引起的。
取消选中该选项后,问题就消失了。
感谢您的关注。