Minetest and Vulkan API?
Minetest and Vulkan API?
Hi, there has been a lot of excitement about Directx 12 and Vulkan. If I am correct, minetest is using opengl, right? I want to know that if minetest will benefit from Vulkan. I saw Vulkan API performance on youtube and it is very efficient. Do we have enough resource to implement Vulkan API?
And one more question, minetest on my system seems not to use my cpu or gpu efficiently, the frame rate drop to 30fps but it still use only 15-20% cpu and 30% gpu. Is it normal? I prefer using more cpu for higher frame rate.
minetest 0.4.13
linux mint 17.2
i7 3770
GTX 650 driver version 346.96
8 gb ram
And one more question, minetest on my system seems not to use my cpu or gpu efficiently, the frame rate drop to 30fps but it still use only 15-20% cpu and 30% gpu. Is it normal? I prefer using more cpu for higher frame rate.
minetest 0.4.13
linux mint 17.2
i7 3770
GTX 650 driver version 346.96
8 gb ram
Blend 3d models https://www.dropbox.com/sh/eocmx6axullc ... aI9sa?dl=0
Corals mod(WIP) viewtopic.php?f=9&t=13425
Corals mod(WIP) viewtopic.php?f=9&t=13425
- Calinou
- Moderator
- Posts: 3169
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: Minetest and Vulkan API?
Minetest uses Irrlicht.
If Irrlicht gets Vulkan support, then we will possibly support it (we need to write shaders for it, I guess). Else, we won't.
If Irrlicht gets Vulkan support, then we will possibly support it (we need to write shaders for it, I guess). Else, we won't.
Re: Minetest and Vulkan API?
I have read some discussion on irrlicht forum and the community would like to have vulkan too, but no official announcement yet. Not until Vulkan is finalize, I think.Calinou wrote:Minetest uses Irrlicht.
If Irrlicht gets Vulkan support, then we will possibly support it (we need to write shaders for it, I guess). Else, we won't.
Edit: The developer in the Irrlicht forum said that they will implement it in the future.
Blend 3d models https://www.dropbox.com/sh/eocmx6axullc ... aI9sa?dl=0
Corals mod(WIP) viewtopic.php?f=9&t=13425
Corals mod(WIP) viewtopic.php?f=9&t=13425
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: Minetest and Vulkan API?
MT could get some pretty decent perf boosts using Vulkan in Irrlicht, based on what I have seen.
-
- Member
- Posts: 4534
- Joined: Mon Oct 03, 2011 17:58
- GitHub: Jordach
- IRC: Jordach
- In-game: Jordach
- Location: Blender Scene
Re: Minetest and Vulkan API?
Except for the fact that, MT and Irrlicht, are more CPU driven than GPU driven. Even with my powerful rendering rig, MT runs terribly. Even with lightweight subgames - this is a problem with Irrlicht and how MT interfaces with it. If I knew C a little bit better I might be able to help resolve this, considering how much I complain at the plain graphics. ;)philipbenr wrote:MT could get some pretty decent perf boosts using Vulkan in Irrlicht, based on what I have seen.
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: Minetest and Vulkan API?
C wouldn't help you much, C++ would though.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Minetest and Vulkan API?
Minetest's code is mostly in C style in terms of methology. If you came from C rather than C++ you'd have more of an idea of the technical details. But any is valid, and you will need c++ knowledge as well.
My impression from reading the irc logs.
My impression from reading the irc logs.
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: Minetest and Vulkan API?
Mmm. Good point. Minetest does need to shift it's weight over to the GPU a bit.Jordach wrote:Except for the fact that, MT and Irrlicht, are more CPU driven than GPU driven. Even with my powerful rendering rig, MT runs terribly. Even with lightweight subgames - this is a problem with Irrlicht and how MT interfaces with it. If I knew C a little bit better I might be able to help resolve this, considering how much I complain at the plain graphics. ;)philipbenr wrote:MT could get some pretty decent perf boosts using Vulkan in Irrlicht, based on what I have seen.
- Hybrid Dog
- Member
- Posts: 2836
- Joined: Thu Nov 01, 2012 12:46
- GitHub: HybridDog
Re: Minetest and Vulkan API?
l agree, but minetest also shouldn't only use the gpu, fogleman craft (if l remember the name correctly) works liquid on pcs with new gpu but very laggy on pcs with old gpu.
Maybe in the future irrlicht decides to use e.g. opencl for calculations if it's installed correctly and works faster than using the processor. BTW: opencl already works with open source drivers (see oibaf)
Maybe in the future irrlicht decides to use e.g. opencl for calculations if it's installed correctly and works faster than using the processor. BTW: opencl already works with open source drivers (see oibaf)
Re: Minetest and Vulkan API?
Minetest is redering on 1 thread from 8 threads of my core i7 cpu. Maybe this problem is on opengl. If vulkan comes out then expect HUGE performance boost.
Blend 3d models https://www.dropbox.com/sh/eocmx6axullc ... aI9sa?dl=0
Corals mod(WIP) viewtopic.php?f=9&t=13425
Corals mod(WIP) viewtopic.php?f=9&t=13425
- Calinou
- Moderator
- Posts: 3169
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: Minetest and Vulkan API?
While Vulkan might make it more possible/easier to offload the rendering load to several CPU threads, the main purpose is to be less heavy on low-end CPUs (similar to what Mantle did, if I'm not mistaken). On high-end CPUs, the performance gain will likely be more marginal (20% to 30%).Kevin Tee wrote:Minetest is redering on 1 thread from 8 threads of my core i7 cpu. Maybe this problem is on opengl. If vulkan comes out then expect HUGE performance boost.
Re: Minetest and Vulkan API?
I have seen video of vulkan api demo on rendering gnomes. https://youtu.be/P_I8an8jXuMCalinou wrote:While Vulkan might make it more possible/easier to offload the rendering load to several CPU threads, the main purpose is to be less heavy on low-end CPUs (similar to what Mantle did, if I'm not mistaken). On high-end CPUs, the performance gain will likely be more marginal (20% to 30%).Kevin Tee wrote:Minetest is redering on 1 thread from 8 threads of my core i7 cpu. Maybe this problem is on opengl. If vulkan comes out then expect HUGE performance boost.
The demo shows that vulkan distribute cpu loads very efficiently compare to opengl. I will be quite dissapoint if minetest did not benefit much from this.
Blend 3d models https://www.dropbox.com/sh/eocmx6axullc ... aI9sa?dl=0
Corals mod(WIP) viewtopic.php?f=9&t=13425
Corals mod(WIP) viewtopic.php?f=9&t=13425
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: Minetest and Vulkan API?
I would rather see MT get optimised and use OpenCL (which is cross platform) rather than focus development on DX12 or Vulkan.
Re: Minetest and Vulkan API?
Are there anyone working on this? Is this on the road map?benrob0329 wrote:I would rather see MT get optimised and use OpenCL (which is cross platform) rather than focus development on DX12 or Vulkan.
And what is the bottle neck for mt performance? Irrelicht or mt itself?
Blend 3d models https://www.dropbox.com/sh/eocmx6axullc ... aI9sa?dl=0
Corals mod(WIP) viewtopic.php?f=9&t=13425
Corals mod(WIP) viewtopic.php?f=9&t=13425
Re: Minetest and Vulkan API?
OpenCL is an entirely different thing, it's not a graphics API, but a language to work across processors and be able to use GPU for operations that do not have to be about graphics.
Vulkan is intended to be cross platform, it's designed as the successor for OpenGL
Vulkan is intended to be cross platform, it's designed as the successor for OpenGL
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: Minetest and Vulkan API?
Is Vulkan OSS like OpenGL? If so then maybe the MT devs (and other people like me!) could make a new graphics engine! (Sparse Voxel Octrees anyone?)
Re: Minetest and Vulkan API?
Yes, it is the successor of opengl, but it is not release yet.benrob0329 wrote:Is Vulkan OSS like OpenGL? If so then maybe the MT devs (and other people like me!) could make a new graphics engine! (Sparse Voxel Octrees anyone?)
Blend 3d models https://www.dropbox.com/sh/eocmx6axullc ... aI9sa?dl=0
Corals mod(WIP) viewtopic.php?f=9&t=13425
Corals mod(WIP) viewtopic.php?f=9&t=13425
- Calinou
- Moderator
- Posts: 3169
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: Minetest and Vulkan API?
Neither Vulkan nor OpenGL are "open source". They are open-ish* standards, and are not software. Vulkan is expected for release in early 2016 (or, with some luck, in December 2015).benrob0329 wrote:Is Vulkan OSS like OpenGL? If so then maybe the MT devs (and other people like me!) could make a new graphics engine! (Sparse Voxel Octrees anyone?)
*: both OpenGL and Vulkan are pretty much developed behind closed doors. If you want to join their development, you'll probably have to sign non-disclosure agreements and such. Hence "open-ish".
Who is online
Users browsing this forum: No registered users and 8 guests