Commit Graph

1962 Commits

Author SHA1 Message Date
Faalagorn
5d075b469b
Add missing parameters to MangoHud.conf
Adds missing parameters from #95 as well as `arch` parameter in develop branch
2020-03-29 15:47:31 +02:00
jackun
5afbe10005
[OpenGL] Restore ImGui's context to previously saved one, duh 2020-03-29 01:54:57 +02:00
jackun
6eb2c9bc09
[OpenGL] Explicitly set ImGui's context and treat global context as foreign
Apps might be using Dear ImGui so keep our stuff separate from theirs.

Issue #107
2020-03-29 01:47:24 +02:00
jackun
f5e3f3b73b
[config] Add MANGOHUD_CONFIGFILE envvar for specific configuration file
Issue #104
2020-03-29 00:05:52 +02:00
jackun
f8cc3bbf06
[config] Allow fps_limit=0 or commenting it out to disable fps limit 2020-03-28 23:38:33 +02:00
jackun
49742e1cea
[config] Load config changes to local copy of overlay_params so it does not block rendering thread while parsing 2020-03-28 23:32:58 +02:00
FlightlessMango
0d53d7d39d Fixed typo in nvctrl 2020-03-28 14:39:41 +01:00
FlightlessMango
85291d25ef Added warning messages for nvctrl 2020-03-28 14:28:12 +01:00
Lionel Landwerlin
1fc94600e9
vulkan/overlay: Add a workaround semaphore for application presenting without one
When an application calls vkQueuePresent() on a different queue than
the one we run our drawing on and it doesn't give a semaphore to wait
on, let's insert our own semaphore so that we don't race the
application's drawing.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2540
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3893>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3893>
2020-03-27 02:24:54 +02:00
jackun
32ae051434
Add Bethesda launcher to blacklist 2020-03-25 22:51:21 +02:00
Sporif
c24d9015cd
Blacklist support
Initial blacklist: Battle.net.exe, EpicGamesLauncher.exe, IGOProxy.exe, IGOProxy64.exe, Origin.exe, Steam.exe

Signed-off-by: jackun <jack.un@gmail.com>
2020-03-25 17:11:33 +02:00
jackun
25b0adfbf9
Move Wine exe name code from config.cpp to get_wine_exe_name(...) 2020-03-25 17:11:29 +02:00
jackun
cf17f70dab
Remove unused statistics related code 2020-03-24 21:38:08 +02:00
jackun
d3f895cbef
[config] keep pthread_t pointers in notify_thread struct for MT safety 2020-03-24 00:51:30 +02:00
jackun
1b192c4910
[config] join notifier thread just to be sure 2020-03-24 00:10:03 +02:00
jackun
e72a7bdd76
[config] Try to set notifier file descriptor to non-blocking mode; add start/stop_notifier functions
If setting to non-blocking fails, just closing the fd should kill it anyway
2020-03-24 00:02:42 +02:00
jackun
841d76c6af
Quit config watcher thread if it fails to init and clean up 2020-03-23 23:22:22 +02:00
jackun
82243bf115
Use more general sizeof to get arch "bitness" 2020-03-23 23:22:22 +02:00
jackun
2ab386d70a
Fix double definition 2020-03-23 21:19:03 +02:00
flightlessmango
a5f691284d
Merge pull request #95 from Faalagorn/patch-1
Updated ManogoHud.conf with the recent values
2020-03-23 20:12:59 +01:00
FlightlessMango
a84f5ef178 Show mangohud arch in hud 2020-03-23 20:12:11 +01:00
FlightlessMango
43d5bac40d Set MANGOHUD_ARCH in meson 2020-03-23 20:12:02 +01:00
FlightlessMango
23adda92b7 Added param 'arch' 2020-03-23 20:11:53 +01:00
jackun
52382834d5
Added nvctrl build dep for Fedora/openSUSE 2020-03-23 20:07:17 +02:00
FlightlessMango
f2e11d5cb0 Added nvctrl build dep for arch based 2020-03-23 18:28:52 +01:00
FlightlessMango
994f6bd188 Added nvctrl build dep for ubuntu family 2020-03-23 18:28:06 +01:00
FlightlessMango
c9558eec50 Merge branch 'xnvctrl' into develop 2020-03-23 18:05:13 +01:00
Faalagorn
f25b0dbea9
Updated ManogoHud.conf color usage 2020-03-23 18:02:48 +01:00
jackun
ae3a155e22
Keep engine name per vulkan instance 2020-03-23 18:59:39 +02:00
flightlessmango
e1d4843e1e
Merge pull request #99 from gasinvein/flatpak-id-change
Change flatpak ID in readme
2020-03-23 14:18:43 +01:00
gasinvein
4627c59f22 Change flatpak ID in readme 2020-03-23 16:11:20 +03:00
jackun
9722e101ac
[build.sh] exit script on error 2020-03-23 12:59:09 +02:00
jackun
053a07d83c
[OpenGL] Don't set display size to scissor box if its size is just 1 by 1 2020-03-23 01:26:40 +02:00
Faalagorn
76bb50bd01
Updated ManogoHud.conf with the recent values
Fixes #92
2020-03-22 21:08:05 +01:00
jackun
ab9c9ea7ea
Meson recommends using 'threads' dependency instead of 'pthread' 2020-03-22 02:44:17 +02:00
jackun
f92a2a07db
GiB not GB 2020-03-21 21:47:50 +02:00
Newbyte
634adb4b3e
build.sh: Improve usage message (#93)
* Improve usage message
2020-03-21 16:17:34 +02:00
jackun
26d770d2bb
Merge branch 'master' into develop 2020-03-21 15:19:54 +02:00
jackun
a579be8c9c
[installer] tar -h may still delete symlinks 2020-03-21 15:16:52 +02:00
jackun
fbae1dfcc0
More checks for XNVCtrl support. Favor NVML but fallback to XNVCtrl if supported. 2020-03-20 16:36:00 +02:00
jackun
b059fa26bc
xnvctrl: parse tokenized attributes 2020-03-20 15:26:37 +02:00
jackun
c16f4b4275
try_stoi: spam in debug build only 2020-03-20 15:25:45 +02:00
FlightlessMango
79add746b5 Removed debugging messages 2020-03-20 13:23:39 +01:00
FlightlessMango
f2b770abac Use XNVCTRLQueryTargetAttribute64 instead 2020-03-20 13:23:24 +01:00
FlightlessMango
2c979e52e6 Set nvmlSuccess to false if NVML gpu load is unsupported 2020-03-20 13:06:24 +01:00
FlightlessMango
e7b5a18d87 If NVML fails fallback to NVctrl 2020-03-20 12:54:54 +01:00
FlightlessMango
f81af99ee5 NVCtrl meson build 2020-03-20 12:54:20 +01:00
FlightlessMango
aaaf30b807 NVctrl fetching 2020-03-20 12:54:08 +01:00
FlightlessMango
8ee0ec2c3f NVCtrl loader 2020-03-20 12:53:43 +01:00
jackun
f1c8acdb0f
elfhacks: check UINTPTR_MAX size of architecture bitness instead 2020-03-19 18:10:25 +02:00