apitrace
bgfx
apitrace | bgfx | |
---|---|---|
8 | 71 | |
2,535 | 14,323 | |
0.7% | - | |
7.5 | 9.3 | |
about 20 hours ago | 1 day ago | |
C++ | C++ | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apitrace
- Apitrace – trace and replay OpenGL, Direct3D, and DirectDraw APIs calls
-
Wrong result when using OpenGL for GPGPU computing
You have several tools, this can be done by printing debug messages using extensions such as KHR_debug, or using specific tools which will inject themselves between your OpenGL calls and your driver such as apitrace or RenderDoc. I recommend running your program in RenderDoc regularly even if everything seems to work fine as it may help you catch some subtle bugs.
-
Benchmark and optimization
That said, the profiling situation for non-NV users is not completely hopeless. You can still use API timer queries to get an idea of how long events take on the device. Tracy also supports GPU profiling, but I suspect it's just a fancy way of inserting timer queries. apitrace also claims to support profiling OpenGL apps, but I'd be wary of overhead as it's doing a lot of other things besides profiling.
- Opengl invalid operation error on glBindTexture (opengl 3.3 core)
-
Total War: Shogun 2 native version by Feral Interactive crashes instantly, gives a weird error
At first I thought Feral probably used it accidentally, but this thread about the symbol's use in apitrace seems to shed some light:
-
Help with SkiaSharp rendering in an AvaloniaUI control
I don't see anything wrong with your code, altough I'm not familiar with Avalonia or Silk. I suggest you try to use apitrace for (a probably long and painful day) debugging it.
-
Godot crashes whenever I make an OpenGL 3.0 project
I get that it's hard to debug without direct access, but isn't there some dump or log that they could generate and provide? Maybe something like using apitrace?
-
Looking for help reporting a mesa bug with the game Indivisible
Pierre-Eric Pelloux-Prayer @pepp · 6 months ago Developer https://github.com/apitrace/apitrace/blob/master/docs/USAGE.markdown is the basic doc. For Steam games I usually go to the game's folder (probably $HOME/.steam/steam/steamapps/common/Indivisible) and try to run the game with apitrace (apitrace trace indivisible-executable). It should print a line to indicate where the trace file is written to (apitrace: tracing to somefile.trace.
bgfx
- WebKit Switching to Skia for 2D Graphics Rendering
-
Is it possible and realistic to learn independent of an API?
Sort of, I'd recommend a modern higher level API. I'm not sure what the current recommended ones are (probably bgfx), but assuming the wrapper is "low level enough", then the concepts you learn are still going to apply.
-
Ask HN: Released games built on FOSS engines?
https://github.com/bkaradzic/bgfx for just that FOSS intermediate rendering library (includes Minecraft)
- Valve Says Counter-Strike 2 for macOS Not Happening, There Aren't Enough Players
-
The Ultimate Cross-Platform Rendering Engine?
BGFX: Pretty mature and easy to use with many backends.
- Cairo – Open-Source 2D Graphics Layer/API with Fonts and Many Back-Ends
-
Best graphics libraries for game development that are compatible with Apple Metal API?
bgfx. I have not used it, but I have heard good things about it.
-
LWJGL = SFML vs Allegro vs SDL vs Ogre vs ???
There's kind of a lack of this for C++ in 3D, I think it's often due to the necessity of a secondary scripting language in game engines with C++, which isn't necessarily needed in Java or C#. SFML is like that (but also 2D), Godot is similar (but more geared towards 2D). Ogre3D is an actual engine like I mentioned earlier, not sure how easy it is to use. Cocos2d is higher level, but is also 2D only. I'm not fond of SDL, it feels like a windowing library with slow old school immediate mode stuff attached, so it ends up not being good at the rest of the tacked on things. SDL is popular as a windowing library, and it's why you see it used everywhere (but the most notable uses of it aren't using their drawing capabilities), I often see bgfx thrown around, and for you it might be a good choice, though I have no experience with it.
-
Is it a crazy idea to create a 3D operating system?
Another route could be using an abstraction over Vulkan (faster, more efficient, more difficult): bgfx, dawn, magma, or wgpu (Rust).
-
The update we all want but will never get
now, java is actually quite a performant language and even if its not most of the performance bugs in mc are due to it being single threaded, inefficient chunk generation and optimizing, and it built ontop of opengl WHICH isn't much of a performance hit but its still ehh idk it doesn't matter that much (NOW SWITCHING THE GAME TO AN ENTIRELY DIFFERENT GRAPHICS API WOULD SUCK ASS TO DO (and vulkan is quite verbose :))) (AND also bgfx would probably be better due to it being an abstraction layer ontop of all the graphics apis so minecraft could target many depending on your platform (and also bedrock used to (or still does i dont know) use bgfx before they switched to just two (IF IM READING MC WIKI RIGHT BECAUSE IM NOT ENTIRELY SURE IF THEY USE BGFX STILL ?? SO THEY COULD STILL BE TARGETING MULTIPLE YET THEY JUST WROTE THEIR NEW SHIT BAD IDK))
What are some alternatives?
renderdoc - RenderDoc is a stand-alone graphics debugging tool.
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
reshade - A generic post-processing injector for games and video software.
DiligentEngine - A modern cross-platform low-level graphics library and rendering framework
mesa-dist-win - Pre-built Mesa3D drivers for Windows
magnum - Lightweight and modular C++11 graphics middleware for games and data visualization
d3d8to9 - A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)
VK-GL-CTS - Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
sokol - minimal cross-platform standalone C headers
gfr - Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes.
The-Forge - The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2