Commit Graph

798 Commits (729ccc83bd9eb446b4767cf8b1aa31c6f73de5cb)

Author SHA1 Message Date
jackun 729ccc83bd
Use spdlog's 'fmt' to format media player metadata
Usage:
  media_player_format={title};{artist};{album}

Semi-colon breaks to new line, might change.
3 years ago
FlightlessMango 3ac7772a55 Add universal param 3 years ago
jackun ac11beef9b
[dbus] Don't stop D-Bus thread or remove filter if not completely deiniting 3 years ago
jackun 31e879215a
[dbus] Also check if gamemode is enabled with D-Bus 3 years ago
jackun 7e3a56d356
[dbus] Raise TRAP if wrong primitive type but allow to continue 3 years ago
jackun d1617818cd
Fix OpenGL gpu_name 3 years ago
jackun a431c092eb
Separate libdrm and libdrm_amdgpu loader 3 years ago
jackun 822e325d11
Add get_basename, fix win32 build
std::string::substr likes to throw
3 years ago
jackun 9df9df0f4f
Fix some tangling printfs 3 years ago
jackun 94a7705554
Fix integer overflow on 32 bit, for `procmem` 3 years ago
jackun 5767426192
Nope, ERROR level has higher priority, doh 3 years ago
jackun c79e01830d
Clean up battery.{h,cpp} header includes 3 years ago
jackun 866fd8bc24
Add per process memory usage (`procmem` etc) 3 years ago
jackun 891abdf3b9
Skip setting up vulkan render if HUD is hidden 3 years ago
jackun b20d2492bc
Limit keybind check to about 10hz 3 years ago
jackun 355c521f12
Misc small clean ups and fixes 3 years ago
jackun a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time 3 years ago
jackun 46c2183b5d
Use engine type enum in `engine_version()` 3 years ago
jackun 7d3b6b946d
Don't reinit stuff when re-creating swapchain
Partial revert of e13e98e03a
3 years ago
jackun 6c604f379c
Fix parse_pciids when trying to open pci.ids from alternate location 3 years ago
jackun 944202f273
Fix #ifdef scope in `overlay_DestroyInstance` 3 years ago
jackun d41ad84260
Poll amdgpu regs at 120ticks/s regardless of sampling period 3 years ago
jackun 2f807a4c0d
Add `spdlog` wrap and logging 3 years ago
jackun c093f9823e
Use libdrm_amdgpu for amdgpu sensor info, if available
Using plain `open` as `drmOpen` needs bus id check which needs interface 1.4 ioctl which gives EPERM cause only DRM_MASTER can call it :(

https://github.com/clbr/radeontop/issues/48#issuecomment-493792404
3 years ago
jackun 88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp 3 years ago
jackun 8244d7f288
Fix vulkan driver's patch version 3 years ago
Joshua Martin 3b0b6fbc42
Add position options to place the overlay halfway down the screen (#561) 3 years ago
jackun b6dab97d08
[OpenGL] Some code clean-ups 3 years ago
jackun f8bb948de2
More quotation glyphs 3 years ago
Lukáš Horáček 213953089d
Detect ToGL 3 years ago
Lukáš Horáček f1eae93253
Use map_files instead of lsof for wined3d detection 3 years ago
jackun 750d2cddb5
Make engine type per instance 3 years ago
FlightlessMango e39513cfa4 still check PengineName if engine OpenGL 3 years ago
FlightlessMango 3f120b1fc5 don't set engine to vulkan if already set 3 years ago
Alessandro Toia 0bc6d33a24 Fix frame spikes when using battery parameter 3 years ago
Alessandro Toia 570bef468b Cosmetic changes to engine detection 3 years ago
FlightlessMango 5330573c8c don't rely on std in engine detection 3 years ago
FlightlessMango 94dda243a5 Battery: header include filesystem.h 3 years ago
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