Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Why aren't FPGA's used in gaming?

Discussion in 'General Discussion' started by JovanD, Jul 17, 2014.

  1. JovanD

    JovanD

    Joined:
    Jan 5, 2014
    Posts:
    205
    It seems like useful hardware, i mean wouldn't it be a good idea to have a card that can be dedicated to physics, AI or other stuff? Possibilities are endless rite?
     
  2. RockoDyne

    RockoDyne

    Joined:
    Apr 10, 2014
    Posts:
    2,234
    Don't most people have too many cores that aren't doing anything?
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    It's been done (see PhysX); hardly anybody was interested.

    --Eric
     
  4. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,500
    I thought they were too slow compared to dedicated hardware to be worth the effort? And then multi-core came along and, well... what RockoDyne said.
     
  5. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    You can buy a board for power vr raytracing if you want to knock yourself out. There's plenty of these custom boards around, just reasonably pointless to support.
     
  6. JovanD

    JovanD

    Joined:
    Jan 5, 2014
    Posts:
    205
    Wow that sounds awesome, im checking it out.
     
  7. sschaem

    sschaem

    Joined:
    Feb 14, 2014
    Posts:
    148
    FPGA seem like a great prototyping tool toward ASIC, but I think that if you want to push the envelop with AI, physics, etc.. Modern CPU / GPU have plenty to offer.

    I haven't seen any recent study, but you need some pretty intense logic to replicate modern GPU / CPU design.
    The biggest issue would be gathering a high performance FPGA core logic that can beat a GPU floating point unit, or even a CPU with AVX2. (FGPA are slower then ASIC, so for plain vector math you might have a slower solution)
    Then you have the issue of cache logic, branching, memory controller, etc... For Intel, those took decades and billions of R&D to perfect.

    Also FPGA are another beast to design for... dont expect to write c++ with "Edit and continue" in a visual studio 2013 debugger environment.

    Read about AVX512 Foundation to see what gem Intel will finally deliver for people in need of raw power.
     
  8. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Where does the FPGA plug into my iPhone? Won't it affect battery life? (I was programming FGPAs and designing ASICs in VHDL 20 years ago - was what my PhD was all about.)
     
    inafield likes this.
  9. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Wasn't there a big wave of change looming on the CPU horizon, in the form of the Memristor?

    NB: It's the 4th circuit type, it can remember it's last state without power!

    It was going to replace flash memory, and allow for FPGA style processing.

    Why move the data from the RAM all the way across the mother board to the CPU when you could reprogram the ram to process the data.

    So it could massively increase the size of a systems memory (a memristor takes up less space), reduce the power requirements or boost battery life.

    But don't hold your breath it's still just over the horizon.
     
  10. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,789
    First Person Gaming Apparatus?
    Forensic Palindrome Generating Algorithm?
    Fomenting Pathetically Grandiloquent Arrogance?
    Flight Path Grappling Anomalies?
    Flippantly Processed Goonsquad Aggression?
    Fascist Planning Group Agglomeration?
    Fallacious Paradigmatically Generated Alphabetization?
    Facetiously Presented General Acronyms?

    Yuppers..them FPGA's certainly have their place in the gaming hardware paradigm. WTFFIGGN is an FPGA?
     
  11. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    field-programmable gate array. Basically a customisable chip, which you can configure dynamically to do whatever you want.
     
  12. 3agle

    3agle

    Joined:
    Jul 9, 2012
    Posts:
    508
    Don't forget the biggest wow factor of the Memristor... Instant boot-times :)
     
  13. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    That's nice but did I mention that a Memristor is very similar to a neuron in your brain! Currently if you want to simulate neurons you need a whole lot of logic and memory circuits to do it in hardware with a memristor you almost have a neuron in a single chip element.

    It could revolutionise Artificial Intelligence, think of a bank of AI chips that are self configurable and can learn, neural networks on a chip that can be linked together into nodes.
     
  14. AlteredPlanets

    AlteredPlanets

    Joined:
    Aug 12, 2013
    Posts:
    455
    Sounds interesting
     
  15. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    Cuda physics on a GPU? yes please.
     
  16. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,714
    We
    This is basically what people are using compute cores for already.
     
  17. herman111

    herman111

    Joined:
    May 11, 2014
    Posts:
    119
    Commodore 64 was on a FPGA Chip
     
  18. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,789
    OK. I get the idea. You can structure the chip to be various logic gates on the fly. How would this be implemented for example into the Unity SDK? This seems to be near machine level coding to my immediate sensibiliities. Make a coding error and the chip would no longer work as advertised? I would like to understand the theory behind this.