#101 posted by mh on 2011/03/03 11:23:42
Well I did say that compatibility between Nehahra fog and regular fog was a difficulty. I'll check it out, but if it's not resolvable then Nehahra fog is going to go.
#102 posted by Yhe1 on 2011/03/03 18:01:59
In 1.8.7 rc1, the fog in elements works now, but still no fog in Ruined Nations.
#103 posted by Yhe1 on 2011/03/03 18:03:59
APSP2 also has fog now.
#104 posted by mh on 2011/03/03 19:11:40
In 1.8.7 rc1, the fog in elements works now, but still no fog in Ruined Nations.
There actually is, but Ruined Nation sends it's fog colours on a 0-255 scale whereas everything else sends them on a 0-1 scale. So fog colour is coming through as fully white, and you might not be noticing it properly.
#105 posted by mh on 2011/03/03 19:18:47
It also uses a VERY low density value - 0.02 - whereas the norm for most maps is in the 0.05 to 0.1 range.
#106 posted by Yhe1 on 2011/03/11 21:49:37
Hi mh, I noticed that since 1.8.7, directq some times have slight stuttering at certain parts of maps. (It only happen when you enter an area for the first time) It is kind of hard to replicate, because sometimes it happens, and sometimes it does not. For example, it happened with e1m1rmx by czg and vondur. I didn't notice anything like this in 1.866b. I haven't been able to pin down a pattern of where or when it does this, but maybe you can test the performance of 1.866b vs. 1.8.7?
#107 posted by Yhe1 on 2011/03/12 03:26:03
Normally, the FPS is 71, but these stuttering cause it to go down to 30-40.
#108 posted by mh on 2011/03/12 13:52:26
Entering an area for the first time? Sounds like textures or lightmaps that haven't been seen before are being downloaded to your video RAM. Odd, and interesting.
#109 posted by mh on 2011/03/13 19:16:57
OK, I'm going to put on my psychic hat here and guess that you're using a texture pack. Most likely Rygel's but possibly QRP. (This would have been useful info in your original post, by the way.)
If I'm right then the cause of this is that certain textures are being seen for the first time and as a result need to be pulled into video memory (my psychic hat tells me that you also have either Vista or 7 - also would have been useful info). The sheer size of some of these textures makes this a slow operation.
The reason why this happens now but didn't before is on account of a workaround for a bug fix elsewhere.
So - assuming that I'm right in my guesses - I can fix it; but I really need to know if I'm right before I proceed.
#110 posted by Yhe1 on 2011/03/13 19:31:58
I have windows 7, but no texture pack, my specs are in post 86.
#111 posted by Yhe1 on 2011/03/13 19:58:50
Is there a logging function in directq? maybe I can produce a log and sent it to you
#112 posted by mh on 2011/03/13 21:08:04
-condebug should work but I don't think it's going to be of any benefit. You've clearly got a bug that hasn't shown up during my own testing and that nobody else has reported (I've got other ATI users saying that it's smoother and faster than ever before, and my own benchmarks show it a consistent 1.5 times faster than the last 1.8.666) so it's definitely caused by something in your own setup or on your own machine.
So I need help from you to isolate the cause of this one, because everything on my side and everything on everybody else's side is pointing towards this being something that shouldn't even be happening.
Are you using any particular settings in your Catalyst Control Center? Anything to do with texture optimization or quality?
Have you any other programs running?
Are you overclocking?
Have you tried going back to a clean, default Quake configuration and seeing if it happens with that?
That's the kind of info that's needed now.
#113 posted by necros on 2011/03/13 21:18:31
just tested this out of curiosity and it is insanely slow. is there something i need to do to get it running properly? i seem to be getting about 10 or less fps in an area with 11k wpoly and about 6k epoly, no dynamic lights or particles effects.
this is on an nvidia gts250 and launched with the command line:
-heapsize 192000 -particles 20000 -nocdaudio -width 1600 -height 1200 +gl_clear 1 +scr_conspeed 32768 -bpp 32
#114 posted by mh on 2011/03/13 22:38:00
If you're finding it that slow then something is wrong with your machine or your setup, or else you've got a contrived scene or situation. I've a GT230 and I manage over 50 FPS with 17k wpoly and 30k epoly. With dynamic lights and particle effects. In an unoptimized debug build. And r_novis 1.
If this is an in-development map I'd be interested in knowing more as I'd like to figure out why it's slow. Because it most definitely shouldn't be.
#115 posted by necros on 2011/03/14 23:31:42
oh well, actually, it's slow like that for all maps.
arbitrarily picked e4m3:
noclipped out of the map, about 2.3k wpoly.
directFQ is about 15-19ms r_speeds
quakespasm is 1-3ms.
it has to be something to do with my machine though, i mean, i know the engine isn't *actually* that slow. i was hoping to figure out what does it though.
if it helps, this is on a dual-core cpu, w7 64bit system.
#116 posted by mh on 2011/03/15 00:26:24
15-19ms
Ahh, betcha vsync is enabled. Vsync behaves very differently between OpenGL and D3D, and D3D doesn't respect your video card's control panel settings. Or something; I'm not sure how it works in D3D8 which directFQ uses.
#117 posted by mh on 2011/03/15 00:36:05
OK, I get 16 or so ms with DirectFitz as well so it's not your machine, it's the code. Bearing in mind that the purpose of that port was stability on Intel cards rather than performance, it's OK.
DirectQ itself does 3-4ms noclip out, r_novis 1, sv_novis 1, 2846 wpoly and 27234 epoly.
#118 posted by necros on 2011/03/15 03:15:26
it's unfortunate performance takes such a huge hit, but thanks for clearing that up for me.
#119 posted by mh on 2011/03/15 03:57:39
Well I could probably do a lot to improve it, but it's not a live codebase anymore and I don't want to go hacking and slashing at the original Fitz code either; one of the objectives in those ports was to preserve the original code as much as possible.
#120 posted by mh on 2011/03/16 19:59:58
Hi mh, I noticed that since 1.8.7, directq some times have slight stuttering at certain parts of maps.
Another possible reason for this is that you may have CPU affinity set. DirectQ actually likes multiple CPUs and/or cores, and will prefer to use them if they're present. Setting CPU affinity screws this up and can cause exactly this kind of behaviour.
#121 posted by Yhe1 on 2011/03/19 05:19:19
It seems that RC3 no longer has this issue. Your changes must have fixed it.
#122 posted by mh on 2011/03/20 00:10:16
It seems that RC3 no longer has this issue. Your changes must have fixed it.
Good to know. I wonder what it was though. Did you ever check the CPU affinity? One of the changes I made was removing a sort on an extra thread, and another person had problems with that on a single core machine.
Bug
#123 posted by Yhe1 on 2011/03/20 07:31:29
RC3 cannot run Ricky's Slave and Starkmon. It could run the hand tho.
I don't have CPU affinity set, I suspect the issue is the slight jerkiness of the timer altho I am not sure.
#124 posted by Yhe1 on 2011/03/20 19:48:48
Also, in Tronyn's new map sludge, when you pick up the amulet of deflection, the particles do not move around.
#125 posted by mh on 2011/03/20 20:54:48
RC3 cannot run Ricky's Slave and Starkmon. It could run the hand tho.
Fixed.
I don't have CPU affinity set, I suspect the issue is the slight jerkiness of the timer altho I am not sure.
Doubtful; this problem didn't happen for anyone else.
Also, in Tronyn's new map sludge, when you pick up the amulet of deflection, the particles do not move around.
Fixed.
|