Both of my GPU and CPU support up to OpenGL 4.6 and my drivers are up-to-date. However, my Ubuntu 20.04 on WSL only supports 3.3 . Here's what glxinfo says:
glxinfo | grep "OpenGL"OpenGL vendor string: Microsoft CorporationOpenGL renderer string: D3D12 (NVIDIA GeForce RTX 3080 Laptop GPU)OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.2.6OpenGL core profile shading language version string: 3.30OpenGL core profile context flags: (none)OpenGL core profile profile mask: core profileOpenGL core profile extensions:OpenGL version string: 3.1 Mesa 21.2.6OpenGL shading language version string: 1.40OpenGL context flags: (none)OpenGL extensions:OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.6OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00OpenGL ES profile extensions:
Edit: My kernel version is: 5.10.60.1