Commit Graph

205 Commits (master)

Author SHA1 Message Date
FlightlessMango 41f8446cf1 hudelements: colors: set color alpha according to alpha param 10 months ago
andrefsagh@gmail.com 5054f6ceff Show amdgpu voltage from hwmon
Added config parameter 'gpu_voltage'
11 months ago
FlightlessMango 1182bcfbec hud_elements/battery: make sure time isn't illogical 11 months ago
Łukasz Adamczak 38604927d7 Remove debug printf
I believe it was left here by omission. It currently prints out "0" or "1" to stdout depending on `battery_watt` setting.
11 months ago
FlightlessMango f4dfdd82c9 hud elements: duration: prefix 0
[skip ci]
12 months ago
FlightlessMango 30748bdf0c param: duration 12 months ago
FlightlessMango 6e264adecb params: dynamic_frame_timing
This changes frame_timing y-axis to correspond with the current maximum
and minimum frametime instead of being a static 0-50

[skip ci]
12 months ago
FlightlessMango 881b4d2e4a Params: add temp_fahrenheit 12 months ago
FlightlessMango 67862421a6 Text outline
Adds the text_outline parameter that draws a black outline around all
text and the horizontal separator

[skip ci]
1 year ago
FlightlessMango b2c88c2dfd param: engine_short_names 1 year ago
FlightlessMango e2711b8059 hud elements: fix gamescope graphs size 1 year ago
Alessandro Toia 98c9897430 Fix layout for core_load 1 year ago
Alessandro Toia a45816b8e1 Replace TableNextColumn() with ImguiNextColumnFirstItem() and ImguiNextColumnOrNewRow() 1 year ago
FlightlessMango 1d8f9f6601 hud_elements: fix gamescope debug graphs width
The width was not calculated the same way as in frame_timing.
Leading the graphs to occupy different amounts of space
1 year ago
jackun 95b7b44b6f
Nuke `io_stats`, `io_read/write` params are enough 1 year ago
Arvind Doobary d41a74ca1a
Show amdgpu junction and memory temp, if available
Added config parameter `gpu_junction_temp` and `gpu_mem_temp`

Closes #841
1 year ago
jackun 238a621c11
Use snprintf instead 1 year ago
FlightlessMango c7ab967b92 Remove MANGOAPP ifdefs 1 year ago
FlightlessMango 12b16247ce hud elements: gpu fan: add next col/row func 1 year ago
FlightlessMango d99e48db5d hud elements: cpu_power and gpu_power: hide decimal above 3 digits 1 year ago
FlightlessMango 11bc5111eb mangoapp: move some variables to hudelements 1 year ago
FlightlessMango 8e4857a5c6 mangoapp: frame_timing: set height when not horizontal 1 year ago
FlightlessMango 4b69f23fb5 Add gpu_fan param and hwmon fan reading
Co-authored-by: Andreas Rachev <andreasratchev@gmail.com>
1 year ago
Alessandro Toia 78d99a6aab Fix exec_name overlapping with previous column when not in compact mode 1 year ago
FlightlessMango a67a6bc79d hud elements: exec_name: push the name one column over 1 year ago
FlightlessMango 034b378e10 hud elements: replace ImGuiTableSetColumnIndex with TableNextColumn 1 year ago
FlightlessMango 544589aa20 legacy_elements: don't add to functions vector unless it's enabled 1 year ago
FlightlessMango a6715b1bf6 Hud elements: Put frame_timing inside a child window to prevent it messing with the parent layout
Co-authored-by: Alessandro <gort818@gmail.com>
1 year ago
Hannes Mann 3cebc55a35 hud_elements: Show FPS limit method 1 year ago
FlightlessMango c64ff84007 horizontal/compact layout fixes + battery_watt/battery_time params 1 year ago
Emil Velikov eecd451068 meson: build with -Werror=missing-declarations
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
Emil Velikov eecf901aed hud_elements: remove unused LinearToSRGB
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
FlightlessMango 0ae106dba5 hud_elements: remove extra '}' 1 year ago
FlightlessMango 7c54ea819c params: exec_name: don't show unless enabled 1 year ago
FlightlessMango 03d64e5afb params: exec_name 1 year ago
FlightlessMango e3995ffcbf mangoapp: compile using static mangohud_library 1 year ago
FlightlessMango f8ca49f627 allow for compact hud layout 2 years ago
FlightlessMango a76e8a26f5 hud elements: battery: adjust remaining time for normal and horizontal view 2 years ago
FlightlessMango bc89947df0 hud_elements: battery: don't show plug or watt in horizontal 2 years ago
FlightlessMango 4f49ffea7b frame_timing: minor adjustments for horizontal and mangoapp 2 years ago
FlightlessMango d0a1c4ea07 horizontal view and hud_no_margin 2 years ago
jackun c6bc257e11
Remove unnecessary row/column changes in HudElements::gpu_stats
Somehow missed these. Fixes f78107e6
2 years ago
jackun 032abbb031
Fix mangoapp frame time alignment 2 years ago
jackun f680c28f1f
Generalize control over socket so it works with OpenGL too 2 years ago
Alessandro Toia a18cabb152 Move gamepad_update to update_hw_info 2 years ago
jackun b404fb948e
Set width by `table_columns` if not specified. Set "text" values to next column with `no_small_text` 2 years ago
jackun f78107e662
Wrap columns to new row depending on `table_columns` param 2 years ago
jackun 85db56b36b
[dbus] Skip rendering MPRIS info if locking fails
D-Bus code gets randomly stuck for some reason.
2 years ago
Alessandro Toia 9eb8447e14 Check if param gamepad_battery is enabled 2 years ago
FlightlessMango 17d4c1dd4a amdgpu: use gtt_used for APUs 2 years ago
jackun f0177703ea
Rename to `frame_count` for consistency 2 years ago
FlightlessMango f9cfdeb080 Add gpu throttling status
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
jackun e4b23c937e
Deal with disappearing cpus
Reinit if cpu is brought offline/online, e.g. `echo 0 > /sys/devices/system/cpu/cpu1/online`

Fix #737
2 years ago
Alessandro Toia 06e3e9f663 Remove frametime when using fps_only param 2 years ago
FlightlessMango 66876b79f5 fix typo in fan element 2 years ago
FlightlessMango 65e70c9cfb fan param 2 years ago
Emil Velikov e50a969586
hud_elements: one assignment per line
Stay consistent with the rest of the project.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
Emil Velikov 2b7db32f54
Const annotate overlay_params& across the board
Most of the API does not modify it, so annotate it as const.
This makes it earlier to reason what's happening.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
jackun a13b041d1d
Fps limit: simplify converting frame time back to fps 2 years ago
jackun d2d6787568
Cleanup some header inclusions 2 years ago
jackun bac50e42d5 Add frame count 2 years ago
FlightlessMango 8b801e8435 don't set hide_fsr_sharpness with full 2 years ago
FlightlessMango 0402fa4ab5 mangoapp: fsr_steam_sharpness 2 years ago
FlightlessMango 3f2db318c5 Some fixes for windows compiling 2 years ago
Alessandro Toia 9b668babdc gamepad: add bool is_charging 2 years ago
Alessandro Toia 74b328d209 gamepad: add option to disable icon and show capacity instead 2 years ago
Alessandro Toia 5c92c32491 add gamepad_battery to legacy elements 2 years ago
Alessandro Toia 4be3ba20c2 GAMEPAD: add battery reporting for gamepad devices
(xone,xpadneo,ds4,ds5,switch)
2 years ago
FlightlessMango 68f40c56cc only shrink frametime graph on mangoapp 2 years ago
jackun e555a942fb
Use single IO stats instance 2 years ago
FlightlessMango 5cdedc4671 mangoapp: gamescope debug graphs 2 years ago
Alessandro Toia 056f7b0e29 Check if battery status is full 2 years ago
FlightlessMango 17867f2a6d Battery: show remaining if > 1.f 2 years ago
FlightlessMango b11714a326 mangoapp: hide fsr sharp when off 2 years ago
FlightlessMango cdcd08be44 battery remaining: don't show seconds at least by default 2 years ago
FlightlessMango 5508933c47 mangoapp: make fsr display a little prettier 2 years ago
Alessandro Toia 590f52d223 When battery is plugged in show plug icon 2 years ago
Alessandro Toia b158888d54 Add remaining time text to battery 2 years ago
FlightlessMango 39f6ae98ec Battery remaining time 2 years ago
FlightlessMango a9f811a207 mangoapp: gamescope fsr 2 years ago
FlightlessMango d71dd74685 Fix amdgpu watt and make it more granular 2 years ago
FlightlessMango fb1cae9cc9 display min/max frametime for period 2 years ago
Alessandro Toia af716ac830 Add fps_only to legacy_elements, fixes #674 2 years ago
flightlessmango 1f94e0af4d
Merge pull request #657 from ishitatsuyuki/quad
overlay: avoid quadratic behavior
2 years ago
FlightlessMango d5c409beed mangoapp: temporarily remove vram mhz 2 years ago
FlightlessMango 92151565fc mangoapp: disable some options 2 years ago
Alessandro Toia 6717ad9ecf Remove the FPS text from fps_only param 2 years ago
Alessandro Toia 15fc641fc3 Add fps_only param to disable showing the engine name 2 years ago
Tatsuyuki Ishi ada173e67f overlay: avoid quadratic behavior
Using a vector with erase(begin()) results in a copy of the full array
every time. This is inefficient and in the case of HUD graphs, was having
quadratic complexity which can noticeably affect performance.

This patch replaces most of the operations with an O(1) alternative,
keeping the total cost under a linear bound. While on this, also refactor
the size of graph array into a constant.
2 years ago
jackun 9b6a39dfe9
sed s/gnu_linux/linux/g 3 years ago
jackun 822e325d11
Add get_basename, fix win32 build
std::string::substr likes to throw
3 years ago
jackun 5767426192
Nope, ERROR level has higher priority, doh 3 years ago
jackun 866fd8bc24
Add per process memory usage (`procmem` etc) 3 years ago
jackun 355c521f12
Misc small clean ups and fixes 3 years ago
jackun 46c2183b5d
Use engine type enum in `engine_version()` 3 years ago
jackun 88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp 3 years ago
jackun 750d2cddb5
Make engine type per instance 3 years ago
Alessandro Toia 0bc6d33a24 Fix frame spikes when using battery parameter 3 years ago
FlightlessMango 5330573c8c don't rely on std in engine detection 3 years ago
FlightlessMango a50bbbac22 add battery, fps_limit and resolution to legacy layout 3 years ago