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. Getting rid of OpenGL warnings on machines without HW acceleration
Forum Updated to NodeBB v4.3 + New Features

Getting rid of OpenGL warnings on machines without HW acceleration

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 6.1k 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    When running the regular "animated tiles" example in a virtual machine, I get an OpenGL warning "unable to connect to host. Make sure hardware acceleration is enabled".

    Well, I don't have HW acceleration on that machine, and I ain't going to get it. How do I get rid of the warning?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jens
      wrote on last edited by
      #2

      See: http://askubuntu.com/questions/150685/why-do-i-get-an-opengl-warning-message-after-running-google-chrome-through-the

      It is a problem with VirtualBox and not actually related to Qt.
      (aside from the fact that Qt has to make use of the opengl libraries with those examples)

      Perhaps you can verify if HW accelleration is disabled in your vbox or perhaps you can uninstall the host extensions?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        HW acceleration is disabled. That is, the option "3D acceleration" under "Display" - "Extended features" is disabled.

        It was enabled at first, and I got a ton more errors.

        Edit: Here are the errors I get with HW acceleration enabled:

        @OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo
        OpenGL Warning: XGetVisualInfo returned 0 visuals for 0xa21e2a0
        OpenGL Warning: Retry with 0x8002 returned 0 visuals
        OpenGL Warning: glXGetFBConfigAttrib for 0xa21e2a0, failed to get XVisualInfo@

        Edit 2:
        I should stress that the program paints correctly either way - with HW acceleration enabled or disabled. Also, the Linux in the VirtualBox runs pretty slowly (especially new windows are real slow to appear) - maybe there's a configuration problem.

        Edit 3:
        I tried the same VirtualBox on a better computer, it runs smoothly there, but the error messages are the same.

        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