I stumbled upon a strange issue when running OpenGL snaps on Debian 9 with the proprietary nvidia driver from stretch-backports: https://github.com/solvespace/solvespace/issues/556
Apps fail to start or can’t create a GL context, with the error output being something like:
libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast
The nvidia driver is exposed just fine in
/var/lib/snapd/lib[...] and the launcher scripts set up glvnd dirs and LD_LIBRARY_PATH correctly.
Does anyone have an idea or better even, run Debian 9 + nvidia without those problems?