← Back to team overview

touch-packages team mailing list archive

[Bug 1245262] Re: Creating an OpenGL context and specifying a version, always returns a Core Profile context

 

A lot of OpenGL work has went in to Qt 5.2 (in Ubuntu 14.04 LTS) and Qt
5.3 (in Ubuntu 14.10), maybe this particular problem would be resolved
by now? Especially as 13.10 is soon end-of-life:d so everyone should be
using 14.04 LTS.

** Changed in: qtbase-opensource-src (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1245262

Title:
  Creating an OpenGL context and specifying a version, always returns a
  Core Profile context

Status in “qtbase-opensource-src” package in Ubuntu:
  Incomplete

Bug description:
  I maintain a QT5 application that uses OpenGL. I just upgrated to
  Ubuntu 13.10 and relised my application was broken.

  After some debugging I found the offending code:

      QGLFormat base_format;
      base_format.setProfile(QGLFormat::CompatibilityProfile);
      base_format.setVersion(3, 3);

  When running this with any version number higher than 3, it always
  returns a core profile and results in most QPainter related calls
  failing with:  "Implicit version number 110 not supported by GL3
  forward compatible context". If I dont set the version, I get a
  compatibility profile with the latest context supported by the driver.

  I run the AMD flgrx driver as shipped with Ubuntu. I've not tested
  this on a NVidia card, so I don't know if this is a QT or flgrx bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1245262/+subscriptions