barcc, that second approach won't work. import ctypes from ctypes import util ctypes.CDLL(util.find_library('GL'), ctypes.RTLD_GLOBAL)
That should be better, but I can't reproduce the bug myself, likely because it's an Optimus notebook. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/941826 Title: dlopen(libGL.so) resolves to mesa rather than nvidia To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/941826/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp