Commit Graph

324 Commits

Author SHA1 Message Date
jackun
a0a57038c1
Fix redefinition of 'open'
musl pulls in fcntl.h from somewhere
2021-06-03 09:55:33 +03:00
Alessandro Toia
a533883a39 Check if there are battieres before attempting to retrieve stats 2021-05-27 15:40:33 -07:00
Alessandro Toia
552a85aaaa Only update battery stats if a battery is present 2021-05-27 15:40:33 -07:00
FlightlessMango
a90c897feb Check battery info 2021-05-27 15:40:33 -07:00
jackun
f77a73ce8a
Fix scoped_lock clash with >= c++17 2021-03-02 13:01:04 +02:00
FlightlessMango
6286313478 MSVC building fixes 2021-02-20 11:58:11 +01:00
FlightlessMango
1a8689fbba Add gpu power to logs 2021-02-07 07:18:54 +01:00
flightlessmango
e57be394d7
Merge pull request #428 from flgx16/swap
Add swap
2021-01-05 23:40:43 +01: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
flightlessmango
214bb83d40 Moved update_exec() into a thread 2020-12-14 20:21:33 +01:00
FlightlessMango
c54f8bec5d Hud elements exec function 2020-12-14 06:54:29 +01:00
Lukáš Horáček
f11a49ae8b
Add swap 2020-12-13 11:07:17 +01:00
Alessandro Toia
c479694735 Use SetCursorPosX() instead of SameLine() to center text 2020-12-07 18:35:08 -08:00
Alessandro Toia
b77517501c Add new param custom_header 2020-12-07 18:35:08 -08:00
Alessandro Toia
8e873fe547 Remove more "not" and "and" in if statments
Rename dbus_helpers.hpp to dbus_helpers.h
2020-12-03 22:00:18 -08:00
FlightlessMango
c20b06c851 Remove more ram related things for windows 2020-12-03 21:26:00 +01:00
FlightlessMango
a4a5950ddf Make sure graphs have data without enabling elems 2020-11-27 19:15:51 +01:00
FlightlessMango
3827fe96d4 Add autostart_log param 2020-11-27 15:12:38 +01:00
jackun
0474c93800
Change change_on_load_temp's current param to unsigned 2020-11-17 20:25:20 +02:00
jackun
1e8487c991
Move color conversion to HudElements; move some overlay related functions back to overlay.cpp 2020-11-17 20:23:33 +02:00
flightlessmango
ce6a87823b
Merge pull request #388 from flgx16/cpu_power
Add cpu_power
2020-11-17 14:48:27 +01:00
Lukáš Horáček
02a34ba890 Fix cpu_mhz when core_load is disabled 2020-11-12 23:50:49 +02:00
Lukáš Horáček
3726c90c7a
Add cpu_power 2020-11-12 22:27:35 +01:00
FlightlessMango
cc38924997 Added graphs 2020-11-09 19:37:37 +01:00
FlightlessMango
cb8d992bfe Use real_font_size for padding 2020-09-23 12:23:29 +02:00
ZakMcKrack3n
73e6e31301
toggle fps limiter via hotkey, fps_limit may be set to multiple values
(e.g. 0,30,60).
fps toggle toggles between entries where zero means unlimited
2020-09-19 12:45:59 +03:00
FlightlessMango
cbd87585b4 Win32 cpu usage 2020-09-06 13:52:18 +02:00
FlightlessMango
21e8d8c402 Move calc benchmark into overlay 2020-09-06 10:58:16 +02:00
FlightlessMango
c3fc0f10b0 Start separating vulkan, keybinds, overlay and font 2020-09-06 10:30:57 +02:00
FlightlessMango
1c5baef992 Move try_log into update_hud() and fix formatting 2020-09-06 07:56:29 +02:00
FlightlessMango
c337fddc58 Move try_log() into render_imgui 2020-09-02 09:44:39 +02:00
FlightlessMango
c4a7d3002b Moved try_log() outside of no_display 2020-09-02 07:52:28 +02:00
FlightlessMango
9ddd075b18 Get actual frametime for logs 2020-09-02 07:50:26 +02:00
jackun
cec98369ae
Include array, explicitly 2020-08-25 07:58:56 +03:00
FlightlessMango
c1a255260f Add recording circle to render_mango 2020-08-20 01:14:20 +02:00
FlightlessMango
0230efee8b Small adjustments to render_mango 2020-08-17 20:57:15 +02:00
jackun
e56b7ded15
Use setenvinstead as putenv makes Lutris' wine crash for some reason (threading?) 2020-08-16 19:54:20 +03:00
Alessandro Toia
632f1e7000
Add wine and wine colors to overlay 2020-08-16 14:57:35 +03:00
FlightlessMango
8a39043a13 Merge branch 'master' into develop 2020-08-15 14:04:30 +02:00
jackun
443271f0b5
Convert hud color params to linear for sRGB image formats 2020-08-13 18:20:45 +03:00
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
ce80203ee6 Minimal hud for recording 2020-08-09 08:39:49 +02:00
FlightlessMango
a06e01c7ef Merge branch 'develop' 2020-08-02 08:28:24 +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
fc62624b7b
Recalculate right alignment offset if font scale changes 2020-07-31 22:51:55 +03:00
flightlessmango
c046c250d8
Merge branch 'develop' into benchmark-percentages 2020-07-23 11:16:59 +00:00
jackun
55430d7571
Initialized fps limiter or wait for 300 years 2020-07-17 00:41:09 +03: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
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
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
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
c63037efb5
Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions
* To save some memory, use just 1-channel alpha-only textures
* Add some sort of wider glyph ranges support
* Chop single-ish vulkan font image uploading function into separate reusable helper functions
* Use descriptor set for ImTextureID but probably use texture array and push constants for "fast-path" if need arises
2020-06-29 17:15:50 +03:00
Lars Krämer
20221217d4 Frame-timing using chrono 2020-06-24 20:14:24 +02:00
Lars Krämer
22026cbc60 Create MesaClock class, use chrono classes for time points/durations 2020-06-24 14:41:34 +02:00
Kingsley McDonald
0e1fe708c8 make use of new float parsing function
i've also moved the input validation checks to the config parser, so that
warnings aren't displayed in the terminal output every time a benchmark is
run with an invalid percentile entry.
2020-06-23 19:01:55 +01:00
Kingsley McDonald
aa77a351de implement configurable benchmark percentiles. 2020-06-23 18:46:43 +01:00
FlightlessMango
e957358786 Force a hw values update on log start 2020-06-21 13:44:12 +02:00
jackun
44060c2b80
Force blacklist re-check at certain points
Wine preloader that executed a non-blacklisted app may execute a blacklisted app,
or vice versa, and previous check applies to new app too.
2020-06-21 14:18:56 +03:00
FlightlessMango
a9463ae06c Start logging after first update 2020-06-20 17:17:54 +02:00
Alan Witkowski
61a443bd50
add .csv extension to log file and rename function that generates the log filename suffix 2020-06-19 18:57:42 +03:00
larskraemer
ecd84c8cc0
Logging options (#234)
* Added config options for logging

* Documentation

* Log everything

* Add RAM/VRAM usage to the log

* add loggingOn-check for memory usage

* Always init GPU stats

* Move functions from logging.h to logging.cpp, remove params from writeFile
2020-06-19 18:32:04 +03:00
jackun
66ddada43c
Fix readlink overloading for fortified musl
Issue #231
2020-06-19 16:15:49 +03:00
FlightlessMango
e2ec80d84e Upload log keybind setup 2020-06-19 13:59:19 +02:00
FlightlessMango
f14c9a7587 Moved exec function in to logging.h 2020-06-19 13:56:45 +02:00
FlightlessMango
8e34e752e5 Merge branch 'master' into develop 2020-06-18 18:15:45 +02:00
Kingsley McDonald
6178c5859c adjust benchHeight for 0.1% and fix percentages. 2020-06-18 15:32:59 +01:00
Kingsley McDonald
053a1d8a44 add 0.1% lows to the brief benchmark overlay 2020-06-18 13:35:46 +01:00
jackun
5ec6519832
Add media_player_order to set media player metadata order 2020-06-13 22:00:36 +03:00
FlightlessMango
b9c00fc510 Check pci.ids without gpu_stats 2020-06-12 04:21:19 +02:00
FlightlessMango
38a78fa01e Fix logging window if bg alpha is 0 2020-06-12 04:16:39 +02:00
Rémi Verschelde
f915d890f2 Fix -Wformat-security warning with GCC 10.1 2020-06-11 13:47:24 +02:00
FlightlessMango
0728d49a1d Fix width with no params 2020-06-11 13:50:08 +02:00
FlightlessMango
df631a2343 Reduced width with io rw 2020-06-11 12:33:07 +02:00
FlightlessMango
e9b1b70ebc Fixed nextRow for gpu_power 2020-06-11 09:03:24 +02:00
FlightlessMango
135f3a5009 Fixing compiler warnings and removing control 2020-06-11 08:58:29 +02:00
FlightlessMango
59268a34b3 Always do nextRow() with core_clock 2020-06-11 08:54:11 +02:00
FlightlessMango
bc5d41f921 Changed IO rd/wr to rw 2020-06-11 08:03:58 +02:00
FlightlessMango
4a5e05c979 Trim gpuName from pci.ids 2020-06-11 07:58:19 +02:00
FlightlessMango
572ba69e3e More width fixing 2020-06-11 04:50:39 +02:00
jackun
b68f78028d
Fix "IO RD/RW" typo
Also micro-micro-micro optimization, probably: move READ/WRITE if statement before WRITE
as you'd probably find it more useful than just WRITE.
2020-06-10 22:00:55 +03:00
jackun
1495b1e88f
ifdef guard nvml header 2020-06-09 14:16:02 +03:00
jackun
953c8d0e0f
Add meson option with_nvml 2020-06-09 13:44:41 +03:00
jackun
2220cb9d74
Decouple engine_version from fps 2020-06-06 13:00:59 +03:00
jackun
16b05dfc5e
Show gpu core clock or power usage in 4th column or both on next row if both are enabled 2020-06-06 12:50:13 +03:00
jackun
b837ce930e
[whitespace] fix indentation from gpu_name to arch 2020-06-05 15:46:37 +03:00
FlightlessMango
db151bb236 Add log_interval check to per frame log write 2020-06-05 06:14:47 +02:00
FlightlessMango
d8727110b0 Replaced log_period env with log_interval param 2020-06-04 00:52:11 +02:00
FlightlessMango
128fbd4b88 Per frame logging use output_file and date 2020-06-04 00:47:01 +02:00
FlightlessMango
33a5ad6571 Format gpu_text and cpu_text in textColored 2020-06-01 20:18:15 +02:00
FlightlessMango
dd1667bf3e Fixed typo 2020-06-01 03:49:34 +02:00
FlightlessMango
2d0ba9a076 Params to override cpu/gpu text 2020-06-01 02:08:35 +02:00
jackun
c04658456a
Wider glyph ranges for custom font; media player text scaling with font_scale_media_player param 2020-05-24 16:49:11 +03:00