apitrace
Silk.NET
apitrace | Silk.NET | |
---|---|---|
8 | 35 | |
2,535 | 3,686 | |
0.4% | 2.5% | |
7.5 | 5.2 | |
about 19 hours ago | 7 days ago | |
C++ | C# | |
MIT License | MIT 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.
Silk.NET
-
Is there a real time graphics llibrary in c#
A couple other options than what has been suggested so far: - TerraFX.Interop.Windows. Raw, blittable, 1:1 bindings for all Win32, D2D/D3D11/D3D12 APIs (there's also a version with Vulkan bindings). As close to doing #include as you can get in C#. This is my personal favorite, I use it in my own ComputeSharp library, and transitively we use it in the Microsoft Store too ๐ - Silk.NET another version of high-performance bindings, more opinionated than TerraFX and with some additional helpers to make it a bit easier to use.
-
Math Game Project
Here is an example of using "releases" in GitHub: https://github.com/dotnet/Silk.NET/releases. Most repositories use releases and releases seem like they wpuld be appropriate for your repository too.
-
Is there a way to display 3D models on a page?
I've been looking at this. Is this similar to the UrhoSharp project you talk about? https://github.com/dotnet/Silk.NET
- [WinUI] High level 2D rendering library
-
SDL2 + OpenGL in C#?
Have you looked at Silk.NET before?
-
Using .NET with low level rendering code?
Take a look at https://github.com/dotnet/Silk.NET . You should be able to use your existing rendering context with it. So you could use something like imgui (They have bindings for that) to render your UI. Or if you just start writing your rendering code, you could consider writing the whole rendering engine with it. I used it in the past for a game engine and performance is no problem for most of the usecases.
- Anybody using System.Numerics for 3D graphic applications?
- Cross-platform audio playback
- C# Game engine - suggestions
-
Why is every graphics API C# wrapper I find deprecated?
If you want something more ".NET like", check out Silk.NET instead. It's also community maintained and in the .NET Foundation, but does name remappings, friendly API overloads, and other things that make it feel more ".NET like": https://github.com/dotnet/Silk.NET
What are some alternatives?
renderdoc - RenderDoc is a stand-alone graphics debugging tool.
OpenTK - The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
reshade - A generic post-processing injector for games and video software.
Veldrid - A low-level, portable graphics library for .NET.
mesa-dist-win - Pre-built Mesa3D drivers for Windows
Vortice.Windows - .NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.
d3d8to9 - A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
SharpDX
VK-GL-CTS - Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
Interactive Data Display for WPF - Interactive Data Display for WPF is a set of controls for adding interactive visualization of dynamic data to your application. It allows to create line graphs, bubble charts, heat maps and other complex 2D plots which are very common in scientific software. Interactive Data Display for WPF integrates well with Bing Maps control to show data on a geographic map in latitude/longitude coordinates. The controls can also be operated programmatically.
gfr - Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes.
Win2D - Win2D is an easy-to-use Windows Runtime API for immediate mode 2D graphics rendering with GPU acceleration. It is available to C#, C++ and VB developers writing apps for the Windows Universal Platform (UWP). It utilizes the power of Direct2D, and integrates seamlessly with XAML and CoreWindow.