Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a game for iOS and Android that I now want to port to Ubuntu. I plan to distribute it with Ubuntu Software Center. Preferrably for free with an in-app-purchase.

My codebase is currently based on OpenGL ES2 and written in C++. I could rewrite to OpenGL, but having progammable shaders is a must. Fixed pipeline OpenGL will not suffice.

Is there a feature in place that lets you specify OpenGL requirements in the Ubuntu Software Center? I want to make sure that only Ubuntu users with compatible hardware will be able to download my game.

Any APIs I could use for getting a suitable OpenGL context, or am I expected to just use glx for this? Or is the use of GTK mandatory?

share|improve this question
Waiting for your game in software-center(I hope it is your popular crane game) :) – Tachyons Nov 14 '12 at 14:47
@Tachyons You can play Little Crane beta using – Bram Aug 13 '13 at 4:29
up vote 1 down vote accepted

Ok, I got the following findings:

You can request an OpenGL-ES2 context from a regular OpenGL driver, as long as the OpenGL vendor supports this.

I've confirmed that this works with:

  • Intel integrated graphics driver
  • nVidia proprietary driver
  • Radeon open source driver

And it does not work with:

  • AMD/ATI proprietary fglrx driver

The extension to check for is GLX_EXT_create_context_es2_profile. If you use the GLFW library, you can request it by doing:

    glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 2 );
share|improve this answer

Disclaimer: I am not an opengl developer, So I don't know much about opengl

Is there a way to enforce minimum system requirements prior to purchase?

You should specify minimum system requirements, for example video display, in your application description. However, there is no way to examine or enforce system requirements prior to purchase. If you want to check for system capabilities during installation you can run a custom program during the application installation.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.