Huge FPS drop with high res textures
Moderator: Graf Zahl
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Huge FPS drop with high res textures
I'm getting huge FPS drops with textures scaled using TEXTUREx. Would HIRESTEX be faster or are they just the same?
It didn't used to do this before. I'm testing this with textures that are only scaled twice (so 256x256 textures are scaled to 128x128 to fit a wall).
It didn't used to do this before. I'm testing this with textures that are only scaled twice (so 256x256 textures are scaled to 128x128 to fit a wall).
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
No, I'm not warping them.
My specs:
AMD Athlon XP 1.6 GHz
512 MB SDRAM
GeForce 4 MX 440 128 MB
The odd thing is, a 1024 x 1024 wall texture doesn't slow things down, but looking down at a 256x256 floor does. o_O They are both in the same room.
Also, what's a good format for high res textures? The PNG format is overkill when it comes to file size. JPEG is nice but the compression artifacts can be ugly sometimes, plus it doesn't support transparency.
I want to know what is a nice format that can compress like JPEG, as lossless as possible (I can tolerate with small artifacts) and supports transparency.
My specs:
AMD Athlon XP 1.6 GHz
512 MB SDRAM
GeForce 4 MX 440 128 MB
The odd thing is, a 1024 x 1024 wall texture doesn't slow things down, but looking down at a 256x256 floor does. o_O They are both in the same room.
Also, what's a good format for high res textures? The PNG format is overkill when it comes to file size. JPEG is nice but the compression artifacts can be ugly sometimes, plus it doesn't support transparency.
I want to know what is a nice format that can compress like JPEG, as lossless as possible (I can tolerate with small artifacts) and supports transparency.
- Syfo-Dyas
- Posts: 182
- Joined: Sun Oct 09, 2005 21:54
- Location: Ohio
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
I found the problem. It seems reflective floors and ceilings cause major slowdown regardless of sector size. I tested with a reflective 32x32 sector and the FPS dropped a lot.
I'm talking of an FPS drop like from 60 FPS to 20 FPS.
When I removed the reflective floor, it maintains a 60 FPS. Even with 1024 x 1024 textures.
Is there any way to speed up the reflective floor/ceiling code?
I'm talking of an FPS drop like from 60 FPS to 20 FPS.
When I removed the reflective floor, it maintains a 60 FPS. Even with 1024 x 1024 textures.

Is there any way to speed up the reflective floor/ceiling code?
Last edited by Nash on Sat Sep 30, 2006 19:24, edited 1 time in total.
- Syfo-Dyas
- Posts: 182
- Joined: Sun Oct 09, 2005 21:54
- Location: Ohio
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Syfo-Dyas
- Posts: 182
- Joined: Sun Oct 09, 2005 21:54
- Location: Ohio
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
@Nash:
You are using a rather old graphics card which has lousy stencil buffer performance. But to render a reflective floor I have to use a stencil. So in addition to rendering everything twice you get the additional overhead from bad stencil performance so the result isn't too surprising.
I noticed similar (albeit not quite as bad) slowdowns when I was still using a Geforce FX5900.
As for Sapphire, that has indeed some places which even bring down my P4 3.2 MHz with a Geforce 6800 down to less than 40 fps.
You are using a rather old graphics card which has lousy stencil buffer performance. But to render a reflective floor I have to use a stencil. So in addition to rendering everything twice you get the additional overhead from bad stencil performance so the result isn't too surprising.
I noticed similar (albeit not quite as bad) slowdowns when I was still using a Geforce FX5900.
As for Sapphire, that has indeed some places which even bring down my P4 3.2 MHz with a Geforce 6800 down to less than 40 fps.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
I've recently (just a few hours ago actually) purchased an ATI Radeon 9550 AGP from a friend for a very cheap price. I figured I'd try this out, plus it's got pixel shader support and stuff.
Anyway, upon installing it and the latest ATI drivers (9.6), Windows wouldn't even start at all.
Does it have anything to do with power supply? I have a 230v power supply...
Anyway, upon installing it and the latest ATI drivers (9.6), Windows wouldn't even start at all.
Does it have anything to do with power supply? I have a 230v power supply...
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Gahhhh!
After SIX hours of trying to get that piece of crap ATI card to work... I've concluded that ATI SUCKS. This will be the first and last time I'll EVER use an ATI.
So, how was my precious time, which I can never get back, spent? Downloading each and every god damn driver version just to see which one would work, trying an uncountable amount of BIOS and driver combinations, countless restarts and safe mode boots, and an empty stomache and bulging eyes from lack of sleep.
And after all that - it still won't work! And that, my friends, was how I pointlessly spent six hours of my life that I will never get back ever again!
Piece of shit... mumble mumble...
After SIX hours of trying to get that piece of crap ATI card to work... I've concluded that ATI SUCKS. This will be the first and last time I'll EVER use an ATI.
So, how was my precious time, which I can never get back, spent? Downloading each and every god damn driver version just to see which one would work, trying an uncountable amount of BIOS and driver combinations, countless restarts and safe mode boots, and an empty stomache and bulging eyes from lack of sleep.
And after all that - it still won't work! And that, my friends, was how I pointlessly spent six hours of my life that I will never get back ever again!
Piece of shit... mumble mumble...
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Syfo-Dyas
- Posts: 182
- Joined: Sun Oct 09, 2005 21:54
- Location: Ohio
- Contact: