Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29135

QT5 and QT3D / Cube.exe display black screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.0.0
    • Qt3D
    • None
    • Windows 7
      MSVC 2010 (Express & Std), with SP1 applied (+SP1 for Win 7.1 SDK)

    Description

      After installing QT5 binaries and rebuilding Qt3D using QtCreator (MSVC2010 Express & Standard on each computer), I get an empty screen (ie. Black or blue) on every demoes and examples, including the cube1 tutorial (which is very simple).

      Building QT3D binaries succeded. No crash when starting samples, but a black/blue (depending on samples) window is displayed instead (with no content).

      Tested on 2 PC :

      • PC1: Windows 7, Intel GMA graphics card, MSVC 2010 express (with SP1 applied, and SP1 for Windows SDK 7.1). DirectX 11
      • PC2: Windows 7, Nvidia 450, MSVC 2010 Std (with SP1 applied, and SP1 for Windows SDK 7.1). DirectX 11 (probably - not verified)
        Same result on both computers (also tested without SP1, same result).

      QT3D Src Builds done from Gitorious (q3d) :

      • QT3D / Master branch (Extract from 10/1/2013).
      • QT3D / Refactor branch.
        same results with release or debug builds.
      • QT3D RC1 Branch : No success in building on QT5.

      Tests done :

      • egl2info works (3D cube displayed)
      • defaults QT5 OpenGL/ES samples are working.
      • No success for QT3D samples (basket.exe, cube.exe, cube_qml.exe, moon.exe, etc.)
        Always the same result : Black/Blue window, with no content.

      Currently, a workaround consists in rebuilding QT5 from sources, with -opengl desktop option (ie. remove the glES/Angle layer). Qt3D now works for me, (but not very acceptable in an industrial context...)

      Logs from Debugview (almost the same with every sample)
      [8352] No option to clear stereo buffers
      [8352] Remove me: fixing toplevel window flags
      [8352] Could not create requested format:
      [8352] QSurfaceFormat(version 2.0, options QFlags() , depthBufferSize 24 , redBufferSize -1 , greenBufferSize -1 , blueBufferSize -1 , alphaBufferSize -1 , stencilBufferSize -1 , samples -1 , swapBehavior 2 , profile 0 )
      [8352] got format:
      [8352] QSurfaceFormat(version 2.0, options QFlags() , depthBufferSize 24 , redBufferSize 8 , greenBufferSize 8 , blueBufferSize 8 , alphaBufferSize 0 , stencilBufferSize 0 , samples 0 , swapBehavior 0 , profile 0 )

      Qt GL Info Report

      Generated at: mar. 15. janv. 23:50:27 2013
      Qt GL Version Info
      QGLFormat::openGLVersionFlags: ES/2.0
      Qt GL Features
      QGLFormat::hasOpenGL: true
      QGLFormat::hasOpenGLOverlays: false
      QGLPixelBuffer::hasOpenGLPbuffers: true
      QOpenGLFramebufferObject::hasOpenGLFramebufferObjects: true
      QOpenGLFramebufferObject::hasOpenGLFramebufferBlit: false
      QGLShaderProgram::hasOpenGLShaderPrograms: true

      GL Version Info
      OpenGL vendor string: Google Inc.
      OpenGL renderer string: ANGLE (Intel(R) HD Graphics Family)
      OpenGL version string: OpenGL ES 2.0 (ANGLE 1.0.0.1318)

      GL Extension Info
      GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit
      GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays
      GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3
      GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage
      GL_ANGLE_translated_shader_source GL_EXT_occlusion_query_boolean
      GL_EXT_read_format_bgra GL_EXT_robustness
      GL_EXT_texture_compression_dxt1 GL_EXT_texture_filter_anisotropic
      GL_EXT_texture_format_BGRA8888 GL_EXT_texture_storage GL_NV_fence
      GL_OES_element_index_uint GL_OES_get_program_binary
      GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8
      GL_OES_standard_derivatives GL_OES_texture_float
      GL_OES_texture_float_linear GL_OES_texture_half_float
      GL_OES_texture_half_float_linear GL_OES_texture_npot

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            r.b R.Beraud
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes