FlightlessMango
f8fa73daf2
Get logged gpu name from pci_ids instead
4 years ago
FlightlessMango
66a07d77ba
Use read_line for checking cpu sched
4 years ago
FlightlessMango
3261d12ad7
Add checking cpu scheduler
4 years ago
jackun
53cca5e723
Merge remote-tracking branch 'origin/master' into develop
4 years ago
FlightlessMango
d0c35b9587
Add detection of Damavand
4 years ago
Witold Baryluk
25f7201770
Disable lsof warnings explicitly
...
On most system lsof is compiled with warnings enabled.
This causes spam multiple times per one mangohud invocation (up to about 10 times even), like this:
```
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
Output information may be incomplete.
```
Disable warnings explicitly.
4 years ago
Witold Baryluk
c92f805c2d
Prevent infinite recursion when using Mesa zink.
...
When using zink (`MESA_LOADER_DRIVER_OVERRIDE=zink`),
running any app (OpenGL or Vulkan), will trigger running
`glxinfo`. Unsetting of `LD_PRELOAD` is not sufficient,
because if using `zink`, it will load Vulkan, and load Vulkan
implicit layer for Mangohud, using `/usr/share/vulkan/implicit_layer.d/MangoHud.json`,
which will cause it to reenter this function in another process,
causing infinite recursion (until the Vulkan driver finally errors
out with too many VkDevices / contexts created).
I have easily have seen recursion depths of 200+ until this happen,
and sometimes takes up to 2 minutes, with 2000 extra shell and `cut`
processes in the process tree.
Fix this by marking recursion entrance.
This makes glxmark start in less than 1 second, instead
about 60 seconds.
When at it us `glxinfo -B`, which is significantly faster
on zink, yet provides all information we need.
4 years ago
flightlessmango
bd71d0b5fd
Check for lsof before trying to use it
4 years ago
flightlessmango
1b44c57db5
Improved lsof for checking gamemode/vkbasalt
4 years ago
flightlessmango
05cf9fc5d6
Add gamemode and vkbasalt function
4 years ago
Alessandro Toia
c16332eddf
Less tr and grep to find driver version
4 years ago
AlexxandreFS
fa433cb798
fix: cut --output-delimiter
4 years ago
FlightlessMango
6ed47879e7
__gnu_linux__ shouldn't be caps
4 years ago
FlightlessMango
f375d94188
libgen.h not needed on win32
4 years ago
jackun
ee2933bff5
Resize fonts
4 years ago
Alessandro Toia
ef05ab2f20
Parse blacklist with parse_str_tokenize
4 years ago
Alessandro Toia
7c80dc53ef
Allow users to add a new item to the blacklist from config file
4 years ago
jackun
1e8487c991
Move color conversion to HudElements; move some overlay related functions back to overlay.cpp
4 years ago
FlightlessMango
44d5546ba5
Add param table_columns
4 years ago
flightlessmango
ce6a87823b
Merge pull request #388 from flgx16/cpu_power
...
Add cpu_power
4 years ago
FlightlessMango
e5015283a8
cellpadding_y param
4 years ago
Lukáš Horáček
3726c90c7a
Add cpu_power
4 years ago
jackun
3c75cc6c60
rm -fr whitespace around __gnu_linux__
4 years ago
FlightlessMango
cc38924997
Added graphs
4 years ago
jackun
dbfbd05ecf
Add `media_player` to HudElements
4 years ago
FlightlessMango
aebd3353ab
Move most hud elements into HudElement functions
4 years ago
flightlessmango
46a239855b
Merge pull request #380 from gort818/gradual_colors
...
Gradual colors for gpu & cpu load
4 years ago
Lukáš Horáček
06f8641363
Fix for FPS limit breaking
...
Fixes #127
4 years ago
Alessandro Toia
466fc1a008
If load is high set the defined high color
4 years ago
FlightlessMango
0a12632679
Gradual color change
4 years ago
Alessandro Toia
b75f2944a1
Add struct for gpu color change data
4 years ago
FlightlessMango
b9b20d1117
Remove render_mango as it's no longer needed
4 years ago
Alessandro Toia
c53939587a
Consolidate gpu/cpu load value config
4 years ago
Alessandro Toia
daa23d49db
Consolidate cpu load color config
4 years ago
Alessandro Toia
e1269a18ff
Consolidate gpu load color config
4 years ago
Alessandro Toia
6b71c9c6e3
Remove duplicate code
4 years ago
Alessandro Toia
1c0a5af001
Implement cpu load color change
4 years ago
Alessandro Toia
11d9c3aa97
remove param gpu_load_low as it is not needed
4 years ago
Alessandro Toia
e7db65d4cd
add function to return high/low/med, add switch for gpu load change
4 years ago
Alessandro Toia
8605d2a7dd
Add spaces
4 years ago
Alessandro Toia
d7f04deb56
Implement gpu load color change
4 years ago
Alessandro Toia
144e9a5917
Add color option to right_aligned_text
4 years ago
FlightlessMango
cb8d992bfe
Use real_font_size for padding
4 years ago
FlightlessMango
8b4df2a9a3
Put time and version inside imgui table
4 years ago
FlightlessMango
d86a05d3a0
Don't log twice if interval is 0
4 years ago
FlightlessMango
e25ffbafe0
Scale cellpadding based on font_size
4 years ago
jackun
c15133b82f
Add `checkNvidia` for nvml/xnvctrl/nvapi checks, for header cleanup
4 years ago
FlightlessMango
ab90abe4d4
De-linuxify vulkan
4 years ago
FlightlessMango
2ebb381166
Win32 d3d_shared
4 years ago
FlightlessMango
21e8d8c402
Move calc benchmark into overlay
4 years ago
FlightlessMango
c3fc0f10b0
Start separating vulkan, keybinds, overlay and font
4 years ago