Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is it possible to get OpenGL 4 with Intel graphics?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 376

PostPosted: Mon Dec 14, 2015 9:50 pm    Post subject: Is it possible to get OpenGL 4 with Intel graphics? Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Tue Dec 15, 2015 3:25 pm    Post subject: Reply with quote

Which exact CPU?
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 480
Location: Estonia

PostPosted: Tue Dec 15, 2015 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 376

PostPosted: Wed Dec 16, 2015 5:01 am    Post subject: Reply with quote

Keruskerfuerst wrote:
Which exact CPU?

i7-4770K
_________________
!זה הכי, אחי Gentoo
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 376

PostPosted: Wed Dec 16, 2015 5:07 am    Post subject: Reply with quote

Thanks Leio, good info!
_________________
!זה הכי, אחי Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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