Icon of Sin / Baphomet
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Fastest OpenGL source port engine for WADS?
Pages (8): [1] 2 3 4 » ... Last »  
Author
All times are GMT. The time now is 08:34. Post New Thread    Post A Reply
cacomonkey
Green Marine


Posts: 36
Registered: 03-10


Using Skulltag (latest build), I noticed some rather significant slowdown in certain parts of wads, like The Ultimate Torment & Torture & Sapphire, and I'm on a fairly good but older mid-range system (ATI x1950 video, 2.2Ghz dual-core AMD cpu) at only 1024 X 1280. Is there a faster zdoom-compatible opengl port that can handle high detail WADS with little or no slowdown? TIA for any help.

C.

Old Post 04-13-10 19:20 #
cacomonkey is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Khorus
Strife!


Posts: 1396
Registered: 04-05


prboom plus

Old Post 04-13-10 19:38 #
Khorus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11556
Registered: 07-07


Fastest OpenGL source port? GLBoom+ by far.

Fastest ZDoom-compatible OpenGL source port? GZDoom. Not that there's a lot of choice; ZDoomGL is old and buggy, and Skulltag uses an old version of the GZDoom renderer.

A big issue with your hardware is that GZDoom is not optimized or even developed for ATI chipsets.

Old Post 04-13-10 19:40 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
John Smith
not hobbs


Posts: 588
Registered: 05-07



Gez said:
A big issue with your hardware is that GZDoom is not optimized or even developed for ATI chipsets.


And for no other reason than the developer doesn't like them.

Old Post 04-13-10 19:48 #
John Smith is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11556
Registered: 07-07


Actually, now that I think about it, Vavoom is a possible choice. It does have an OpenGL renderer and it is compatible with a lot of ZDoom features. No guarantees for anything that requires ZDoom 2.2.0 or newer; but mods that can work with older versions of ZDoom should probably work with Vavoom.


John Smith said:
And for no other reason than the developer doesn't like them.

Yeah. That's his right, though. People can bitch and moan about it, but it's not extremely constructive. People are free to write something better, but then they don't. E.g., this Skulltag thread. Here we have someone explaining that GZDoom sucks and why, and that he's a much better programmer and that he knows because making efficient OpenGL renderers is his day job, and he's part of the Skulltag developer team... Aaaaaaannd Skulltag still uses an old version of GZDoom rather than a new and improved ATI-friendly hyper-efficient OpenGL renderer. Why?

So yeah. GZDoom may not deeply flawed, but it's what's available for an up-to-date ZDoom codebase.

Old Post 04-13-10 20:27 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
cacomonkey
Green Marine


Posts: 36
Registered: 03-10



Khorus said:
prboom plus


Oh, okay, boys. I'll give it a whirl. Didn't realize I was using an outdated gzdoom renderer with the latest Skulltag. Hopefully it'll give me some speed increase. Thanks.

C.

Old Post 04-13-10 20:40 #
cacomonkey is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Csonicgo


Posts: 4470
Registered: 03-04



Gez said:

A big issue with GZDoom is that GZDoom is not optimized or even developed for ATI chipsets.



I fixed that for you.

Old Post 04-13-10 21:00 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11556
Registered: 07-07



cacomonkey said:
Oh, okay, boys. I'll give it a whirl.

PrBoom+ won't whirl very well for TUTNT or Sapphire. ;)


Csonicgo said:
I fixed that for you.

For anyone who has an Nvidia chipset, there's no issue with GZDoom. :p

Old Post 04-13-10 21:10 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
esselfortium
A Major Doomworld Concern


Posts: 6667
Registered: 01-02



Gez said:
Sapphire. ;)

But this will.

Old Post 04-13-10 21:13 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
alterworldruler
Forum Regular


Posts: 688
Registered: 10-06



Gez said:

For anyone who has an Nvidia chipset, there's no issue with GZDoom. :p

Well well don't be so ignorant. There is an ATI chipset userbase growing rapidly now. It is obvious Gzdoom is not meant for ATI cards due well, shaders being different completely etc. it's all complicated. So it doesn't work efficiently on ATI cards just because, there's much more to it. However ATI cards tend to suffer many times slower speed than on nvidia cards in gzdoom. How otherwise I would get 60 FPS on my old 8600GTS in my Gzdoom project and 20 FPS on my current HD 4770 512MB OC'd (which is far faster) in same location with tons of dynamic lights? But that gives me one advantage in design, it will make my gzdoom project... low-end friendly haha.

Old Post 04-13-10 21:14 #
alterworldruler is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
John Smith
not hobbs


Posts: 588
Registered: 05-07



Gez said:
For anyone who has an Nvidia chipset, there's no issue with GZDoom. :p

For anyone without an nvidia chipset, there's plenty of issues with GZDoom :p

Old Post 04-13-10 21:14 #
John Smith is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03



John Smith said:


And for no other reason than the developer doesn't like them.




... and for no other reason that I don't have one. I simply can't remote-profile ATI-based systems, especially if their drivers refuse to handle any supposedly sane code optimization I added. There's 3 or 4 special cases in the code that revert to less efficient methods on ATI because the good ones just don't work - and this stuff that doesn't work provides an easy 20% speed increase on NVidia.

Remember, I asked for development help countless times but absolutely nobody came forward so far so please don't complain. This is just a hobby project and I sure won't invest any real money here.



Gez said:
this Skulltag thread.


Even more pathetic is that he closed the thread instead of continuing the discussion. Which quite lowered my opinion of him and made him look more like a jerk who just wanted to bitch.

Old Post 04-13-10 21:15 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
John Smith
not hobbs


Posts: 588
Registered: 05-07



Graf Zahl said:
Remember, I asked for development help countless times but absolutely nobody came forward so far so please don't complain.

Fair enough. I do think a lot of the performance problems on ati cards could be avoided by not using so many advanced GL features, but it is your port after all, not mine. I'll just keep in mind for future reference though that the ati issues in gzdoom have more to do with quality of the community surrounding the port than the developer of the port himself.

Old Post 04-13-10 21:22 #
John Smith is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03



John Smith said:

I do think a lot of the performance problems on ati cards could be avoided by not using so many advanced GL features,




Actually, no. The benchmarks I did last year clearly indicated that this was not a problem at all. In fact these tests showed on HD4xxx and HD5xxx cards that the performance was identical for low and high resolutions.

And forcing the engine to a low end compatibility mode also had no effect on performance leaving only one option:

The driver simply has problems with the way the data is processed. But the only way to change this is to throw all the code away and start completely new - which clearly is not an option because I have neither the time nor motivation to do it. It's even doubtful that it'll help. Doom ports generate a kind of geometry that modern drivers often are just not optimized for. They are written to process huge batches of hundreds or thousands of vertices at once (like modern games use) but the demands of a Doom engine mean that each wall and sector is inevitably its own batch. I can't confirm this but somebody once told me that ATI specifically has problems with such data. For small or medium sized maps this normally won't show but for the huge ZDoom monsters that have been created this will easily kill any performance if the driver has problems starting tens of thousands of draw calls with up to 10 vertices max.


I'm just wondering: Does glboom+ run better? It's using mainly the same methods to draw stuff than GZDoom so it should suffer from some of the same problems.

PS.

Concerning the OP's graphics card, yes it's medium range and the X1000 series of cards seemed to perform almost on the same level as comparable NVidia cards. But the card is simply too weak for extremely highly detailed maps like UTNT. Even my GF 8600 has some slight problems on these levels so it's no surprise that older hardware is more affected by that. On my old GF 6800 system it's almost unplayable due to low frame rates.

Old Post 04-13-10 21:45 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11556
Registered: 07-07



esselfortium said:
But this will.

I don't get it, so I'm going to assume that it's a dig against Sapphire's layout.

Old Post 04-13-10 21:50 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Spleen
Member


Posts: 501
Registered: 08-08



Graf Zahl said:

I'm just wondering: Does glboom+ run better? It's using mainly the same methods to draw stuff than GZDoom so it should suffer from some of the same problems.


Much better, it runs Sunder maps 9 and 10 without frame rate drops. Those 2 maps are very convenient as a benchmark for DOOM rendering engines, as they work on almost any port and are extremely hardware intensive (as opposed to nuts, which is more of a thinker benchmark).

Old Post 04-13-10 21:51 #
Spleen is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03



Gez said:

I don't get it, so I'm going to assume that it's a dig against Sapphire's layout.




I suspect it's the reflective floors that occur in some parts of the map. They can bring down the engine to a crawl on weaker hardware.

Old Post 04-13-10 22:02 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
John Smith
not hobbs


Posts: 588
Registered: 05-07



Gez said:
I don't get it, so I'm going to assume that it's a dig against Sapphire's layout.


Its because sapphire is really quite flat throughout most of the level and the map consists mostly of hallways, much like your average wolf3d map. So, yeah, its a "dig" at the layout.

Old Post 04-13-10 22:37 #
John Smith is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
VortexCortex
Newbie


Posts: 6
Registered: 08-06


I'm a nice guy... I try to say things nicely, and I'm not usually an ass, but you didn't take the hint the first time. You just happened to catch me on a bad day, and I'm pissed, so fuck you man... It's your code Graf. I would have helped you if you wouldn't have been a stuck up pompous ass about things, but that's not the case. Go Fix Your C++ Code before you even start to worry about the OpenGL implementation. You obviously don't even understand proper memory management.

Because I am a nice guy, I'll give you a clue.
When you allocate memory like this:

BYTE * foo = new BYTE[numBytes];

You MUST de-allocate it like this: delete [] foo;
NOT Like this: delete foo;

This is C++ 101, day 2, Dynamic Memory Basics...


Graf Zahl said:

... and for no other reason that I don't have one. I simply can't [ take accountability for my fucked up code, or listen to the suggestions and complaints of others, or even actually run basic tests on my own code ], especially if their drivers refuse to handle [ my totally fucked up and untested code that leaks memory like a sieve despite all of my nieve attempts at ] code optimization I added [ despite the fact that my C++ code is utterly fucked up regardless of the OpenGL implementation ]. There's 3 or 4 special cases in the code that revert to less efficient methods on ATI because the good ones just don't work - and [ I Have No Idea why, because honestly, I didn't test shit, but I say I do all the time. I can't even figure out how to use the debug build of the OpenGL Reference Renderer help me find my bugs! Besides, the strict ATI drivers won't let me get away with this shit, while the more lenient Nvidia driver ] provides an easy 20% speed increase on NVidia.

Remember, I asked for development help countless times but absolutely nobody came forward so far so please don't complain [ I' too stuck up to Care! ]. This is just a hobby project and I sure won't invest any real money [ or even three seconds to type
"valgrind ./gzdoom > allYourMemLeaksAreBelongToGZDoom.txt"
and find out where my real problems are
].



[] Fixed that for you.



Even more pathetic is that closed the thread instead of continuing the discussion. Which quite lowered my opinion of him and made him look more like a jerk who just wanted to bitch.



Yeah, I closed it because it was just you spreading more of your ATI FUD (fear uncertainty and doubt). I told you to PM me or any other dev / admin if you wanted to unlock it and discuss it further.

It doesn't take a rocket scientist to figure out that you're just pissing into the wind, with a blind fold on, saying "I Can't Hear You!" while all of your users are crying out, "Please Stop Pissing On Us Graf!"

I'm honestly a nice guy, but I can only put up with so much bullshit before I snap. You're a dick to me, and everyone else. I hope someday you learn to listen to your users (Like I Do).

For the record: I plan on adding my own MIT licensed (open & closed source compatible) OpenGL renderer to the Doom community, but honestly, the fastest route would be for us to just grab someone else's renderer that's already done, and doesn't leak memory like a sieve...

Valgrind Output: http://pastebin.org/149787

USE VALGRIND! WHAT THE FUCK ARE YOU ON MAN?!?!

Like I said, I'm a nice guy... So, I'm sorry if I offended you, but there's obviously no way else to reason with you.

Until those memory leaks are fixed, you can only guess at what the real problems are. (Any C++ coders out there will immediately realize that I've just done the nicest thing in the whole world: Shown him where his bugs are!)

Old Post 04-13-10 22:53 #
VortexCortex is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
scalliano
This door is opened elsewhere...


Posts: 1217
Registered: 08-09


It's a sad day when CODERS start beefing...

Old Post 04-13-10 23:12 #
scalliano is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Doomsphere
Newbie


Posts: 4
Registered: 12-09


I agree with Vortex. I don't have any special graphics card and I don't have a great computer, but I can run UT2004 on OpenGl with medium settings better than I can run GZDoom with low settings. I have an intel graphics card (about 8 years old). Seriously man, I can give a thousand other things I can run with OpenGl on this hunk of junk.

If you don't want criticism or suggestions, why would you release the engine in the first place?

Its not like we want to tear you down just because "you have a widely used port with a widely used renderer". Its hard to take criticism but its not hard to just accept the fact that you are the only person to blame for it.

Old Post 04-13-10 23:31 #
Doomsphere is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
entryway
Forum Staple


Posts: 2740
Registered: 01-04


lol yeah, removal of some non critical memory leaks must help some ATI with GL_NICEST fog.

Old Post 04-13-10 23:47 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11556
Registered: 07-07



VortexCortex said:
For the record: I plan on adding my own MIT licensed (open & closed source compatible) OpenGL renderer to the Doom community, but honestly, the fastest route would be for us to just grab someone else's renderer that's already done, and doesn't leak memory like a sieve...

And why aren't you doing either at the moment? You've got a rich choice for the latter: ZDoomGL (HOMs galore in TNT MAP02), GLBoom (incompatible license), EDGE (incompatible license), Doomsday (incompatible license)... What are you waiting for?

:P

About that valgrind output, I've found that the mismatched new[]/delete found were all in the same two parts. Then I've looked at the other warnings but they are in files that do not exist (such as gl_renderstruct.h). So I'm guessing that this is valgrind's output of Skulltag. There are like 640 revisions between your codebase and GZDoom now. Not sure how relevant most of these warnings are now.


scalliano said:
It's a sad day when CODERS start beefing...

Especially when it's BAADBEEFing.


Doomsphere said:
I agree with Vortex. I don't have any special graphics card and I don't have a great computer, but I can run UT2004 on OpenGl with medium settings better than I can run GZDoom with low settings. I have an intel graphics card (about 8 years old). Seriously man, I can give a thousand other things I can run with OpenGl on this hunk of junk.

Then stop using it. It's crap, okay, great.

Old Post 04-13-10 23:48 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Doomsphere
Newbie


Posts: 4
Registered: 12-09



Gez said:
Then stop using it. It's crap, okay, great.


I can't use it, it gives me a BSOD every second time I run it on my computer. I'm sorry you get all butthurt if someone adds their 2 cents into a regular conversation.

Old Post 04-13-10 23:54 #
Doomsphere is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03



Gez said:


About that valgrind output, I've found that the mismatched new[]/delete found were all in the same two parts. Then I've looked at the other warnings but they are in files that do not exist (such as gl_renderstruct.h). So I'm guessing that this is valgrind's output of Skulltag. There are like 640 revisions between your codebase and GZDoom now. Not sure how relevant most of these warnings are now.




In short: the whole thing is useless. There was actually a memory leak in GZDoom but it was completely unrelated to this and easily plugged once I spotted it.

But what can you do? Some people apparently only feel good when they can attack others, even if it's completely groundless.

@Doomsphere: That card is old garbage. So the performance you get is what's to be expected. I'm surprised that UT2004 runs on it at all. Are you sure it's really OpenGL and not just internal D3D fallback? (which is much better implemented on Intel drivers.)

Old Post 04-13-10 23:58 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
entryway
Forum Staple


Posts: 2740
Registered: 01-04



Doomsphere said:
I can't use it, it gives me a BSOD every second time I run it on my computer.

Thank drivers developers from Intel.

Old Post 04-14-10 00:01 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
zap610
JETSONZ KREW 4LYF


Posts: 956
Registered: 03-05



Graf Zahl said:

But what can you do? Some people apparently only feel good when they can attack others, even if it's completely groundless.



heh


Graf Zahl said:
Even more pathetic is that he closed the thread instead of continuing the discussion. Which quite lowered my opinion of him and made him look more like a jerk who just wanted to bitch.

Old Post 04-14-10 00:01 #
zap610 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
AlexMax
Senior Member


Posts: 1119
Registered: 01-03



entryway said:
lol yeah, removal of some non critical memory leaks must help some ATI with GL_NICEST fog.


The earlier linked thread has his thoughts on the renderer itself, underneath the spoiler tag.


Graf Zahl said:
But what can you do? Some people apparently only feel good when they can attack others, even if it's completely groundless.


Oh hush. I've dealt with VortexCortex many times before and he is quite pleasant to work with and pretty much the most universally well liked person in the Skulltag community now that Rivecoder is gone. On the other hand I'm sure there are many who appreciate the work you've done, but _like_ you? And then you honestly wonder why nobody would step forward to volunteer to help you out?

Last edited by AlexMax on 04-14-10 at 00:12

Old Post 04-14-10 00:04 #
AlexMax is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03


He's blabbering a lot of stuff that you hear everywhere but the one thing he's not done is actually experiment with it.

I find it pathetic that he claims to know everything but dismisses other people's experiments out of hand and then in the end forcing an end to the discussion because he doesn't like it.

Well, let's see how his own renderer will fare if he ports it to Doom. I can outright promise some unpleasant surprises because Doom is not like all those nifty newer games modern hardware is geared to.

Old Post 04-14-10 00:19 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Infurnus
Junior Member


Posts: 212
Registered: 08-03



Graf Zahl said:
He's blabbering a lot of stuff that you hear everywhere but the one thing he's not done is actually experiment with it.

I find it pathetic that he claims to know everything but dismisses other people's experiments out of hand and then in the end forcing an end to the discussion because he doesn't like it.

Well, let's see how his own renderer will fare if he ports it to Doom. I can outright promise some unpleasant surprises because Doom is not like all those nifty newer games modern hardware is geared to.


Talking to yourself?

Old Post 04-14-10 00:21 #
Infurnus is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 08:34. Post New Thread    Post A Reply
Pages (8): [1] 2 3 4 » ... Last »  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Fastest OpenGL source port engine for WADS?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.