Commit Graph

1148 Commits

Author SHA1 Message Date
jackun
365c4bef97
Add some radeon support. Link with libdrm etc. directly. 2021-08-21 18:45:47 +03:00
jackun
14507c402d
Try to find device by also checking device id
Use glXQueryCurrentRendererIntegerMESA for OpenGL, if supported.
2021-08-21 18:45:47 +03:00
jackun
31e879215a
[dbus] Also check if gamemode is enabled with D-Bus 2021-08-21 18:45:47 +03:00
jackun
7e3a56d356
[dbus] Raise TRAP if wrong primitive type but allow to continue 2021-08-21 18:45:47 +03:00
jackun
d1617818cd
Fix OpenGL gpu_name 2021-08-12 18:18:39 +03:00
jackun
a431c092eb
Separate libdrm and libdrm_amdgpu loader 2021-08-12 16:21:37 +03:00
jackun
822e325d11
Add get_basename, fix win32 build
std::string::substr likes to throw
2021-08-12 16:07:42 +03:00
jackun
67e5d790d1
Build and link to spdlog as static lib
Speeds up compiling a bit
2021-08-11 02:13:31 +03:00
jackun
9df9df0f4f
Fix some tangling printfs 2021-08-11 01:50:14 +03:00
jackun
24a011702f
[build.sh] Fix typo 2021-08-09 01:46:31 +03:00
jackun
6dee0948a5
Require meson >=0.54 for default_library option. 2021-08-08 22:00:05 +03:00
jackun
f273bf20f1
[build.sh] Re-add Deepin 2021-08-08 21:25:21 +03:00
jackun
94a7705554
Fix integer overflow on 32 bit, for procmem 2021-08-08 17:21:45 +03:00
jackun
361641382c
[build.sh] Attempt to fix wrong 32bit lib dir on non-Arch distros 2021-08-08 17:08:36 +03:00
gk
06a37bdcce
Use alternate method of checking for distro
Use ID/ID_LIKE instead of NAME which will allow less popular forks of
distros to work properly, for example archlabs, whose ID_LIKE will be
arch. And due to the simpler format this should be more
future-compatible.

It appears that some distros don't have ID_LIKE so it also includes ID
in the DISTRO variable.

There are a few downsides to this approach, notably:
 - The OpenSUSE message won't be able to detect whether the user is on
    leap or tumbleweed, so I made it print the command for both.
 - This requires some more globbing since the ID field will be before
    the ID_LIKE field, and the ID_LIKE field can include multiple
    distros.

https://freedesktop.org/software/systemd/man/os-release.html

PR #420
2021-08-08 15:53:22 +03:00
jackun
5767426192
Nope, ERROR level has higher priority, doh 2021-08-07 16:27:16 +03:00
jackun
60d5160c36
update imgui and spdlog wraps 2021-08-07 16:14:16 +03:00
jackun
17d87b26e6
update vulkan-headers to 1.2.158-2 2021-08-07 16:09:14 +03:00
jackun
c79e01830d
Clean up battery.{h,cpp} header includes 2021-08-07 16:02:37 +03:00
jackun
866fd8bc24
Add per process memory usage (procmem etc) 2021-08-07 15:56:27 +03:00
jackun
891abdf3b9
Skip setting up vulkan render if HUD is hidden 2021-07-31 01:14:42 +03:00
jackun
b20d2492bc
Limit keybind check to about 10hz 2021-07-31 01:14:42 +03:00
jackun
355c521f12
Misc small clean ups and fixes 2021-07-30 19:15:49 +03:00
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time 2021-07-27 16:16:39 +03:00
jackun
46c2183b5d
Use engine type enum in engine_version() 2021-07-27 15:34:15 +03:00
jackun
7d3b6b946d
Don't reinit stuff when re-creating swapchain
Partial revert of e13e98e03a
2021-07-21 19:00:49 +03:00
jackun
6c604f379c
Fix parse_pciids when trying to open pci.ids from alternate location 2021-07-21 19:00:49 +03:00
jackun
944202f273
Fix #ifdef scope in overlay_DestroyInstance 2021-07-20 22:46:45 +03:00
jackun
d41ad84260
Poll amdgpu regs at 120ticks/s regardless of sampling period 2021-07-16 04:06:36 +03:00
jackun
2f807a4c0d
Add spdlog wrap and logging 2021-07-16 04:06:09 +03:00
jackun
537b527af4
Update README.md about `force_amdgpu_hwmon' 2021-07-13 20:11:43 +03:00
jackun
75cf178abd
Update build scripts for libdrm/SRT 2021-07-13 19:54:39 +03:00
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
2021-07-13 19:54:24 +03:00
jackun
88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp 2021-07-13 17:08:16 +03:00
FlightlessMango
e42002c57b Bump version to 0.6.5 2021-07-08 08:23:59 +02:00
jackun
8244d7f288
Fix vulkan driver's patch version 2021-07-06 19:04:35 +03:00
Joshua Martin
3b0b6fbc42
Add position options to place the overlay halfway down the screen (#561) 2021-07-04 22:17:43 +03:00
jackun
564c254eea
[build-srt] Install newer meson 2021-07-02 19:42:53 +03:00
jackun
b6dab97d08
[OpenGL] Some code clean-ups 2021-07-01 17:56:01 +03:00
jackun
ea45caa876
Cache Steam runtime SDKs in their own subdirs 2021-07-01 17:55:25 +03:00
jackun
f8bb948de2
More quotation glyphs 2021-07-01 17:36:34 +03:00
jackun
db34d1ddd8
Run build-package workflow on 'release: published'
Should work with prereleases and drafts too.
2021-07-01 11:52:32 +03:00
flightlessmango
6824ccb439
Merge pull request #556 from flgx16/togl
Detect ToGL
2021-06-27 15:03:01 +00:00
Lukáš Horáček
213953089d
Detect ToGL 2021-06-27 16:35:07 +02:00
Lukáš Horáček
f1eae93253
Use map_files instead of lsof for wined3d detection 2021-06-27 16:33:10 +02:00
jackun
750d2cddb5
Make engine type per instance 2021-06-27 16:31:19 +03:00
FlightlessMango
e39513cfa4 still check PengineName if engine OpenGL 2021-06-24 17:03:55 +02:00
FlightlessMango
7bddec9397 bump to v0.6.4 2021-06-24 12:25:57 +02:00
FlightlessMango
3f120b1fc5 don't set engine to vulkan if already set 2021-06-23 19:53:07 +02:00
Alessandro Toia
0bc6d33a24 Fix frame spikes when using battery parameter 2021-06-19 19:57:07 -07:00