Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt opengl render video when disable graphics driver.
Forum Updated to NodeBB v4.3 + New Features

Qt opengl render video when disable graphics driver.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 262 Views 1 Watching
  • 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.
  • Y Offline
    Y Offline
    yanghang
    wrote on last edited by
    #1

    Now I develop a app, use qt opengl to render video, buth now I met a problem, a computer graphics driver not install, so when only can see a black screen.
    I can use setAttribute(Qt::AA_UseSoftwareOpenGL) to slove this prolem, but it cost 50% cpu.
    I want to use gpu to render when computer is good, and use softwareopengl when computer graphics has a problem.
    What should i do.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      On the system with "issues" try calling
      https://doc.qt.io/qt-5/qopenglcontext.html#openGLModuleType
      or
      https://doc.qt.io/qt-5/qsurfaceformat.html#renderableType
      or try to create a context and see if its valid.

      1 Reply Last reply
      1

      • Login

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