FlightlessMango
fe5aca0ed3
Basic control implementation with hud toggle
3 years ago
FlightlessMango
2e5fc31711
use vulkan to determine if zink
3 years ago
jackun
34f964eab9
Use aligned buffer size with vkMapMemory too
4 years ago
Alessandro Toia
856c333e09
Fix wine param not properly detecting proton experimental
4 years ago
Alessandro Toia
272b035ca8
Fix wine param not detecting proton experimental
4 years ago
jackun
30cdc912a8
Rework blending equation to preserve alpha in output buffer
...
bda12e5fdd
4 years ago
jackun
bdd87f5eff
Use SetTexID instead
4 years ago
jackun
6c737dc734
Round up buffer allocation sizes to `nonCoherentAtomSize`.
...
For some Vega APUs. Or don't use VK_WHOLE_SIZE?
4 years ago
jackun
f77a73ce8a
Fix scoped_lock clash with >= c++17
4 years ago
FlightlessMango
6286313478
MSVC building fixes
4 years ago
jackun
8b2255b35c
Fix crash on destroying NULL swapchain
...
Vulkan spec allows calling vkDestroySwapchainKHR with VK_NULL_HANDLE swapchain.
mesa MR#5616
4 years ago
FlightlessMango
cc83f2878e
Try to guess mesa version
4 years ago
FlightlessMango
76fb1ec3cb
Remove lsof as dependency
4 years ago
FlightlessMango
e13e98e03a
Fixed debug output of gpu name
4 years ago
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