Sign in to follow this  
TheChubu

OpenGL OpenGL 4.4 spec is published

Recommended Posts

Koehler    228

I'm excited about ARB_Sparse_Texture, though I'm a little confused as to why they don't support any of the 3-component texture formats.

Share this post


Link to post
Share on other sites
mmakrzem    1036

Well, since I didn't saw any thread about it, here it is:

 

OpenGL 4.4 released.

 

OpenGL registry where you can see the pdfs of the spec.

 

And nVidia's drivers for it (Linux/Windows/x86/x86_64/yaddayadda). There are a few new extensions also available for OpenGL 3 hardware.

 

Thanks for the heads up.  I'll have to check it out.

Edited by MarekKnows.com

Share this post


Link to post
Share on other sites
Makers_F    936

I think the biggest improvement is the conformace test. From what i head from who prefer DX over GL is that the drivers sometimes have different behaviours for different cards (with openGL). With this change, all the driver will(?should?) have the same behaviour, making it easier to develop openGL programs.

Share this post


Link to post
Share on other sites
Chris_F    3030

So, OpenGL 4.4 specs have been published, and AMD still doesn't have a [i]working[/i] implementation of OpenGL 4.3. This is wonderful. rolleyes.gif

Share this post


Link to post
Share on other sites
Hodgman    51342

I'm excited about ARB_Sparse_Texture, though I'm a little confused as to why they don't support any of the 3-component texture formats.

GPU hardware hasn't supported 3-component texture formats for a long time (aside from packed formats like DXT1).

If you ask GL to give you an RGB texture, on the GPU it will allocate an RGBA texture and pretend that the alpha channel doesn't exit...

I think the biggest improvement is the conformace test. From what i head from who prefer DX over GL is that the drivers sometimes have different behaviours for different cards (with openGL). With this change, all the driver will(?should?) have the same behaviour, making it easier to develop openGL programs.

Yeah that's something that I always have a whinge about, so this makes me very happy biggrin.png

[the ARB] has created the first set of formal OpenGL conformance tests since OpenGL 2.0 [and] full certification is mandatory for OpenGL 4.4 and onwards

Edited by Hodgman

Share this post


Link to post
Share on other sites

Not gonna comment on the features since I'm still trying to play catch up (this is what happens when you live in a place where any upgrade to a PC ends up costing an entire salary, let alone getting a new computer that isn't already outdated).

 

I'm curious about the certification part, though. Yeah, sure, having a guarantee that drivers always work the same is nice, but how do they plan to enforce it? Does this mean it'll be outright illegal to release an OpenGL driver that isn't certified? I can see that being a massive issue for FOSS drivers (which does matter on Linux). Does anybody have exact details on what certification allows?

 

EDIT: should have checked more carefully

http://www.khronos.org/conformance/

 

OK, it's mostly a trademark issue (so e.g. Mesa probably still would be safe since it doesn't call itself OpenGL). It seems that FOSS implementations still would be able to go through the implementers program if they want to use the name (not the adopters one due to the fee).

Edited by Sik_the_hedgehog

Share this post


Link to post
Share on other sites

So, OpenGL 4.4 specs have been published, and AMD still doesn't have a working implementation of OpenGL 4.3. This is wonderful. rolleyes.gif

Well, AMD is much less of an issue than Intel, they (AMD) are actually pretty good nowadays. Intel is the real problem. They not only do not have a working implementation of OpenGL 4.0, but they also do not have a working implementation of OpenGL 3.0.

 

Which makes me wonder what this entire certification thing will be good for at all.

 

Intel will not pull functional 3.0 (let's not even imagine 4.4) drivers out of their magic hat, but Intel integrated GPUs are the main GPU in every El Cheapo computer, and in the major share of non-tablet computers anyway, too. And, outside the world of Android, they're pretty much omni-present in tablets as well.

 

Which will probably mean no more and no less than OpenGL will simply not be supported (or supported even worse as it is now) on a considerable share of hardware. Sorry for being pessimistic, but I just can't see Intel producing a quality 4.x driver and undergo certification any time soon. They'll just show everyone the middle finger, knowing their CPUs are sold anyway.

Share this post


Link to post
Share on other sites
Chris_F    3030

 

So, OpenGL 4.4 specs have been published, and AMD still doesn't have a working implementation of OpenGL 4.3. This is wonderful. rolleyes.gif

Well, AMD is much less of an issue than Intel, they (AMD) are actually pretty good nowadays. Intel is the real problem. They not only do not have a working implementation of OpenGL 4.0, but they also do not have a working implementation of OpenGL 3.0.

 

Which makes me wonder what this entire certification thing will be good for at all.

 

Intel will not pull functional 3.0 (let's not even imagine 4.4) drivers out of their magic hat, but Intel integrated GPUs are the main GPU in every El Cheapo computer, and in the major share of non-tablet computers anyway, too. And, outside the world of Android, they're pretty much omni-present in tablets as well.

 

Which will probably mean no more and no less than OpenGL will simply not be supported (or supported even worse as it is now) on a considerable share of hardware. Sorry for being pessimistic, but I just can't see Intel producing a quality 4.x driver and undergo certification any time soon. They'll just show everyone the middle finger, knowing their CPUs are sold anyway.

 

 

 I really don't consider Intel to be that big of any issue. Their integrated graphics are in a completely different class compared to AMD and Nvidia's dedicated GPUs. I mean whats the real advantage to being able to enable the latest OpenGL 4 / DX11 level features in a game if its going to run at 5fps?

Edited by Chris_F

Share this post


Link to post
Share on other sites
Erik Rufelt    5901

 

Intel will not pull functional 3.0 (let's not even imagine 4.4) drivers out of their magic hat, but Intel integrated GPUs are the main GPU in every El Cheapo computer, and in the major share of non-tablet computers anyway, too. And, outside the world of Android, they're pretty much omni-present in tablets as well.

 

Which will probably mean no more and no less than OpenGL will simply not be supported (or supported even worse as it is now) on a considerable share of hardware. Sorry for being pessimistic, but I just can't see Intel producing a quality 4.x driver and undergo certification any time soon. They'll just show everyone the middle finger, knowing their CPUs are sold anyway.

 

 

I would be surprised if they added this certification if Intel haven't already said yes to it. What would be the point if it's still just AMD/Nvidia?

 

 

 

 I really don't consider Intel to be that big of any issue. Their integrated graphics are in a completely different class compared to AMD and Nvidia's dedicated GPUs. I mean whats the real advantage to being able to enable the latest OpenGL 4 / DX11 level features in a game if its going to run at 5fps?

 

 

That seems rather irrelevant in the context of conformance, where the point is that any features should behave the same, which is just as important if one only uses 2.0 functionality. AMD/Nvidia are already close enough, and the real advantage of the conformance tests would be when writing an application that doesn't require the beefiest hardware and being able to rely on it working the intended way on any device.

Share this post


Link to post
Share on other sites
mhagain    13430

Certification is just required for GL4.4+, so all that Intel (or AMD for that matter, should they be so inclined) have to do is freeze their implementation at a pre-4.4 level and hey-presto!  No need for certification and they can continue to ship driver bugs.

 

I wouldn't underestimate Intel, by the way.  Haswell is looking pretty good, is beating comparable parts from AMD, and in a couple more generations we may well see them emerging as a third serious player in the market.

Share this post


Link to post
Share on other sites
_the_phantom_    11250

I wouldn't underestimate Intel, by the way.  Haswell is looking pretty good, is beating comparable parts from AMD, and in a couple more generations we may well see them emerging as a third serious player in the market.


Yeah, this.

Both in desktop and mobile the Intel machine has woken up and starting to push serious resources into the development; with AMD's CPU division sucking away the profits from graphics if Intel can keep up investment they could move into second place.

As for GL4.4; there isn't really a great deal to it.
From the headline features;

- Buffer Storage has mostly provoked arguements as to how useful it'll be (more so when the notes on the extension say that at least one of the bits might be ignored) - I'm pretty sure this also basically mimics D3D11's buffer controls

- Async Queries could be useful if you are doing anything which requires GPU output which would normally bounce thru a CPU buffer

- Shader Variable Layout, while intresting from a 'yay!' point of view is again basically a HLSL parity feature

- Multi-bind is a good addition but nothing earth shattering (and it's bizzare it wasn't about before... see D3D10)

- The 10-11-11 vertex format support is just... well, sane.. again, surprising it wasn't there before.

There are some intresting extensions about (sparse, bindless, draw parameters, variable group size(!), indirect parameters) but the core feels like a 'tidying up missing features vs D3D11' really.

Maybe GL4.5 will bring something new to the table in the core, we'll see, as D3D is basically stuck at D3D11 due to the enforcement of Win8.1 for D3D11.2 - OGL has basically a 3rd chance to try and become a viable option again.

Share this post


Link to post
Share on other sites
Koehler    228

GPU hardware hasn't supported 3-component texture formats for a long time (aside from packed formats like DXT1).


If you ask GL to give you an RGB texture, on the GPU it will allocate an RGBA texture and pretend that the alpha channel doesn't exit...
 

 

Learn something new every day! Good to know this.. 

Share this post


Link to post
Share on other sites
mhagain    13430

Don't be like that, its getting there! tongue.png

 

"Getting there" isn't good enough.  GL4.3 has been specified for the past year, AMD are a member of the standards body that specified it, they should have had a full GL4.3 driver long ago.

Share this post


Link to post
Share on other sites
Ingenu    1629

They should put more effort into streamlining the API again, and I'm not sure why we don't have a single state vector yet, neither why samplers are not solely shader side for example.

It would also be nice to be able to generate and submit a command buffer sequence easily. (Create it once, resubmit it as many times as you want, sorta like a copy/paste operation.)

 

How many ways do we need to specify a typed multi-dimensional array ?

BufferData, BufferStorage, TextureImage*, TexStorage*... That's way too many...

 

The API is at last giving us access to hardware features that have been available for years now, but the API isn't making the jump I'd like to see and change once and for all into OpenGL Lean & Mean, a promise from 2002 for OpenGL 2.0... (Long before 3.0/Long Peaks)

Edited by Ingenu

Share this post


Link to post
Share on other sites

What I don't get about query buffers is that for most query objects (including occlusion and timer, the most interesting ones) it says that at most one query can be active at a time.

 

In other words, you can now read many queries into a buffer object to avoid stalls and to avoid a round-trip to the CPU, but you can still only run one query at a time. Which, frankly, isn't so much different.

 

The only useful application is really transform feedback and/or geometry shader (where more than one query at a time can be active).

Share this post


Link to post
Share on other sites

Has anyone tried to implement the sparse textures? I've placed glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_SPARSE_ARB, GL_TRUE) into my code and it compiles fine but there does not seem to be anything shader specific written in the specs (similar to the AMD versions where you use sparseTexture(sampler, coord)).

Share this post


Link to post
Share on other sites
_the_phantom_    11250
Ah, yes, that omission... it took me a while to spot it as well (mostly because I couldn't believe it WAS missing); but yes, as it stands ARB_sparse_texture lacks the GLSL extension for shader -> cpu feedback loops.

While annoying this doesn't render the extension useless it just means you have to manage things via corser CPU side controls rather than using a shader feedback loop (which, to be honest, for a streaming solution you'll want anyway so no foul there really).

Part of me wonders if this omission is due to an NV or Intel GPU weakness where their current hardware can do the virtual texturing bit just fine but can't do the feedback loop; probably because it pretty much requires a writable buffer to be bound to any pipeline stage to be completely viable for all situations something AMD can do but it seems NV can't/won't expose on some/all of their hardware (see D3D11.1 'uav on all pipeline stages' issue for NV)... and god knows about Intel.

Truth be told however this extension, and the more powerful AMD varient get more intresting once the tiled resource extension comes into play; I don't have a link to the pdf handy but basically you'll be able to reserve a buffer (say 128meg) and then allocate out of that tile sized resources to your sparse textures rather than relying on the driver's best guess as it currently stands. (edit: and now I have the link to hand! Hardware Virtual Textures has the details.)

Combine sparse, memory controls and bindless and you've got one hell of a powerful set of features going forward. Edited by phantom

Share this post


Link to post
Share on other sites
MJP    19790

Part of me wonders if this omission is due to an NV or Intel GPU weakness where their current hardware can do the virtual texturing bit just fine but can't do the feedback loop;

Indeed, Nvidia supports the general virtual memory framework but not the shader feedback. Hence DX11.2 having two tiers for tiled resources, with the second tier having the shader extensions.

Edited by MJP

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Partner Spotlight

  • Similar Content

    • By pseudomarvin
      I assumed that if a shader is computationally expensive then the execution is just slower. But running the following GLSL FS instead just crashes
      void main() { float x = 0; float y = 0; int sum = 0; for (float x = 0; x < 10; x += 0.00005) { for (float y = 0; y < 10; y += 0.00005) { sum++; } } fragColor = vec4(1, 1, 1 , 1.0); } with unhandled exception in nvoglv32.dll. Are there any hard limits on the number of steps/time that a shader can take before it is shut down? I was thinking about implementing some time intensive computation in shaders where it would take on the order of seconds to compute a frame, is that possible? Thanks.
    • By Arulbabu Donbosco
      There are studios selling applications which is just copying any 3Dgraphic content and regenerating into another new window. especially for CAVE Virtual reality experience. so that the user opens REvite or CAD or any other 3D applications and opens a model. then when the user selects the rendered window the VR application copies the 3D model information from the OpenGL window. 
      I got the clue that the VR application replaces the windows opengl32.dll file. how this is possible ... how can we copy the 3d content from the current OpenGL window.
      anyone, please help me .. how to go further... to create an application like VR CAVE. 
       
      Thanks
    • By cebugdev
      hi all,

      i am trying to build an OpenGL 2D GUI system, (yeah yeah, i know i should not be re inventing the wheel, but this is for educational and some other purpose only),
      i have built GUI system before using 2D systems such as that of HTML/JS canvas, but in 2D system, i can directly match a mouse coordinates to the actual graphic coordinates with additional computation for screen size/ratio/scale ofcourse.
      now i want to port it to OpenGL, i know that to render a 2D object in OpenGL we specify coordiantes in Clip space or use the orthographic projection, now heres what i need help about.
      1. what is the right way of rendering the GUI? is it thru drawing in clip space or switching to ortho projection?
      2. from screen coordinates (top left is 0,0 nd bottom right is width height), how can i map the mouse coordinates to OpenGL 2D so that mouse events such as button click works? In consideration ofcourse to the current screen/size dimension.
      3. when let say if the screen size/dimension is different, how to handle this? in my previous javascript 2D engine using canvas, i just have my working coordinates and then just perform the bitblk or copying my working canvas to screen canvas and scale the mouse coordinates from there, in OpenGL how to work on a multiple screen sizes (more like an OpenGL ES question).
      lastly, if you guys know any books, resources, links or tutorials that handle or discuss this, i found one with marekknows opengl game engine website but its not free,
      Just let me know. Did not have any luck finding resource in google for writing our own OpenGL GUI framework.
      IF there are no any available online, just let me know, what things do i need to look into for OpenGL and i will study them one by one to make it work.
      thank you, and looking forward to positive replies.
    • By fllwr0491
      I have a few beginner questions about tesselation that I really have no clue.
      The opengl wiki doesn't seem to talk anything about the details.
       
      What is the relationship between TCS layout out and TES layout in?
      How does the tesselator know how control points are organized?
          e.g. If TES input requests triangles, but TCS can output N vertices.
             What happens in this case?
      In this article,
      http://www.informit.com/articles/article.aspx?p=2120983
      the isoline example TCS out=4, but TES in=isoline.
      And gl_TessCoord is only a single one.
      So which ones are the control points?
      How are tesselator building primitives?
    • By Orella
      I've been developing a 2D Engine using SFML + ImGui.
      Here you can see an image
      The editor is rendered using ImGui and the scene window is a sf::RenderTexture where I draw the GameObjects and then is converted to ImGui::Image to render it in the editor.
      Now I need to create a 3D Engine during this year in my Bachelor Degree but using SDL2 + ImGui and I want to recreate what I did with the 2D Engine. 
      I've managed to render the editor like I did in the 2D Engine using this example that comes with ImGui. 
      3D Editor preview
      But I don't know how to create an equivalent of sf::RenderTexture in SDL2, so I can draw the 3D scene there and convert it to ImGui::Image to show it in the editor.
      If you can provide code will be better. And if you want me to provide any specific code tell me.
      Thanks!
  • Popular Now