Redwolf Posted February 25, 2023 Share Posted February 25, 2023 This is what flight sim X-Plane does in a situation similar to CM: non-working OpenGL drivers, but working Vulcan API. Like with ATIAMD cards and newest drivers for CMx2. Bring your own OpenGL to Vulcan mapper. Where "your own" means the free one from Mesa. https://www.phoronix.com/news/X-Plane-Zink-Shipping [quote] As written about last year, the Laminar Research developers responsible for the incredible X-Plane flight simulator software have been working to make use of Mesa's Zink for leveraging OpenGL atop Vulkan to thereby avoid vendor OpenGL drivers that can vary in quality across platforms. With X-Plane 12.04b3, that goal is finally realized. [/quote] 2 Quote Link to comment Share on other sites More sharing options...
Redwolf Posted February 26, 2023 Author Share Posted February 26, 2023 BTW, they are only doing this for third party modules. X-Plane itself has been changed to be able to render to Vulcan directly. But many modules do their own rendering - in OpenGL. Also interesting that they mention AMD by name when it comes to non-working OpenGL drivers. 0 Quote Link to comment Share on other sites More sharing options...
nox_plague Posted February 27, 2023 Share Posted February 27, 2023 @Redwolf Have you gotten this to work? I actually spent a couple weeks of my life last year, around March 2022 trying to get Zink to run CM. The documentation was pretty rough, but I was able to compile my own Zink DLLs and get them to work for another OpenGL game. CM would start, but would fail to load into any actual mission. At this point, when I knew I had a working Zink DLL but it failed to to load CM, I gave up because I figured there was something about the way the game called OpenGL that Zink didn't handle. From reading the Zink support groups it seemed that the developers were essentially having to optimize the driver for each and every game individually, and CM would require the Battlefront team to contribute code to the Zink project to make it work. Would love to know if they've improved it in the last year and it's working. I think it is a very promising project to improve CM performance. 0 Quote Link to comment Share on other sites More sharing options...
nox_plague Posted February 27, 2023 Share Posted February 27, 2023 @Redwolf https://developer.x-plane.com/2023/02/addressing-plugin-flickering/ Reading the source article from x-plane explains that their core game has been rewritten in Vulkan. They're using Zink translation just for the modding/plugin community. Obviously the best thing for Battlefront to do would be rewrite the engine in Vulkan, but that seems like a non-starter for Steve & co. Maybe they can implement Zink, but it seems unlikely to me that will work without Battlefront developer support, or someone incredibly technical who is able to reverse engineer the OpenGL calls the game is making and create a custom Zink wrapper. 0 Quote Link to comment Share on other sites More sharing options...
Redwolf Posted February 27, 2023 Author Share Posted February 27, 2023 I didn't try. I don't know enough about either WIndows or OpenGL. I wonder whether Wine will offer Zink as a backend. Some work has been done to research how CMx2 calls OpenGL, which was breaking running it on Wine. 0 Quote Link to comment Share on other sites More sharing options...
Redwolf Posted November 7, 2023 Author Share Posted November 7, 2023 Bump because AMD is more broken once again. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.