View previous topic :: View next topic |
Author |
Message |
pygoscelis Guru

Joined: 07 Jun 2003 Posts: 394
|
Posted: Mon Dec 14, 2015 9:50 pm Post subject: Is it possible to get OpenGL 4 with Intel graphics? |
|
|
I have a Haswell chip, packages are up to date, hardware acceleration is used, but the OpenGL version string is still 3.0 (core profile version string: 3.3). Is it possible to have 4.x?
Code: | media-libs/mesa-11.0.6
x11-base/xorg-x11-7.4-r2
x11-base/xorg-server-1.17
VIDEO_CARDS=intel
|
_________________ !זה הכי, אחי Gentoo |
|
Back to top |
|
 |
Keruskerfuerst Advocate


Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Tue Dec 15, 2015 3:25 pm Post subject: |
|
|
Which exact CPU? |
|
Back to top |
|
 |
Leio Developer


Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Tue Dec 15, 2015 6:04 pm Post subject: |
|
|
Intel drivers on Linux do not support OpenGL 4 for any GPU family as of yet, because some extensions required for GL4 are not yet implemented in the driver. Many of them are, however, and if a game or whatever just asks for a 3.2 or 3.3 GL context + the extensions it actually uses (that might be a requirement for a higher GL), instead of outright wanting a GL 4.0 or higher context (that guarantees a set of extensions to be present), then things would still work. Sometimes if it does that (require 4.0 context), but doesn't actually use an extension that isn't implemented, you can tell mesa with an environment variable to lie to the program what is the version of GL supported.
Intel drivers very recently (like 5 days ago) achieved OpenGL ES 3.1 support in git, which they concentrated on. For OpenGL 4, they are missing tessellation and fp64 GPU shaders still, see e.g http://mesamatrix.net/
64bit floating point shaders are not really used, except in some calculation heavy things - not really at all in any games. Tessellation is however popular in games, but sometimes optional.
I believe both intel and r600g (except a couple families of evergreen cards that support it in hardware) will need to support fp64 by converting fp64 using shaders to fp32 or something like that, and then still run it on the GPU. Because not much actually uses it, it hasn't been a high priority to get done, it's mostly important only to be able to correctly advertise full OpenGL 4.0 (and above) support, for when an application explicitly requests such a high version, instead of lower and the used extensions. _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
 |
pygoscelis Guru

Joined: 07 Jun 2003 Posts: 394
|
Posted: Wed Dec 16, 2015 5:01 am Post subject: |
|
|
Keruskerfuerst wrote: | Which exact CPU? |
i7-4770K _________________ !זה הכי, אחי Gentoo |
|
Back to top |
|
 |
pygoscelis Guru

Joined: 07 Jun 2003 Posts: 394
|
Posted: Wed Dec 16, 2015 5:07 am Post subject: |
|
|
Thanks Leio, good info! _________________ !זה הכי, אחי Gentoo |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|