Results 1 to 5 of 5

Thread: Errors when building template project under Ubuntu 15.04 using virtualbox

  1. #1
    Join Date
    Jan 2015
    Location
    Macungie, PA
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Errors when building template project under Ubuntu 15.04 using virtualbox

    When I upgraded my system under virtualbox to Ubuntu 15.04, i started getting the following errors when running a simple blank template Qt application.

    pci id for fd 14: 80ee:beef, driver (null)
    libGL error: core dri or dri2 extension not found
    libGL error: failed to load driver: vboxvideo

    I'm running Qt Creator 3.5.0 (opensource)
    Based on Qt 5.5.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)

    Search results point to the problem being fixed in an earlier version and due to hardware acceleration but nothing I have tried so far eliminates this error.
    The template program seems to run but the console output shows these errors and it isn't clear that something else will break down the road because of this.

    Anyone have information about this problem recently?

    Thanks in advance.
    Michael

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Errors when building template project under Ubuntu 15.04 using virtualbox

    This looks like you need to install/reinstall the VirtualBox guest additions for Linux in the guest machine.

  3. #3
    Join Date
    Jan 2015
    Location
    Macungie, PA
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Errors when building template project under Ubuntu 15.04 using virtualbox

    I tried reinstalling guest additions. No problem with the install but the problem still exists.

    Verifying archive integrity... All good.
    Uncompressing VirtualBox 5.0.3 Guest Additions for Linux............
    VirtualBox Guest Additions installer
    Removing installed version 5.0.3 of VirtualBox Guest Additions...
    Removing existing VirtualBox non-DKMS kernel modules ...done.
    Copying additional installer modules ...
    Installing additional modules ...
    Removing existing VirtualBox non-DKMS kernel modules ...done.
    Building the VirtualBox Guest Additions kernel modules
    The headers for the current running kernel were not found. If the following
    module compilation fails then this could be the reason.

    Building the main Guest Additions module ...done.
    Building the shared folder support module ...done.
    Building the OpenGL support module ...done.
    Doing non-kernel setup of the Guest Additions ...done.
    You should restart your guest to make sure the new modules are actually used

    Installing the Window System drivers
    Installing X.Org Server 1.17 modules ...done.
    Setting up the Window System to use the Guest Additions ...done.
    You may need to restart the the Window System (or just restart the guest system)
    to enable the Guest Additions.

    Installing graphics libraries and desktop services components ...done.
    michael@michael-VirtualBox:/media/michael/VBOXADDITIONS_5.0.3_102316$

    When I try to run a blank template,

    Starting /home/michael/build-untitled1-Desktop_Qt_5_5_0_GCC_64bit-Debug/untitled1...
    pci id for fd 14: 80ee:beef, driver (null)
    libGL error: core dri or dri2 extension not found
    libGL error: failed to load driver: vboxvideo

    This is just a desktop application template with no changes made to it.

    Any other ideas?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Errors when building template project under Ubuntu 15.04 using virtualbox

    Your guest environment does not have a suitable OpenGL environment (or your host does not). Do you need to install GL runtime libraries in your guest system? Check your X server log for clues. Try glxinfo in the guest.

  5. #5
    Join Date
    Jan 2015
    Location
    Macungie, PA
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Errors when building template project under Ubuntu 15.04 using virtualbox

    Hmm, Here's what i see from glxinfo

    michael@michael-VirtualBox:~$ glxinfo | grep OpenGL
    pci id for fd 4: 80ee:beef, driver (null)
    libGL error: core dri or dri2 extension not found
    libGL error: failed to load driver: vboxvideo
    OpenGL vendor string: VMware, Inc.
    OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)
    OpenGL version string: 3.0 Mesa 10.5.9
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:

    Don't really know what to do with this information however. One thing I did find is that if I turn on the 3D acceleration in the VirtualBox Manager, Qt crashes and I get the following from glxinfo:

    michael@michael-VirtualBox:~$ glxinfo | grep OpenGL
    pci id for fd 4: 80ee:beef, driver (null)
    OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glCombinerInputNV not found in mesa table
    OpenGL Warning: glCombinerOutputNV not found in mesa table
    OpenGL Warning: glCombinerParameterfNV not found in mesa table
    OpenGL Warning: glCombinerParameterfvNV not found in mesa table
    OpenGL Warning: glCombinerParameteriNV not found in mesa table
    OpenGL Warning: glCombinerParameterivNV not found in mesa table
    OpenGL Warning: glFinalCombinerInputNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glDeleteFencesNV not found in mesa table
    OpenGL Warning: glFinishFenceNV not found in mesa table
    OpenGL Warning: glGenFencesNV not found in mesa table
    OpenGL Warning: glGetFenceivNV not found in mesa table
    OpenGL Warning: glIsFenceNV not found in mesa table
    OpenGL Warning: glSetFenceNV not found in mesa table
    OpenGL Warning: glTestFenceNV not found in mesa table
    libGL error: core dri or dri2 extension not found
    libGL error: failed to load driver: vboxvideo
    OpenGL vendor string: Humper
    OpenGL renderer string: Chromium
    OpenGL version string: 2.1 Chromium 1.9
    OpenGL shading language version string: 4.30 NVIDIA via Cg compiler
    OpenGL extensions:


    Obviously I know just enough to get into trouble. Any ideas?
    Last edited by mstoth; 16th September 2015 at 15:28.

Similar Threads

  1. Replies: 4
    Last Post: 17th October 2014, 21:24
  2. Replies: 1
    Last Post: 17th October 2013, 17:41
  3. Errors during building
    By karlkar in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 28th June 2011, 20:58
  4. Replies: 3
    Last Post: 7th March 2011, 12:48
  5. Errors while building
    By T0bi4s in forum Qt Programming
    Replies: 1
    Last Post: 12th March 2010, 01:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.