Since I just brought up Vulkan in another thread, I might as well write down my thoughts on if/how/when OpenMW will support Vulkan.
In the short term, the easiest way to use Vulkan is to implement an OpenGL library on top of Vulkan. This is similar to just using the driver's OpenGL support, but brings a number of possible advantages:
- Reduced chance of driver bugs, the Vulkan driver is much smaller than the OpenGL driver.
- Possibly better performance of the OpenGL stack.
- Available source code for the OpenGL library, you wouldn't have that when using a proprietary driver's OpenGL support. More FOSS is always better!
- The OpenGL library can be customized/optimized for a particular game, and you can write new extensions/features as needed.
I imagine that many people will realize these benefits and that some free and open source OpenGL implementations will pop up after Vulkan is released.
Now, the disadvantage of that approach is that even though we'd use Vulkan under the hood, the OpenGL way of handling threads, contexts, and state is still flawed for a high performance throughput, so in the longer term we will want a native Vulkan renderer. The big question here is "Can OSG use Vulkan?" and the short answer is no, not in its current form, and rewriting it to use Vulkan would be a poor fit. However, Robert Osfield has hinted he has interest in developing a new scene graph more suited to explicit graphics API's, that, while not directly compatible with OSG, will reuse many of its components and concepts, so that a transition for OSG users would be doable. It seems that our best bet is to wait and see what happens.
Vulkan support
Re: Vulkan support
Fair enough! I am super excited for Vulkan, and it does seem like taking advantage of it in the most efficient way would be best.scrawl wrote:Robert Osfield has hinted he has interest in developing a new scene graph more suited to explicit graphics API's, that, while not directly compatible with OSG, will reuse many of its components and concepts, so that a transition for OSG users would be doable. It seems that our best bet is to wait and see what happens.
- FiftyTifty
- Posts: 63
- Joined: 15 Oct 2014, 21:02
Re: Vulkan support
If this fella is anything to go by, Vulkan is going to be swanky as all hell, and will be a huge step up from OpenGL: http://www.joshbarczak.com/blog/?p=154
That, and making draw calls a non-issue is something that needs to be done. Especially for those of us with lesser processors. Hell, we'd finally be able to have proper open-world environments, and wouldn't have an absolute need for texture atlases.
That, and making draw calls a non-issue is something that needs to be done. Especially for those of us with lesser processors. Hell, we'd finally be able to have proper open-world environments, and wouldn't have an absolute need for texture atlases.
Re: Vulkan support
Robert Osfield of OSG write:
My plan is complete the OSG-3.6 stable release and then move to the
new scene graph.
My intention is for the core of the new scene graph to be API
agnostic, then have backends for Vulkan, OpenGL and OpenGL ES.
The focus will be primarily on Vulkan in terms of making sure the
design of the scene graph fully leverage what Vulkan is capable of.
Until we get an implementation going I can't say exactly how this will
impact the OpenGL/ES side. The new scene graph needs to be relevant
to application developers for the next 15+ years, taking over the
"mantel" from the OSG is this respect
- psi29a
- Posts: 5357
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Vulkan support
So good news all around then, 3.6 is soon to be released and next iteration will render-backend agnostic to add vulkan backend.
- silentthief
- Posts: 456
- Joined: 18 Apr 2013, 01:20
- Location: Currently traversing the Ascadian Isles
Re: Vulkan support
Hear, Hear!!!MajinCry wrote:Especially for those of us with lesser processors.
I play around with openmw on a laptop that is 6 years old. I was hoping not to get "phased out" due to graphics surpassing the laptop. Not everyone is able to get a new rig for openmw (oh, I will upgrade eventually...).
ST
Re: Vulkan support
I believe there is no reason why you should at some point no longer be able to use OpenMW on your laptop, if you can do so, now... the 1.0 goal is to fully replace the original engine, with equal or better performance, and all graphics enhancements that will be added on top of that will certainly be entirely optional.silentthief wrote:I play around with openmw on a laptop that is 6 years old. I was hoping not to get "phased out" due to graphics surpassing the laptop. Not everyone is able to get a new rig for openmw (oh, I will upgrade eventually...).
I am super hyped for Vulkan, though! Would be amazing to get support in OpenMW.
Re: Vulkan support
Optional or not, it makes no sense to stop developing an engine to become more graphically advanced because one guy has a 6 year old laptop.Pherim wrote:... the 1.0 goal is to fully replace the original engine, with equal or better performance, and all graphics enhancements that will be added on top of that will certainly be entirely optional.silentthief wrote:I play around with openmw on a laptop that is 6 years old. I was hoping not to get "phased out" due to graphics surpassing the laptop. Not everyone is able to get a new rig for openmw (oh, I will upgrade eventually...).
-
- Posts: 84
- Joined: 19 Aug 2015, 15:58
Re: Vulkan support
So, no OpenMW for my Pentium 4/GF 5200FX ultimate toaster?
lol jk
lol jk
- psi29a
- Posts: 5357
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Vulkan support
That should work just fine on Linux. (I have a P4 with a GT9600 in the garage.) No vulkan suppor, yet...