Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15922

QtCreator black window with proprietary Linux Nvidia driver

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 3.6.0
    • All Other Issues
    • None
    • Funtoo Linux 64bit
      Qt 5.5.1-r1
      Nvidia drivers 361.28-r2

    Description

      After installing QtCreator and launching it, it shows completely black window and the following console output:

      libGL error: No matching fbConfigs or visuals found
      libGL error: failed to load driver: swrast
      QOpenGLShader: could not create shader
      QOpenGLShaderProgram: could not create shader program
      QOpenGLShader: could not create shader
      QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked
      QOpenGLShader: could not create shader
      QOpenGLShaderProgram: could not create shader program
      QOpenGLShader: could not create shader
      QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked
      QOpenGLShaderProgram: could not create shader program
      QOpenGLShader: could not create shader
      QOpenGLShader: could not create shader
      shader compilation failed:
      ""
      QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
      QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
      QOpenGLShaderProgram: could not create shader program
      QOpenGLShader: could not create shader
      QOpenGLShader: could not create shader
      shader compilation failed:
      ""
      (repeated many times).
      

      Investigating the bug (initially reported here https://bugs.funtoo.org/browse/FL-3162) shown that for some reason QtCreator loads libGL.so from weird path libGL.so.1 => /usr/bin/../lib64/qtcreator/../libGL.so.1 (see ldd output here: http://pastebin.com/uTiy5cmA) instead of

      $ /sbin/ldconfig -p | grep "libGL\.so"
          libGL.so (libc6,x86-64) => /usr/lib64/opengl/nvidia/lib/libGL.so
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            andrew.kravchuk Andrew Kravchuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes