Does GZDoom support OpenGL 2.1?

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Post Reply
AraHaan
Posts: 4
Joined: Tue Sep 19, 2017 1:40 pm

Does GZDoom support OpenGL 2.1?

Post by AraHaan »

So, I have an inspiron 1545 that has the Intel GM45 GPU, and it supports up to OpenGL 2.1, I am wondering if such version is supported in GZDoom. :?
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Does GZDoom support OpenGL 2.1?

Post by wildweasel »

The best way to find out is to test it yourself. If I remember right, you will want to start GZDoom with the -gl2 command line switch.
AraHaan
Posts: 4
Joined: Tue Sep 19, 2017 1:40 pm

Re: Does GZDoom support OpenGL 2.1?

Post by AraHaan »

Alright, I will also look into compiling latest GZDoom in VS2017 with Static CRT as well. However the latest I see shows only "g2.0.0" and wants to use VS2015 and somehow cant find the compiler.
User avatar
phantombeta
Posts: 2084
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Does GZDoom support OpenGL 2.1?

Post by phantombeta »

@ww
You don't need to do that, GZDoom detects what GL version you have. I think the "gl2-4" arguments have been replaced with "glversion <version number>" anyway.
And GZDoom does suppport 2.1. For now. It's quite broken, though.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Does GZDoom support OpenGL 2.1?

Post by _mental_ »

Intel GMA 4500MHD (the graphics hardware inside Intel GM45 chipset) supports OpenGL 2.1 only so no special command line is needed.
GZDoom will fallback to legacy renderer automatically. Of course many features that require OpenGL 3+ won't be available.
phantombeta wrote:And GZDoom does suppport 2.1. For now. It's quite broken, though.
Quite broken and particular feature doesn't work are pretty different things, no?
AraHaan wrote:However the latest I see shows only "g2.0.0" and wants to use VS2015 and somehow cant find the compiler.
Sorry, I didn't get what you meant.
User avatar
phantombeta
Posts: 2084
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Does GZDoom support OpenGL 2.1?

Post by phantombeta »

_mental_ wrote:
phantombeta wrote:And GZDoom does suppport 2.1. For now. It's quite broken, though.
Quite broken and particular feature doesn't work are pretty different things, no?
So broken crosshairs and broken HUD textures don't mean the renderer is broken? (Keep in mind that these do work perfectly fine in 1.9 with GL2.1)
Oh, and setting the "Rendering Quality" option to "Quality" does nothing anymore either. It always shows white dots.

Just because Graf said these won't be fixed doesn't mean the renderer GL2 isn't broken.
dpJudas
 
 
Posts: 3037
Joined: Sat May 28, 2016 1:01 pm

Re: Does GZDoom support OpenGL 2.1?

Post by dpJudas »

phantombeta wrote:Just because Graf said these won't be fixed doesn't mean the renderer GL2 isn't broken.
Well I guess someone with such an old computer will have to step in and provide the pull request that fixes it then.

OpenGL 3.0 was released in 2008 (9 years ago). I know some of the older Intel chipset owners were cursed by Intel's awful OpenGL support, but at some point you have to decide how you best invest your time. Old Intel chipset computers are getting more and more rare to the point it isn't really worth it.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Does GZDoom support OpenGL 2.1?

Post by _mental_ »

phantombeta wrote:So broken crosshairs and broken HUD textures don't mean the renderer is broken? (Keep in mind that these do work perfectly fine in 1.9 with GL2.1)
Oh, and setting the "Rendering Quality" option to "Quality" does nothing anymore either. It always shows white dots.
What if someone doesn't use crosshairs and custom HUDs? Once again, if particular feature doesn't work it doesn't make a whole renderer broken. If those bugs are blockers for you it doesn't make them blockers for everybody.
Are you stuck with OpenGL 2.1 hardware and can't live without fancy HUDs? Use GZDoom 1.9.1 and be happy. It could be even faster than the latest GZDoom on such configuration.
Indeed, there are more important things to fix then broken transparency on crosshairs in legacy render path.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Does GZDoom support OpenGL 2.1?

Post by drfrag »

Well, you could try ZDoom32. It has the last incarnation of the old GL renderer, it's a bit old feature wise (around the time of GZDoom 2.3, december 2016) tough.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Does GZDoom support OpenGL 2.1?

Post by Graf Zahl »

_mental_ wrote: What if someone doesn't use crosshairs and custom HUDs?
What if someone made proper crosshair graphics to begin with?
But seeing that ZDoom32 even exists I am feeling more and more tempted to just rip out the GL 2.x support because it's just too incompatible with modern rendering techniques.
(On the other hand, I have some fears that its existence also will make some people cling to their stone age computers for even a bit longer - never mind that such computers tend to inflict more frustration and wasted time than it is worth compared to the cost of a more up to date replacement - of course replacement not meaning to get another old cheap-ass system with outdated hardware because then you'd be back to square one in no time. Anything with Vulkan incapable hardware should be considered a total waste of money these days.)

Let's make this clear: OpenGL 2.x is a fossil. You cannot expect that software will work forever on such old systems. At some time the plug will have to be pulled because it's either legacy support or new rendering features and I'm certainly not going to invest more time here.
User avatar
phantombeta
Posts: 2084
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Does GZDoom support OpenGL 2.1?

Post by phantombeta »

I honestly don't care if those bugs get fixed.
My problem is with the fact that you claimed that anything that doesn't work in the GL2 renderer is a GL3 specific feature, which is obviously incorrect considering there's several regressions in it, meaning it is indeed broken.
Just because someone doesn't use a certain feature of the renderer doesn't mean it isn't broken.
And I imagine just telling anyone who asks about it that it's broken and going to be removed soon is better than getting useless bug reports for something you aren't going to fix.

@Graf
It'd help if the wiki didn't outright tell you to make decals and crosshairs using black for transparent and white for opaque.

From the [wiki=Crosshair]Crosshair[/wiki] page:
The wiki wrote:You can also use a grayscale image, with white areas showing as fully opaque and black as fully transparent.
From the [wiki=Decal#Alpha-map_decal]Decal[/wiki] page:
The wiki wrote:First you must create an 8-bit grayscale image, with white as most-visible and black as transparent.
I imagine those are why so many people do this.
I haven't really written anything for a wiki before, so I'm not gonna fix it myself, since I could end up accidentally making it make no sense.
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Does GZDoom support OpenGL 2.1?

Post by Rachael »

Unfortunately, complaining about the state of OpenGL 2.x is going to simply get its support completely removed - it's something that, at this point, will never be fixed, and the only reason why it is there is because it is a tolerable enough "problem" to remain where it is. Once it becomes annoying enough, there's no longer a reason to have it. And stressing this topic is enough to cause that to happen.

This is not unusual for GZDoom. Like the removal of Windows 95 support - and the complete removal of any legacy OpenGL 1.x support. It comes down to - don't expect anything older than a decade old to continue to function.

In an ideal world we would not have this constant problem but innovation can't happen if a legacy continually holds it back. It's the nature of things - computers evolve, much like societies and communities do.

The computers we have today are much better than anything we had 10 years ago. And the computers that we will have 10 years from now are much better than anything we will have, today. Much as we like to throw the word "modern" around, 10 years from now "modern" will mean something completely different - and even OpenGL itself will be a "legacy" component.
Post Reply

Return to “Technical Issues”