FlightlessMango
226330c0d7
Battery: assume unknown status is charging
3 years ago
jackun
9da427d093
Include u2019 (RIGHT SINGLE QUOTATION MARK) glyph by default
3 years ago
jackun
0ee101e0ac
Fix MPRIS ticker, microseconds to nanoseconds
3 years ago
FlightlessMango
a50bbbac22
add battery, fps_limit and resolution to legacy layout
3 years ago
jackun
37d8c75c78
Skip calculating IO stats for first sample
...
Or you get high read/write speeds averaged over process' whole lifetime.
3 years ago
flightlessmango
428ddf4e8a
Merge pull request #536 from flightlessmango/battery_test
...
Battery info and font awesome icons
3 years ago
FlightlessMango
2e5fc31711
use vulkan to determine if zink
3 years ago
FlightlessMango
92282bcec2
convert frametime from ns to us
3 years ago
Joshua Ashton
815097718e
Use nanoseconds to calculate fps
...
No need to round this earlier on.
Removes an unnecessary implicit float -> double conversion in the calculation also
3 years ago
Joshua Ashton
1f0119bc91
Use raw clocks if available
...
Avoids NTP synchronization having impact on frametime pacing.
3 years ago
medusalix
560930214a
Fix CPU power calculations
3 years ago
Alessandro Toia
5c48b4729c
Change param to battery, add param for icon, hide power when plugged in
3 years ago
jackun
a0a57038c1
Fix redefinition of 'open'
...
musl pulls in fcntl.h from somewhere
3 years ago
Alessandro Toia
105ad9c2be
Check for batteries only once
3 years ago
Alessandro Toia
500a65dd52
Only display battery stats if a battery is present
3 years ago
Alessandro Toia
a533883a39
Check if there are battieres before attempting to retrieve stats
3 years ago
Alessandro Toia
8960a54813
Change battery path list to array
3 years ago
Alessandro Toia
6833ee3593
Check if battery(s) are fully charged
3 years ago
Alessandro Toia
6c69f68f7f
Iterate over n batteries to find energy consumption
3 years ago
Alessandro Toia
e63a5bd472
Iterate over n batteries to find percent
3 years ago
Alessandro Toia
62db1495d6
Scale down icons if font is small
3 years ago
Alessandro Toia
5656001639
Add forkawesome from compressed Base85 TTF
3 years ago
Alessandro Toia
552a85aaaa
Only update battery stats if a battery is present
3 years ago
Alessandro Toia
c6074b0f4d
Check if there are batteries before checking if they are charging
3 years ago
Alessandro Toia
8980ff46bc
When plugged in change battery icon according to percent
3 years ago
Alessandro Toia
5adb4500c7
Install forkawesome font file
3 years ago
Alessandro Toia
b89b9b8109
Add ForkAwesome Icons
3 years ago
Alessandro Toia
1ab25220c6
Add param to check battery power and percent
3 years ago
FlightlessMango
a90c897feb
Check battery info
3 years ago
Alessandro Toia
d556e8e357
Improve Zink detection
3 years ago
Alessandro Toia
36ec9ef41a
Add round_corners param
3 years ago
jackun
47865573a8
Add option to prepend libdir to library's path in vulkan manifest
...
"\$LIB" technically breaks json but on the other hand vulkan loader
currently doesn't handle "\\$LIB"
Help with issue #468
3 years ago
jackun
765024227c
[OpenGL] Framerate limit in eglSwapBuffers
3 years ago
Alessandro Toia
ddfcb01c30
Add detection of Zink
3 years ago
jackun
a724e5e294
Fix engine name not showing with `engine_version` without `fps` also enabled
3 years ago
jackun
34f964eab9
Use aligned buffer size with vkMapMemory too
3 years ago
Alessandro Toia
856c333e09
Fix wine param not properly detecting proton experimental
3 years ago
Alessandro Toia
272b035ca8
Fix wine param not detecting proton experimental
3 years ago
jackun
0f6ead57d7
[OpenGL] Bind framebuffer for all GL ES versions
3 years ago
jackun
e62d6e3337
[OpenGL] Save/restore last GL_DRAW_FRAMEBUFFER if using `gl_bind_framebuffer`
3 years ago
jackun
714f3853f7
[OpenGL] Support apitrace in debug build
...
Try to load `glxtrace.so` instead of `libGL.so.1`.
Assumes `glxtrace.so` lives outside of usual library paths and is only preloaded.
3 years ago
jackun
afa50a17c4
[OpenGL] Add gl_size_query, gl_bind_framebuffer, gl_dont_flip options for workarounds
...
`gl_size_query = viewport` - specify what to use for getting display size. Options are "viewport", "scissorbox" or disabled. Defaults to using glXQueryDrawable.
`gl_bind_framebuffer = 0` - (re)bind given framebuffer before MangoHud gets drawn. Helps with Crusader Kings 3.
`gl_dont_flip = 1` - don't swap origin if using GL_UPPER_LEFT. Helps with Ryujinx.
3 years ago
jackun
54d6a8e889
Unset LD_LIBRARY_PATH if using absolute paths in LD_PRELOAD
...
$LIB in LD_LIBRARY_PATH makes `ldconfig` unhappy.
3 years ago
jackun
ea07d1e080
Remove ".exe" from wine executable's name
...
Fixes ad4e1ac35f
3 years ago
jackun
ad4e1ac35f
Try to get wine executable's name from /proc/self/comm
3 years ago
jackun
4d4444e1c5
Allow overriding config file options with MANGOHUD_CONFIG if using legacy layout
3 years ago
jackun
4f3133c5da
Fix log file using `wine-preloader` etc instead of executable's filename
3 years ago
Lukáš Horáček
8f3ecb81df
Divide IO stats by time difference since last update
...
This should prevent IO stats reaching high numbers when application stops responding resulting into MangoHud not updating.
3 years ago
jackun
30cdc912a8
Rework blending equation to preserve alpha in output buffer
...
bda12e5fdd
3 years ago
jackun
118c54072f
[OpenGL] Disable primitive restart
3 years ago