Comments on: Art Controls, Stutters, and Progress https:/2018/11/art-controls-stutters-and-progress/ Developer resources for the X-Plane flight simulator Mon, 05 Nov 2018 19:32:59 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Ben Supnik https:/2018/11/art-controls-stutters-and-progress/#comment-32396 Mon, 05 Nov 2018 19:32:59 +0000 http://developer.x-plane.com/?p=39167#comment-32396 In reply to Ryan.

I can’t say for sure – I’ve heard multiple people say frame pacing is better, and I’m happy to hear that, because that’s a big goal for us, but we’ve done a number of things to try to make our within frame work more predictable and efficient, and we can’t say what has made a different. My thinking was that we’d fix _all_ of this kind of stuff that was mandatory to port to Vulkan, switch to the Vulkan driver, and then re-profile.

Right now, even if we do things right (and us doing things wrong _is_ a real source of problems, especially in 11.26), the GL driver can still hose us, and we sometimes see that in traces. It didn’t seem worth it to spend a lot of time going in with Instruments and Vtune just to discover that the GL driver still defers work and then does it “just in time”.

]]>
By: Ryan https:/2018/11/art-controls-stutters-and-progress/#comment-32393 Mon, 05 Nov 2018 19:08:45 +0000 http://developer.x-plane.com/?p=39167#comment-32393 “The graphic resources (mostly off-screen rendering buffers in VRAM) are allocated once when the configuration of the sim changes, rather than being allocated “just in time” when we get into a frame and realize something has changed.”

Is this why frame pacing improved so drastically in 11.30b1? When the beta released, everyone was arguing over framerate but what I noticed immediately was that the sim was playable down to 15-20fps. Assuming it’s not placebo, great work.

]]>
By: Ben Supnik https:/2018/11/art-controls-stutters-and-progress/#comment-32373 Sun, 04 Nov 2018 15:15:12 +0000 http://developer.x-plane.com/?p=39167#comment-32373 In reply to Bakr Mustafa.

It is not yet multi-core. There is almost no change in the pattern of multi-core dispatch in 11.30 compared to 11.26.

]]>
By: Ben Supnik https:/2018/11/art-controls-stutters-and-progress/#comment-32370 Sun, 04 Nov 2018 14:57:10 +0000 http://developer.x-plane.com/?p=39167#comment-32370 In reply to Coda.

A calendar? You mean the thing I use to separate my spaghetti from the boiling water when it’s done? I’m not sure how that helps me with my SSL certs, but I do have three of ’em. I’ll try waving one at my computer next year. 🙂

]]>
By: Bakr Mustafa https:/2018/11/art-controls-stutters-and-progress/#comment-32364 Sun, 04 Nov 2018 00:33:14 +0000 http://developer.x-plane.com/?p=39167#comment-32364 Quote;
All off-screen rendering needed to draw the frame is now done before the frame is rendered;
unquote;

I hope above-mentioned off-screen rendering is already capitalizing on a pool multi-cores (or at least multi-threads)

]]>
By: Coda https:/2018/11/art-controls-stutters-and-progress/#comment-32355 Sat, 03 Nov 2018 15:28:50 +0000 http://developer.x-plane.com/?p=39167#comment-32355 In reply to Ben Supnik.

There’s this thing called a calendar. You may have heard of it, and you can even get them on your phone these days. Here’s the trick… when you renew your cert, put an entry in the calendar 1 year from now minus a couple of weeks, saying something like “Don’t forget to renew the web certs AGAIN!”. Works a treat. Ask me how I know…

]]>
By: Markku Post-Uttula https:/2018/11/art-controls-stutters-and-progress/#comment-32354 Sat, 03 Nov 2018 15:14:24 +0000 http://developer.x-plane.com/?p=39167#comment-32354 In reply to Ben Supnik.

With favours thrown in by Mr. Murphy, the cert expired on a weekend. Of course it did… I mean – when else could it possibly expire on? 😉

]]>
By: Ben Supnik https:/2018/11/art-controls-stutters-and-progress/#comment-32353 Sat, 03 Nov 2018 14:58:15 +0000 http://developer.x-plane.com/?p=39167#comment-32353 In reply to Michael Jensen-Maar.

We’re working on it!

]]>
By: Ben Supnik https:/2018/11/art-controls-stutters-and-progress/#comment-32352 Sat, 03 Nov 2018 14:58:05 +0000 http://developer.x-plane.com/?p=39167#comment-32352 In reply to Dave.

I’m sorry, but we aren’t going to do a dev guide to art controls. The whole point of art controls is that they don’t “Cost” us (in terms of development time from coders, artists, doc, testing) the way a real SDK does because we don’t do the entire document/sample/compatibility process. So writing a guide is both in the same bucket as providing compatibility (spending on dev time on a non-SDK) and it also sends a very wrong message to people – “hey, come use this thing, we want you to base your add-ons on it.”

]]>
By: Michael Jensen-Maar https:/2018/11/art-controls-stutters-and-progress/#comment-32350 Sat, 03 Nov 2018 07:43:30 +0000 http://developer.x-plane.com/?p=39167#comment-32350 In reply to Tom Knudsen.

You should get your SSL certificate renewed.

]]>