openjpeg
tracy
openjpeg | tracy | |
---|---|---|
7 | 58 | |
940 | 7,881 | |
0.5% | - | |
7.8 | 9.6 | |
1 day ago | 8 days ago | |
C | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
openjpeg
-
Can we make a guide for morons on how to install OpenEFT on a clean WSL install?
mkdir ~/install cd ~/install wget https://github.com/uclouvain/openjpeg/archive/master.zip unzip master.zip cd openjpeg-master/ mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make sudo make install sudo make clean cd
-
We're still not game, but there has been progress. A progress report.
Details here, if you like reading bug reports. It took the cooperation of developers at all four levels to fix this. I wrote a test project to reproduce the problem, the jpeg2k developer was able to reproduce the problem under valgrind (a tool for finding bad pointer references in C, seldom needed by Rust users), an OpenJPEG developer fixed the C code, and everybody in the chain updated versions. Thanks to everyone who had a part in this.
-
Live2D Is a Security Trainwreck
> The whole file is effectively a write-what-where primitive2. In addition to that, the Count Info Table is not bounds checked either...
File formats like that, with many offsets in the file, are troublesome. There used to be more formats like that. Microsoft Word .doc is the classic example.
OpenJPEG 2000 has a similar problem. I just hit that yesterday.[1] Valgrind is finding references to un-initialized data which affect control flow, and running the JPEG decoder on valid but truncated files (which is allowed) is causing bad memory reference crashes and errors.
New formats like this are rare. People have learned. A modern exception is Unreal Engine 5's Nanite has much offset data, and there may be an attack surface there for hostile game content. Nanite is a way to store a graphics mesh with both multiple levels of detail and common submeshes. It's a hierarchy of directed acyclic graphs, flattened into a linear file with offsets. And, sure enough, there are many crash reports. At least Unreal provides a validator for the format.
(If only C/C++ had slices in the language. Most of the things for which pointer arithmetic is used can be done with slices. Slices really are pointer arithmetic, with sanity.)
[1] https://github.com/uclouvain/openjpeg/issues/1459
-
We're not really game yet.
JPEG 2000 decoder crashes Trying to read files at reduced resolution crashes with memory access errors. This is jpeg2k (Rust) calling jpeg2000-sys (Rust glue to C foreign function interfaces) calling OpenJPEG (all C). The problem can now be reproduced at the C level alone, under Valgrind. The developers of the top two levels have been very helpful, but the trouble is down in the rather painful C code at the bottom. The OpenJPEG maintainers are way behind on fixes, despite being funded.
-
Is JPEG 2000 a preservation risk? (2013)
It certainly was a risk in 2013, when the open source libraries were slow and riddled with bugs. Today, there are two stable, well maintained and fast open source libraries available:
https://github.com/uclouvain/openjpeg
- What’s the best lossless image format?
tracy
- Tracy: Real-time nanosecond resolution frame profiler
-
Google/orbit – C/C++ Performance Profiler
i don't really think there is _anything_ that comes even close to tracy https://github.com/wolfpld/tracy.
on top of this, given google's penchant for dumping projects aka abandonware, this would be an easy pass.
-
Immediate Mode GUI Programming
The RemedyBG debugger (https://remedybg.handmade.network/) and the Tracy profiler (https://github.com/wolfpld/tracy) both use Dear ImGui and so far I've only read high praise from people who used those tools compared to the 'established' alternatives.
For tools like this, programmers are also just "normal users", and from the developer side, I'm sure they evaluated various alternatives with all their pros and cons before settling for Dear ImGui.
- Tracy Profiler
-
Tuning Linux for Performance
Not the person you asked, but generally you might want to look at "frame-based" profilers. These are typically used in video games, but the concept is general, and can apply to other applications. The "frame" could also be something like a request or transaction being processed. I like Tracy[1], myself.
Another latency metric that you'll see, often w/respect to web apps and microservices is "P99" and similar. This is the amount of time in which 99% of requests get their response. For a higher percentile, you get a better idea of worst-case performance.
[1] https://github.com/wolfpld/tracy
-
What is your favourite profiling tool for C++?
I've not actually used Superluminal, but I use Tracy for similar reasons. It's free though (and, importantly, open source).
-
My first game engine
For profiling, you can check tracy.
-
I got my procedural city engine / game (built from scratch in c++) running on the steam deck - does it look too garish?
You could try Tracy
-
Sharing Saturday #462
There is no such thing as overengineering in fun projects, so I've also adopted Tracy as profiling solution. Works quite nice and gonna save me plenty of times in the future debugging performance spikes on badly optimized math heavy operations.
-
Debugging and profiling embedded applications.
I know about tools such as tracing, jaeger or tracy. While having a complete tracing could be a potential solution, these tools don't work with no_std.
What are some alternatives?
grok - World's Leading Open Source JPEG 2000 Codec
optick - C++ Profiler For Games
jpeg2000-decoder - Decodes JPEG 2000 images in a subprocess, for safety
orbit - C/C++ Performance Profiler
thirdroom - Open, decentralised, immersive worlds built on Matrix
palanteer - Visual Python and C++ nanosecond profiler, logger, tests enabler
ui-mock
pprof - pprof is a tool for visualization and analysis of profiling data
jasper - Official Repository for the JasPer Image Coding Toolkit
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
neatvnc - A liberally licensed VNC server library with a clean interface
STL - MSVC's implementation of the C++ Standard Library.