You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MangoHud/src
Emil Velikov f47f777e26 meson: unwrap ld_libdir_mangohud handling, remove ld_libdir_abs
Currently we have ld_libdir_abs which defaults to false. In that case,
both the mangohud shell wrapper, as well as the json files, reference
the DSOs directly without any path component.

This means that at run-time the dynamic linker, vulkan loader as well as
pressure-vessel will need to jump through hoops and figure out the
bitness of the DSO, whether one wants the 32 or 64bit one and even then
there will be confusing messages like:

fatal: /usr/lib/libMangoHud.so: wrong ELF class: ELFCLASS32

When set to true, as seen in the in-tree build.sh we'll append empty
path to LD_LIBRARY_PATH (bad), the full path with the $LIB token will be
used with LD_PRELOAD (good) and json files (bad).

Since we are generating separate json files, we can use the actual path
(while $LIB currently works, it's not really strict json nor documented
as supported). We can also drop the dubious LD_LIBRARY_PATH manipulation

This basically reinstates the prepend_libdir_vk=true option that was
dropped earlier.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
..
app meson: unwrap ld_libdir_mangohud handling, remove ld_libdir_abs 1 year ago
gl meson: build with -Werror=missing-declarations 1 year ago
loaders Add gpu throttling status 2 years ago
mesa Couple of whitespace fixes 2 years ago
win Fix building with mingw 1 year ago
amdgpu.cpp Fix building with mingw 1 year ago
amdgpu.h Don't update metrics if we're not logging and not displaying 1 year ago
battery.cpp src/battery.cpp: fix getTimeRemaining for energy_now 2 years ago
battery.h Battery remaining time 2 years ago
blacklist.cpp blacklist: Add RSI Launcher.exe 1 year ago
blacklist.h params: exec_name 1 year ago
config.cpp Don't check for conf file if blacklisted 2 years ago
config.h Remove unused parseConfigFile() return type 2 years ago
control.cpp mangoapp: reshuffle ifdef MANGOAPP guards 1 year ago
cpu.cpp meson: build with -Werror=missing-declarations 1 year ago
cpu.h Fix building with mingw 1 year ago
cpu_win32.cpp Win32 cpu usage 4 years ago
dbus.cpp meson: build with -Werror=missing-declarations 1 year ago
dbus_helpers.h [dbus] Also check if gamemode is enabled with D-Bus 3 years ago
dbus_info.h dbus: reshuffle HAVE_DBUS handling 1 year ago
elfhacks.cpp meson: build with -Werror=missing-declarations 1 year ago
engine_types.h Generalize control over socket so it works with OpenGL too 2 years ago
fcat.h Introduce FCAT overlay support 2 years ago
file_utils.cpp Remove extraneous break 1 year ago
file_utils.h Add lib_loaded function to check for current loaded libraries 1 year ago
file_utils_win32.cpp Remove find_folder() API 2 years ago
font.cpp Use separate font atlas for vulkan 2 years ago
font_default.h General cleanup (#272) 4 years ago
font_unispace.c [editorconfig] Apply whitespace rules 4 years ago
forkawesome.h Scale down icons if font is small 3 years ago
gamepad.cpp gamepad: Change DS5 to DS4/5 as DS4 was added to hid_playstation in kernel 6.2 1 year ago
gamepad.h gamepad: add bool is_charging 2 years ago
gpu.cpp Clean up getAmdGpuInfo_actual 2 years ago
gpu.h use intel_gpu_top for gpu stats 2 years ago
hook_dlsym.cpp [OpenGL] Some nullptr guards 3 years ago
hud_elements.cpp horizontal/compact layout fixes + battery_watt/battery_time params 1 year ago
hud_elements.h params: exec_name 1 year ago
intel.cpp meson: build with -Werror=missing-declarations 1 year ago
iostats.cpp Use single IO stats instance 2 years ago
iostats.h Use single IO stats instance 2 years ago
keybinds.cpp params: toggle_hud_position 2 years ago
keybinds.h meson: build with -Werror=missing-declarations 1 year ago
logging.cpp Fix building with mingw 1 year ago
logging.h logging: change frametime to float 1 year ago
mangohud.json.in meson: unwrap ld_libdir_mangohud handling, remove ld_libdir_abs 1 year ago
mangohud.version Try to limit exported symbols with --version-script 4 years ago
memory.cpp Fix integer overflow on 32 bit, for `procmem` 3 years ago
memory.h Fix integer overflow on 32 bit, for `procmem` 3 years ago
meson.build meson: unwrap ld_libdir_mangohud handling, remove ld_libdir_abs 1 year ago
notify.cpp Specify `fileChanged` argument type 2 years ago
notify.h General cleanup (#272) 4 years ago
nvapi.cpp win32: load correct NVAPI dll by checking _WIN64 4 years ago
nvctrl.cpp meson: build with -Werror=missing-declarations 1 year ago
nvctrl.h meson: build with -Werror=missing-declarations 1 year ago
nvidia_info.h Nvidia: only do throttling checks if enabled 2 years ago
nvml.cpp Nvidia: only do throttling checks if enabled 2 years ago
overlay.cpp overlay: position: bottom center 1 year ago
overlay.frag Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions 4 years ago
overlay.h overlay: horizontal_separator func 1 year ago
overlay.vert MangoHud Standalone 4 years ago
overlay_params.cpp dbus: reshuffle HAVE_DBUS handling 1 year ago
overlay_params.h horizontal/compact layout fixes + battery_watt/battery_time params 1 year ago
pci_ids.cpp meson: build with -Werror=missing-declarations 1 year ago
pci_ids.h General cleanup (#272) 4 years ago
real_dlsym.cpp meson: build with -Werror=missing-declarations 1 year ago
real_dlsym.h General cleanup (#272) 4 years ago
shared_x11.cpp Use spdlog macros so logging can be completely disabled during compile-time 3 years ago
shared_x11.h General cleanup (#272) 4 years ago
string_utils.h Use spdlog's 'fmt' to format media player metadata 3 years ago
timing.hpp General cleanup (#272) 4 years ago
vulkan.cpp meson: build with -Werror=missing-declarations 1 year ago