Comments on: The Vulkan/Metal Public Beta Will Be in 2020 https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/ Developer resources for the X-Plane flight simulator Thu, 09 Jan 2020 02:09:12 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Ben Supnik https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-35043 Thu, 09 Jan 2020 02:09:12 +0000 http://developer.x-plane.com/?p=39770#comment-35043 In reply to Chris.

If a plugin induces the loading of an X-Plane art asset (OBJ, particles, etc.) VRAM is managed transparently for the plugin using the same mechanism as if the scenery were doing loads:

– Loading the new textures may increase VRAM pressure.
– We may page some stuff out to deal with it.
– If OTHER stuff pages out (e.g. you fly away from Las Vegas and we can page out all of Cristianos’ nice buildings 🙂 then if VRAM pressure releases enough, the plugin loaded art assets might INCREASE their res to use the free space, just like the rest of the scenery system.

If a plugin just uses VRAM directly (e.g. it calls glTexImage2D and allocates a giant 64 MB texture) then we notice VRAM pressure when the Vulkan driver tells us “hey there’s less VRAM now” (cuz the driver sees all) and we may page out some stuff.

]]>
By: Chris https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-35039 Thu, 09 Jan 2020 01:41:01 +0000 http://developer.x-plane.com/?p=39770#comment-35039 How does VRAM allocation work with plugins that load objects including particles? Are plugin load objects treated differently to scenery etc?
Looking forward to testing the beta with thousands of objects with particles compared to OpenGL.

]]>
By: Fabio Amaral https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34985 Tue, 07 Jan 2020 22:38:12 +0000 http://developer.x-plane.com/?p=39770#comment-34985 In reply to John Wingold.

I have a large 2Tb SSD that is dedicated only to X-Plane, and since my x-plane is currently 1.83Tb I have no space for two installs (a Beta and a non-Beta) 😀

]]>
By: Will https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34984 Tue, 07 Jan 2020 21:11:23 +0000 http://developer.x-plane.com/?p=39770#comment-34984 In reply to Norman Hamann.

I was about to post a very similar question regarding the VII. Is it just eliminating the risk of blurred textures?

]]>
By: Carsten Jenning https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34983 Tue, 07 Jan 2020 18:50:11 +0000 http://developer.x-plane.com/?p=39770#comment-34983 In reply to Kevin Karas.

9700K will run better +15% more FPS

]]>
By: John https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34982 Tue, 07 Jan 2020 14:55:45 +0000 http://developer.x-plane.com/?p=39770#comment-34982 In reply to Ben Supnik.

What if on vram starved systems you did a conversion to 16 but textures (5, 6, & 5 bits per channel) at load?

Or would lack of alpha channel blow things up?

]]>
By: Kevin karas https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34981 Tue, 07 Jan 2020 14:25:51 +0000 http://developer.x-plane.com/?p=39770#comment-34981 In reply to Ben Supnik.

Okay thanks. So basically the higher core speed of a CPU with less threads will benefit more, thanks.

]]>
By: Ben Supnik https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34980 Tue, 07 Jan 2020 13:50:52 +0000 http://developer.x-plane.com/?p=39770#comment-34980 In reply to Mark Parker.

I’d be curious to see what the threaded XLua code looks like. A Lua VM is a good candidate to run in a thread in that it has total isolation from the sim _other_ than the holes you poke in it by function calls. So you can build a good sand-box by default.

]]>
By: Ben Supnik https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34979 Tue, 07 Jan 2020 13:31:30 +0000 http://developer.x-plane.com/?p=39770#comment-34979 In reply to steman.

Slow but steady. We’ve gotten great bug reports from third party devs on the private beta, but the blurry texture problem isn’t a one-day fix kind of thing.

]]>
By: Mark Parker https:/2019/12/the-vulkan-metal-public-beta-will-be-in-2020/#comment-34978 Tue, 07 Jan 2020 11:44:51 +0000 http://developer.x-plane.com/?p=39770#comment-34978 In reply to Ben Supnik.

just as a side note small side notification to this part:

->Similarly, plugin code is single core unless plugin authors make it multicore, which is a lot of work since the SDK doesn’t help.

Some work has already begun for the YA747 project to add multithreading to xlua scripts. No real time frame for when or even if this will be successful – a lot of work is putting it mildly. But if and when that makes even a first release this problem should be massively alleviated.

]]>