![]() īuy a faster CPU! :-) DRT is written in a highly optimized and efficient manner however, it does a lot of work, and that work takes CPU time.To identify datarefs that are slow to read, use a CPU profiler (I use X-Code Instruments). In X-Plane 11, I'd recommend adding these slow datarefs to the ignore file: sim/airfoils/afl_cd You can do this buy creating a file called X-Plane 11/Resources/Plugins/drt_ignore.txt, and list the datarefs you want to ignore there. Ignore datarefs from other plugins that are slow to read. ![]() DRT does stop reading datarefs completely when all windows are closed you should not lose any FPS at all when all windows are closed. Here are the best ways to make sure that DRT is having the smallest impact on your FPS:Ĭlose all DRT windows when you aren't using them. It takes CPU time to actually do what DRT does this is why you're losing FPS. This takes time moreover, it takes time for other plugins and for X-Plane to compute the dataref values (which is what actually takes most of the time). ![]() FAQ: DataRefTool causes me to loose FPS! Why?ĭRT reads datarefs every frame in order to detect changes to values. The Bell 407 problem is being tracked in issue #33 in this repository. To work around this, create a file called X-Plane 11/Resources/plugins/drt_ignore.txt, and add the following lines to the file: B407/Lights/CL1 If you're flying the Bell 407, there is a known issue with this aircraft where reading some datarefs triggers an immediate crash. FAQ: Using DRT with the Bell 407 causes X-Plane to crash This will cause DRT to never read the value of the dataref, even if it does come up in search results. If you can figure out which dataref caused the crash, the best way to work around this is to add the name of the dataref to a file called X-Plane 11/Resources/plugins/drt_ignore.txt. (If you're a developer, the best way to do this is to run X-Plane in a debugger and look at the backtrace of the crash- if you see RefRecords::update() in the backtrace, this is likely what happened.) Sometimes, they haven't fully been debugged, and may crash. FAQ: Using DRT causes X-Plane to crashĭRT reads every dataref published by every aircraft and plugin, on every frame of the simulation. This way, X-Plane itself will tell DRT about all datarefs it knows about. Before you do this, ensure that the DataRefEditor plugin is not installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |