GithubHelp home page GithubHelp logo

Comments (4)

luckylsk34 avatar luckylsk34 commented on August 26, 2024 1

Hi @ProjectPhysX, here is a patch file for the changes I made.
patch.txt

from fluidx3d.

ProjectPhysX avatar ProjectPhysX commented on August 26, 2024 1

Ah, I know what the problem is! The code itself is fine (just set SUBGRID to keep the Concorde simulation stable).

It's a bug in Windows: Windows on some computers will kill any GPU kernel that runs for longer than 2 seconds, and reset the graphics driver. When you make the Concorde model very small, the stl voxelization kernel only runs for less than 2 seconds and it works fine. But if it's larger it will take longer and crash. This bug has also plagued me for a long time.

The solution: In Windows Registry (Win+R, regedit, Enter) in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers, create a 32-bit DWORD named TdrDelay and set its decimal value to 300. This increases the threshold to reset the graphics driver from 2 seconds to 5 minutes. Then reboot.

from fluidx3d.

ProjectPhysX avatar ProjectPhysX commented on August 26, 2024

Can you provide me your entire main_setup() {...} function so I can reproduce it?

from fluidx3d.

luckylsk34 avatar luckylsk34 commented on August 26, 2024

Thanks! Confirmed that it is working after making the suggested change.

from fluidx3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.