"Could not probe OpenGL" with gnome-3-38-2004 plug

I try to run the cura-slicer 4.13.2 snap.

On a laptop with Ryzen 2500U starting the snap fails with

Could not probe OpenGL. This program requires OpenGL 2.0 or Higher. Please check your video card drivers.

The problem does not occur on computers with an Nvidia GPU or an arm64 SoC.

glxgears runs fine. glxinfo indicates OpenGL version 4.6.

My expectation is that the gnome-3-38-2004 plug should provide OpenGL irrespective of the GPU vendor.

The snap source is available at https://github.com/glasen/snap-cura/blob/master/snap/snapcraft.yaml.

Best regards