You are not logged in.

#1 2020-11-20 18:39:57

xpt
Member
Registered: 2012-10-23
Posts: 60

Problem with OpenGL or Intel video card's driver

Hi!

I've a problem with specific software, and my laptop with an Intel UHD Graphics 620 video card. When I try to open it, I get:

Looking for libstdc++ ...
System:
- version: 3.4.28
- path: /usr/lib/libstdc++.so.6

Bundled:
- version: 3.4.23
- path: /opt/rocky4/bin/gcc-libs/libstdc++.so.6

Choosing system libstdc++
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
Installing backtrace handlers...success
Could not initialize OpenGL
Stack trace (most recent call last):
#31 Object "/opt/rocky4/bin/Rocky", at 0x4e164f, in
#30 Object "/opt/rocky4/bin/Rocky", at 0x4e6d65, in _PyEval_EvalFrameDefault
#29 Object "/opt/rocky4/bin/Rocky", at 0x4e2573, in
#28 Object "/opt/rocky4/bin/Rocky", at 0x4e164f, in
#27 Object "/opt/rocky4/bin/Rocky", at 0x4e6d65, in _PyEval_EvalFrameDefault
#26 Object "/opt/rocky4/bin/Rocky", at 0x4e2573, in
#25 Object "/opt/rocky4/bin/Rocky", at 0x4e164f, in
#24 Object "/opt/rocky4/bin/Rocky", at 0x4e6d65, in _PyEval_EvalFrameDefault
#23 Object "/opt/rocky4/bin/Rocky", at 0x4e2573, in
#22 Object "/opt/rocky4/bin/Rocky", at 0x4e164f, in
#21 Object "/opt/rocky4/bin/Rocky", at 0x4e6d65, in _PyEval_EvalFrameDefault
#20 Object "/opt/rocky4/bin/Rocky", at 0x4e2573, in
#19 Object "/opt/rocky4/bin/Rocky", at 0x4e164f, in
#18 Object "/opt/rocky4/bin/Rocky", at 0x4e67b7, in _PyEval_EvalFrameDefault
#17 Object "/opt/rocky4/bin/Rocky", at 0x4e2127, in
#16 Object "/opt/rocky4/bin/Rocky", at 0x427edd, in _PyObject_FastCallKeywords
#15 Object "/opt/rocky4/bin/Rocky", at 0x427a7a, in _PyObject_FastCallDict
#14 Object "/opt/rocky4/bin/Rocky", at 0x481bf2, in
#13 Object "/opt/rocky4/bin/lib/python3.6/sip.so", at 0x7f6bf84b8b4a, in
#12 Object "/opt/rocky4/bin/lib/python3.6/PyQt5.QtOpenGL.so", at 0x7f6bfc9e153b, in init_type_QGLWidget
#11 Object "/opt/rocky4/bin/lib/python3.6/PyQt5.QtOpenGL.so", at 0x7f6bfc9e1149, in sipQGLWidget::sipQGLWidget(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)
#10 Object "/opt/rocky4/bin/libQt5OpenGL.so.5", at 0x7f6bf7b0e3a8, in QGLWidget::QGLWidget(QWidget*, QGLWidget const*, QFlags<Qt::WindowType>)
#9 Object "/opt/rocky4/bin/libQt5OpenGL.so.5", at 0x7f6bf7b0e0d2, in QGLWidgetPrivate::initContext(QGLContext*, QGLWidget const*)
#8 Object "/opt/rocky4/bin/libQt5OpenGL.so.5", at 0x7f6bf7b0bcb8, in QGLWidget::setContext(QGLContext*, QGLContext const*, bool)
#7 Object "/opt/rocky4/bin/libQt5OpenGL.so.5", at 0x7f6bf7b12216, in QGLContext::create(QGLContext const*)
#6 Object "/opt/rocky4/bin/libQt5OpenGL.so.5", at 0x7f6bf7b0f1d5, in QGLContext::chooseContext(QGLContext const*)
#5 Object "/opt/rocky4/bin/libQt5Gui.so.5", at 0x7f6bfb22c65b, in QWindowPrivate::create(bool)
#4 Object "/opt/rocky4/bin/libQt5XcbQpa.so.5", at 0x7f6bf72c3433, in QXcbIntegration::createPlatformWindow(QWindow*) const
#3 Object "/opt/rocky4/bin/libQt5XcbQpa.so.5", at 0x7f6bf72d849d, in QXcbWindow::create()
#2 Object "/opt/rocky4/bin/libQt5Core.so.5", at 0x7f6bfac72db7, in QMessageLogger::fatal(char const*, ...) const
#1 Object "/usr/lib/libc-2.32.so", at 0x7f6bfd74e861, in abort
#0 Object "/usr/lib/libc-2.32.so", at 0x7f6bfd765615, in raise
Aborted (Signal sent by tkill() 1189847 1000)
Abortado (`core' generado)

Here there are a list of things that I did:

  • It's not a hardware problem because I try it in an Ubuntu Live USB and the software runs well.

  • It's not a software problem because I have a desktop machine with ArchLinux an Nvidia video card where the software runs also well.

  • Both ArchLinux (desktop and laptop)  machines are up-to-date.

  • I read the Intel graphics page to get some ideas.

  • I tested with modesetting Intel video driver and  xf86-video-intel , and I got the same.

  • I've installed mesa and vulkan-intel.

  • In the laptop any other software like Paraview, Freecad, Meshlab, Blender, etc, works well.


Here there is some hardware information:

# lshw -c video
  *-display                 
       description: VGA compatible controller
       product: UHD Graphics 620
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:129 memory:db000000-dbffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff

As the only idea that worked was to run it in the Ubuntu, here there is some info on both distros:

In Ubuntu:

$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)  (0x5917)
    Version: 19.2.8
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 19.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

In ArchLinux:

$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
    Version: 20.2.2
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

If you have some idea of what else I can try, or how to copy the configuration of Ubuntu, please help me.

Thanks!

Last edited by xpt (2023-02-13 21:19:12)

Offline

#2 2020-11-20 20:05:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: Problem with OpenGL or Intel video card's driver

Try passing MESA_LOADER_DRIVER_OVERRIDE=i965 before the command to tell it to use the older OpenGL implementation for this software: https://wiki.archlinux.org/index.php/In … ver_(i965)

Offline

Board footer

Powered by FluxBB