Giter Site home page Giter Site logo

ripper37 / gl_vs_vk Goto Github PK

View Code? Open in Web Editor NEW
82.0 7.0 10.0 2.37 MB

Comparison of OpenGL and Vulkan API in terms of performance.

License: MIT License

C++ 94.17% Batchfile 0.34% C 1.28% GLSL 1.82% CMake 2.14% Shell 0.24%
vulkan opengl graphics benchmark comparison graphics-api performance windows linux

gl_vs_vk's Issues

ErrorOutOfDeviceMemory on RADV Vulkan driver on a Radeon HD 7950

I am experiencing a problem where I cannot run tests 1 & 2 using the vulkan-radeon driver on Arch Linux. Both tests output the same error:
Caught runtime exception during test execution!
vk::CommandBuffer::end: ErrorOutOfDeviceMemory

However this does not happen on test 3, which is showing an up to 100 fps improvement.

My Specs

CPU: Intel i5-3570k
GPU: Radeon HD 7950 Boost
Vulkan Device: AMD RADV TAHITI
OS: Arch Linux

Extras

Output of glxinfo | grep version
Output of vulkaninfo

Some windows problems

First, afaiu you are missing ../../../third_party/vulkan/src/;../../../third_party/vulkan-hpp/; from include directories.
Second, I think you should be specifying in the readme Vulkan SDK needs to be installed (for vulkan-1.lib)
Third, something requires glfw3.lib, which means you are gonna need GLFW bins too.

And last but not least, for as much on the one hand I believe I improved the thing with #4.. I'm not really sure storing binaries in source control is really the best solution.
Couldn't you just point to sources, then having compile them?
Or perhaps modify the install_msvc_dependencies script to just download end binaries.

Enhance windows install script to locate MSBuild

As @mirh noticed, install script for MSVC dependencies on Windows depends on MSBuild which isn't added by default to PATH (my mistake). It might be a good idea to rewrite it and locate MSBuild if can, or at least prompt user to do so.

See also comments in #5.

Vulkan Multithreading

Hey Damian sorry to write you here but i didn't find any other way to do it more privately.
Do you have anything on Vulkan multithreading? like a basics code or hello world except from the example from Sascha Willems. I'm trying to do something similar to your benchmark but right now i only have it on single core.

Vulkan is initialized even for GL tests

I guess it's kind of dumb given the actual scope of the project, but if I wanted to use this to make comparisons "inside" the same api, it fails on gpus with no vulkan dll

Scripted benchmarking output?

Hi, interesting project. I've played around with GL_vs_VK a bit and have only briefly looked at the code. It didn't appear implemented, so figured I'd ask, if there were any plans to make this more script-able friendly for benchmarking? Presently it doesn't appear that the test cases don't end on their own after any length of time. If there was a benchmark switch to have the test end gracefully on its own after a given amount of time/frames would be convenient as well as then dumping any frame-rate statistics to the CLI or a log file. Do you have plans to implement such or would accept patches for it? Apologies if there is, so far I've only seen the FPS displayed to the window title bar and didn't see any other options.

Thanks,
Michael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.