Discussion Forum

glxinfo|grep OpenGL and Fedora 34

To add questions or replies, please log in.


Post author:
Text in post
Post date from: to: (dd.mm.yyyy)
glxinfo|grep OpenGL and Fedora 34
I can not run VariCAD_2021-en-2.05-1.x86_64 on Fedora 34. I receive this error:

"Cannot create OpenGL context. 3D/2D graphics cannot work. We recommend to install the - latest proprietary driver of the graphic adapter to solve the problem. Or, use a hardware - providing full support of OpenGL 4.0 and higher."

The "OpenGL core profile version string" is 4.5. Full info below:

[root@daisy varicad]# glxinfo|grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.1.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 21.1.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.1.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

The graphics hardware is the Intel on-board graphics. There is no proprietary driver.

[root@daisy varicad]# lshw -class video
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:31 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff

Is there a way to make this work?
env vars help
OK, it works if I override some environment variables like this:


based on what I read at https://unix.stackexchange.com/questions/451160/how-can-i-get-opengl-3-3-with-glsl-3-3-support-through-mesa-on-an-intel-hd-gra

This suggests to me that VariCAD is not correctly detecting the actual version of openGL.