Announcement
Collapse
No announcement yet.
Mesa State Tracker Now Handles GL 3.1 Core Profiles
Collapse
X
-
Piglit has some tests for GL core contexts. They're said to work with i965. They also work with Gallium if I expose GL 3.1.
-
Originally posted by ChrisXY View PostMaybe these tools all rely on something glxinfo does. But then opengl 3.1 support isn't really useful since so much seems to depend on what is actually advertised.
If it uses the old version, they get served up 3.0 by Mesa and the Apple drivers. AMD/NVidia drivers will give 4.3.
If you use the new API to open a core context, Mesa and Apple drivers are able to go beyond 3.0 support.
That means that applications have to be specifically updated to get the new support in the OSS drivers, which does kind of suck. But then, if they are going to use 3.1+ features, surely you can go to the effort to open a 3.1 context at the same time.
I'm 99% sure glxinfo hasn't been updated to use the new API. I think the command-line switch i mentioned before was just a patch someone had submitted, but there wasn't a lot of agreement exactly how glxinfo should work, so i bet it never got committed. The code is open source, though, so it's easy to check out.
Leave a comment:
-
Originally posted by smitty3268 View PostIntel supports 3.1, at least on some of their hardware. (Sandybridge and up i think)
Edit: i think glxinfo only loads the old 3.0 version, because it isn't setup to automatically try the core profiles. there is a command line switch you can use to do that i think.
Code:$ glxinfo -h Usage: glxinfo [-v] [-t] [-h] [-i] [-b] [-s] ][-display <dname>] -v: Print visuals info in verbose form. -t: Print verbose table. -display <dname>: Print GLX visuals on specified server. -h: This information. -i: Force an indirect rendering context. -b: Find the 'best' visual and print its number. -l: Print interesting OpenGL limits. -s: Print a single extension per line.
Code:glewinfo | head -8 --------------------------- GLEW Extension Info --------------------------- GLEW version 1.9.0 Reporting capabilities of display :0, visual 0xa8 Running on a Mesa DRI Intel(R) Ivybridge Mobile from Intel Open Source Technology Center OpenGL version 3.0 Mesa 9.1-devel (git-0fda2e9) is supported
Code:OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL version string: 3.0 Mesa 9.1-devel (git-0fda2e9) OpenGL shading language version string: 1.30 Driver: Intel GPU class: IvyBridge OpenGL version: 3.0 GLSL version: 1.30 Mesa version: 9.1 X server version: 1.13.99 Linux kernel version: 3.7 Direct rendering: yes Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no
Maybe these tools all rely on something glxinfo does. But then opengl 3.1 support isn't really useful since so much seems to depend on what is actually advertised.
...Last edited by ChrisXY; 29 November 2012, 08:45 PM.
Leave a comment:
-
Originally posted by ChrisXY View PostCode:$ libdrm_intel --modversion 2.4.40 $ uname -a Linux chrisl 3.7.0-1-mainline #1 SMP PREEMPT Mon Nov 26 10:35:56 CET 2012 x86_64 GNU/Linux
Edit: i think glxinfo only loads the old 3.0 version, because it isn't setup to automatically try the core profiles. there is a command line switch you can use to do that i think.
Gallium drivers still need UBO and TBO support for 3.1. Then once somebody adds geometry shaders 3.3 should be extremely close. I know one of the devs was working on that, but i haven't heard anything for a while.Last edited by smitty3268; 29 November 2012, 03:18 PM.
Leave a comment:
-
Originally posted by przemoli View PostAnd decision to only implement Core Profile have been made (already)?
Or is it still matter at hand?
Leave a comment:
-
Originally posted by cb88 View PostIs your kernel up to date? I was stuck at 2.1 untill I updated my kernel to 3.7 (I think I was on 3.2 before)
don't forget libdrm as well.. and probably other stuff too but if your are using a ppa thats probably included (not so much on gentoo or arch)Code:$ libdrm_intel --modversion 2.4.40 $ uname -a Linux chrisl 3.7.0-1-mainline #1 SMP PREEMPT Mon Nov 26 10:35:56 CET 2012 x86_64 GNU/Linux
Leave a comment:
-
Originally posted by ChrisXY View PostWell, the next step for i965 is 3.1.
Code:$ glxinfo | grep OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL version string: 3.0 Mesa 9.1-devel (git-b5918d8) OpenGL shading language version string: 1.30
don't forget libdrm as well.. and probably other stuff too but if your are using a ppa thats probably included (not so much on gentoo or arch)
Leave a comment:
-
Originally posted by Veerappan View PostWell, next step for i965 is GL 3.2. The r600g driver still doesn't advertise GL 3.1 (also only advertises glsl 1.3). Once R600 hits 3.1, it looks like most of 3.2 is already finished.
Code:$ glxinfo | grep OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL version string: 3.0 Mesa 9.1-devel (git-b5918d8) OpenGL shading language version string: 1.30
Leave a comment:
Leave a comment: