在测试一个glut小程序的时候,报错:
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
重新配置mes代码,编译,之后好了。
配置的方法:
./configure --with-dri-driverdir=/usr/lib/i386-linux-gnu/dri --with-dri-searchpath=/usr/lib/i386-linux-gnu/dri --with-gallium-drivers=nouveau
$ ls /usr/lib/i386-linux-gnu/dri/
dummy_drv_video.so kms_swrast_dri.so r200_dri.so radeonsi_dri.so virtio_gpu_dri.so
i915_dri.so nouveau_dri.so r300_dri.so s3g_drv_video.so vmwgfx_dri.so
i965_dri.so nouveau_vieux_dri.so r600_dri.so swrast_dri.so
i965_drv_video.so nvidia_drv_video.so radeon_dri.so vdpau_drv_video.so