Comments on: Addressing Plugin Flickering https:/2023/02/addressing-plugin-flickering/ Developer resources for the X-Plane flight simulator Tue, 28 Feb 2023 11:37:01 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: DrGluck https:/2023/02/addressing-plugin-flickering/#comment-42317 Tue, 28 Feb 2023 11:37:01 +0000 https://developer.x-plane.com/?p=40720#comment-42317 In reply to Sidney Just.

On my 3070ti the problem does not appear. But users report problems on AMD cards.
https://forums.x-plane.org/index.php?/files/file/37864-terrain-radar-vertical-situation-display/&do=findComment&comment=377467&tab=comments

]]>
By: viper https:/2023/02/addressing-plugin-flickering/#comment-42315 Tue, 28 Feb 2023 00:24:49 +0000 https://developer.x-plane.com/?p=40720#comment-42315 Hi Sidney, can you fix the vsync issue? This is bad in windowed mode

]]>
By: Sidney Just https:/2023/02/addressing-plugin-flickering/#comment-42314 Mon, 27 Feb 2023 17:43:10 +0000 https://developer.x-plane.com/?p=40720#comment-42314 In reply to DrGluck.

You can absolutely run Zink on an Nvidia card, which might be enough to reproduce the issue on your end (there currently is a bug with 10xx cards, that’ll be fixed in the next version or you can contact me privately for a fixed build, see a few sentences later). Although in general, the goal is to not require plugin modifications, so this is most likely a bug on our end. If you are in our dev lobby, feel free to hit me up there or alternatively you can email me at [my last name + first three letters of my first name]@x-plane.com, so like, that’d be ‘justsid’. I can most likely turn this into a bug report or direct you further.

]]>
By: DrGluck https:/2023/02/addressing-plugin-flickering/#comment-42313 Mon, 27 Feb 2023 17:36:32 +0000 https://developer.x-plane.com/?p=40720#comment-42313 Well, I’m a developer and users are reporting that my plugin doesn’t work with Zink and AMD. What should I do? I’d love to look into this, but I don’t have an AMD graphics card.

]]>
By: Sidney Just https:/2023/02/addressing-plugin-flickering/#comment-42311 Mon, 27 Feb 2023 16:32:10 +0000 https://developer.x-plane.com/?p=40720#comment-42311 In reply to Carlos A Maida.

Thanks for the update, although just to be clear, when you enabled ReShade you did so after X-Plane told you “Disabled ReShade. This layer is known to cause issues such as crashes with X-Plane. Use –allow_reshade to bypass, you have been warned!”.

I’ll make sure that in a future update, with Zink enabled, no bypass is possible anymore and ReShade gets automatically disabled.

]]>
By: Carlos A Maida https:/2023/02/addressing-plugin-flickering/#comment-42310 Mon, 27 Feb 2023 15:32:24 +0000 https://developer.x-plane.com/?p=40720#comment-42310 In reply to Sidney Just.

I have discovered that my problem is not Nvidia, nor ZINK, but a plugin that was causing the problem. This is RESHADE (www.reshade.me) which -apparently- is incompatible with these new XP12 technologies, despite using it with the VULKAN option.
I removed the parameter that allowed me to load Reshade from startup and now I can load ZINK and solve other problems I had with the simulator. Thank you very much for your answer and your brilliant explanation.

]]>
By: Pete Leemeijer https:/2023/02/addressing-plugin-flickering/#comment-42309 Mon, 27 Feb 2023 08:45:46 +0000 https://developer.x-plane.com/?p=40720#comment-42309 Ok this is mightily impressive. From 32FPS external view at Orbx YBBN 4K resolution to 73FPS. That’s a game changer 🙂

]]>
By: Sidney Just https:/2023/02/addressing-plugin-flickering/#comment-42308 Mon, 27 Feb 2023 08:33:40 +0000 https://developer.x-plane.com/?p=40720#comment-42308 In reply to xplanefan.

You can already create shared OpenGL contexts and then render into an off-screen FBO in the background, which is something a few plugins already do. Our pipe dream is to make it more automatic without requiring any changes to the underlying plugins. But this is still ways off, solid Zink comes first and then we’ll have to actually sit down and see what we can implement. X-Plane plugins are somewhat limited in how concurrent they can be because of the whole dataref system. But we have some ideas that involve CPU side time travel with how we encode GPU workloads and then submit them in the correct order.

]]>
By: Marcel https:/2023/02/addressing-plugin-flickering/#comment-42304 Sun, 26 Feb 2023 16:01:56 +0000 https://developer.x-plane.com/?p=40720#comment-42304 In reply to Carlos A Maida.

Runs fine on my 3080Ti, same OS and driver. Tested with default 737 and 330.
It does run slower and laggier then native though

]]>
By: xplanefan https:/2023/02/addressing-plugin-flickering/#comment-42303 Sun, 26 Feb 2023 14:09:40 +0000 https://developer.x-plane.com/?p=40720#comment-42303 In reply to Sidney Just.

Hold the phone…you’re saying that because this is fully contained and administered within XP, you’ll be able to let plugin authors break the decades-old mandate to only make GL calls from their master thread? You’re essentially going to make GL multi-threaded? Multiple concurrent contexts??

]]>