Search found 794 matches

by Rob Ainscough
Fri Jan 07, 2022 6:33 pm
Forum: Prepar3D Client Application Questions
Topic: Setting Affinity Mask for P3D V5.3 new scheduler
Replies: 14
Views: 15357

Re: Setting Affinity Mask for P3D V5.3 new scheduler

No, set target FPS to unlimited, Vsync on, and cap monitor to 30Hz.

Cheers, Rob.
by Rob Ainscough
Fri Jan 07, 2022 5:56 pm
Forum: Prepar3D Client Application Questions
Topic: Setting Affinity Mask for P3D V5.3 new scheduler
Replies: 14
Views: 15357

Re: Setting Affinity Mask for P3D V5.3 new scheduler

Hello Safa, There is no 6770K processor by Intel? Did you mean 6700K? If you have HT enabled for 6700K (4 cores / 8 threads) then you might want to try: [JobScheduler] AffinityMask=255 P3DCoreAffinityMask=252 MainThreadScheduler=0 RenderThreadScheduler=1 FrameWorkerThreadScheduler=2 P3D will reset y...
by Rob Ainscough
Thu Jan 06, 2022 6:11 pm
Forum: Prepar3D Client Application Questions
Topic: Setting Affinity Mask for P3D V5.3 new scheduler
Replies: 14
Views: 15357

Re: Setting Affinity Mask for P3D V5.3 new scheduler

Erik, you would never have an AffinityMask value that is lower than the P3DCoreAffinityMask value, that's impossible and probably why P3D reset your value. The AMD Ryzen 5 5600G is a 6 core 12 thread processor so don't know what your reference is to 4 core and HT? AMD have something called SMT (equi...
by Rob Ainscough
Wed Jan 05, 2022 7:42 pm
Forum: Prepar3D Client Application Questions
Topic: Setting Affinity Mask for P3D V5.3 new scheduler
Replies: 14
Views: 15357

Setting Affinity Mask for P3D V5.3 new scheduler

No miracle FPS increases, but it will help provide more consistent frametime deltas:

https://youtu.be/Sm5wTkct68c

Cheers, Rob.
by Rob Ainscough
Sat Nov 27, 2021 5:22 pm
Forum: Software Development Kit (SDK) Questions
Topic: Is it possible to subscribe to ALL events using the "Managed" SimConnect DLL?
Replies: 0
Views: 4649

Is it possible to subscribe to ALL events using the "Managed" SimConnect DLL?

I'm trying to find events in a custom aircraft .gau (C++ gauge). Since I don't know what they are I can't use MapClientEventToSimEvent so OnRecvEvent can't be used. It's my understanding C++ unmanaged SimConnect I can get notification on ALL events. I'm trying to avoid going the "unmanaged"...
by Rob Ainscough
Mon Aug 16, 2021 4:01 pm
Forum: Software Development Kit (SDK) Questions
Topic: PDK SIM_FROZEN vs. SIM_PAUSED?
Replies: 3
Views: 7785

Re: PDK SIM_FROZEN vs. SIM_PAUSED?

Hi Rob, Thanks for the response ... I suspected it was related to "SimObject" and not a more global event. On a related question, I'm having NO LUCK getting the following to work: // Trying to Unpause and/or Pause the sim P3D::PdkServices::GetEventService()->SendMessageEvent(EVENT_MESSAGE_...
by Rob Ainscough
Sun Aug 15, 2021 7:58 pm
Forum: Software Development Kit (SDK) Questions
Topic: PDK SIM_FROZEN vs. SIM_PAUSED?
Replies: 3
Views: 7785

PDK SIM_FROZEN vs. SIM_PAUSED?

When is SIM_FROZEN ever triggered? I'm not seeing any descriptive documentation on the SIM_FROZEN is? Able to trap SIM_PAUSED but don't know how to trap or trigger a SIM_FROZEN? I know SimObjects can be frozen but this seems to reference a more global SIM_FROZEN ... and how is it different from SIM_...
by Rob Ainscough
Thu Aug 05, 2021 5:31 pm
Forum: Software Development Kit (SDK) Questions
Topic: PDK DLL and shared memory, any issues?
Replies: 0
Views: 5933

PDK DLL and shared memory, any issues?

My early adventures into the PDK. Are there any issues with: 1. Create a PDK based DLL to be consumed by P3D 2. Access the PDK DLL via another process (EXE or DLL) using shared memory https://docs.microsoft.com/en-us/windows/win32/dlls/using-shared-memory-in-a-dynamic-link-library Thread safe? Perfo...
by Rob Ainscough
Thu Jul 15, 2021 4:28 pm
Forum: Prepar3D Feature Requests
Topic: Website "Search" is very limited
Replies: 4
Views: 16982

Re: Website "Search" is very limited

Thanks for the support. I've also been in search of tools to convert CHM to some other format that has the ability to annotate and far superior search facilities. I've tried: Dr. Explain: https://www.drexplain.com/order/ -- failed to export and found errors in the CHM file with sections "too la...
by Rob Ainscough
Wed Apr 07, 2021 6:24 pm
Forum: SimConnect Interface Questions
Topic: Why does SimConnect require a Window handle?
Replies: 7
Views: 25211

Re: Why does SimConnect require a Window handle?

Hi Bert, WPF for desktop apps is my preferred UI technology, I just need a nice .NET DLL (64bit) that I can use to access all the nice features in the PDK. I'm not a big C++ programmer, exposure to it and have used it out of necessity when needed, but it's not something I use daily (this is not a ju...
by Rob Ainscough
Tue Apr 06, 2021 9:22 pm
Forum: SimConnect Interface Questions
Topic: Why does SimConnect require a Window handle?
Replies: 7
Views: 25211

Re: Why does SimConnect require a Window handle?

I'd love to see a managed .NET library that is essentially a wrapper to all the PDK functions. I'd even pay for one :)

Cheers, Rob.
by Rob Ainscough
Tue Apr 06, 2021 5:23 pm
Forum: Prepar3D Feature Requests
Topic: Website "Search" is very limited
Replies: 4
Views: 16982

Website "Search" is very limited

Any chance we could get a better "Search" process for these forums? I'm getting a little sick of the The following words in your search query were ignored because they are too common words message ... trying to locate threads is so difficult that it's faster for me to browse pages manually...
by Rob Ainscough
Thu Feb 18, 2021 8:22 pm
Forum: SimConnect Interface Questions
Topic: Why does SimConnect require a Window handle?
Replies: 7
Views: 25211

Re: Why does SimConnect require a Window handle?

Yes, and oddly the "tradition" seems to be continued in MSFS.

Cheers, Rob.
by Rob Ainscough
Mon Jan 04, 2021 8:17 pm
Forum: Prepar3D Client Application Questions
Topic: No dyn lights on arrival - any airport
Replies: 72
Views: 167738

Re: No dyn lights on arrival - any airport

Are you using any camera add-ons like EZDOK or ChasePlane?

What are you CPU/GPU loads at the time the DL doesn't render?

Are you using any shader add-ons?

MAX_POINT_LIGHTS=800
MAX_SPOT_LIGHTS=800

Cheers, Rob.
by Rob Ainscough
Mon Oct 26, 2020 5:29 pm
Forum: SimConnect Interface Questions
Topic: Why does SimConnect require a Window handle?
Replies: 7
Views: 25211

Why does SimConnect require a Window handle?

I've always wondered why SimConnect requires a Window handle rather than an instance handle or PID? For example: 1. WPF Application.xaml -- any code reference needed for SimConnect can't happen here because there is no window handle. 2. Windows Service -- again any code reference needed for SimConne...