Jump to content

Featured Replies

Posted

Hey everyone, I figured I'd start a thread about Zink because I'm super excited about it. So excited, I even wrote a blog post about it:

https://developer.x-plane.com/2023/02/addressing-plugin-flickering/

TL;DR: If you are on Vulkan, so either Linux or Windows, you might want to try Zink. Especially with an AMD GPU. If you run into issues with your favourite plugin, please file a bug report and mention what those plugins are.

There's most definitely going to be a few bugs, in fact, I already know about a couple. This is still very much a work in progress and it touches a huge part of X-Plane, so don't expect perfection right away. You can always run without Zink. I'll keep this thread updated about issues and I'm happy to answer any questions.

If you get stuck and can't launch X-Plane anymore after enabling Zink, please file a bug report. You can manually disable it by going into Output/preferences and deleting the gfx_zink.prf file. In theory Zink should disable itself, kinda like how Vulkan did for 11.50, but I guess there is a bug in there? Those are the instructions to unstuck yourself though, if you do get stuck. Sorry!

Stuff I know about:

  • Crash on startup with Nvidia GPUs. The X-Plane ticket for this is XPD-13878 and it'll be fixed next beta
  • If something loads the system GL library before X-Plane gets a chance to load Zink, plugins will render with the system GL and never be visible. This manifests in DataRef Editor as half of the window chrome missing around it but text being visible (XPD-13886)
  • The above can be triggered with some VR compositors
  • One person reported a crash on exit with Fly With LUA
  • On Linux you might see error messages of a GPU crash in stdout/stderr. These are from CEF, not X-Plane and can be ignored
  • Apparently quite a few people experiencing a crash on startup (digging into this now). If this is you, see above for instructions on how to get out of that situation again, but the underlying issue that it keeps crashing on startup and not backing off Zink is tracked as XPD-13884)

Edit: X-Plane 12.04r1 is out and fixes a bunch of Zink issues. If you get an error message saying that Zink couldn't be enabled in time, this is most likely due to something on your system injecting OpenGL at startup time into X-Plane. X-Plane will try to load Zink as early as possible, long before either initializing plugins or even initializing Vulkan. I know that on Linux, Steam will do this (and I'm talking to Valve about possible workarounds). Please file this so we can figure out what's going wrong on your system and add workarounds into X-Plane.

Edited by JustSid
Amendment

Senior engine saboteur at Laminar Research, delaying Vulkan and Metal one day at a time breaking Windows 7 support, taking away ReShade and losing all of your devices. Private account, thoughts are my own (witty signatures included). I don't represent Laminar Research in any capacity: I'm here for the memes, not support. PMs with support related questions or bug reports will be fed to the alligators who are terrible at using keyboards and can't reply. Please check the official support website for help.

Remember the human and my adorable cat. That means be nice to each other, I can't believe I have to spell it out like this.

  • Replies 548
  • Views 62.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted Images

My "beta" copy of XP12 will not even open.  Thank goodness I tried it on this one first.  Any ideas how I can revert or whatever?  Don't want to have to download another beta copy...

Log.txt

i5-6600K @4.4GHZ, MSI Z170A M3, MSI GeForce GTX1070, Cryorig H7, 32GB DDR4 3000, 480GB SSD, 1TB HDD, 4TB HDD-Scenery, NZST S340.

  • Author
1 minute ago, oldflyguy64 said:

My "beta" copy of XP12 will not even open.

After enabling Zink or without Zink? By default X-Plane will not launch with Zink enabled and does what it used to do in 12.04b2, so if that worked, this is something else

Senior engine saboteur at Laminar Research, delaying Vulkan and Metal one day at a time breaking Windows 7 support, taking away ReShade and losing all of your devices. Private account, thoughts are my own (witty signatures included). I don't represent Laminar Research in any capacity: I'm here for the memes, not support. PMs with support related questions or bug reports will be fed to the alligators who are terrible at using keyboards and can't reply. Please check the official support website for help.

Remember the human and my adorable cat. That means be nice to each other, I can't believe I have to spell it out like this.

4 minutes ago, JustSid said:

After enabling Zink or without Zink? By default X-Plane will not launch with Zink enabled and does what it used to do in 12.04b2, so if that worked, this is something else

After checking the Zinc option, exiting XP and re-starting the computer (when XP would not open).  Don't think it's anything else.  Only addition to beta copy is SimHeaven (America).  Removed plug-in's as well.

 

Edited by oldflyguy64

i5-6600K @4.4GHZ, MSI Z170A M3, MSI GeForce GTX1070, Cryorig H7, 32GB DDR4 3000, 480GB SSD, 1TB HDD, 4TB HDD-Scenery, NZST S340.

  • Author
Just now, oldflyguy64 said:

After checking the Zinc option,

Way to bury the lede here ;)

In theory X-Plane should reset itself and not start with Zink after a crash. If not, you can disable it by going into Output/preferences and deleting the gfx_zink.prf file. Can you look in Output/crash_reports too and file a bug report with any .dmp file that's in there so we can figure out why you crashed?

Senior engine saboteur at Laminar Research, delaying Vulkan and Metal one day at a time breaking Windows 7 support, taking away ReShade and losing all of your devices. Private account, thoughts are my own (witty signatures included). I don't represent Laminar Research in any capacity: I'm here for the memes, not support. PMs with support related questions or bug reports will be fed to the alligators who are terrible at using keyboards and can't reply. Please check the official support website for help.

Remember the human and my adorable cat. That means be nice to each other, I can't believe I have to spell it out like this.

1 minute ago, JustSid said:

Can you look in Output/crash_reports too and file a bug report with any .dmp file that's in there so we can figure out why you crashed?

Absolutely!  Updating that copy right now to "repair" any damage.  Probably not necessary but I've been around for a while and this is all SOP with me. 

 

i5-6600K @4.4GHZ, MSI Z170A M3, MSI GeForce GTX1070, Cryorig H7, 32GB DDR4 3000, 480GB SSD, 1TB HDD, 4TB HDD-Scenery, NZST S340.

16 minutes ago, JustSid said:

Can you look in Output/crash_reports too and file a bug report with any .dmp file that's in there so we can figure out why you crashed?

I have several .dmp files I will send over in a bug report.  Coming up against a "hard break" right now but will get them over later this afternoon.

i5-6600K @4.4GHZ, MSI Z170A M3, MSI GeForce GTX1070, Cryorig H7, 32GB DDR4 3000, 480GB SSD, 1TB HDD, 4TB HDD-Scenery, NZST S340.

Yeeeeeehaw! Finally no more "rumors say that Zink..."!

For such an extensive modification of XP12's rendering engine, Zink has been working really well so far. FWL crashing at shutdown is a comparatively minor nuisance.

Ryzen 7950X3D | 64 GB DDR5 6000 | 7900XT 20 GB | 7.25 TB SSDs | Arch Linux (+ Win 11)

Ryzen 4800H | 32 GB DDR4 3200 | RTX 2060 6 GB | 2 TB SSD | Arch Linux

A heads up for anyone who flies the Hot Start CL650: Totoriko posted today (24 Feb 2023) on the Hot Start Discord that the CL650 won't work in Zink mode yet as, "... [it's] using pretty complex features and I'm gonna have to make changes to get it supported."

 

1 hour ago, JustSid said:

Way to bury the lede here ;)

In theory X-Plane should reset itself and not start with Zink after a crash. If not, you can disable it by going into Output/preferences and deleting the gfx_zink.prf file. Can you look in Output/crash_reports too and file a bug report with any .dmp file that's in there so we can figure out why you crashed?

Same here, enabling zink with my GTX1070 will prevent XP to start. Nothing is being created in the Output/crash_reports folder.
Only hint is this line in the log

Vulkan Layers       : VK_LAYER_NV_optimus (1), VK_LAYER_VALVE_steam_overlay (1), VK_LAYER_VALVE_steam_fossilize (1), VK_LAYER_OBS_HOOK (1), VK_LAYER_EOS_Overlay (1), VK_LAYER_EOS_Overlay (1), VK_LAYER_ROCKSTAR_GAMES_social_club (1)
--=={This application has crashed!}==--

XP will not start anymore unless I delete the gfx_zink.prf file

edit: NV driver version is 526.98

Edited by Pep Peroni

XP12

Hi JustSid

 

Thanks for the incredible work on Zink. With the ZiboMod on EGLL R27, live weather, live date and time (sunset), all settings on max I went from 17 fps to 43 fps.

@JustSidLog.txt

No luck on my first try with Zink. GTX1080 v528.49 Attached crash report dmp file

f83788c9-0c54-4371-af94-08ed51388f52.zip. 

 

I have filed an official bug report.

Edited by mfd529
more details

Brunner CLS-E-NG yoke, TPR rudder pedals, trim wheel, GoFlight TQ6 TPM - RTX 4070ti / i9 13900K 3GHz(5.8) / 32GB DDR5 / 2TB SSD / Mac M3 laptop / Three 40" screens. SimIonic G1000 bezel PFD & MFD. SimVim cockpit interface. 12TB OrthoXP external HD

Note: Nvidia generally handles all Vulkan - OpenGL synching on the driver level and has done so forever. Nvidia users therefore do not require Zink.

Ryzen 7950X3D | 64 GB DDR5 6000 | 7900XT 20 GB | 7.25 TB SSDs | Arch Linux (+ Win 11)

Ryzen 4800H | 32 GB DDR4 3200 | RTX 2060 6 GB | 2 TB SSD | Arch Linux

4 minutes ago, RandomUser said:

Nvidia users therefore do not require Zink.

1 hour ago, JustSid said:

TL;DR: If you are on Vulkan, so either Linux or Windows, you might want to try Zink. Especially with an AMD GPU.

I read especially not exclusively. 

XP12

Dears 

working here

found 2 plugins incompatible, skuncraft updater and  VR tools. 

Edited by Severina

Exclusive VR. Amd 7900x3d, Nvidia Gainward 3090, ASRock B650E AM5, 64 GB RAM, 14 TB HDD, Win11 22H2
HP Reverb G2  Quest 3 with Link cable

Virpil CM3 throttle and CM3 base with alpha prime grip, VPC Sharka 50 control panel. Thrustmaster TPR Rudder pedals, Knobster from Siminnovations.com. Honeycomb Alpha 

  • Author

Long term, but like, looooong term, the goal is to have just Zink as the way to do plugin interop. But also have it available on macOS through MoltenVK, so plugin authors and us internally have only one backend to be concerned about. So Nvidia users are more than welcome to try this as well, although as already mentioned will most likely not see a whole lot of benefits.

Edited by JustSid

Senior engine saboteur at Laminar Research, delaying Vulkan and Metal one day at a time breaking Windows 7 support, taking away ReShade and losing all of your devices. Private account, thoughts are my own (witty signatures included). I don't represent Laminar Research in any capacity: I'm here for the memes, not support. PMs with support related questions or bug reports will be fed to the alligators who are terrible at using keyboards and can't reply. Please check the official support website for help.

Remember the human and my adorable cat. That means be nice to each other, I can't believe I have to spell it out like this.

Will Zink help with the issues that us 900 series card users are having?

| Lenovo | I7 6700k CPU @ 4.00 | 8Gig Ram DDR4 | Nvidia GeForce GTX 970  4Gig GDDR |

 

crash  with  reshade at  launch

Faulting application name: X-Plane.exe, version: 12.0.4.2, time stamp: 0x63f78272
Faulting module name: ReShade64.dll, version: 5.6.0.1690, time stamp: 0x63c42b72
Exception code: 0xc0000005
Fault offset: 0x00000000002acef8
Faulting process id: 0x0x1AD8
Faulting application start time: 0x0x1D94888D3A72B7D
Faulting application path: N:\X-Plane 12\X-Plane.exe
Faulting module path: C:\ProgramData\ReShade\ReShade64.dll

 

Windows 11 Pro 24H2  , MSI MPG X670E Carbon Wifi , AMD RYZEN 7 7800X3D , 64 GB  DDR5  6400  CL 32 ,    3  SSD Samsung  980 2TB PCIE 4 (OS /  X-Plane  / sceneries and  libraries)  , MSI RTX  4090 Ventus  (Nvidia Game Ready 576.80 driver) , VR Oculus Quest 3 / Quest Pro / Virtual Desktop  / ASUS TUF-AX5400 Wifi 6 router , Sony TV XR-65X94K full screen G-SYNC  3840x2160 / 120 Hz , 3jFPS12 (autoLOD) , LosslessScaling 3.1.0.2 (LS1 1,5 scaling factor /  LSFG 3.0  3x FG 36 fps > 108 fps, G-SYNC)

  • Author

Yeah to be absolutely real with you, I have not much hope of this ever running with ReShade. But you knew ReShade would be unstable, that's why you had to enable it via a command line argument.

4 minutes ago, cessna_man said:

Will Zink help with the issues that us 900 series card users are having?

If it's the black sun then no.

Senior engine saboteur at Laminar Research, delaying Vulkan and Metal one day at a time breaking Windows 7 support, taking away ReShade and losing all of your devices. Private account, thoughts are my own (witty signatures included). I don't represent Laminar Research in any capacity: I'm here for the memes, not support. PMs with support related questions or bug reports will be fed to the alligators who are terrible at using keyboards and can't reply. Please check the official support website for help.

Remember the human and my adorable cat. That means be nice to each other, I can't believe I have to spell it out like this.

@JustSid
Thanks for alll your explanations. It looks like the SAM-plugin doesn't work with Zink, since i get an error each time i am loading an airport using SAM. With Zink deactivated everything works fine.

i9 12900K 5.2 Ghz, 32 GB RAM, Nvidia GTX 3090

12 minutes ago, JustSid said:

 

If it's the black sun then no.

How about the magenta? I can still fly with sun, but I can't with magenta. As soon as I get home from work I will update and check.

Thanks

Edited by cessna_man

| Lenovo | I7 6700k CPU @ 4.00 | 8Gig Ram DDR4 | Nvidia GeForce GTX 970  4Gig GDDR |

 

OpenGL Python (XPPython3) fails (but does not crash) with zink enabled. Zink disabled, runs fine.

EXCEPTION>> [Main] Traceback (most recent call last):
EXCEPTION>> [Main]   File "D:\X-Plane 12/Resources/plugins\PythonPlugins\PI_OpenGL.py", line 175, in drawWindowCallback
EXCEPTION>> [Main]     GL.glEnd()
EXCEPTION>> [Main]   File "C:\Users\Peter\AppData\Roaming\Python\Python311\site-packages\OpenGL\latebind.py", line 63, in __call__
EXCEPTION>> [Main]     return self.wrapperFunction( self.baseFunction, *args, **named )
EXCEPTION>> [Main]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
EXCEPTION>> [Main]   File "C:\Users\Peter\AppData\Roaming\Python\Python311\site-packages\OpenGL\GL\exceptional.py", line 45, in glEnd
EXCEPTION>> [Main]     return baseFunction( )
EXCEPTION>> [Main]            ^^^^^^^^^^^^^^^
EXCEPTION>> [Main]   File "C:\Users\Peter\AppData\Roaming\Python\Python311\site-packages\OpenGL\platform\baseplatform.py", line 415, in __call__
EXCEPTION>> [Main]     return self( *args, **named )
EXCEPTION>> [Main]            ^^^^^^^^^^^^^^^^^^^^^^
EXCEPTION>> [Main]   File "C:\Users\Peter\AppData\Roaming\Python\Python311\site-packages\OpenGL\error.py", line 230, in glCheckError
EXCEPTION>> [Main]     raise self._errorClass(
EXCEPTION>> [Main] OpenGL.error.GLError: GLError(
EXCEPTION>> [Main] 	err = 1282,
EXCEPTION>> [Main] 	description = b'invalid operation',
EXCEPTION>> [Main] 	baseOperation = glEnd,
EXCEPTION>> [Main] 	cArguments = ()
EXCEPTION>> [Main] )

I'm guessing(?) the python bindings to opengl are interfering with zink, but this is all new to me. Any ideas?

Processor: 2 x XForcePC, i5 9600k & AMD 7800 X3D @ 32G RAM; Storage: 6T SSD + 8T HDD + 24T RAID; Video: RTX4070 Ti & 4070 Ti Super; Display: 4x27" monitors; Cockpit: Volair, ButtKicker; Avionics SIMiONIC G1000; Flight Controls: Red-Bird TH1 throttle; Virtual-Fly YOKO Plus; BFF Motorized Trim Wheel; CH pedals; Plugins: SimShaker  XPPython3: See And Avoid; A/C: Cessna 172SP+REP;  IRL: Cessna driver, PPL/IGI, Aviation Weather provider AvnWx.com.

Released: XPPython3 plugin, Drop Quarantine utility, See and Avoid plugin
Working on:  Meta improvements to documenation

  • Author
2 minutes ago, cessna_man said:

As soon as I get home from work I will update and check.

I can fast forward you to the disappointment phase already: That'll be the same, sorry.

This is a separate bug entirely and not something Zink attempts to address.

Senior engine saboteur at Laminar Research, delaying Vulkan and Metal one day at a time breaking Windows 7 support, taking away ReShade and losing all of your devices. Private account, thoughts are my own (witty signatures included). I don't represent Laminar Research in any capacity: I'm here for the memes, not support. PMs with support related questions or bug reports will be fed to the alligators who are terrible at using keyboards and can't reply. Please check the official support website for help.

Remember the human and my adorable cat. That means be nice to each other, I can't believe I have to spell it out like this.

4 minutes ago, JustSid said:

I can fast forward you to the disappointment phase already: That'll be the same, sorry.

This is a separate bug entirely and not something Zink attempts to address.

Bummer, guess I'll take my time going home lol

Any idea if it will ever get resolved or will I just have buy a new card.

Edited by cessna_man

| Lenovo | I7 6700k CPU @ 4.00 | 8Gig Ram DDR4 | Nvidia GeForce GTX 970  4Gig GDDR |

 

6 minutes ago, pbuckner said:

OpenGL Python (XPPython3) fails (but does not crash) with zink enabled. Zink disabled, runs fine.

...

I'm guessing(?) the python bindings to opengl are interfering with zink, but this is all new to me. Any ideas?

Not seeing any issues at all with XPPython3 and Zink. But I use an AMD GPU.

Ryzen 7950X3D | 64 GB DDR5 6000 | 7900XT 20 GB | 7.25 TB SSDs | Arch Linux (+ Win 11)

Ryzen 4800H | 32 GB DDR4 3200 | RTX 2060 6 GB | 2 TB SSD | Arch Linux

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.