Re: [Mesa-dev] OpenGL ES 3.0 support

2015-03-24 Thread Shervin Sharifi
Thank you Ilia and Rob for your responses.

On Mon, Mar 23, 2015 at 3:39 PM, Rob Clark robdcl...@gmail.com wrote:

 On Mon, Mar 23, 2015 at 3:59 PM, Ilia Mirkin imir...@alum.mit.edu wrote:
  On Mon, Mar 23, 2015 at 3:57 PM, Shervin Sharifi sherv...@gmail.com
 wrote:
  Hi,
 
   I'm new to Mesa and I'm trying to understand the status of OpenGL ES
 3.0
  support in Mesa.
   I'm mainly interested in using llvm-pipe backend (software rendering).
 
  http://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html#p=es
 
  Most modern GPU's (as well as both llvmpipe and softpipe) support ES
  3.0 as well as a number of extensions.

 note that you probably need to rebuild mesa w/ --enable-texture-float

 BR,
 -R

 
  Cheers,
 
-ilia
  ___
  mesa-dev mailing list
  mesa-dev@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/mesa-dev

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2015-03-23 Thread Ilia Mirkin
On Mon, Mar 23, 2015 at 3:57 PM, Shervin Sharifi sherv...@gmail.com wrote:
 Hi,

  I'm new to Mesa and I'm trying to understand the status of OpenGL ES 3.0
 support in Mesa.
  I'm mainly interested in using llvm-pipe backend (software rendering).

http://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html#p=es

Most modern GPU's (as well as both llvmpipe and softpipe) support ES
3.0 as well as a number of extensions.

Cheers,

  -ilia
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2015-03-23 Thread Rob Clark
On Mon, Mar 23, 2015 at 3:59 PM, Ilia Mirkin imir...@alum.mit.edu wrote:
 On Mon, Mar 23, 2015 at 3:57 PM, Shervin Sharifi sherv...@gmail.com wrote:
 Hi,

  I'm new to Mesa and I'm trying to understand the status of OpenGL ES 3.0
 support in Mesa.
  I'm mainly interested in using llvm-pipe backend (software rendering).

 http://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html#p=es

 Most modern GPU's (as well as both llvmpipe and softpipe) support ES
 3.0 as well as a number of extensions.

note that you probably need to rebuild mesa w/ --enable-texture-float

BR,
-R


 Cheers,

   -ilia
 ___
 mesa-dev mailing list
 mesa-dev@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread violin yanev
Thanks for your replies guys!

The output of eglinfo is:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4 (DRI2)
EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
EGL extensions string:
EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_surfaceless_context EGL_KHR_create_context
EGL_NOK_swap_region EGL_NOK_texture_from_pixmap
EGL_NV_post_sub_buffer

So apparently ES3.0 is not a supported API :(

@Jordan: do you know if one can reenable ES3 on Intel graphics? Is a
special flag expected? I had read a message that Fedora 18 will enable
ES3.0 by default?

Violin


On Mon, Mar 25, 2013 at 5:59 PM, Jordan Justen jljus...@gmail.com wrote:

 On Mon, Mar 25, 2013 at 9:41 AM, violin yanev violin.ya...@gmail.com
 wrote:
  Hello,
 
  I was eager to try the OpenGL ES 3.0 support on the newest Mesa 9.1.
 
  I installed the latest Fedora Rawhide on my Sandy Bridge.

 I believe this Fedora commit which disabled GL3 for Intel graphics
 will also disable GLES3 for Intel graphics:

 http://pkgs.fedoraproject.org/cgit/mesa.git/commit/?id=cbd72a1775d26a74f76be5de337ce036467e2043

 -Jordan

  I think the
  graphics chip is HD 2000, lspci says I have a Xeon E3-1200 V2/3rd gen
  processor. glxinfo states that I have Mesa 9.1, and lsmod lists i915 as
 my
  VGA driver, so it seems that the setup is right. I wrote a simple EGL
  program (used the opengles2 example as basis) and tried to create am
 OpenGL
  ES3 context. I tried two methods:
 
  1) Giving a value of 3 in the API version eglChooseConfig
  (EGL_CONTEXT_CLIENT_VERSION=3)
  This had the result that no matching configs were found.
  2) Supplying the EGL_OPENGL_ES3_BIT_KHR flag in eglCreateContext (the
  EGL_KHR_create_context extension is present). This didn't work either
  (eglCreateContext returns an error).
 
  I am probably doing it the wrong way, but I didn't find any information
 on
  the internet on how to try the ES3.0 support (I checked the mesa-users
  mailing list, the mesa news, the intel linux drivers webpage, and even
  searched the commit history of mesa...). I would really appreciate some
  help!
 
  ___
  mesa-dev mailing list
  mesa-dev@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/mesa-dev
 

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 4:39 AM, violin yanev violin.ya...@gmail.com wrote:
 Thanks for your replies guys!

 The output of eglinfo is:
 EGL API version: 1.4
 EGL vendor string: Mesa Project
 EGL version string: 1.4 (DRI2)
 EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
 EGL extensions string:
 EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base
 EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image
 EGL_KHR_surfaceless_context EGL_KHR_create_context
 EGL_NOK_swap_region EGL_NOK_texture_from_pixmap
 EGL_NV_post_sub_buffer

 So apparently ES3.0 is not a supported API :(

 @Jordan: do you know if one can reenable ES3 on Intel graphics? Is a special
 flag expected? I had read a message that Fedora 18 will enable ES3.0 by
 default?

 Violin

AFAICT fedora won't enable ES3.0 due to patent uncertainty regarding
floating point format, you can however build mesa yourself and enable
floating point format that would give you ES3.0 support.

Cheers,
Jerome
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jordan Justen
On Tue, Mar 26, 2013 at 10:34 AM, Jerome Glisse j.gli...@gmail.com wrote:
 On Tue, Mar 26, 2013 at 4:39 AM, violin yanev violin.ya...@gmail.com wrote:
 Thanks for your replies guys!

 The output of eglinfo is:
 EGL API version: 1.4
 EGL vendor string: Mesa Project
 EGL version string: 1.4 (DRI2)
 EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
 EGL extensions string:
 EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base
 EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image
 EGL_KHR_surfaceless_context EGL_KHR_create_context
 EGL_NOK_swap_region EGL_NOK_texture_from_pixmap
 EGL_NV_post_sub_buffer

 So apparently ES3.0 is not a supported API :(

 @Jordan: do you know if one can reenable ES3 on Intel graphics? Is a special
 flag expected? I had read a message that Fedora 18 will enable ES3.0 by
 default?

 Violin

 AFAICT fedora won't enable ES3.0 due to patent uncertainty regarding
 floating point format

This feature should be usable on Intel hardware which is why it was
enabled by default (for Intel hardware) in 9bdf5be.

-Jordan
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 2:14 PM, Jordan Justen jljus...@gmail.com wrote:
 On Tue, Mar 26, 2013 at 10:34 AM, Jerome Glisse j.gli...@gmail.com wrote:
 On Tue, Mar 26, 2013 at 4:39 AM, violin yanev violin.ya...@gmail.com wrote:
 Thanks for your replies guys!

 The output of eglinfo is:
 EGL API version: 1.4
 EGL vendor string: Mesa Project
 EGL version string: 1.4 (DRI2)
 EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
 EGL extensions string:
 EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base
 EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image
 EGL_KHR_surfaceless_context EGL_KHR_create_context
 EGL_NOK_swap_region EGL_NOK_texture_from_pixmap
 EGL_NV_post_sub_buffer

 So apparently ES3.0 is not a supported API :(

 @Jordan: do you know if one can reenable ES3 on Intel graphics? Is a special
 flag expected? I had read a message that Fedora 18 will enable ES3.0 by
 default?

 Violin

 AFAICT fedora won't enable ES3.0 due to patent uncertainty regarding
 floating point format

 This feature should be usable on Intel hardware which is why it was
 enabled by default (for Intel hardware) in 9bdf5be.

 -Jordan

Fedora patch revert this commit.

Cheers,
Jerome
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jordan Justen
On Tue, Mar 26, 2013 at 1:39 AM, violin yanev violin.ya...@gmail.com wrote:
 Thanks for your replies guys!

 The output of eglinfo is:
 EGL API version: 1.4
 EGL vendor string: Mesa Project
 EGL version string: 1.4 (DRI2)
 EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
 EGL extensions string:
 EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base
 EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image
 EGL_KHR_surfaceless_context EGL_KHR_create_context
 EGL_NOK_swap_region EGL_NOK_texture_from_pixmap
 EGL_NV_post_sub_buffer

 So apparently ES3.0 is not a supported API :(

 @Jordan: do you know if one can reenable ES3 on Intel graphics? Is a special
 flag expected?

As Jerome mentioned, you could build mesa from our tree (rather than
Fedora's tree).

One other option *might* be to download a build of i965_dri.so from
another distro's build of mesa, and then set the LIBGL_DRIVERS_DIR
environment variable to the directory where you downloaded the
library.

-Jordan

 On Mon, Mar 25, 2013 at 5:59 PM, Jordan Justen jljus...@gmail.com wrote:

 On Mon, Mar 25, 2013 at 9:41 AM, violin yanev violin.ya...@gmail.com
 wrote:
  Hello,
 
  I was eager to try the OpenGL ES 3.0 support on the newest Mesa 9.1.
 
  I installed the latest Fedora Rawhide on my Sandy Bridge.

 I believe this Fedora commit which disabled GL3 for Intel graphics
 will also disable GLES3 for Intel graphics:

 http://pkgs.fedoraproject.org/cgit/mesa.git/commit/?id=cbd72a1775d26a74f76be5de337ce036467e2043

 -Jordan

  I think the
  graphics chip is HD 2000, lspci says I have a Xeon E3-1200 V2/3rd gen
  processor. glxinfo states that I have Mesa 9.1, and lsmod lists i915 as
  my
  VGA driver, so it seems that the setup is right. I wrote a simple EGL
  program (used the opengles2 example as basis) and tried to create am
  OpenGL
  ES3 context. I tried two methods:
 
  1) Giving a value of 3 in the API version eglChooseConfig
  (EGL_CONTEXT_CLIENT_VERSION=3)
  This had the result that no matching configs were found.
  2) Supplying the EGL_OPENGL_ES3_BIT_KHR flag in eglCreateContext (the
  EGL_KHR_create_context extension is present). This didn't work either
  (eglCreateContext returns an error).
 
  I am probably doing it the wrong way, but I didn't find any information
  on
  the internet on how to try the ES3.0 support (I checked the mesa-users
  mailing list, the mesa news, the intel linux drivers webpage, and even
  searched the commit history of mesa...). I would really appreciate some
  help!
 
  ___
  mesa-dev mailing list
  mesa-dev@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/mesa-dev
 


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-25 Thread Matt Turner
On Mon, Mar 25, 2013 at 9:41 AM, violin yanev violin.ya...@gmail.com wrote:
 Hello,

 I was eager to try the OpenGL ES 3.0 support on the newest Mesa 9.1.

 I installed the latest Fedora Rawhide on my Sandy Bridge. I think the
 graphics chip is HD 2000, lspci says I have a Xeon E3-1200 V2/3rd gen
 processor. glxinfo states that I have Mesa 9.1, and lsmod lists i915 as my
 VGA driver, so it seems that the setup is right. I wrote a simple EGL
 program (used the opengles2 example as basis) and tried to create am OpenGL
 ES3 context. I tried two methods:

 1) Giving a value of 3 in the API version eglChooseConfig
 (EGL_CONTEXT_CLIENT_VERSION=3)
 This had the result that no matching configs were found.
 2) Supplying the EGL_OPENGL_ES3_BIT_KHR flag in eglCreateContext (the
 EGL_KHR_create_context extension is present). This didn't work either
 (eglCreateContext returns an error).

 I am probably doing it the wrong way, but I didn't find any information on
 the internet on how to try the ES3.0 support (I checked the mesa-users
 mailing list, the mesa news, the intel linux drivers webpage, and even
 searched the commit history of mesa...). I would really appreciate some
 help!

To narrow the problem, does eglinfo (from
http://cgit.freedesktop.org/mesa/demos in src/egl/opengl) say that
OpenGL_ES3 is an EGL client API? My Sandybridge system says

EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4 (DRI2)
EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-25 Thread Jordan Justen
On Mon, Mar 25, 2013 at 9:41 AM, violin yanev violin.ya...@gmail.com wrote:
 Hello,

 I was eager to try the OpenGL ES 3.0 support on the newest Mesa 9.1.

 I installed the latest Fedora Rawhide on my Sandy Bridge.

I believe this Fedora commit which disabled GL3 for Intel graphics
will also disable GLES3 for Intel graphics:
http://pkgs.fedoraproject.org/cgit/mesa.git/commit/?id=cbd72a1775d26a74f76be5de337ce036467e2043

-Jordan

 I think the
 graphics chip is HD 2000, lspci says I have a Xeon E3-1200 V2/3rd gen
 processor. glxinfo states that I have Mesa 9.1, and lsmod lists i915 as my
 VGA driver, so it seems that the setup is right. I wrote a simple EGL
 program (used the opengles2 example as basis) and tried to create am OpenGL
 ES3 context. I tried two methods:

 1) Giving a value of 3 in the API version eglChooseConfig
 (EGL_CONTEXT_CLIENT_VERSION=3)
 This had the result that no matching configs were found.
 2) Supplying the EGL_OPENGL_ES3_BIT_KHR flag in eglCreateContext (the
 EGL_KHR_create_context extension is present). This didn't work either
 (eglCreateContext returns an error).

 I am probably doing it the wrong way, but I didn't find any information on
 the internet on how to try the ES3.0 support (I checked the mesa-users
 mailing list, the mesa news, the intel linux drivers webpage, and even
 searched the commit history of mesa...). I would really appreciate some
 help!

 ___
 mesa-dev mailing list
 mesa-dev@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/mesa-dev

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev