Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt Medical
  4. My application throws an OpenGL error after using sometime.
Forum Updated to NodeBB v4.3 + New Features

My application throws an OpenGL error after using sometime.

Scheduled Pinned Locked Moved Unsolved Qt Medical
2 Posts 2 Posters 1.1k 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.
  • L Offline
    L Offline
    lakshmanGiri
    wrote on 1 Mar 2022, 12:53 last edited by lakshmanGiri 3 Jan 2022, 12:54
    #1

    Hi, I have created an application where I render some images in my application. I render the images using vtk libraries. I am able to render the image and the application works perfectly fine. With continously working on the application like changing and rendering different images, all of a sudden after sometime the images does not render properly and it shows some glitches. But the application does not crash and I am also able to use the other options in the application except the image rendering which causes some glitches. When I checked the log message, I came across the following error.

    CRT : ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0) for format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile), shared context: 0x20004 (The operation completed successfully.)
    
    CRT : GDI::createContext: wglCreateContext failed. (Unknown error 0xc00705aa.)
    
    WRN default: Unable to create a GL Context.
    
    WRN default: QOpenGLWidget: Failed to create context
    

    It is weird that this error occurs after sometime. Can someone please explain me, What went wrong?.

    TIA.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      GPBeta
      wrote on 20 May 2022, 12:01 last edited by
      #2

      Same issue here, are you using Qt 3D with Intel Integrated Graphics?

      \BAKA BAKA/

      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