forced FP16 on HL2 fixes FX performance problem???

Discussion in '3D Hardware, Software & Output Devices' started by ^eMpTy^, Nov 30, 2004.

Thread Status:
Not open for further replies.
  1. digitalwanderer

    digitalwanderer Dangerously Mirthful
    Legend

    Joined:
    Feb 19, 2002
    Messages:
    18,992
    Likes Received:
    3,533
    Location:
    Winfield, IN USA
    I think I'd like one of Brent's confusing graphs to see on this one actually, I like how it shows ya the low/high dips so you can get a better feel for what the number means.
     
  2. Bouncing Zabaglione Bros.

    Legend

    Joined:
    Jun 24, 2003
    Messages:
    6,363
    Likes Received:
    83
    There's a difference between playing a game, and a recording of someone playing a game. If you did that in something like UT2K3/4, the playthrough would be full physics and AI. With the recording, it would be just positional information recorded and then everything moved to the right places at the right time for playback. It's a world of difference.
     
  3. digitalwanderer

    digitalwanderer Dangerously Mirthful
    Legend

    Joined:
    Feb 19, 2002
    Messages:
    18,992
    Likes Received:
    3,533
    Location:
    Winfield, IN USA
    And doesn't just taking the players input take some time/effort on the PCs part?

    (I've always kind of wondered about that, I keep picturing all them "get" statements in the code....I'm an old skool basic whore at heart. :oops: )
     
  4. Razor1

    Veteran

    Joined:
    Jul 24, 2004
    Messages:
    4,232
    Likes Received:
    749
    Location:
    NY, NY
    it does but its almost nothing :), if input is slow, well there goes the whole gaming experience :D

    Good example, try using windows input calls instead of dx input calls for a game.

    Was making an Ogl demo once, and the frame rates with windows input call, were about 80% slower, but the dx input calls there was no frame rate change at all.
     
  5. Pete

    Pete Moderate Nuisance
    Moderator Legend

    Joined:
    Feb 7, 2002
    Messages:
    5,777
    Likes Received:
    1,814
    Not much, I'd imagine, given its Shadermark and Rightmark FP16/32 numbers (IIRC). Almost certainly not as much as a 5900.
     
  6. Beren_PCE

    Newcomer

    Joined:
    Dec 2, 2004
    Messages:
    8
    Likes Received:
    0
    Location:
    Zagreb, Croatia
    I like so called "real world" testing. I will try forcing FP16 on GF6800 this weekend, now i don't have time to do it.
     
  7. DegustatoR

    Veteran

    Joined:
    Mar 12, 2002
    Messages:
    3,248
    Likes Received:
    3,417
    IIRC NV40 was getting even more performance when using FP16 with complex shaders than NV35. So it's hard to say, better do some benchmarking ;)

    According to our latest syntetics test FP16 on NV40 is the only way of getting comparable with R420 PS2.0 performance:

    [​IMG]

    [​IMG]

    In fact in case of NV43 it the way to outperform RV410.
     
  8. Luminescent

    Veteran

    Joined:
    Aug 4, 2002
    Messages:
    1,036
    Likes Received:
    0
    Location:
    Miami, Fl
    Wow, DesgustatoR, it seems those benchs were not optimized with NV40's register limitations in mind.

    Perhaps this is one of the reasons for the performance descrepencies in HL2. I think this calls for a mixed mode (FP16 w/FP32 when required) patch.
     
  9. DegustatoR

    Veteran

    Joined:
    Mar 12, 2002
    Messages:
    3,248
    Likes Received:
    3,417
    They definately were :) This is D3D RightMark, btw. Taken from here.

    As for HL2 + forced pp...

    Screenshot

    I'm not getting any shadows at all. What am i doing wrong?
     
  10. Demirug

    Veteran

    Joined:
    Dec 8, 2002
    Messages:
    1,326
    Likes Received:
    69
    In the case of NV40 register limitations are a smaller problem. But there are still instructions that run faster with FP16. If the shader use many of this instruction it will get a speedup.
     
  11. Ostsol

    Veteran

    Joined:
    Nov 19, 2002
    Messages:
    1,765
    Likes Received:
    0
    Location:
    Edmonton, Alberta, Canada
    It depends on the game. Some record random number seeds.
     
  12. Mintmaster

    Veteran

    Joined:
    Mar 31, 2002
    Messages:
    3,897
    Likes Received:
    87
    I don't think it's a texture lookup that's causing this. It's a specular reflection on a flat surface. One of the vectors used in the calculation has small changes across the wall/window relative to it's length, so the reduced mantissa of FP16 is hurting.

    Anyway, FP16 DX9 is still half the performance of DX8.1, right? Even if Valve did use _pp, I doubt they (or any FX user) would think DX9 was worth a 50% performance hit for the marginal improvement in image quality. Why is Valve being berated for this?

    I'm just trying to understand what all the fuss is about here.
     
  13. radar1200gs

    Regular

    Joined:
    Nov 30, 2002
    Messages:
    900
    Likes Received:
    0
    If you are not an FX user yourself, kindly don't try and tell us what we might or might not find worthwhile!
     
  14. jvd

    jvd
    Banned

    Joined:
    Feb 13, 2002
    Messages:
    12,724
    Likes Received:
    9
    Location:
    new jersey
    Unfortunatly for geforce fx owners forcing fp 16 on everything as this hack does means you aren't running dx 9 anyway .

    So i still don't understand what this is all about .
     
  15. ChrisRay

    ChrisRay <span style="color: rgb(124, 197, 0)">R.I.P. 1983-
    Veteran

    Joined:
    Nov 25, 2002
    Messages:
    2,234
    Likes Received:
    26
    What does that have to do with his comment in terms of quoting him. In any event it still looks better. It should be his choice.
     
  16. radar1200gs

    Regular

    Joined:
    Nov 30, 2002
    Messages:
    900
    Likes Received:
    0
    You are forcing partial precision (which happens to be FP16 on nVidia and S3 products), and partial precision most definitely is and always has been a part of the DirectX9.0x specification.
     
  17. Ostsol

    Veteran

    Joined:
    Nov 19, 2002
    Messages:
    1,765
    Likes Received:
    0
    Location:
    Edmonton, Alberta, Canada
    Well, obviously Valve didn't find it worthwhile for GeforceFXs to play the game slower than a Geforce 4.

    EDIT: Actually, does the SDK allow one to edit the shaders? I'm guessing it does. . . If that's the case and you feel so strongly about it -- and you think it'd be so easy --, make a mod. Convert the shaders to primarily use partial precision, with full precision only certain instructions that need it. It's clear that Valve won't bother to do anything about it.
     
  18. radar1200gs

    Regular

    Joined:
    Nov 30, 2002
    Messages:
    900
    Likes Received:
    0
    Actually I believe that Valve's actions (and if Valve fails to release a patch to remedy the situation in a timely fashion) will provide nVidia with a perfect justification to include a user switchable optimization in future drivers that allows users to force partial, full or default precsion.
     
  19. digitalwanderer

    digitalwanderer Dangerously Mirthful
    Legend

    Joined:
    Feb 19, 2002
    Messages:
    18,992
    Likes Received:
    3,533
    Location:
    Winfield, IN USA
    [​IMG][​IMG][​IMG]

    They can add that anytime they like, but I doubt it'll pass Microsoft's WHQL certification. :lol:
     
  20. swaaye

    swaaye Entirely Suboptimal
    Legend

    Joined:
    Mar 15, 2003
    Messages:
    9,045
    Likes Received:
    1,119
    Location:
    WI, USA
    What a sad, sad thread. C'mon people.

    Geforce FX is a bad joke on the industry. NV screwed the hell out of a product cycle. They hyped up NV30 (a POS unless you are playing DX8 games) to a ridiculous level, their Nvidiots bought it hook, line, and sinker, and now are demanding Valve put hundreds of man hours into trying to get a tiny quality boost with a guaranteed significant performance loss. And, all this when the primary difference between DX8 path and DX9 path is only the water, which isn't all that great anyway, even in full DX9 mode.

    You know, I wouldn't be surprised if NV requested Valve just use DX8. If they had had the game default to DX9 FP16 for HL2, you'd have people raving about how slow the game is and how it should be optimized or some nonsense. It would look bad for NV and Valve.

    Toss out the trash (GFFX) and go buy a 6800, 6600, cheap 9700, 9800, whatever. Hell my 9600 in my notebook runs the game amazingly in full FP32 at 1280x800 high detail.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...