Lars Krämer
329725c134
Move Log uploading; Cleanup
4 years ago
Lars Krämer
4101237fdd
Move logging functionality into a class
4 years ago
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK
4 years ago
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
4 years ago
jackun
e0832c7e02
Re-add config file watch in case of IN_DELETE_SELF
4 years ago
jackun
068157f3d8
Fix cpu fallback temp sensor logic
...
Break the for loop either way so `path` still points to sensor module's hwmon folder.
4 years ago
jackun
62efa4acc4
[OpenGL] Simplify if check
4 years ago
jackun
d0999ab01b
[OpenGL] Workaround: Merge version and shader strings for Feral games
...
FIXME: GLAD loads Feral's version of glShaderSource,
4 years ago
jackun
2db83f4e18
[OpenGL] Check if font texture is valid and regenerate if not
4 years ago
Lars Krämer
20221217d4
Frame-timing using chrono
4 years ago
Lars Krämer
22026cbc60
Create MesaClock class, use chrono classes for time points/durations
4 years ago
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.
4 years ago
Kingsley McDonald
979c4d32ca
oops! i didn't save changes from the merge conflict >.<
4 years ago
Kingsley McDonald
aa77a351de
implement configurable benchmark percentiles.
4 years ago
jackun
0d03b5a150
meson: use gnu_symbol_visibility argument
...
This uses a meson builtin to handle -fvisibility=hidden.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740 >
4 years ago
FlightlessMango
118a105aa4
Check often if logUpdate has occured
4 years ago
FlightlessMango
e957358786
Force a hw values update on log start
4 years ago
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.
4 years ago
FlightlessMango
fbd60a102f
Forgotten debugging in logging
4 years ago
FlightlessMango
a9463ae06c
Start logging after first update
4 years ago
FlightlessMango
0f171dbd9c
Added labels to log csv file
4 years ago
jackun
03ec318d00
Make find_*_ptr function pointers static
4 years ago
jackun
2da02ee553
Try to limit exported symbols with --version-script
4 years ago
Alan Witkowski
61a443bd50
add .csv extension to log file and rename function that generates the log filename suffix
4 years ago
jackun
612d3b761d
Merge pull request #237 from larskraemer/float_parser
...
First implementation of custom float parsing
4 years ago
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
4 years ago
FlightlessMango
99cefe96a5
Created logging.cpp
4 years ago
jackun
66ddada43c
Fix `readlink` overloading for fortified musl
...
Issue #231
4 years ago
jackun
6887abbea8
Just <limits.h>
4 years ago
jackun
edf9f95517
Use std::locale::classic with confiog file ifstream, just in case
4 years ago
FlightlessMango
916ef02eb2
Revert "Add readlink.c to meson"
...
This reverts commit 56933049d0
.
4 years ago
FlightlessMango
b614734ab6
Revert "Trying to fix issue #231 musl"
...
This reverts commit 01233e5f1f
.
4 years ago
FlightlessMango
56933049d0
Add readlink.c to meson
4 years ago
FlightlessMango
01233e5f1f
Trying to fix issue #231 musl
4 years ago
FlightlessMango
8f22ebae44
Also check for pci.ids in /usr/share/misc/
4 years ago
FlightlessMango
e2ec80d84e
Upload log keybind setup
4 years ago
FlightlessMango
8d6ff5bd25
upload log functions
4 years ago
FlightlessMango
6a28a8f7f1
Track log files for current session
4 years ago
FlightlessMango
064c285f31
permit_upload and upload_log params
4 years ago
FlightlessMango
f14c9a7587
Moved exec function in to logging.h
4 years ago
Lars Krämer
3421ad269a
Use locale::classic
4 years ago
jackun
441f1d3f3f
Use std::locale::classic() in parse_float()
4 years ago
jackun
d9a09670d8
Replace std::stoi with something that doesn't throw
4 years ago
jackun
e1fb2fbf88
Parse floats in C locale, hopefully
4 years ago
Lars Krämer
4d22927776
Use a stringstream
4 years ago
Lars Krämer
01df8149ab
sign bug
4 years ago
Lars Krämer
b8571c27e2
First implementation of custom float parsing
4 years ago
FlightlessMango
8e34e752e5
Merge branch 'master' into develop
4 years ago
Kingsley McDonald
6178c5859c
adjust benchHeight for 0.1% and fix percentages.
4 years ago
Kingsley McDonald
053a1d8a44
add 0.1% lows to the brief benchmark overlay
4 years ago
jackun
5ec6519832
Add `media_player_order` to set media player metadata order
4 years ago
Stephan Lachnit
d956f60f86
remove old system nvml build option
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
FlightlessMango
b9c00fc510
Check pci.ids without gpu_stats
4 years ago
FlightlessMango
38a78fa01e
Fix logging window if bg alpha is 0
4 years ago
Rémi Verschelde
f915d890f2
Fix -Wformat-security warning with GCC 10.1
4 years ago
FlightlessMango
71cbd66afb
Fixing cpu temp for core 2 duo CPUs
4 years ago
FlightlessMango
d41909321a
More width fixing
4 years ago
FlightlessMango
0728d49a1d
Fix width with no params
4 years ago
FlightlessMango
df631a2343
Reduced width with io rw
4 years ago
FlightlessMango
e9b1b70ebc
Fixed nextRow for gpu_power
4 years ago
FlightlessMango
135f3a5009
Fixing compiler warnings and removing control
4 years ago
FlightlessMango
59268a34b3
Always do nextRow() with core_clock
4 years ago
FlightlessMango
bc5d41f921
Changed IO rd/wr to rw
4 years ago
FlightlessMango
4a5e05c979
Trim gpuName from pci.ids
4 years ago
FlightlessMango
572ba69e3e
More width fixing
4 years ago
FlightlessMango
816d6ca515
Fixing hud width issues
4 years ago
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.
4 years ago
FlightlessMango
6d1ed9751d
Changed default keybinds
4 years ago
Valters
40017bc1e6
Change blacklist type ( #204 )
...
* Set blacklist to std::vector<std::string>
Fix some strange crashes.
Co-authored-by: jackun <jack.un@gmail.com>
4 years ago
jackun
1495b1e88f
ifdef guard nvml header
4 years ago
jackun
953c8d0e0f
Add meson option `with_nvml`
4 years ago
jackun
a236af66ee
Lock metadata mutexes in case they are cleared by inotify thread
4 years ago
jackun
467c53d22f
Keep track of notifier thread to make sure it exits before `notify_thread` struct is freed
4 years ago
jackun
31f9cce720
[COMMENTED] Make inotify monitor new per-app config file or if delete, the main config file again
...
Needs to be triggered by main config file change.
FIXME what if there's no config file?
4 years ago
jackun
2220cb9d74
Decouple `engine_version` from `fps`
4 years ago
jackun
16b05dfc5e
Show gpu core clock or power usage in 4th column or both on next row if both are enabled
4 years ago
jackun
91ccde4969
[blacklist] Add SocialClubHelper.exe
...
No much difference but at least doesn't spam log as much
4 years ago
FlightlessMango
3d503c9f29
Don't enable histogram with full param
4 years ago
jackun
b837ce930e
[whitespace] fix indentation from `gpu_name` to `arch`
4 years ago
jackun
1f81889d1b
Show bitness in library loaders
4 years ago
FlightlessMango
db151bb236
Add log_interval check to per frame log write
4 years ago
FlightlessMango
52989a727e
Cleaning up for after change to log_interval
4 years ago
FlightlessMango
d8727110b0
Replaced log_period env with log_interval param
4 years ago
FlightlessMango
128fbd4b88
Per frame logging use output_file and date
4 years ago
FlightlessMango
4bdd252393
Load 32bit libs if they exist with 64bit bin
4 years ago
Valters
6cebbba732
Always print blacklist info to STREAM
4 years ago
Valters
4721281952
Add LeagueClient{,UxRender} to blacklist
4 years ago
FlightlessMango
33a5ad6571
Format gpu_text and cpu_text in textColored
4 years ago
FlightlessMango
dd1667bf3e
Fixed typo
4 years ago
FlightlessMango
2d0ba9a076
Params to override cpu/gpu text
4 years ago
FlightlessMango
0e3508dcf0
Check if pci.ids was found
4 years ago
jackun
699de56fa1
[dbus] clear non-main players' metadata on dbus deinit
4 years ago
jackun
72602fab89
[dbus] remove missed exceptions; set dbus call timeout to 2 seconds
4 years ago
jackun
c04658456a
Wider glyph ranges for custom font; media player text scaling with `font_scale_media_player` param
4 years ago
FlightlessMango
c254347688
Use histogram in benchmark too
4 years ago
FlightlessMango
ac926bbfd5
Added histogram param
4 years ago
jackun
15ed8df404
Fix keybinds init when building without X11
4 years ago
jackun
5ad67fe446
Remove unused vars
4 years ago
FlightlessMango
078617f999
Added param for engine version
4 years ago
FlightlessMango
0e396186a6
[OpenGL] Always use QueryDrawable
4 years ago