Stephan Lachnit
4a43896d99
imgui 1.81
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
Lukáš Horáček
8f3ecb81df
Divide IO stats by time difference since last update
...
This should prevent IO stats reaching high numbers when application stops responding resulting into MangoHud not updating.
4 years ago
jackun
30cdc912a8
Rework blending equation to preserve alpha in output buffer
...
bda12e5fdd
4 years ago
jackun
118c54072f
[OpenGL] Disable primitive restart
4 years ago
jackun
8e7564ab1a
[OpenGL] Disable stencil test
4 years ago
jackun
bdd87f5eff
Use SetTexID instead
4 years ago
jackun
76b571bc11
[OpenGL] Fix glClipControl(GL_UPPER_LEFT) rendering
4 years ago
Managor
bc2d5556d7
Update README.md
...
Minor typo correction
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
jackun
3e77dd6e0b
[OpenGL] Add eglSwapBuffers to hook list
4 years ago
jackun
6769ae96fa
[OpenGL] Explicitly include dlfcn.h
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
FlightlessMango
1a8689fbba
Add gpu power to logs
4 years ago
flightlessmango
af57e0cb2d
Merge pull request #445 from stephanlachnit/p/build-source-rework
...
imgui wrap from WrapDB and build-source.sh rework
4 years ago
jackun
41034b1089
[OpenGL] Return -1 instead for glXSwapBuffersMscOML if it is null
4 years ago
jackun
439ff716c2
[OpenGL] Some nullptr guards
...
Maybe helps issue #355
4 years ago
flightlessmango
206c55ef2e
Bump version to v0.6.2
4 years ago
flightlessmango
73b7c58724
Clean subprojects in build.sh clean
4 years ago
Stephan Lachnit
b0ee2f749c
imgui wrap from Wrap DB and build-source.sh rework
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun
a27984f343
Delete unused shell scripts
4 years ago
jackun
53cca5e723
Merge remote-tracking branch 'origin/master' into develop
4 years ago
freddii
2bbb7174e3
fixed typos
4 years ago
FlightlessMango
48cf66630b
Detect WineD3D
4 years ago
FlightlessMango
d0c35b9587
Add detection of Damavand
4 years ago
FlightlessMango
abe45c7485
Check log stream before writing
4 years ago
jackun
ae410f01e7
Re-init cpu stats if core count changes; fix off-by one error
...
Helps with #438
4 years ago
jackun
6ad9791ceb
Deduplicate code for `find_*_input` functions
4 years ago
jackun
0fbbf00fe2
[OpenGL] Load libEGL.so.1 and use eglGetProcAddress to get EGL procs
4 years ago
Witold Baryluk
d4b8f5f519
Search whole PATH for glslangValidator from system
...
This is more robust and correct way do to it.
4 years ago
jackun
18650c3c70
Add `--dlsym`
4 years ago
flightlessmango
2fe9808f69
Merge pull request #433 from baryluk/programname
...
Improve code for program name extraction
4 years ago
flightlessmango
d183a4589d
Merge pull request #460 from baryluk/patch-3
...
Disable lsof warnings explicitly
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
flightlessmango
8aa299630c
Disable by default some vulkan layers that cause issues
4 years ago
jackun
19ef4f3df0
[dbus] re-init active player so `media_player_name` changes take effect
...
Might be good to check if player name actually changed though.
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
185941a857
Fix some warnings
4 years ago
flightlessmango
fc8eeaf0dc
Lingering TableNextCell
4 years ago
flightlessmango
8d7823b132
Merge pull request #446 from aidanharris/meson-explicitly-check-for-mako
...
Explicitly test for the mako python module
4 years ago
flightlessmango
e57be394d7
Merge pull request #428 from flgx16/swap
...
Add swap
4 years ago
Aidan Harris
0a29c7369a
Explicitly test for the mako python module
...
Some distros (Gentoo) support multiple versions of python3 and mako may
not be built for all of the implementations. Testing for the module
early will make sure meson bails out if the module cannot be
found.
4 years ago
jackun
4862d83b60
Make `add_blacklist` const&
...
Might be optimized by compiler already but who knows.
4 years ago