Commit Graph

963 Commits

Author SHA1 Message Date
jackun
6f176a3f3b
Fix cpu usage formatting (float parsed as int) 2020-08-12 22:50:49 +03:00
jackun
c75232389b
A little more "atomic" cpu temp update for hud renderer; whitespace 2020-08-11 21:47:49 +03:00
FlightlessMango
759c4aeed1 No need to 0 cpu temp every tick 2020-08-11 20:40:18 +02:00
FlightlessMango
ce80203ee6 Minimal hud for recording 2020-08-09 08:39:49 +02:00
jackun
b1dc9b2ca7
[build.sh] "Refreshen" build dirs before install
Running `sudo ninja install` isn't ideal but for convenience do it anyway.
Re-run `build` before install to somewhat mitigate files getting "chowned" by root.
2020-08-05 11:56:51 +03:00
jackun
fcefc07966
Load libnvidia-ml and libXNVCtrl on demand 2020-08-04 21:43:09 +03:00
jackun
24b731f78c
Add --dlsym option 2020-08-04 20:50:38 +03:00
jackun
a16a5fd907
[build.sh] Utilize ninja uninstall 2020-08-04 20:13:57 +03:00
jackun
a173989b1c
Make build.sh compatible with \$LIB 2020-08-04 19:51:00 +03:00
Stephan Lachnit
d712d35aaf
simplify cross arch preloading
This commit does a couple of things. In the mangohud launch script, the library will be found using $LIB with ld, so the correct path is selected depending on the cpu arch. The same is done for mangohud.json (vulkan layer). In addition some now unused files have been deleted.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-08-04 18:36:16 +03:00
jackun
6ee225ed66
Clear cpu temp hwmon path if no supported sensor is found 2020-08-03 20:37:32 +03:00
flightlessmango
5f51f3f1ed
Merge pull request #281 from m-rzb/master
Update build.sh
2020-08-02 06:36:07 +00:00
FlightlessMango
a06e01c7ef Merge branch 'develop' 2020-08-02 08:28:24 +02:00
FlightlessMango
27df2ef24b Merge branch 'benchmark-percentages' 2020-08-02 08:25:31 +02:00
FlightlessMango
4fd1c5f3e7 Fixed some basic errors 2020-08-02 08:25:04 +02:00
FlightlessMango
9445ab4acc Warning that permit_upload = 0 2020-08-02 01:19:25 +02:00
FlightlessMango
6a443f35ac Upload multiple logs 2020-08-02 01:10:21 +02:00
jackun
b07db5d3ef
[dbus] Don't clear metadata when reloading config file 2020-07-31 23:05:50 +03:00
jackun
fc62624b7b
Recalculate right alignment offset if font scale changes 2020-07-31 22:51:55 +03:00
FlightlessMango
107526198e [Build.sh] Updated glslang link for *buntu 2020-07-27 16:24:14 +02:00
jackun
05551a4049
build.sh: pass arguments to functions 2020-07-25 19:40:15 +03:00
Stephan Lachnit
1f41652061 add a man page for mangohud
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-07-25 19:39:21 +03:00
flightlessmango
c046c250d8
Merge branch 'develop' into benchmark-percentages 2020-07-23 11:16:59 +00:00
jackun
5ce6bcb79c
Set target frametime only if fps_limit > 0 2020-07-17 01:14:09 +03:00
jackun
55430d7571
Initialized fps limiter or wait for 300 years 2020-07-17 00:41:09 +03:00
jackun
42208d1145
README.md: update media_player_name 2020-07-16 14:35:34 +03:00
jackun
bb50e6a637
[dbus] Use "xesam:url" to force metadata update
If file has no other metadata, clear old metadata by using
"xesam:url" to detect new file being played.
2020-07-16 14:24:03 +03:00
jackun
f74b4bccd9
[dbus] always update metadata if no forced player
Otherwise it stays in "paused" state if resuming play.
2020-07-16 14:22:00 +03:00
jackun
d581a9ce2b
Merge pull request #264 from larskraemer/media_player_autodetect
Media Player autodetect
2020-07-16 14:02:32 +03:00
jackun
da4b6a291d
build.sh: add fedora dbus-devel
Issue #263
2020-07-13 13:35:25 +03:00
jackun
4e3cbca64f
Update Dear ImGui 2020-07-09 01:03:10 +03:00
Stephan Lachnit
acf2d88fbc Import Dear ImGui files as subproject
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-07-09 00:55:10 +03:00
Lars Krämer
a393c05829 Fix auto-switching bug
Debug output under ifdef NDEBUG
2020-07-07 01:29:37 +02:00
Lars Krämer
6dd08c89bc Use fallback only if no player was requested;
Request no player by default
2020-07-07 01:29:37 +02:00
Lars Krämer
9a34b55498 Move interactions with main_metadata into separate functions
More tidying up of the helper classes
2020-07-07 01:29:35 +02:00
Lars Krämer
7cc76142f1 Tidy up DBus helper classes
make sure metadata is up-tp-date when switching players (WIP)
2020-07-07 01:28:04 +02:00
Lars Krämer
72b86b4371 Fix some weird behaviour with non-spotify media players
Add DBusMessage_wrap to wrap/hide some dbus_message_* calls
2020-07-07 01:28:04 +02:00
Lars Krämer
6484e09f01 Implement wrapper class for DBusMessageIter
Implement for_each-style helpers for common constructions
Reimplement most of the DBus message parsing in terms of these
2020-07-07 01:28:04 +02:00
Lars Krämer
4bf7a3f2f0 Make DBus signal handling more event-based 2020-07-07 01:28:04 +02:00
Lars Krämer
5850643db4 Change the media player functionality to allow changing active media
player
2020-07-07 01:27:46 +02:00
larskraemer
a28931ef6b
General cleanup (#272)
* Cleanup unused struct fields, use uniform include guards
2020-07-06 20:31:40 +03:00
flightlessmango
eafa62356b
Merge branch 'develop' into benchmark-percentages 2020-06-30 04:39:08 +02:00
jackun
8eba5e2ed2
[OpenGL] Use GL_R8 for font textures
Randomly getting squares with GL_ALPHA for some reason
2020-06-30 02:06:01 +03:00
jackun
b47315642f
Update README.md
What needs to be disable explicitly and about `full`
2020-06-29 22:24:08 +03:00
Newbyte
53ceeb3182 Document reinstall in usage help 2020-06-29 17:50:45 +03:00
jackun
85a1eef453
Merge pull request #247 from larskraemer/logging_class
Move logging functionality into a class
2020-06-29 17:46:07 +03:00
Lars Krämer
0b29a7ea06 Remove conflict in render_imgui 2020-06-29 16:43:25 +02:00
Lars Krämer
329725c134 Move Log uploading; Cleanup 2020-06-29 16:33:21 +02:00
Lars Krämer
4101237fdd Move logging functionality into a class 2020-06-29 16:33:17 +02:00
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK 2020-06-29 17:30:45 +03:00