Commit Graph

1847 Commits

Author SHA1 Message Date
FlightlessMango
3190778086 Don't update metrics if we're not logging and not displaying 2023-02-07 12:09:10 +01:00
FlightlessMango
475026a183 amdgpu: move defines to header 2023-02-07 07:27:30 +01:00
FlightlessMango
ae9a26ae0d tests: amdgpu: missing file and reserved throttle bits 2023-02-07 07:26:46 +01:00
Alessandro Toia
87cc5c62fa vulkan: Remove unused VkPhysicalDeviceFeatures 2023-02-01 16:20:03 -08:00
Alessandro Toia
5d1877c2a3 Remove extraneous break 2023-02-01 16:18:50 -08:00
Kenton Groombridge
ffa7048543 vulkan: fix implicit instantiation of 'std::basic_stringstream<char>'
Add a missing include to fix the following build error seen with clang
15.0.7:

../MangoHud-0.6.8/src/vulkan.cpp:1523:22: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
   std::stringstream ss;
                     ^
/usr/include/c++/v1/iosfwd:146:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_stringstream;
2023-01-31 22:04:22 +01:00
FlightlessMango
8450291777 vulkan: Do not modify pCreateInfo in CreateDevice 2023-01-24 12:05:03 +01:00
FlightlessMango
302ceaa3e6 logging: flush after each write 2023-01-24 07:36:53 +01:00
FlightlessMango
25b170d480 logging: change frametime to float 2023-01-23 15:36:00 +01:00
FlightlessMango
d6c7b3c101 logging: write to file while logging 2023-01-23 15:16:17 +01:00
FlightlessMango
f883e2cba1 set log_interval to 0 by default 2023-01-23 15:16:17 +01:00
azn1999
f7a1cc159c Fix FPS limiter
Note: the egl limiter is already correct
2023-01-23 06:57:52 +01:00
Fox
6ca6b07102 [build.sh] Seperating deps into seperate file for easy adding of new dep 2023-01-21 07:37:16 +01:00
Alessandro Toia
f6d980696d Fix not finding wine binary, with 64bit only wine 2023-01-19 18:50:45 -08:00
Alessandro Toia
f76527d14f Revert "Fix reporting temp of AMD zen4 CPUs"
This reverts commit edac405d57.
Didn't actually fix the issue oops
2023-01-19 18:32:59 -08:00
FlightlessMango
0ae106dba5 hud_elements: remove extra '}' 2023-01-20 03:21:21 +01:00
Echo J
ba7e2cb313 Logging: Switch to a different sleep function
This fixes a freeze with zink when automatic logging is enabled

I didn't test this on Windows, so please report any issues there
2023-01-20 03:13:21 +01:00
FlightlessMango
7c54ea819c params: exec_name: don't show unless enabled 2023-01-20 02:44:43 +01:00
FlightlessMango
99c72d30cf check for mangoapp_layer option for manifest 2023-01-19 00:45:56 +01:00
FlightlessMango
abb5359cdd Blacklist: add gamescope
Co-authored-by: Valters <valters.tomsons@protonmail.com>
2023-01-17 16:26:11 +01:00
KingKrouch
4a2300310b Add Nobara to build.sh's Fedora section
This change is due to MangoHUD's dependency checks getting confused due to not recognizing the distribution.
2023-01-17 16:09:44 +01:00
FlightlessMango
dbe2f010a2 Don't build mangoapp by default 2023-01-17 15:20:42 +01:00
Alessandro Toia
f7c3ec2072 Add redlauncher(CDPR) to blacklist 2023-01-15 11:49:56 -08:00
Alessandro Toia
edac405d57 Fix reporting temp of AMD zen4 CPUs, zen4 doesn't use Tdie, use Tctl instead 2023-01-15 11:48:47 -08:00
Bitwolf
a67ba60773 Blacklist GOG Galaxy 2.0
FPS counter appears in the client, it probably shouldn't.
2023-01-14 00:48:13 +01:00
FlightlessMango
d4aa74c149 Create static and shared libs separately 2023-01-11 09:09:33 +01:00
FlightlessMango
c37c0de4fb build.sh: add mangoapp to install/uninstall 2023-01-11 07:47:25 +01:00
FlightlessMango
6f23cdeaf1 mangoapp: meson option to install lib32 2023-01-10 13:38:05 +01:00
FlightlessMango
8d064db204 mangoapp: install by default 2023-01-10 13:37:34 +01:00
FlightlessMango
03d64e5afb params: exec_name 2023-01-08 05:26:21 +01:00
Bill Li
8ea3f86dbf add missing include to test 2023-01-08 04:47:10 +01:00
Alessandro Toia
b2bcd889f0 Skip OpenGL impl if vulkan is loaded togther with zink or wined3d. 2023-01-06 21:55:33 -08:00
FlightlessMango
e3995ffcbf mangoapp: compile using static mangohud_library 2023-01-05 07:42:54 +01:00
Alessandro Toia
7b248efef7 Check if libvulkan is loaded when opengl is also loaded and skip opengl rendering
Fixes #866 #852 issues with zink and multiple games using DXVK that load OpenGL for some reason
2023-01-04 18:05:56 -08:00
Alessandro Toia
b61f83f522 Add lib_loaded function to check for current loaded libraries 2023-01-04 18:05:56 -08:00
Kurt Kartaltepe
1a3fa6e4ff overlay: Fixup device detection on intel GPUs
This resolves missing GPU names due to deviceID only being computed for
AMD gpus. It also filters out display adapters so there is less noise in
the logs when scanning cards.
2022-12-28 23:07:36 +01:00
FlightlessMango
7dee12a75a params: toggle_hud_position 2022-12-12 16:23:47 +01:00
FlightlessMango
61596104ce params: hud_compact default off 2022-12-12 16:02:01 +01:00
Alessandro Toia
d56451f7cd Check for Artix linux dependencies 2022-12-11 15:30:31 -08:00
Alessandro Toia
5bf4091cdf Add window padding if hud_compact = 0 2022-12-11 15:02:03 -08:00
FlightlessMango
ddbb4f5be1 intel: use json for parsing intel_gpu_top output 2022-11-29 06:18:37 +01:00
FlightlessMango
f8ca49f627 allow for compact hud layout 2022-11-12 08:50:54 +01:00
FlightlessMango
e38413b2d8 use intel_gpu_top for gpu stats 2022-11-01 12:01:50 +01:00
Zebediah Figura
2f01d15690 Bind a zero pixel unpack buffer if necessary when uploading fonts texture 2022-10-29 11:41:59 +02:00
FlightlessMango
abb7cdcb6e test: amdgpu: fix renamed test 2022-10-27 03:46:54 +02:00
FlightlessMango
e6c5ff4a4b overlay.cpp: fixed renamed check metrics function 2022-10-27 03:45:17 +02:00
FlightlessMango
cb7d2a2447 amdgpu tests 2022-10-27 03:44:00 +02:00
FlightlessMango
ed6a427751 tests: cmocka subproject 2022-10-26 03:52:04 +02:00
Gustavo Parreira
96f72e2352 fix: Look for NAVI in device name for AMD GPUs 2022-10-15 19:15:50 +02:00
Vir Chaudhury
c670203a5b add logging for when the OpenGL context fails to initialize 2022-10-11 14:54:11 +02:00