[meta-intel] The gma500_gfx driver, X server, & OpenGL

Erik Bolton EBolton at agjunction.com
Tue Mar 17 13:02:05 PDT 2015


Darren/Ross:

Thanks very much guys. That helps a lot.

I did a bit of grepping and realized that the GL libs are all currently being provided by mesa, which makes sense.

I'll pull down the dora branch of meta-intel and grab all the recipes I need to put EMGD and the 3.10 kernel back into our current dizzy branch of meta-intel.

I have a quick follow up question, though. I've got X running now, but my Qt app crashes at runtime because it still can't find GL. Here's the two important bits:

QGLContext::makeCurrent(): Cannot make invalid context current.
GLEW Error: Missing GL version

I would think that the app would run at least run (with terrible performance) with mesa installed.

Any thoughts?

Thanks again. :)

-Erik

-----Original Message-----
From: Darren Hart [mailto:dvhart at linux.intel.com]
Sent: Tuesday, March 17, 2015 12:49 PM
To: Burton, Ross; Erik Bolton
Cc: meta-intel at yoctoproject.org
Subject: Re: [meta-intel] The gma500_gfx driver, X server, & OpenGL



On 3/16/15 11:44 PM, Burton, Ross wrote:
>
> On 17 March 2015 at 00:56, Erik Bolton <EBolton at agjunction.com
> <mailto:EBolton at agjunction.com>> wrote:
>
>     2)      __Does the gma500_gfx driver support OpenGL/GLX at all? My
>     assumption was that Intel wouldn't drop the EMGD from the yocto BSPs
>     that use this GPU if the new kernel driver didn't have SOME 3D
>     acceleration support, but now I'm not sure. I can see GL and GLES
>     libs in /usr/lib, but I can't tell who is providing them.____
>
>     __3)      __I need hardware accelerated OpenGL, so, assuming the
>     gma500_gfx is no good, do you guys think I should try and hack the
>     EMGD driver back into the 1.7.1 BSP and disable the gma500_gfx
>     driver or take another route?
>
>
> To the first questions in each point:
>
> (2) no
> (3) yes
>
> Sadly EMGD is a mostly-binary driver with a complicated kernel driver
> that isn't supported for the kernels that we were updating to.  To use
> EMGD you'll need to copy the recipes from meta-intel before they were
> deleted and the corresponding kernel recipes from oe-core so the
> kernel portions work correctly.

The official EMGD driver wasn't officially supported by the authors beyond 2.36 I believe. We (Intel OTC Yocto Project team) forward ported it through Linux 3.10 until we could no longer reasonably maintain it without official support.

If you want to use EMGD and OpenGL on this platform, the 3.10 kernel and the corresponding poky/meta-intel release is the most recent version available unfortunately.

Thanks,

--
Darren Hart
Intel Open Source Technology Center
Disclaimer: This message contains information that may be privileged or confidential and is the property of AgJunction Inc and its subsidiaries. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


More information about the meta-intel mailing list