Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / What is Vulkan vs Classic

Author
Message
Olde Worlde Illusions
2
Years of Service
User Offline
Joined: 10th Oct 2021
Location:
Posted: 29th Nov 2021 01:06
Studio has this listed as a benefit over AppGameKit Classic:
Quote: "A new Vulkan rendering graphics engine will bring improved speed performance to your apps and will bring improved speed performance, modernization and future proofing to your apps."

What does this mean exactly?
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 29th Nov 2021 02:13 Edited at: 29th Nov 2021 02:26
in a nutshell, performance. assuming you have a Vulkan machine, run this:

on my modest laptop, i can render ~2.3M polys @ 60 FPS vs ~1.5M under OpenGL.

swap those 2 lines near the top to see for yourself:

if your machine does not support Vulkan, the app will simply close when running #Renderer "Advanced"

for more, see Vulkan & OpenGL under Core in the Studio Help docs.
Olde Worlde Illusions
2
Years of Service
User Offline
Joined: 10th Oct 2021
Location:
Posted: 29th Nov 2021 03:31
Quote: "for more, see Vulkan & OpenGL under Core in the Studio Help docs."

What is the link to the Studio edition docs? This is the only link provided on the website, and it is only for the classic edition. As I don't own Studio yet would it be possible to compile and upload an EXE, so I can test it on my machine?
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 29th Nov 2021 04:01 Edited at: 29th Nov 2021 04:41
there is no online help explicitly for studio. so, the online help is missing some studio-specific stuff.

there is the Studio User Guide available online, tho.

otherwise, tests and the #renderer help attached (they should show soon enough).

update: i compiled under Classic (attached) where the other 2 were under Studio and the Classic (OpenGL) performance is on par with Vulkan's 2.3M polys @ 60 FPS for me.

so, i can't say THAT's a selling point for Studio IMHO.

Attachments

Login to view attachments
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 29th Nov 2021 09:03
Hi
@VirtualNomad :
With your Vulkan_test.exe, I have : 1.8M polys @60 fps (approx).
With your OpenGL.exe (compiled with studio I think), I have : 1.17M @ 60fps.
Compile the code with classic : between 1.17M and 1.2M polys @ 60Fps

So a very good point for studio and vulkan I guess (+30% perf)
But For opengl, it seems there is no real improvements in OpenGL (classic seems a little better in this test).
AGK2 tier1 - http://www.dracaena-studio.com
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 29th Nov 2021 18:54
I have also run through the benchmark. My results do not look quite as positive.
The Vulkan renderer brought me to 5.34M polys @60 FPS with the latest drivers.
The OpenGL surprisingly brought 7.96M polys @60 FPS. That is about 49% faster than Vulkan.
The Classic version less than the Studio OpenGL but more than Vulkan. 6.85M polys @60 FPS.



Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 1st Dec 2021 03:23
my game I add

SetVSync(2)
#renderer "Advanced"

In AppGameKit Studio I get 60 frames per sec
In AppGameKit classic I get 30 frames per sec


In appgamekit classic it is trying to stay at 30 and sometimes runs slower then this.

In appgamekit Studio it stays at 60 no matter what.
SFSW
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 1st Dec 2021 22:09
As has been discussed previously, the benefits of Vulkan will generally only manifest under conditions that are better for it. It can indeed render basic raw meshes faster under many scenarios, but for more pronounced differences, you'll likely need a hardware configuration optimized for Vulkan and a broader use of shaders/effects. In general, newer hardware with more graphically intensive code and effects will tend to perform significantly better with Vulkan. On older hardware and/or with more basic rendering, mileage may vary. The biggest difference I ran into was nearly 200% faster in Vulkan with test projects. The smallest benefit was around 5% on old hardware. With something like the above test code on certain hardware configurations, OpenGL may prove faster.
Pfaber1
6
Years of Service
User Offline
Joined: 7th Jan 2018
Location: England
Posted: 11th Dec 2021 14:02
I use Vulkan and the graphics are smoother and faster . I am using prefer best since having AppGameKit studio and a laptop that supports it . Good Day

Login to post a reply

Server time is: 2024-04-20 12:54:49
Your offset time is: 2024-04-20 12:54:49