

Two Pain Relief Fixes Coming Soon
source link: https://developer.x-plane.com/2023/09/two-pain-relief-fixes-coming-soon/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Two Pain Relief Fixes Coming Soon
The next X-Plane update will focus primarily on flight-model and systems, plus external-visual networking and some ATC features. While that update is in beta, we can work in parallel on real weather and graphics.
But there are two graphics bugs we already have fixed in-house which should relieve some 12.06/12.07 pain:
- Running out of memory mid-frame. Turns out if you got into a fairly tight situation VRAM wise (and we try to do that to max out the texture res you can have) then X-Plane might run out of memory trying to draw trees and…melt down like a toddler who can’t have any more candy.
We have an interim fix: allocate memory statically so we always have it. In a future update we’ll reuse memory from other parts of rendering to be more efficient. - Popping out a window causes a big slow-down. When the arrangements of windows changes, we might need to allocate more VRAM for rendering. This is not a fast process – we have to halt all rendering, throw out the old memory, compact things, allocate new memory, and if a DSF is loading while this happens, the DSF loader is using up memory as we are trying to reallocate the windows, which can mean compacting memory again, paging down textures…you get the idea.
The fix is pretty simple: don’t do this if the popped out window doesn’t require more VRAM. Most of the time, this is the case, so this is an easy fix for a silly bug.
Integration work for the next update is going on now and I’m hoping it will be done next week. More details soon!
About Ben Supnik
Ben is a software engineer who works on X-Plane; he spends most of his days drinking coffee and swearing at the computer -- sometimes at the same time.Recommend
-
65
r/ProgrammerHumor: dedicated to humor and jokes relating to programmers and programming.
-
66
Comic Relief is a typeface designed to be metrically equivalent to the popular Comic Sans MS. Comic Relief can be used in place of Comic Sans MS without having to move, resize, or reset any part of the copy. Here is a side-by-side comparison of...
-
19
Beyond Scrum Blog Series We’ve had requests for a single page that lists all the ongoing Beyond Scrum blog posts in one handy spot, and we’re happy to oblige!...
-
4
Exciting...
-
9
What's in iOS 15.3: Update should fix HomeKit vulnerability Here's what to expect from iOS 15.3, which is currently with beta testers. By Ka...
-
5
This is one post in a series of posts that will present and define terms that are used in distributed computing, cloud-native computing, and/or container-based development....
-
7
Scroll back up to restore default view.Tesla's struggles in China and Europe may be a preview of the pain coming for Elon in the US
-
23
Desk Job Giving You Neck, Shoulder and Back Pain? 3 Stretches and Exercises for Short Term Relief A few months ago, I finally decided to do something about my ba...
-
8
iOS 16.3 is coming next week with these features and fixes The update brings 2nd-gen HomePod support, spreads Advanced Data Protection worldwide, and more. By
-
5
The new tech offering relief from the misery of period painPublished30 minutes ago
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK