flightlessmango
c3e5fc7496
ifdef linux for battery stuff
2021-03-16 10:07:25 +01:00
FlightlessMango
1649c7f794
Run start_logging for autostart in vulkan init
2021-03-16 09:58:22 +01:00
FlightlessMango
0f83d4eb7d
Add governor/sync/scheduler and battery watt to log
2021-03-16 09:55:12 +01:00
FlightlessMango
0cf4467f6c
Assume native if no wine version
2021-03-16 09:53:05 +01:00
FlightlessMango
0485e03dbc
Check cpu scheduler
2021-03-16 09:52:39 +01:00
FlightlessMango
8ffdeb8ce1
Check cpu governor
2021-03-16 09:52:13 +01:00
FlightlessMango
51b0939a80
Check battery info
2021-03-16 09:50:07 +01:00
FlightlessMango
e32934ee40
Attempt to check sync
2021-03-16 09:49:30 +01:00
FlightlessMango
cc83f2878e
Try to guess mesa version
2021-02-14 18:18:04 +01:00
FlightlessMango
76fb1ec3cb
Remove lsof as dependency
2021-02-14 18:14:42 +01:00
FlightlessMango
e13e98e03a
Fixed debug output of gpu name
2021-02-12 16:04:48 +01:00
FlightlessMango
f8fa73daf2
Get logged gpu name from pci_ids instead
2021-02-12 15:00:01 +01:00
FlightlessMango
66a07d77ba
Use read_line for checking cpu sched
2021-02-10 10:39:53 +01:00
FlightlessMango
3261d12ad7
Add checking cpu scheduler
2021-02-10 09:16:51 +01:00
FlightlessMango
1a8689fbba
Add gpu power to logs
2021-02-07 07:18:54 +01:00
flightlessmango
af57e0cb2d
Merge pull request #445 from stephanlachnit/p/build-source-rework
...
imgui wrap from WrapDB and build-source.sh rework
2021-02-04 19:45:15 +01:00
jackun
41034b1089
[OpenGL] Return -1 instead for glXSwapBuffersMscOML if it is null
2021-02-03 19:01:31 +02:00
jackun
439ff716c2
[OpenGL] Some nullptr guards
...
Maybe helps issue #355
2021-02-03 18:52:53 +02:00
flightlessmango
206c55ef2e
Bump version to v0.6.2
2021-02-03 16:16:56 +01:00
flightlessmango
73b7c58724
Clean subprojects in build.sh clean
2021-02-03 11:36:27 +01:00
Stephan Lachnit
b0ee2f749c
imgui wrap from Wrap DB and build-source.sh rework
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2021-02-03 11:13:52 +01:00
jackun
a27984f343
Delete unused shell scripts
2021-02-03 10:37:32 +02:00
jackun
53cca5e723
Merge remote-tracking branch 'origin/master' into develop
2021-02-03 10:37:01 +02:00
freddii
2bbb7174e3
fixed typos
2021-02-03 09:24:40 +02:00
FlightlessMango
48cf66630b
Detect WineD3D
2021-02-01 16:24:55 +01:00
FlightlessMango
d0c35b9587
Add detection of Damavand
2021-02-01 16:06:25 +01:00
FlightlessMango
abe45c7485
Check log stream before writing
2021-02-01 09:46:33 +01:00
jackun
ae410f01e7
Re-init cpu stats if core count changes; fix off-by one error
...
Helps with #438
2021-01-30 15:50:02 +02:00
jackun
6ad9791ceb
Deduplicate code for find_*_input
functions
2021-01-30 14:52:07 +02:00
jackun
0fbbf00fe2
[OpenGL] Load libEGL.so.1 and use eglGetProcAddress to get EGL procs
2021-01-26 10:26:44 +02:00
Witold Baryluk
d4b8f5f519
Search whole PATH for glslangValidator from system
...
This is more robust and correct way do to it.
2021-01-24 13:13:06 +02:00
jackun
18650c3c70
Add --dlsym
2021-01-22 08:47:07 +02:00
flightlessmango
2fe9808f69
Merge pull request #433 from baryluk/programname
...
Improve code for program name extraction
2021-01-20 09:58:10 +01:00
flightlessmango
d183a4589d
Merge pull request #460 from baryluk/patch-3
...
Disable lsof warnings explicitly
2021-01-13 21:00:40 +01:00
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.
2021-01-13 19:17:34 +00:00
flightlessmango
8aa299630c
Disable by default some vulkan layers that cause issues
2021-01-11 12:27:52 +01:00
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.
2021-01-10 00:33:44 +02:00
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.
2021-01-08 12:09:48 +02:00
flightlessmango
185941a857
Fix some warnings
2021-01-07 13:54:49 +01:00
flightlessmango
fc8eeaf0dc
Lingering TableNextCell
2021-01-07 13:29:49 +01:00
flightlessmango
8d7823b132
Merge pull request #446 from aidanharris/meson-explicitly-check-for-mako
...
Explicitly test for the mako python module
2021-01-05 23:44:47 +01:00
flightlessmango
e57be394d7
Merge pull request #428 from flgx16/swap
...
Add swap
2021-01-05 23:40:43 +01:00
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.
2020-12-27 20:58:55 +00:00
jackun
4862d83b60
Make add_blacklist
const&
...
Might be optimized by compiler already but who knows.
2020-12-26 22:55:39 +02:00
jackun
72f1ec094c
Don't continue parsing configs if process is blacklisted
2020-12-26 22:36:30 +02:00
FlightlessMango
90ce1c5778
ImGui wrap
2020-12-18 16:14:05 +01:00
FlightlessMango
0162fb913c
Always try to update exec's
2020-12-16 03:43:14 +01:00
Alessandro Toia
2c99138374
Remove custom_text_center from legacy and trailing spaces
2020-12-15 15:49:57 -08:00
flightlessmango
bd71d0b5fd
Check for lsof before trying to use it
2020-12-14 22:13:29 +01:00
flightlessmango
1b44c57db5
Improved lsof for checking gamemode/vkbasalt
2020-12-14 20:30:52 +01:00