Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.8.0 - Creator 4.2.1 on Debian 8.7.1 in a VIrtualBoX : Creator config problem "Cannot Create OpenGL context"
Forum Updated to NodeBB v4.3 + New Features

Qt5.8.0 - Creator 4.2.1 on Debian 8.7.1 in a VIrtualBoX : Creator config problem "Cannot Create OpenGL context"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PALYGAP
    wrote on last edited by
    #1

    Hi,

    I've installed a fresh Debian 8.7.1 in a VIrtualBox (with debian-8.7.1-amd64-netinst.iso) and then installes Qt with the installer qt-opensource-linux-x64-5.8.0.run. When I start Qt Creator I get a message saying the the QmlDesigner, QmlProfiler and Wellcome extension startup failed due to "Cannot Create OpenGL context".

    I have check the path of the extensions Help / About Plug-Ins and there OK (path and lib exist on file system)

    Check open GL with glxinfo an got :

    name of display: :0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: Chromium
    server glx version string: 1.3 Chromium
    server glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, 
        GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
    client glx vendor string: Chromium
    client glx version string: 1.3 Chromium
    client glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, 
        GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
    GLX version: 1.3
    GLX extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, 
        GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
    OpenGL vendor string: Humper
    OpenGL renderer string: Chromium
    OpenGL version string: 2.1 Chromium 1.9
    OpenGL shading language version string: 1.20
    OpenGL extensions:
        GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
        GL_ARB_fragment_shader, GL_ARB_multisample, GL_ARB_multitexture, 
        GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, 
        GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects, 
        GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shadow, 
        GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
        GL_ARB_texture_compression, GL_ARB_texture_cube_map, 
        GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
        GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
        GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat, 
        GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
        GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, 
        GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos, 
        GL_ATI_texture_mirror_once, GL_CR_bounding_box, GL_CR_cursor_position, 
        GL_CR_head_spu_name, GL_CR_performance_info, GL_CR_print_string, 
        GL_CR_readback_barrier_size, GL_CR_saveframe, GL_CR_server_id_sharing, 
        GL_CR_server_matrix, GL_CR_state_parameter, GL_CR_synchronization, 
        GL_CR_tile_info, GL_CR_tilesort_info, GL_CR_window_size, 
        GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
        GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
        GL_EXT_clip_volume_hint, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
        GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object, 
        GL_EXT_multi_draw_arrays, GL_EXT_secondary_color, GL_EXT_shadow_funcs, 
        GL_EXT_stencil_two_side, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
        GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_add, 
        GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, 
        GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_IBM_rasterpos_clip, 
        GL_NV_fog_distance, GL_NV_texgen_reflection, GL_SGIS_generate_mipmap, 
        GL_SGIS_texture_edge_clamp
    
    2 GLX Visuals
        visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
      id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------------
    0x021 24 tc  0  32  0 r  y y   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
    0x04f 32 tc  0  32  0 r  y y   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
    
    2 GLXFBConfigs:
        visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
      id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------------
    0x021 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  1 1 None
    0x04f 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  1 1 None
    
    

    Which seem to be fine.

    Check the MAC Graphic card for OpenGL support and it supoort OpenGL 4.1 (ATI Radeon HD 6770M).

    So can't find what's going wrong. Help would be appreciated if you've experience a similar problem or know out to sort it out.

    jsulmJ 1 Reply Last reply
    0
    • P PALYGAP

      Hi,

      I've installed a fresh Debian 8.7.1 in a VIrtualBox (with debian-8.7.1-amd64-netinst.iso) and then installes Qt with the installer qt-opensource-linux-x64-5.8.0.run. When I start Qt Creator I get a message saying the the QmlDesigner, QmlProfiler and Wellcome extension startup failed due to "Cannot Create OpenGL context".

      I have check the path of the extensions Help / About Plug-Ins and there OK (path and lib exist on file system)

      Check open GL with glxinfo an got :

      name of display: :0
      display: :0  screen: 0
      direct rendering: Yes
      server glx vendor string: Chromium
      server glx version string: 1.3 Chromium
      server glx extensions:
          GLX_ARB_get_proc_address, GLX_ARB_multisample, 
          GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
      client glx vendor string: Chromium
      client glx version string: 1.3 Chromium
      client glx extensions:
          GLX_ARB_get_proc_address, GLX_ARB_multisample, 
          GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
      GLX version: 1.3
      GLX extensions:
          GLX_ARB_get_proc_address, GLX_ARB_multisample, 
          GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
      OpenGL vendor string: Humper
      OpenGL renderer string: Chromium
      OpenGL version string: 2.1 Chromium 1.9
      OpenGL shading language version string: 1.20
      OpenGL extensions:
          GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
          GL_ARB_fragment_shader, GL_ARB_multisample, GL_ARB_multitexture, 
          GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, 
          GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects, 
          GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shadow, 
          GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
          GL_ARB_texture_compression, GL_ARB_texture_cube_map, 
          GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
          GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
          GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat, 
          GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
          GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, 
          GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos, 
          GL_ATI_texture_mirror_once, GL_CR_bounding_box, GL_CR_cursor_position, 
          GL_CR_head_spu_name, GL_CR_performance_info, GL_CR_print_string, 
          GL_CR_readback_barrier_size, GL_CR_saveframe, GL_CR_server_id_sharing, 
          GL_CR_server_matrix, GL_CR_state_parameter, GL_CR_synchronization, 
          GL_CR_tile_info, GL_CR_tilesort_info, GL_CR_window_size, 
          GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
          GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
          GL_EXT_clip_volume_hint, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
          GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object, 
          GL_EXT_multi_draw_arrays, GL_EXT_secondary_color, GL_EXT_shadow_funcs, 
          GL_EXT_stencil_two_side, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
          GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_add, 
          GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, 
          GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_IBM_rasterpos_clip, 
          GL_NV_fog_distance, GL_NV_texgen_reflection, GL_SGIS_generate_mipmap, 
          GL_SGIS_texture_edge_clamp
      
      2 GLX Visuals
          visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
        id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
      ----------------------------------------------------------------------------
      0x021 24 tc  0  32  0 r  y y   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
      0x04f 32 tc  0  32  0 r  y y   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
      
      2 GLXFBConfigs:
          visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
        id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
      ----------------------------------------------------------------------------
      0x021 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  1 1 None
      0x04f 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  1 1 None
      
      

      Which seem to be fine.

      Check the MAC Graphic card for OpenGL support and it supoort OpenGL 4.1 (ATI Radeon HD 6770M).

      So can't find what's going wrong. Help would be appreciated if you've experience a similar problem or know out to sort it out.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @PALYGAP Well your graphics card supports OpenGL, but you installed QtCreator in a virtual machine.
      If you don't need these plugin you can disable them with: -noload Welcome -noload ...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PALYGAP
        wrote on last edited by
        #3

        @jsulm : Thanks for the feedback. I knew that the plugins could be de-activated. The thing is I need them and they were working in the previous Debian VirtualBox I built with Linux debian2 3.2.0-4-486 #1 Debian 3.2.57-3+deb7u2 i686 GNU/Linux , Qt5.2.1 and Qt Creator 3.1.1. There should be a way to configure the OpenGL context, shouldn't it

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved