Jump to content
Sign in to follow this  
Olivier73

FPS on XPLANE

Recommended Posts

All i know is XPlane is all about as close to authentic flight model as possible, ye love to see more trees, better clouds, but with Vulcan now im really enjoying it with TrakIR, specially now i have a decent machine. Still spend more time making airports than flying off to finish YBHI. CAn we have some more ga and regional planes, enough with the Jets.

  • Like 2

Share this post


Link to post
Share on other sites
9 hours ago, mSparks said:

I take a little bit of offense to that.

A little bit is ok 😉

After all they pinned a post just because of you:

🤣😂

Edited by Janov
  • Like 2

Share this post


Link to post
Share on other sites
5 hours ago, Janov said:

just because of you:

Surely it needed pinning because of and for the people who took it as a personal insult that all the aircraft manufacturers chose the likes of Lynx RTOS for their aircraft systems

Rather than me and my low expectations of Microsoft trying to emulate those systems in javascript on windows.

Edited by mSparks

AutoATC Developer

Share this post


Link to post
Share on other sites

Interesting read about the Lynx RTOS, never heard it before. Fully agree on Java Script. Java Script is 5 to 10 times slower than C++, Python is 10 to 20 times slower than C++, assembler language is faster than C++. Why do chipmakers develop new processors, if the preferred programming languages of todays society makes the processor 10 times slower in average. 10!.

 

Seriously, Java Script for the interfaces of the cockpits. A code that needs to be compiled at run-time and is only meant to be run on Windows. Those two thing just don`t fit together.

Just as Microsoft of today:

Write beautiful code - nothing else matters

Speed, what? I really hope and think X-Plane has a better code, fully optimized for performance.

Share this post


Link to post
Share on other sites
4 hours ago, BigDee said:

todays society makes the processor 10 times slower in average.

its not all about "frame" speed, there are numerous other factors, like error handling, how much the language can do automatically for you (like managing huge volumes of memory), how easy/cheap it is to develop for (see the OP for more detail on the consequences for many X-Planes....).

"real time" probably doesn't even mean what you think it means, its all about guarantees of meeting deadlines rather than how quickly it can meat a deadline. (a system that never runs less than 30fps can be considered realtime, a windows system that runs at 60fps most of the time is not)

4 hours ago, BigDee said:

Interesting read about the Lynx RTOS, never heard it before.

Generally the good stuff doesn't need to advertise to do well, people who need it search for it. I actually treat most advertising as a warning that real people aren't recommending what's being advertised.

The realtime aspect is also one of those practical aspects that separate simulator from game. Not meeting the deadline is a fatal error state in an RTS, in X-Plane this is why you get the "<20fps not realtime" error message (and Laminar are limited to not doing a proper job of this because windows does not provide any realtime guarantees, so its a best effort + warning).

@Janov could probably do a good job of incorrecting me, he's got first hand experience pressing the actual buttons.

 

Edited by mSparks

AutoATC Developer

Share this post


Link to post
Share on other sites
On 10/31/2020 at 5:25 PM, RXP said:

It just takes some know-how to look into the XP11 code and realize they are really carrying a lot of technical debt and legacy code.

Sidney claimed that he and Ben basically rewrote the entire rendering engine for Vulkan, getting rid of some legacy baggage, as proven by OpenGL mode getting a slight performance boost compared to 11.41. Another claim was that OpenGL and Vulkan modes were implemented to their respective specifications, leaving drivers, OS overhead and hardware as the biggest performance-defining factor.

 

  • Upvote 1

7950X3D + 6900 XT + 64 GB + Linux | 4800H + RTX2060 + 32 GB + Linux
My add-ons from my FS9/FSX days

Share this post


Link to post
Share on other sites

@Bjoern my comment was not limited to the rendering engine in particular but to X-Plane.exe as a whole. Nevertheless thank you for the additional precision! I didn't catch their work on Vulkan was improving the OGL part of the simulator as well (as a side-effect of cleaning up). I've just noted they wanted to ensure portability of legacy plugin code in building a "bridge" talking OGL on one side to plugins but running Vulkan on the other side (it is over simplified but I'm trying to illustrate).

Edited by RXP

Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites
22 hours ago, RXP said:

I've just noted they wanted to ensure portability of legacy plugin code in building a "bridge" talking OGL on one side to plugins but running Vulkan on the other side (it is over simplified but I'm trying to illustrate).

Yes and no. The bridge is perfect for implementing "one size fits all" plugin code, but the prime motivation was that there was simply no time to extend the SDK with a separate Vulkan API. If such an API could have been implemented in time for 11.50, Laminar certainly would have delivered it. As far as Sidney told me, capability for drawing plugin code directly in Vulkan is going to become available during XP12's life cycle. Until then, it's all OpenGL calls and entirely the add-on dev's responsibility to keep their plugin from choking the sim (see this thread's subject).

That bridge was a prime headache for me as a Linux AMD user because any drawing OpenGL plugin would crash the simulator. That's why I've asked Sid about drawing directly in Vulkan as an alternative, but the answer was the aforementioned "Maybe in XP12". Note that the crash wasn't XP's fault, but the driver's. It took a bug report and several weeks of back and forth with a developer until it got fixed.

Edited by Bjoern
  • Like 1

7950X3D + 6900 XT + 64 GB + Linux | 4800H + RTX2060 + 32 GB + Linux
My add-ons from my FS9/FSX days

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...