0
$\begingroup$

I have a question about reading glxinfo. I'm running a Fedora 31 virtual machine. When I look at glxinfo (using softpipe) with this command:

$ LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe glxinfo | grep OpenGL

my glxinfo contains these two blocks of lines:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: softpipe
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
...

and

OpenGL version string: 3.1 Mesa 19.2.8
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
...

For the first block, if I use core profile, my shader language GLSL is version 3.30. What about the second block? It does not say if it's core or compatibility profile.

When I execute glxinfo without softpipe, I get this:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: SVGA3D; build: RELEASE;  LLVM;
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
...

and

OpenGL version string: 3.3 (Compatibility Profile) Mesa 19.2.8
OpenGL shading language version string: 3.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
...

And in this case the second block do say the GLSL version 3.30 is under compatibility profile. Why is the string "compatibility profile" missing earlier?

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.