OpenGL2 card? Don't update it to 3.3

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
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

OpenGL2 card? Don't update it to 3.3

Post by Darkcrafter »

Got an old ATI Radeon HD 2400 PRO graphics card here and one day I just googled for it and found out that the latest 2012 driver allows to update default GL2.0 version to GL3.3 and shading language to 3 (or 4 nevermind). I assumed in the beginning of it how awesome it was, but it turned out the opposite! All the GL3 features now really work, but it has got massive slow down to it! I can't even call it a slideshow! Guess what? The software renderer became slow as hell either. This driver update affects the same way gzdoom and skulltag. All the rest games like Battlefield 2, CS Source and others are totally ok with that. CS Source automatically changed my graphics settings to higher.

So if you're still willing to have GL3 and GL4 effects then it's better to go and get a second hand gl3 or 4 card. Otherwise stay with GL2 and use older GZDoom versions.
User avatar
TDRR
Posts: 815
Joined: Sun Mar 11, 2018 4:15 pm
Operating System Version (Optional): Manjaro/Win 8.1
Graphics Processor: Intel (Modern GZDoom)
Location: Venezuela

Re: OpenGL2 card? Don't update it to 3.3

Post by TDRR »

Please don't do this, it's rather stupid and almost never works correctly.

The reason Battlefield 2 and Counter Strike are okay with it is that they don't use OpenGL at all. If you want to have GL3 effects you need to use the MesaGL software renderer found around in the internet, it's quite slow, but you can manage 50fps on relatively potent dual-core computers.
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: OpenGL2 card? Don't update it to 3.3

Post by wildweasel »

TDRR wrote:Please don't do this, it's rather stupid and almost never works correctly.

The reason Battlefield 2 and Counter Strike are okay with it is that they don't use OpenGL at all. If you want to have GL3 effects you need to use the MesaGL software renderer found around in the internet, it's quite slow, but you can manage 50fps on relatively potent dual-core computers.
So you're suggesting to solve slowdown with something that comes with more slowdown. :?
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: OpenGL2 card? Don't update it to 3.3

Post by Graf Zahl »

Mesa is not a solution. Even on my rather good system it's too slow.

The only thing that's going to help with such old hardware is buying new one. Even a second hand entry level card will do magic in such a system, unless, of course it's a laptop where the graphics hardware cannot be changed.
User avatar
TDRR
Posts: 815
Joined: Sun Mar 11, 2018 4:15 pm
Operating System Version (Optional): Manjaro/Win 8.1
Graphics Processor: Intel (Modern GZDoom)
Location: Venezuela

Re: OpenGL2 card? Don't update it to 3.3

Post by TDRR »

Graf Zahl wrote:Mesa is not a solution. Even on my rather good system it's too slow.

The only thing that's going to help with such old hardware is buying new one. Even a second hand entry level card will do magic in such a system, unless, of course it's a laptop where the graphics hardware cannot be changed.
That's weird, it ran pretty okay (20fps at worst on non-iwad maps) on my 3GHz Dual-Core PC (I needed to use it because GL kept crashing randomly) but that was when GL3 features weren't around so maybe that had something to do with it. Unfortunately that PC died, which really sucks because it ran many mods very well and this laptop can't even run Argent without dropping into the twenties.

Perhaps you can use this alternative and set the resolution to 640x480 or below, which should be a lot faster than Mesa. (Do note that recent versions of Mesa3D software renderer include this, and i assume you guys were using the old Mesa llvmpipe)

EDIT: Apparently this doesn't work anymore in recent versions of GZDoom, because it just uses my IGPU. I did get lower FPS but i really doubt it's Mesa because i'm getting 40fps on a system that struggles with Half-Life 2
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: OpenGL2 card? Don't update it to 3.3

Post by drfrag »

Mesa3D For Windows sometimes works sometimes it doesn't i think mostly depends on your graphics card. On nvidia it works but then you most likely don't need it.
This works well for the vintage build and software mode (all cards) using -the glversion 2 switch.
And also is playable for the 1.9.x GL renderer in ZDoom32 at low resolutions. Recent versions are faster due to being compiled with LLVM 6. OpenSWR is pretty much the same, probably even worse.
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: OpenGL2 card? Don't update it to 3.3

Post by Darkcrafter »

I did update my opengl version to 3.3 accidentaly, I never knew it might result in this :evil: I tried to do many things to revert the things to the previous state but it seems like it's impossible.

By the way, GZDoom version 2.1.9 works best in this case now. It already has an opengl renderer that allows to stack many 3d floors on top of each other while preserving good performance, it lacks any portal support though, so I had to use silent line teleporters to optimize maps for older hardware.
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: OpenGL2 card? Don't update it to 3.3

Post by Darkcrafter »

You may call me crazy here (b**dy Russians). I once converted my map into md3 model. It had the same performance that its sector based counterpart had. I think it's because the renderer renders all the polygons that aren't visible in a current viewpoint (frustrum?)
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: OpenGL2 card? Don't update it to 3.3

Post by Graf Zahl »

What you did can help, but only on modern hardware. On older cards the limiting factor is the graphics hardware's rasterizer and if that's the case no CPU-side optimization will help you make things faster.
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: OpenGL2 card? Don't update it to 3.3

Post by Darkcrafter »

That's right, btw. I just found out I lied on the version that works the best here, it's actually 1.9.0 :oops:
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: OpenGL2 card? Don't update it to 3.3

Post by Darkcrafter »

I have good news. Let's get to it from the begining of the story. Well I tried to flash the card's BIOS to the old 2007 version found on the web and it didn't help, the card still has 3.3 support to it. I found out that GZDoom has a key "-glversion 3" that allows it to run under gl version 3.0 I suppose? I just copied my user *.ini file with settings from GZDoom version 3.7 to GZDoom version 3.1 and it works like there was no driver update. But for now it even has working pallette shader, that's exactly what it didn't do before, unfortunately my lovely software sector light mode doesn't work anymore. But that's it. GZDoom 3.1 with "-glversion 3" parameter works. Alles gut.
Post Reply

Return to “Technical Issues”