https://github.com/tranarchy/simpleoverlay
OpenGL performance overlay for Linux, macOS and *BSD
https://github.com/tranarchy/simpleoverlay
benchmark bsd cgl dragonflybsd egl freebsd glx linux macos netbsd openbsd opengl overlay
Last synced: 16 days ago
JSON representation
OpenGL performance overlay for Linux, macOS and *BSD
- Host: GitHub
- URL: https://github.com/tranarchy/simpleoverlay
- Owner: tranarchy
- License: gpl-3.0
- Created: 2025-08-29T14:52:08.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-09-12T23:58:55.000Z (24 days ago)
- Last Synced: 2025-09-13T00:24:57.777Z (24 days ago)
- Topics: benchmark, bsd, cgl, dragonflybsd, egl, freebsd, glx, linux, macos, netbsd, openbsd, opengl, overlay
- Language: C
- Homepage:
- Size: 198 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simpleoverlay
![]()
![]()
![]()
![]()
OpenGL performance overlay for Linux, macOS, *BSD and Illumos
## Key features
- only build-time dependency is a C99 compliant compiler
- supports legacy OpenGL (1.1), making it compatible with a wide variety of old GPUs
- made with cross-platform support in mind, currently works on 7 different operating systems## Configuration
simpleoverlay can be configured with the following environment variables
- SCALE
- HORIZONTAL_POS
- VERTICAL_POS
- BG_COLOR
- KEY_COLOR
- VALUE_COLOR
- METRICS
- NO_GRAPH
- FPS_ONLYYou can modify them in the `simpleoverlay` wrapper file
## Installing
```
git clone https://github.com/tranarchy/simpleoverlay
cd simpleoverlay
./build.sh
sudo ./build.sh install
```## 32-bit support
For 32-bit game support (such as HL2) you will need to run
```
./build.sh multilib
sudo ./build.sh install_multilib
```You will need a compiler that can compile for 32-bit, on Linux you can install `gcc-multilib`
You will also need to uncomment the line in `simpleoverlay` that adds the 32-bit file to LD_PRELOAD
## Usage
```
simpleoverlay glxgears
```For Steam games
```
simpleoverlay %command%
```## FreeBSD
To get CPU temp on FreeBSD you need to load either coretemp (for Intel) or amdtemp (for AMD)
```
sysrc -f /etc/rc.conf kld_list+=coretemp
service kld restart
```
> [!NOTE]
> Currently GPU information is limited to AMD, NVIDIA and Apple GPUs